• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Restarting server causes player to go back in time?

jclay

Member
Joined
Dec 18, 2011
Messages
109
Reaction score
6
Im using Mystic Spirit forgotten server. When I fix something on the map or in data, I need to restart the server, but when I do, it sets players back in time and lose level/skill..

how do I fix it

*update: fixed the problem, deleted the database, remade a new one
 
Last edited:
Use the command "/closeserver shutdown" to close the server.
 
I'm saving the fixes I make, yes. And the fixes are fixed when I restart it, but it sets players back in time. Not sure what you mean by save
 
So for any information on the server to save to the database right the server needs to "save", the same way you save your progress in a video game. Its done a few ways, automatically through the auto save script, thats the script that causes the red server save writing to appear. Then manually through the /save command when logged in as a GM or an option in the GUI.exe if you have it. Also as mark said /closeserver shutdown runs the save command in the shutdown sequence once again saving the server. Just clicking the close button on the server cmd window or alt f4ing it wont save your progress.
 
I highly advice that you make a GM character, it will be ever so helpful to you in fault finding bugs and so forth. Theres heaps of guides around here on how to make a GM char. It comes with what ever distro you downloaded. Trust me make a GM char lol
 
Nevermind, it has nothing to do with the server saving.. its anytime I log out of a character. When I log in the character again it sets it back to the temple, like your just first starting a character? wtf
 
Well, it appears you're using SQLite. I have a similar problem on my localhost testing server. I never did figure it out. If I had to guess at what the main problem is I would guess that the server isn't saving into the database because of an error. The database has to be updated ( By the player leveling a skill or such ) for it to save the player's progress. That's from my experience. And as Nugo said, having a GM character is a necessity to running a server. Sorry I can't really help you with the database not saving properly, but I can show you how to make a GM character.. I would also recommend to use MySql over SQLite, it's a lot nicer to have and has less bugs.
 
Just forget it, this Ot making stuff is just too frustrating, I've spent hours upon hours trying to figure stuff out.. edit this file...put this here...errors..crashes.. its not simple enough. Thanks for trying to help though
 
It's really not as hard as you make it to be. It just requires a little patience, a little dedication to figure out the problems, and to learn from the whole experience. You could go into a branch of server making not the whole hosting it and managing it, such as mapping or scripting are two good branches of it.
 
Well I fixed the problem, apparently I messed with some tables in the database and it screwed something up.. so what I did was just deleted the ots database and remade a new one, it deleted all characters but it worked. thanks for helping guys
 
Back
Top