Comments (25)
Hey there. There should be a pzbot.log
file in the same folder as bot's. Please send it as an attachment. Also, if the mod that is updated either unlisted or private, bot won't detect it. Other than that, I need to check the log file. Also be sure bot has access / permissions in the log channel.
from pzserverdiscordbot.
Hi, confirm all mod are public, and bot has access to log channel. I upload the log.
pzbot.log
from pzserverdiscordbot.
Ah, okay. So issue with your server is, it isn't located in default server folder which is C:\Users\<username>\Zomboid\Server
. Because of this, bot can't find the workshop mod list used in your server. Can you send me your server.bat
file? I have an open issue to check alternative server folder by parsing it's content. I will try to implement it in few days. I want to check if it's the same case for you as well.
from pzserverdiscordbot.
Yeah, i did move my install folder in (D:) i upload the bat. ty
server bat.zip
from pzserverdiscordbot.
Thank you. I will fix this issue today or tomorrow!
from pzserverdiscordbot.
Nice, tyvmuch! ;)
from pzserverdiscordbot.
Hey! v1.2.5-beta, I have added the future for supporting updated server locations. Can you check it out and confirm it is working?
from pzserverdiscordbot.
Sure, testing now.
from pzserverdiscordbot.
same,
Exception: System.IO.DirectoryNotFoundException
Message: Impossibile trovare una parte del percorso 'C:\Users\ChiaFarm\Zomboid\Server'.
Stack trace: in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in System.IO.FileSystemEnumerableIterator1.CommonInit() in System.IO.FileSystemEnumerableIterator
1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler1 resultHandler, Boolean checkHost) in System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) in ServerUtility.GetServerConfigIniFilePath() in C:\Documents\Programming\C#\PZServerDiscordBot\src\ServerUtility.cs:riga 19 in Schedules.WorkshopItemUpdateChecker(List
1 args) in C:\Documents\Programming\C#\PZServerDiscordBot\src\Schedules\WorkshopItemUpdateChecker.cs:riga 36
in Scheduler.ClockElapsed(Object sender, ElapsedEventArgs e) in C:\Documents\Programming\C#\PZServerDiscordBot\src\Scheduler.cs:riga 66
Date: 18/10/2022 17:54:38 UTC
Exception occured in ScheduleItem callback function. ScheduleItem: WorkshopItemUpdateChecker
from pzserverdiscordbot.
Hmm. Sorry for the inconvenience. Will try to debug the problem.
from pzserverdiscordbot.
ty
from pzserverdiscordbot.
Found the issue, fixing it now. Will soon re-release the v1.2.5-beta version.
from pzserverdiscordbot.
v1.2.5-beta-2 Please give this a try! I hope I didn't mess up something again, haha.
from pzserverdiscordbot.
Ok, actually it dosen't allow me to download, it says "virus detected" found Wacatac trojan... why??
from pzserverdiscordbot.
i'm using windows defender, i did download with another pc and tested the file on antivirus, nothing detected, idk why my first pc is blocking this...
from pzserverdiscordbot.
trying the release now
from pzserverdiscordbot.
Ok so, i did upload the new version, atm i'm not getting any error, rn i can't upgrade one of my mods to trigger the bot cause im not at home, but as soon when it happens i'll let you know. ty
from pzserverdiscordbot.
Thank you!
from pzserverdiscordbot.
not related issue, the bot is telling me to upload to version 1.2.4 cause im currently on the 1.2.5 XD, maybe it's cause is beta? idk
from pzserverdiscordbot.
Don't worry about that. Version checking system isn't too advanced, haha. If it is older than your version, you can safely ignore. Especially for betas.
from pzserverdiscordbot.
So, we got an update and the bot seems to be worked as planned! :D let me know if you need some other tests. Waiting for the definitive version! ty
from pzserverdiscordbot.
Question: is there some way to have a log of what mod did upgrade? So to be able to know what eventually broke the server or just to go check the new updates on steam? ty
from pzserverdiscordbot.
So, we got an update and the bot seems to be worked as planned! :D let me know if you need some other tests. Waiting for the definitive version! ty
No problem, there isn't any tests needed at this point, thank you again. It may take a week for me to work on new version. Keep an eye on the log channel as bot prints out the new version.
Question: is there some way to have a log of what mod did upgrade? So to be able to know what eventually broke the server or just to go check the new updates on steam? ty
Bot stops checking other mods when it encounters an update for the first time so at the moment, it's not possible. Also there might be cases where a mod getting updated meanwhile server has a pending restart which will cause mod update checker to skip as server will be restarted anyway. So I am not sure how useful it could be but feel free to create an issue about it. I will mark it as enhancement. No promises on it's getting implemented, though.
from pzserverdiscordbot.
I see your point, generally speaking you know some other ways to get this information? Not related to your bot. ty
from pzserverdiscordbot.
No idea to be honest. I never managed server myself. :(
from pzserverdiscordbot.
Related Issues (20)
- Not auto check update mods after change version from 1.9.1 to 1.11.0 HOT 3
- exe cant recognize bot_token.txt file HOT 1
- ISSUE HOT 3
- Localization of Traditional Chinese HOT 2
- Feature suggestion: After !server_cmd command, display server replay HOT 1
- PZ BOT localization HOT 1
- WebSocket connection was closed HOT 1
- non Amount for additems command in bot HOT 2
- Restart schedules off HOT 2
- Bot Auto server status HOT 3
- Localization of Italian HOT 3
- [BUG] HOT 1
- [SUPPORT] I can't change the location HOT 1
- [BUG] Bot continously warning for deleted/removed workshop mod HOT 6
- [FEATURE REQUEST] Print Mod name/ID with update detection. HOT 1
- [FEATURE REQUEST] Improve restart messages w/ UNIX timestamps HOT 1
- [BUG]Not detecting Workshop Updates HOT 22
- change of language HOT 1
- [FEATURE REQUEST] Modify Server Restart Message HOT 1
- [LOCALIZATION] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pzserverdiscordbot.