[SOLVED] Connection error. Please try another server. Error code: (CHR_GAME)
by Shilo · in Torque 3D Professional · 03/29/2010 (8:13 pm) · 3 replies
Hello, I recently bought T3D (binary version) and i'm creating a game from scratch (TorqueScript wise). I intend to create a MMORPG. So to do that, i'd like to create 2 seperate templates, 1 of which will be the client and the other will be a dedicated server. Pretty obvious right?
So before I script the dedicated server, I am running the "Full" template in -dedicated mode to test if the client will successfully connect. So far I was about to get a "Connect challenge Response", but the client is dropped with a response "Connection error. Please try another server. Error code: (CHR_GAME)". I'm aware that it's a syncing problem between the client and server. But i'm not sure how to go about fixing this, or even how Torque checks if the server and client match.
I have looked through the forums and have tried several attempts with no success. I'm aware it has something to do with gameString and GameString in the C++ source, but I don't have access to the source to debug it from there.
Any help would be much appreciated, Thanks in advanced!
So before I script the dedicated server, I am running the "Full" template in -dedicated mode to test if the client will successfully connect. So far I was about to get a "Connect challenge Response", but the client is dropped with a response "Connection error. Please try another server. Error code: (CHR_GAME)". I'm aware that it's a syncing problem between the client and server. But i'm not sure how to go about fixing this, or even how Torque checks if the server and client match.
I have looked through the forums and have tried several attempts with no success. I'm aware it has something to do with gameString and GameString in the C++ source, but I don't have access to the source to debug it from there.
Any help would be much appreciated, Thanks in advanced!
#2
03/30/2010 (2:25 pm)
At first they weren't the same name. But I later changed the name of the server exe (including the dll file) to match the client's filename, and still got the same error. Is that the only way it checks if the applications match up?
#3
Very simple solution: I had to use the same DLL file, "Empty" and "Full" dll's might appear the same, but gameString is declared differently in both.
Thank you all for your help!
03/30/2010 (9:56 pm)
Thanks to MH6, I was able to figure it out.Very simple solution: I had to use the same DLL file, "Empty" and "Full" dll's might appear the same, but gameString is declared differently in both.
Thank you all for your help!
Torque Owner Andy Hubbard
DS3D