Game Development Community

Direct Connection

by J L · in Torque Game Engine · 12/09/2008 (12:26 pm) · 5 replies

Is there a resource that can tell me how to throw away the server browser and just code in through scripts a direct connection to my server's IP address ?

#1
12/09/2008 (3:34 pm)
Connect("yourip"); IIRC.
#2
12/09/2008 (4:03 pm)
I appreciate your answer sir, but where would that go at exactly ?
#3
12/11/2008 (6:50 pm)
Anyone else have a idea where this may go, I looked through the forums but couldnt find anything
#4
12/11/2008 (7:37 pm)
Most of us are busy with our own projects but are willing to offer suggestions and help when we can.
As an example, Ben gave you the function connect(). I searched for the function and found the resource below.

Take a look at this dated resource, it has some examples to get you started. ;)
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2421

To expand on this you will need to hook a function to a button. I would just modify the starter fps startup screen GUI. Modify the About button to be your direct connect button.

Btw, this is all done on the client side and is easy to implement.
#5
12/11/2008 (8:14 pm)
I apprecitae anyone who takes the time out to help a noob like me. And I cant believe it was that simple. Thank you very much