mohabhassan / NightFall

MOHAA/MOHSH/MOHBT dgamex86 wrapper.
https://www.x-null.net/forums/forum.php
12 stars 5 forks source link

Some auto-update issues #46

Open eduzappa18 opened 9 months ago

eduzappa18 commented 9 months ago

So i got the auto-update on my local MOHAA server and I got this Failed to delete file errors (I'm using windows 11) but the worse thing is that it's forces me to download the zzzzzzzzzzzzzzz_Reborn_pak8.pk3 file, and I don't want it (it conflicts with other mods) Is it possible to change that?

----- Server Shutdown -----
broadcast: print "Server quit\n"
==== NightFall Wrapper Shutdown ==== 
NightFall IPFilter: saved 0 ip entries in main/ipfilter.cfg
NightFall NameFilter: saved 4282544 name entries in main/namefilter.cfg
NightFall Protected NameFilter: saved 4282544 name entries in main/protectednamefilter.cfg
NightFall ChatFilter: saved 0 chat entries in main/chatfilter.cfg
NightFall Update Client: Checking for updates...
NightFall Update Client: Checking file: ./MOHAA_server.exe
NightFall Update Client: File ./MOHAA_server.exe is up to date, ignoring...
NightFall Update Client: Checking file: ./main/cacert.pem
NightFall Update Client: File ./main/cacert.pem is up to date, ignoring...
NightFall Update Client: Checking file: ./main/CrashReporter.exe
NightFall Update Client: File ./main/CrashReporter.exe needs to be updated, proceeding...
NightFall Update Client: Downloading file: ./main/CrashReporter.exe from http://nightfall.mohaa.net/storage/aa/1.11/main/CrashReporter.exe
NightFall Update Client: Failed to delete file: ./main/CrashReporter.exe.back : error: ./main/CrashReporter.exe , ignoring....
NightFall Update Client: Checking file: ./main/gamex86.dll
NightFall Update Client: File ./main/gamex86.dll needs to be updated, proceeding...
NightFall Update Client: Downloading file: ./main/gamex86.dll from http://nightfall.mohaa.net/storage/aa/1.11/main/gamex86.dll
NightFall Update Client: Failed to delete file: ./main/gamex86.dll.back : error: ./main/gamex86.dll , ignoring....
NightFall Update Client: Checking file: ./main/gamex86mohaa.dll
NightFall Update Client: File ./main/gamex86mohaa.dll is up to date, ignoring...
NightFall Update Client: Checking file: ./main/zzzzzzzzzzzzzzz_Reborn_pak8.pk3
NightFall Update Client: Downloading file: ./main/zzzzzzzzzzzzzzz_Reborn_pak8.pk3 from http://nightfall.mohaa.net/storage/aa/1.11/main/zzzzzzzzzzzzzzz_Reborn_pak8.pk3
NightFall Update Client: Updated file ./main/zzzzzzzzzzzzzzz_Reborn_pak8.pk3 successfully
NightFall Update Client: Successfully update from version 1.2.0 to version 1.2.1
==== ShutdownGame ====
mohabhassan commented 9 months ago

The errors should really be warnings, and the error messages were improperly implemented. I've updated them for next release. As for the pak8 concern, I will see if it's possible to make it optional.