Game Development Community

Network control bindings problem

by Kip Carr · in Torque Game Engine Advanced · 09/19/2005 (1:10 pm) · 2 replies

I have been working on creating a multiplayer game with TSE for quite some time now and finally got to the part where i get to actually play multiplayer. I have run into a couple of problems and needed to see if anyone could help me out.

First off i had a problem with a complete crash when loading the mission on the client side. I did fix this problem as it was due to trying to load sounds on a computer without a working sound card. Problem Fixed!

Next problem. When the client connects to my server game he loads up and I can run around fine. It seems though that i have lost my keybindings, or at least some what. I am now using the Tank pack and it works great in single player but if i have a client connect to my server when the get into the tank they have no alt fire and cant dismount using the default "ctrl x" command. I am pretty sure this has to do with the bindings but i have moved the commands they tell me to. Some went into client/scripts/default.bind.cs and others went into server/scripts/command.cs. But yet i still can do anything that would involve one of those keybinds. The wierd part is that i have the soldier pack with the gogogo and freeze commands which use keybindings and those work fine. So i am trying to find out why that isnt working.

Another problem is if i check the console log after i run the game and look i get two errors which i am unsure about. One not so bad and one i really worry about as im sure it will lead to memory leaks or something of that nature. Here are the errors in the console

No mission cleanup group?

and

Could not register dust emitter for class: (null)

I have no idea where the second one would come from but i can figure that out a bit later. The one that really worrys me is the no cleanup group. Is this something i need to create. As far as i understood it, it was created automatically.

On last thing as a side not is that my editor all my icons for the sky, sun, and objects are all stupid x's or dashes like the texture file isnt getting loaded right. Has anyone else seen this problem.

Thanks!

#1
09/29/2005 (4:04 am)
*bump

There are too many talented people out there to not know these answers.
#2
06/09/2006 (2:41 am)
"No mission cleanup group?"

I started getting this a lot too...'til I finally decided to dive into the source to see what it was.

It comes from inside ParticleEmitter::deleteWhenEmpty() when it can't locate the MissionCleanup group. This is most-likely because this code is being run on-client when the MissionCleanup group only exists on-server. As far as how to fix it or prevent it, I have no idea.