Game Development Community

Server/Client

by Terry Barlow · in Torque 3D Professional · 07/05/2013 (4:15 pm) · 3 replies

Hello

I am wanting to get a pre alpha Client and installer setup for my project, to test the connection to my server and all that, well my team works on the content so I was wondering if someone can tell me where to start. I know befor T3D went to MIT lic there was a botten on the toolbox to make the installer but now that not there anymore so just wondering how to go about it? and also what files to put the IP or host name in so that when the client is opened it will just connect to the server? any help would be ver Greatful at least pointed in the right place thanks.

Terry

About the author

Send all correction E-Mails to: h0td0g4@yahoo.com Unskilled, having fun, playing around, and helping out!


#1
07/05/2013 (6:34 pm)
You can't install the "client" without the "server." It's the same executable. A "single player" T3D game is actually a "server" hosting for a "client" on the same machine with some internal optimizations.

If you're just looking to be able to try to connect directly using the address of a computer that is not in your LAN you could try starting with the changes to the Join Server Dialog I presented in this thread.
#2
07/06/2013 (12:16 pm)
@Richard: You need to be a little cautious of QuerySingleServer though, the issue I presented a while back regarding the flaws of that command are still present in the engine.

I did do some digging into the manner and that command only functions if the master server already has a list of servers, it works like an instant "refresh" of the information of the server. I don't understand why they didn't just name it refreshServer in the first place if that was the intended functioning.
#3
07/07/2013 (1:27 am)
Yeah, it's flawed, but it's a start... heh