Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
57 stars 45 forks source link

worldsave bad directory #438

Closed Skul83 closed 4 years ago

Skul83 commented 4 years ago

I get the below error when loading spheresvr.exe in d:\sphere\

Loading c:\SPHERE\worldsave\spheredata.scp... WARNING:'c:\SPHERE\worldsave\spheredata.scp' not found... WARNING:Can't Load c:\SPHERE\worldsave\spheredata.scp Loading c:\SPHERE\worldsave\spherestatics.scp... WARNING:'c:\SPHERE\worldsave\spherestatics.scp' not found... WARNING:Can't Load c:\SPHERE\worldsave\spherestatics.scp Loading c:\SPHERE\worldsave\sphereworld.scp... WARNING:'c:\SPHERE\worldsave\sphereworld.scp' not found... ERROR:Can't Load c:\SPHERE\worldsave\sphereworld.scp FATAL:No previous backup available ? FATAL:Server terminated: Failed to load worldsave files (code -8) You can now close this window

GitMadKing commented 4 years ago

c'mon.. is this a core problem? please understand the basics of sphere, and if really a problem report nedded info in this case sphere.ini folders sections where the files are, muls, saves, what file are present in the folder you see in the error...

in this case you have put under save location in sphere.ini c:\sphere\worldsave and if using basic sphere config should be in D:\sphere\worldsave

or better say worldsave\

cbnolok commented 4 years ago

Guess you wrote the wrong folder or drive letter in the ini

Il lun 27 apr 2020, 14:09 Mad King notifications@github.com ha scritto:

c'mon.. is this a core problem? please understand the basics of sphere, and if really a problem report nedded info in this case sphere.ini folders sections where the files are, muls, saves, what file are present in the folder you see in the error...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Sphereserver/Source-X/issues/438#issuecomment-619943994, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADS2CJA2Q5AUPJQC43GY54LROVYW3ANCNFSM4MR3THHA .

Skul83 commented 4 years ago

sphere.ini values:

ScpFiles=scripts/ WorldSave=save/ AcctFiles=save/ MulFiles=mul/ Log=logs/

SphereServer-X looks for c:\sphere\worldsave with these values in sphere.ini

GitMadKing commented 4 years ago

sphere.ini should be in same folder of exeis that one yo paste here?

Skul83 commented 4 years ago

Yes, sphere.ini is in the same folder as spheresvr.exe, I get this error when trying to load spheresvr.exe, error code -8. Looks like sphere is looking for c:\sphere\worldsave\ as spheresvr.exe is in d:\sphere\ and WorldSave=save\ in sphere.ini

Scripts load fine, Account is located properly, Mul files load fine and Logs are working fine. It is only the WorldSave value that is not acting properly.

GitMadKing commented 4 years ago

try changing scripts folder in that sphere.ini and see if you got error.if yes, look again for WorldSave in sphere inimaybe is defined more than once

GitMadKing commented 4 years ago

also, what build are you using?

GitMadKing commented 4 years ago

another stuff, try accessing save folder and open a file try execute sphere as administrator try resetting permission on files

Skul83 commented 4 years ago

I'm using the latest win32 build from sphereserver.net Changing the ScpFiles to /scripts2/ gives me an error:

WARNING:'scripts2/spheretables.scp' not found... FATAL:Error opening table definitions file (spheretables..scp)... FATAL:Server terminated: Failed to load server settings (code -3)

There is only one WorldSave in sphere.ini it is WorldSave=save/

Running SphereSvr.exe as administrator still gives this error:

Loading c:\SPHERE\worldsave\spheredata.scp... WARNING:'c:\SPHERE\worldsave\spheredata.scp' not found... WARNING:Can't Load c:\SPHERE\worldsave\spheredata.scp Loading c:\SPHERE\worldsave\spherestatics.scp... WARNING:'c:\SPHERE\worldsave\spherestatics.scp' not found... WARNING:Can't Load c:\SPHERE\worldsave\spherestatics.scp Loading c:\SPHERE\worldsave\sphereworld.scp... WARNING:'c:\SPHERE\worldsave\sphereworld.scp' not found... ERROR:Can't Load c:\SPHERE\worldsave\sphereworld.scp FATAL:No previous backup available ? FATAL:Server terminated: Failed to load worldsave files (code -8) You can now close this window.

Permissions for the folder are normal, still gives WorldSave error.

GitMadKing commented 4 years ago

do you have discord? could you enter there and write me to Mad King#9572

GitMadKing commented 4 years ago

LOL. redefined world save in spherebook

[sphere] worldsave=c:\SPHERE\worldsave\