ID:155165
 
Sorry to bother all you busy, busy people but I could really use a Login delay system. All the information I can provide is I use a very simple character handling system, and although simple, if a person Logs in and out too quickly it causes some sort of bug with the save, and then it crashes the server.

Any help you could provide would be greatly appreciated, it's probably more simple than it looks in my mind, but I simply don't have the experience using DM to make this.

Thanx
I'd suggest a Logout() delay, that might work.

Logout()
//insert saving code here
sleep(20)
..()
del src
In response to Jin150 (#1)
Hmm... it could do.
In response to Jin150 (#1)
You do not need a <font face=courier>sleep()</font> here and saving on <font face=courier>mob/Logout()</font> would be somewhat redundant. I would advise you to save on <font face=courier>client/Del()</font>, making sure the client holds a mob.

When you're calling <font face=courier>..()</font>, anything before it processes before the default procedure call.