Author Topic: Master Server  (Read 5412 times)

Kuszja

  • Posts: 72
  • Turrets: +1/-0
Master Server
« on: January 26, 2009, 10:03:53 pm »
I'm working on a project for a college class in which I am making a small tremulous mod to track stats. I would like to make a master server for my mod clients to connect to so no random people try and join my test servers. I found the source code for the master server, but I just started wading through the code today. Any help would be greatly appreciated.

Archangel

  • Guest
Re: Master Server
« Reply #1 on: January 26, 2009, 10:42:15 pm »
iirc you can change the master server address in tremulous.h.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Master Server
« Reply #2 on: January 27, 2009, 11:54:26 am »
Setting [wiki]Sv_master1[/wiki] may be easier.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Kuszja

  • Posts: 72
  • Turrets: +1/-0
Re: Master Server
« Reply #3 on: January 31, 2009, 01:53:50 am »
Thank you. I will try that. Do I have to issue any special commands when I go to compile to make a master server?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Master Server
« Reply #4 on: January 31, 2009, 12:31:32 pm »
There's a separate makefile for it in the master folder.
You should be able to run it without any issues for testing stuffs, -h gets it to list all its options for if your leaving it going long-term.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Master Server
« Reply #5 on: January 31, 2009, 05:36:03 pm »
There's a separate makefile for it in the master folder.
You should be able to run it without any issues for testing stuffs, -h gets it to list all its options for if your leaving it going long-term.
the master's makefile depends on the regular makefile to set variables, make BUILD_MASTER_SERVER=1 to build a master
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Master Server
« Reply #6 on: January 31, 2009, 09:32:35 pm »
Nope.  My checkout of just trunk/src/master works fine as-is.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Archangel

  • Guest
Re: Master Server
« Reply #7 on: January 31, 2009, 09:59:00 pm »
yeah, I've built a master like that before, just a checkout of its code.

Kuszja

  • Posts: 72
  • Turrets: +1/-0
Re: Master Server
« Reply #8 on: February 03, 2009, 10:12:52 am »
Thank you all very much for your quick responses. Hopefully, if anything useful comes of this project, I'll be able to give back to the community.