So it happens when you log in?
That's not what i consider at "startup"
What i meant by that was whether the worldserver actually started up correctly. By the sounds of it, it does.
That means the error is being caused by something related to your character data and not directly to the drops data.
None of the drops code should be initiated unless you kill something so i wonder if you have broken something else while putting the drops stuff in place.
There must be a way to sort it out. It is just a case of finding where the error is happening.
What i like to do is add code such as this
- Log( MSG_DEBUG, "Player Data Loaded Correctly" );
I would put this line right at the end of function "loaddata()" in Playerdata.cpp, just before the
return;This will output the message to your server so that when it crashes, you can take a look at your server console before acknowledging the error. If the output is there then you know it got at least that far. Now you step through to the next bit of code and put a new debug line in.
If not then backtrack a bit. Add a debug line somewhere else and try again.
It can be a long process trying to find this kind of error.
If you feel up to it, give it a try. If not then just back the code out and use the normal drops.