[bug?] Disconnect does not disconnect...?
by St. · in Torque 3D Professional · 10/01/2009 (10:57 am) · 2 replies
Hi all,
I'm sorry if this has been discussed already, I've tried looking everywhere but did not find any results.
Is it just me or upon disconnecting from a multiplayer game the player remains in the mission?
So, if I launched a dedicated server, entered the game from my client, logged out, entered again, logged out and logged in again I'd be standing among two other "instances of previous me". The players are indefinitely there until the mission is reset.
Is there a quick solution to this?
P.S. This has been noticed on FPS Example and on a new empty project based on the "Full" template.
I'm sorry if this has been discussed already, I've tried looking everywhere but did not find any results.
Is it just me or upon disconnecting from a multiplayer game the player remains in the mission?
So, if I launched a dedicated server, entered the game from my client, logged out, entered again, logged out and logged in again I'd be standing among two other "instances of previous me". The players are indefinitely there until the mission is reset.
Is there a quick solution to this?
P.S. This has been noticed on FPS Example and on a new empty project based on the "Full" template.
About the author
#2
Yes, I was referring to the player models, not the client count.
"%client.player.delete();" line does help indeed, but I was just surprised that it's not included in all basic examples and templates coming along with T3D 1.0.
Anyway, I'm glad that this is solved now. ;)
10/01/2009 (7:59 pm)
JesseL, thank you for your reply.Yes, I was referring to the player models, not the client count.
"%client.player.delete();" line does help indeed, but I was just surprised that it's not included in all basic examples and templates coming along with T3D 1.0.
Anyway, I'm glad that this is solved now. ;)
Torque Owner JesseL
Pyrotronics-Games
If one goes to the server and types in Console:
echo(ClientGroup.getCount());
and It returns 1. Then you only have one client connected.
However, If you are seeing multiple players corpse objects laying around in game that might have to do with how you have your cleanup scripted. Perhaps you should look at your script onClientLeave and make sure it is taking the %clientObject.player.delete();
Anyways hope to hear positive results from you.