Master server...Help the newbie...
by Barry Mesa · in Torque Game Engine · 11/27/2002 (9:48 am) · 13 replies
I was wonder how you can setup a master server to run the network side of the test engine. I do not want to connect to the default master server provided. I want to run my own master server initially for testing the multiplayer side of my game. Are there any tutorials for this? or can someone give me a good idea where to and how to set this up?
About the author
#2
11/27/2002 (1:06 pm)
cool let me know if it works and if I can get some help doing my own.
#3
Anyway, I think it would be better to write one at least in either PHP or C++. :P
11/27/2002 (2:56 pm)
In Java? Ewww!Anyway, I think it would be better to write one at least in either PHP or C++. :P
#5
..and if you don't, you don't.
I like PHP - for webpages. I know there's a webserver available written IN PHP, but that's already pretty sick ;)
Hmm, but if you have masochistic tendencies, why don't you do it in LISP?
(I only hope this doesn't spawn yet another lenghty discussion about "Java vs C++", or even worse "Java vs .NET" ...)
11/28/2002 (5:08 am)
Uh, here we go again. I could go on and tell the usual story of how I once was a java sceptics too, but... Why bother? There's a good chance that one day you'll find out that Java isn't all that bad (in fact, it's damn good except for a few boneheaded API classes)..and if you don't, you don't.
I like PHP - for webpages. I know there's a webserver available written IN PHP, but that's already pretty sick ;)
Hmm, but if you have masochistic tendencies, why don't you do it in LISP?
(I only hope this doesn't spawn yet another lenghty discussion about "Java vs C++", or even worse "Java vs .NET" ...)
#6
Would like it to run easily on Windows, Mac and Linux.
Point Java.
It needs to pass out simple data to clients requesting it.
No problem for Java.
Having one CodeBase would be nice.
Point Java.
I'm assumming Anthony has a preference for Java.
Point Java.
Getting a list of servers running and the games running on them is outside of the Game Loop - i.e. not time critical.
All of the languages can meet this requirement.
Ease of functional enhancement will probably be important.
Point Java.
By summing the points, Java seems to be a good choice here. Any one of them can do the job and do it well, but Java would get my vote.
I say, you go Anthony!
No flames intended on anyone or anything,
DonC.
11/28/2002 (10:04 am)
So as not to start a language war, I'm an application programmer with years of experience using C, C++ and Java (amongst others). The best choice of language is usually dictated by the requirements with a sprinkling of personnal preference. As far as requirements:Would like it to run easily on Windows, Mac and Linux.
Point Java.
It needs to pass out simple data to clients requesting it.
No problem for Java.
Having one CodeBase would be nice.
Point Java.
I'm assumming Anthony has a preference for Java.
Point Java.
Getting a list of servers running and the games running on them is outside of the Game Loop - i.e. not time critical.
All of the languages can meet this requirement.
Ease of functional enhancement will probably be important.
Point Java.
By summing the points, Java seems to be a good choice here. Any one of them can do the job and do it well, but Java would get my vote.
I say, you go Anthony!
No flames intended on anyone or anything,
DonC.
#7
Thanks
11/28/2002 (1:06 pm)
Well does anyone have another suggestion then, other than java; is it possible to change the script that comes with the demo game? I think it is C++, but where do you find the code that needs to be changed if so.Thanks
#8
I'm taking a Java course, having over six years of a mixture of C, C++ and Pascal. I'm really enjoying the course as I'm finding Java to be a very "clean" language, especially in comparison to C++. Of course, I'm too new to the language to know any of its quirks, but so far I'm happy. Then again, it's all personal choice I guess.
11/28/2002 (2:38 pm)
In support of Java....I'm taking a Java course, having over six years of a mixture of C, C++ and Pascal. I'm really enjoying the course as I'm finding Java to be a very "clean" language, especially in comparison to C++. Of course, I'm too new to the language to know any of its quirks, but so far I'm happy. Then again, it's all personal choice I guess.
#9
Java is a very good language to write network-able software in. One could probably make a good master server in a few days.
11/28/2002 (9:33 pm)
I've been working on network management software at work for the past 2 years. We're on our third release and its 100% Java. Java and C++ both have their place, but in our case, writing it in Java has no impact in performance and probably saved us 2 years of development time.Java is a very good language to write network-able software in. One could probably make a good master server in a few days.
#10
11/30/2002 (12:18 am)
I have never used Java. I have heard and seen some great creations, but never actually did any coding with it. Is it hard to learn?
#11
01/19/2005 (9:39 am)
There is one in Perl on these forums, if you can find it
Torque Owner Anthony McCrary