Play online with friends?
by Josh Klev · in General Discussion · 04/13/2008 (7:56 pm) · 16 replies
How can i get my basic world to go online and make it so i can play with a friend?
About the author
#2
04/14/2008 (7:42 am)
So how can i figure it out? ive tried looking for tutorials
#3
That's the great thing about GG is that they have really awesome documentation on the How-To's.......er wait a minute, I had a brain fart :-). Everything I have learned and found has been in forum posts.....LAME, this in turn has caused several hours of wasted time. I'm in the same boat my friend. I am at the final stages of completing a game and need to start looking into setting a system for all people to play over the internet. How is this done? I'm not sure, my guess is that you have to rent a gaming server that will host your game, and in your scripts somewhere you have to point to the name of that server. Maybe someone at GG will hopefully have some sort of mini tutorial on the setting up of "Play online with friends?".
04/14/2008 (8:06 am)
Yeah,That's the great thing about GG is that they have really awesome documentation on the How-To's.......er wait a minute, I had a brain fart :-). Everything I have learned and found has been in forum posts.....LAME, this in turn has caused several hours of wasted time. I'm in the same boat my friend. I am at the final stages of completing a game and need to start looking into setting a system for all people to play over the internet. How is this done? I'm not sure, my guess is that you have to rent a gaming server that will host your game, and in your scripts somewhere you have to point to the name of that server. Maybe someone at GG will hopefully have some sort of mini tutorial on the setting up of "Play online with friends?".
#4
04/14/2008 (8:15 am)
Do a search for "master server". It can be set up out of the box, though it can be a bit tricky (especially with firewalls and routers involved). You can run it from your house though, as long as your internet provider doesn't throttle your line for it.
#5
04/14/2008 (12:09 pm)
Ahh, Thankyou, that does help.
#6
04/14/2008 (7:57 pm)
I cant find anything usefull...i have no knowledge on servers and im not skilled in tge...i have a server...for my website...?
#7
04/15/2008 (8:26 am)
@Josh: If you have no server knowledge, and you want to run a master server, then you can only either learn, or give up. I suggest learning. Look at the TGE/A docs- especially the network portion. Maybe look up some network knowledge on Wikipedia for a general overview of networking as an overall subject, which helps. But like Jason Ravencroft has said, it's not something that can easily be explained here. It's a subject, not a task.
#8
04/15/2008 (8:56 am)
What will be the resources i require to set up a master server and how it will be connected?
#9
Also, don't be confused by the term master server, it is not a game server, it is a "server listing" server that just tells players what game servers are available. You still need to run your game server locally in host mode so you both can play.
04/15/2008 (10:45 am)
If you want to play online with a friend you do not need to set up a "master server". GarageGames has a master server available for testing purposes that you can point to (search for "GG master server" for info) or you can have your friend directly connect to your game using your IP address.Also, don't be confused by the term master server, it is not a game server, it is a "server listing" server that just tells players what game servers are available. You still need to run your game server locally in host mode so you both can play.
#10
Start your dedicated .bat program from within your example directory. You may need to edit this file to point to your correct directory or default mission.
Once this program is running properly and waiting for a client connection, open up your game. In the console (press ~) type :
connect("127.0.0.1");
- where 127.0.0.1 is the ip of your server. That'll let your friend connect to your home pc without having to set up a master server.
04/15/2008 (12:10 pm)
This is from my head, so I may be a little off...Start your dedicated .bat program from within your example directory. You may need to edit this file to point to your correct directory or default mission.
Once this program is running properly and waiting for a client connection, open up your game. In the console (press ~) type :
connect("127.0.0.1");
- where 127.0.0.1 is the ip of your server. That'll let your friend connect to your home pc without having to set up a master server.
#11
Or just click on your game's exe and join server in the main menu.
04/15/2008 (1:54 pm)
Quote:Once this program is running properly and waiting for a client connection, open up your game. In the console (press ~) type :
connect("127.0.0.1");
- where 127.0.0.1 is the ip of your server. That'll let your friend connect to your home pc without having to set up a master server.
Or just click on your game's exe and join server in the main menu.
#12
- How do you build a list of servers? So when people query master server, it will bring up all hosted games. Is this list a web database (like godaddy) that keeps track of all servers created with there IP's, server names and whatever else? If this method is one that is used(i have no idea, just a guess) then obviously when a user hit's query master it'll have to connect to the web server retrieving all ip's......yeah/nah? Then you can connect to that users particular server name because the web server stores the ip address of that users hosted game server and now you have there ip and you just simply use that to connect to a game......?
- There's talk of you can host your "own internet game". If you do this then how do you get your friends to connect? I guess what I mean is what is the easiest way for your friends to know what your IP is? My theory is that they will have to manually punch in IP numbers each time they want to battle. Will some sort of instant messenger service have to be created to get chat dialogs going to share each others ips or whatever?
I'm pretty confident that I can set it all up, it's just a matter of what/how the typical game server is created and how all the users connect to each other. What is the best approach to setting up ONLINE play?
Any ideas?
Thank you in advance.
04/26/2008 (10:46 am)
Yeah, I've just spent a the last few days trying to figure out/research the best way to setup a master server and how to do it. There's no solid explanation/documentation anywhere, just the odd useless comment. I've finished out game demo and now need to work on the online multiplayer part of it. Here's a couple questions, hopefully someone can shed some light.- How do you build a list of servers? So when people query master server, it will bring up all hosted games. Is this list a web database (like godaddy) that keeps track of all servers created with there IP's, server names and whatever else? If this method is one that is used(i have no idea, just a guess) then obviously when a user hit's query master it'll have to connect to the web server retrieving all ip's......yeah/nah? Then you can connect to that users particular server name because the web server stores the ip address of that users hosted game server and now you have there ip and you just simply use that to connect to a game......?
- There's talk of you can host your "own internet game". If you do this then how do you get your friends to connect? I guess what I mean is what is the easiest way for your friends to know what your IP is? My theory is that they will have to manually punch in IP numbers each time they want to battle. Will some sort of instant messenger service have to be created to get chat dialogs going to share each others ips or whatever?
I'm pretty confident that I can set it all up, it's just a matter of what/how the typical game server is created and how all the users connect to each other. What is the best approach to setting up ONLINE play?
Any ideas?
Thank you in advance.
#13
Your list of servers should be shown based on how many servers are connected to the master, automatically. And for future reference, godaddy is a web hosting company and domain name provider. A web database would be something along the lines of Oracle, or MySQL.
I also think you are confused as to what the Master Server is. It is something that all dedicated servers (That you set up when you start a game in your client and chose to host multiplayer, as long as your game is connecting to the right master) connect to. A player goes to look for a hosted server by checking the Master Server List, which is looking at the master server which will show all of the servers connected to it, and you may then join one.
I probably didn't describe that well, so I shall draw a picture tomorrow if I remember.
05/06/2008 (8:55 pm)
@DaloYour list of servers should be shown based on how many servers are connected to the master, automatically. And for future reference, godaddy is a web hosting company and domain name provider. A web database would be something along the lines of Oracle, or MySQL.
I also think you are confused as to what the Master Server is. It is something that all dedicated servers (That you set up when you start a game in your client and chose to host multiplayer, as long as your game is connecting to the right master) connect to. A player goes to look for a hosted server by checking the Master Server List, which is looking at the master server which will show all of the servers connected to it, and you may then join one.
I probably didn't describe that well, so I shall draw a picture tomorrow if I remember.
#14
Yeah, I'm not sure if godaddy is the best choice or not, but they do provide that option, which I have, to accommodate online databases via MySQL, PHP, it is currently hosting our user database, Overlord system and eventually our forum board. I did just stumble across this REALLY USEFUL link that's all python: (godaddy does supports it, but still.....maybe there's a better choice.....)
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=14666
The only problem now is how to actually use it and implement it. Looks like I have more research to do.......
Thanks again.
05/06/2008 (9:03 pm)
Hey Thanks Neil,Yeah, I'm not sure if godaddy is the best choice or not, but they do provide that option, which I have, to accommodate online databases via MySQL, PHP, it is currently hosting our user database, Overlord system and eventually our forum board. I did just stumble across this REALLY USEFUL link that's all python: (godaddy does supports it, but still.....maybe there's a better choice.....)
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=14666
The only problem now is how to actually use it and implement it. Looks like I have more research to do.......
Thanks again.
#15
Let us know what you find out about getting the python master server going. I'm nowhere near that point in my project but I will be and be nice to already have the information. Thanks.
05/07/2008 (5:20 am)
Hey Dalo,Let us know what you find out about getting the python master server going. I'm nowhere near that point in my project but I will be and be nice to already have the information. Thanks.
#16
Also Dalo, if you need web-hosting and a dedicated (You can determine the stats of it) server all together, Check out dreamhost.com. They offer some of the cheapest, but most supportive web hosting around, and once you have an account you can set up a VPS if you want.
05/07/2008 (11:03 am)
Ah yes, a python based server. Somewhat similar to the Mydreams MMO kit huh?Also Dalo, if you need web-hosting and a dedicated (You can determine the stats of it) server all together, Check out dreamhost.com. They offer some of the cheapest, but most supportive web hosting around, and once you have an account you can set up a VPS if you want.
Torque 3D Owner Jason Ravencroft