Giter Club home page Giter Club logo

Comments (25)

egebilecen avatar egebilecen commented on June 28, 2024

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.

saro8802 avatar saro8802 commented on June 28, 2024

Hi, confirm all mod are public, and bot has access to log channel. I upload the log.
pzbot.log

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

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.

saro8802 avatar saro8802 commented on June 28, 2024

Yeah, i did move my install folder in (D:) i upload the bat. ty
server bat.zip

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

Thank you. I will fix this issue today or tomorrow!

from pzserverdiscordbot.

saro8802 avatar saro8802 commented on June 28, 2024

Nice, tyvmuch! ;)

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

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.

saro8802 avatar saro8802 commented on June 28, 2024

Sure, testing now.

from pzserverdiscordbot.

saro8802 avatar saro8802 commented on June 28, 2024

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.FileSystemEnumerableIterator1..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(List1 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.

egebilecen avatar egebilecen commented on June 28, 2024

Hmm. Sorry for the inconvenience. Will try to debug the problem.

from pzserverdiscordbot.

saro8802 avatar saro8802 commented on June 28, 2024

ty

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

Found the issue, fixing it now. Will soon re-release the v1.2.5-beta version.

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

v1.2.5-beta-2 Please give this a try! I hope I didn't mess up something again, haha.

from pzserverdiscordbot.

saro8802 avatar saro8802 commented on June 28, 2024

Ok, actually it dosen't allow me to download, it says "virus detected" found Wacatac trojan... why??

from pzserverdiscordbot.

saro8802 avatar saro8802 commented on June 28, 2024

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.

saro8802 avatar saro8802 commented on June 28, 2024

trying the release now

from pzserverdiscordbot.

saro8802 avatar saro8802 commented on June 28, 2024

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.

egebilecen avatar egebilecen commented on June 28, 2024

Thank you!

from pzserverdiscordbot.

saro8802 avatar saro8802 commented on June 28, 2024

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.

egebilecen avatar egebilecen commented on June 28, 2024

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.

saro8802 avatar saro8802 commented on June 28, 2024

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.

saro8802 avatar saro8802 commented on June 28, 2024

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.

egebilecen avatar egebilecen commented on June 28, 2024

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.

saro8802 avatar saro8802 commented on June 28, 2024

I see your point, generally speaking you know some other ways to get this information? Not related to your bot. ty

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

No idea to be honest. I never managed server myself. :(

from pzserverdiscordbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.