Game Development Community

Destroy server

by Fabio Daniel "Sagaz" · in Technical Issues · 09/10/2005 (11:56 am) · 0 replies

I'm developing a race game and my team are having some serious troubles about servers. The game create a server when the game starts, but when you end a game/ map (but are still running the main application), the server is still created. If you try to enter a game again, the game does it entering the first server created, even if you ask the game to create another one. And here is my question: how can I destroy a server when I quit a game, but am still inside de running app? I was looking for a function in Torque who does it, but I found no one. Does anyone knows about how can I fix it? We area having serious problems when entering the game again because of this. I think in something like a function to destroy the server when you leave the playGUI object and get back into the mainMenu.