Game Development Community

T3D Lobby

by SETTIMO EUGEN CRISTIAN · in Torque 3D Professional · 09/17/2011 (6:36 am) · 13 replies

Hi, anyone have source about one lobby ..
I have many internet site with mysql /php ..
I'm good with php and mysql..

Pooooor with torque.. because i have not many time..

Anyone have implement code source for one real lobby t3d ?

Thank you and sorry for this request, but i have not many time and if one have it is nice for all who use t3d..

Thank you!Thank you!Thank you!Thank you!Thank you!

#1
09/17/2011 (8:13 am)
I haven't seen any resources on any form of a lobby that I can remeber. What we did to create a lobby, was create a map on a server that loads no models on spawn only a cam. Then we push a login gui. Now hopw this relates to a lobby is that our chat engine is running through the play_gui, so players can talk before entering the game. One issue that our system does have, is that due to login and character selection being the maps primary purpose, no player names ever are assigned, so who know who said what. But this could easily be remedied through script.
#2
08/27/2012 (11:57 am)
i have made one.with simple chatting and vote system for map.all in script.
#3
08/27/2012 (3:54 pm)
There is one for tge that could possibly be ported over to t3d.

www.garagegames.com/community/resources/view/4968
#4
08/28/2012 (10:59 am)
mike,thanks for the link.
i should have search forum before developing my one.it took enough time.(although have learned a looooooooot of things on t3d network)
#5
08/28/2012 (2:40 pm)
@Sven: Actually, you can do this much more easily. Here's how my lobby system works:

I keep a variable on the server $InPreGame = 1; What this essentially does is override GameConnection::onConnect() and prevents mission load by the client. What you then do is you keep a list of all the players currently in the server (or use ClientGroup) and send that to the new connecting players to populate the lobby gui.

Then, to simply start the game, add a button for the host only that calls loadMission, all of the clients will be affected by that.
#6
09/01/2012 (2:59 am)
I have that TGELobby resource running with my T3D prototype. You can install and try it here. I don't think I needed to make any T3D specific changes. It uses IRC to communicate which has the advantage of allowing anyone with an IRC client to connect to the lobby. There is even an embedded IRC client on my homepage that will connect directly to the game lobby.
#7
09/01/2012 (8:56 am)
i have tested and work good..

The only solution for lobby with player registration is irc or can work with php mysql?
#8
09/01/2012 (10:47 am)
Many mysql, web server, have problem to allow incoming data from any other..
The solution is to make one php file that can only put data from autentica user, the problem is if one put autentication data in one file .cs many hacker do mysql injection.. or other..

But, if the only data can become from master server ip i think is the solution.. the encription method is another in my think... but grrrr...
need more time to understand many, scripting, design, modelling.. etc.. i need many life to learn more:) or only i need the good starter list for can do all without any problem..:)
#9
09/01/2012 (4:51 pm)
What about this resource? I haven't used it myself but you might find it useful. Make sure you search resources when you are looking for something.
#10
09/02/2012 (7:42 am)
The link of the resources don't work..
You have another location for download it?

Thanks...
#11
09/02/2012 (8:36 am)
No, I never downloaded it. Post a reply to that thread asking for it and make sure you check the Notify me of new replies
#12
09/03/2012 (12:14 pm)
Ok, Thanks.

I have see Robert Fritzen is good maker, Robert, what you think about put in ggstore one online kit?

I think many user pay for have it..

One kit who have "player login, player stats, player registration if nick of player don't registered etc.." and in this can include the base t3d chat system..


I think many user spend for have it.. or?

Thank you:)
#13
09/05/2012 (2:19 pm)
You can accomplish all of these tasks with two of my Free resources.

I'm not a money gouger... I believe in making useful tools for the benefit of all of the community. My work comes at your gain. ;)