Author Topic: Dedicated Server  (Read 4581 times)

MechWarrior001

  • Posts: 58
  • Turrets: +3/-3
Dedicated Server
« on: June 14, 2008, 12:15:11 am »
Hi I'm MechWarrior001.

I host a LAN server for my friends at the Chico Teen Center when we play Tremulous (I'm the only who knows how)
and I've been having problems getting tremded.exe to work. when I run it, the screen goes completely white and it stops responding. I downloaded the game.qvm that came with it and put it in tremulous/base/vm so I don't know what to do next.

Le Compilateur

  • Posts: 315
  • Turrets: +14/-19
Re: Dedicated Server
« Reply #1 on: June 14, 2008, 12:55:50 am »
Make sure dedicated is set to 1 if you want it to be LAN-only or 2 if you want it to be on the internet. Otherwise it will think it's a client, which could cause bad things to happen.
I'm a developer! If you'd like to contribute to the Equilibrium QVM project or download the latest version, please visit this thread.

QVMs now compile under Leopard; get the patch here. Requires SVN r1053 or later.

MechWarrior001

  • Posts: 58
  • Turrets: +3/-3
Re: Dedicated Server
« Reply #2 on: June 14, 2008, 03:51:01 am »
In which file to I set the dedicated part to?

Btw, How do you set command line switches? is it ..." +<file name/command> or ..." /<filename/command>

Le Compilateur

  • Posts: 315
  • Turrets: +14/-19
Re: Dedicated Server
« Reply #3 on: June 14, 2008, 04:06:48 am »
First, I recommend reading this excellent guide to setting up a Tremulous server on Windows. Once you've done that, you should be able to figure this out.

But to answer your question, you would set it in server.cfg. Dunno what you mean by "command line switches".
I'm a developer! If you'd like to contribute to the Equilibrium QVM project or download the latest version, please visit this thread.

QVMs now compile under Leopard; get the patch here. Requires SVN r1053 or later.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Re: Dedicated Server
« Reply #4 on: June 17, 2008, 03:43:58 pm »
Btw, How do you set command line switches? is it ..." +<file name/command> or ..." /<filename/command>

The plus usually does the trick.

One thing that works well is creating a shortcut to tremded.exe, likely on the desktop. Edit that shortcut (pull up the properties page), and in its path, after the .exe part, add a +set dedicated 1 or 2. 1 for lan, 2 for internets

∧OMG ENTROPY∧

MechWarrior001

  • Posts: 58
  • Turrets: +3/-3
Re: Dedicated Server
« Reply #5 on: June 17, 2008, 05:52:22 pm »
Ok I did that but now when I run it the server doesn't show up on LAN. I tried both dedicated 1 & dedicated 2 but nothing happened. I tried changing the ports, still no. I tried tried changing the exec autogen.cfg to my own *.cfg file but still no. What do I do now?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Dedicated Server
« Reply #6 on: June 17, 2008, 06:14:21 pm »
No need to exec autogen, it happens automatically.
And you can't set dedicated to both 1 & 2 at the same time.
The only difference is that 2 sends heartbeats to the master, 1 doesn't.
It will probably never show up on the internet list for you, as most home routers are shit.
You can just connect with /connect ip:port using the internal IP.
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.

MechWarrior001

  • Posts: 58
  • Turrets: +3/-3
Re: Dedicated Server
« Reply #7 on: June 17, 2008, 06:40:54 pm »
Well you see we have like, 10 computers in the room. We don't use a router. Instead we have like one of those proxy servers that hang in the black box somewhere in the building, and I set it to LAN and I'm not sure what to do next

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Re: Dedicated Server
« Reply #8 on: June 18, 2008, 05:26:14 pm »
Hmm. Usually on lan, it will appear in the lan list.

If it doesnt, you can find the ip in a simple way.

Open up a command prompt on the windows computer, and type ipconfig -all
Copy down the ip address to a piece of paper.

Then in the various clients people will connect by, tell them to run /connect IP:30720

30720 is the default port on windows.

∧OMG ENTROPY∧