ID:160534
Aug 25 2008, 11:06 am
|
|
I have been changing the client.mob var to do my mob switching. I recently added a Logout code and discovered that logout is run when reassigning client.mob. Is there a way I can switch mobs without logout running?
|
In response to Keeth
|
|
It's also possible to differentiate between the cases within Login() and Logout() with some workarounds, though using client/New() and client/Del() is indeed better and more foolproof.
/*a mob's key var always has the key of the player connected |
Instead of using mob/Logout() for handling real client disconnection, you can use client/Del().