ID:161075
 
Code:


Problem description:
Well since its hard to determine the origin of the bug at the moment I won't bother posting any code yet. But here's the problem, the players are being randomly glitched out of no where. Some are AFK, others are just wandering around the map when it happens. They are instantly teleported to the login screen and their stats are returned to the default status. And it says they logged out when they are still connected to the game, and it leaves a shell of their body where they were. Also it seems to have a connection between two people even if they've never met in the game or even spoken.

I've gone through the many possibilities in the source yet I can't seem to find any relation between these incidents other than its completely unpredictable. The only way around it I've found is to keep them logged out, delete all the shells of them that were created, have them login, save and relog. This usually fixes them but its happening too fast for me to keep up with. Perhaps its a reference variable, I've had this problem before but it was secluded to a small group of people with a specific verb, now its running wild.
Any thoughts?
You're saving turfs or objs that contain a reference to a mob, and this is causing multiple versions of mobs to exist. Whenever one of those multiples is loaded, the player is switched over to that other mob that inadvertently got saved. If you search for "rollback" you'll find a lot of related info.

Lummox JR
In response to Lummox JR
Thanks I'll look for this somewhere in the code, hopefully this will help me solve this problem for good.
In response to MadaraUchiha49
This is kinda a funny story, Happened on my game. One of my Owners found out if you create a random mob and edit its ckey to the ckey of someone else in the world that happens, they spent the day doing that...I don't know if the story helps but the problem seems similar.
In response to King killer 113711
King killer 113711 wrote:
One of my Owners found out if you create a random mob and edit its ckey to the ckey of someone else in the world that happens

He found that out? Hopefully he's not one of the programmers because that is known, documented behavior. =P That is also good and is logical, frankly. If it wasn't like that then those variables would've been read-only.