News:

Come Chat with us live! Learn how HERE!

Main Menu

My server needs help and so do i

Started by Gamemonn5, October 28, 2007, 09:42:35 PM

Gamemonn5

I don't know how to add custom comands to my server And is there a list of comands like /g_gravity and stuff liek that also my server only appears on teh LAN list i have tryed port forwarding and it still does't work the ccode i use to start my server is /Applications/Tremulous/tremded.ub +set dedicated 2 +exec server.cfg. I know its a mac server.  is there some ty guide for servers some where that explains all of this?

Overdose

You mean like The Guide to Setting Up a Server on a Mac?
For a list of server commands and info on custom commands, as well as many other things try Mercenaries Guild
Chocolate Milk.

Gamemonn5

Thats th guide i used to make my server but it shows up on the LAN list and i've tried port forwarding

Gamemonn5

I cannot find a list on the guild

Edit: nvm i found it

Overdose

Do I have to do everything?
Server Variables
Custom Admin Commands
As well as Common Custom Admin Commands

For your server, does it show up in the LAN section on just your computer? In other words, can anyone else actually see it? Or connect to it?
Chocolate Milk.

Rocinante

On some network setups, if you use the default port (30720) then your client will not be able to see any other servers.

Does the server report that it's sending a heartbeat to the master?  It should be close to the last line in the console when you run the server.

There's information out there about running a server, but for the most part you have to hunt for and find it.  This is mostly intentional - a server operator should know where to look for information before running one.

As for custom commands and variables, YourMama linked to them already.
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"

Gamemonn5

Quote from: RocinanteOn some network setups, if you use the default port (30720) then your client will not be able to see any other servers.

Does the server report that it's sending a heartbeat to the master?  It should be close to the last line in the console when you run the server.

There's information out there about running a server, but for the most part you have to hunt for and find it.  This is mostly intentional - a server operator should know where to look for information before running one.

As for custom commands and variables, YourMama linked to them already.
Yes it sends the heart beat an dhow do i change teh port cus yes it does use 30720 thats what every one i asked said had to port forward to

Gamemonn5

Quote from: YourMamaDo I have to do everything?
Server Variables
Custom Admin Commands
As well as Common Custom Admin Commands

For your server, does it show up in the LAN section on just your computer? In other words, can anyone else actually see it? Or connect to it?
Its only shows up on the lan list for me it doesn't show up for every one else at all

Rocinante

The port can be changed by adding "+set net_port 30721" - or whatever port you wish to use - to the command line.

Regarding your port forwarding, it sounds like that was not done correctly.  There are entirely too many variables to go through to figure out what it might be, but the basics:

*) The port must be UDP, not TCP, in the forwarding rules
*) Outgoing traffic should get through fine, so you should only need to modify incoming rules
*) The idea is to get traffic from the Internet, that hits your router on that port, to forward to the internal IP address of your server on whatever port is listening.

In many cases, a Google search for your model router plus the words "port forwarding" will return results matching how to do this with your router, which you may need to adapt for the specific task at hand.
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"

Caveman

On a side note, don't try to play on the same machine you run the server of.

Gamemonn5

Quote from: RocinanteThe port can be changed by adding "+set net_port 30721" - or whatever port you wish to use - to the command line.

Regarding your port forwarding, it sounds like that was not done correctly.  There are entirely too many variables to go through to figure out what it might be, but the basics:

*) The port must be UDP, not TCP, in the forwarding rules
*) Outgoing traffic should get through fine, so you should only need to modify incoming rules
*) The idea is to get traffic from the Internet, that hits your router on that port, to forward to the internal IP address of your server on whatever port is listening.

In many cases, a Google search for your model router plus the words "port forwarding" will return results matching how to do this with your router, which you may need to adapt for the specific task at hand.

I have an Air Port and i have looked it up and i followed it exactly i clicked the port mapping thing and i typed in 30720 in the personal and public area like the guide i found said to do. when i run my server and i type in +set net_port 30721 it says unknown cmd +set

Caveman

Please post the _exact_ command line(s) that brought this error.

Gamemonn5

Quote from: CavemanPlease post the _exact_ command line(s) that brought this error.
unknown command: +set

Gamemonn5

Quote from: CavemanOn a side note, don't try to play on the same machine you run the server of.

Why not? I have a 0 ping when i play in my server from my computer

Caveman

Quote from: Gamemonn5
Quote from: CavemanPlease post the _exact_ command line(s) that brought this error.
unknown command: +set

That can't be the exact command line(s) you tried.

Gamemonn5

Quote from: Caveman
Quote from: Gamemonn5
Quote from: CavemanPlease post the _exact_ command line(s) that brought this error.
unknown command: +set

That can't be the exact command line(s) you tried.

Well.... not exactly this is what i did. This is and this is copy and pasted

+set net_port 30750
unknown command: +set


Edit: By not exactly i meant i didn't put the +set net_port thing cus you asked for the error line

Caveman

Ok ok, I get it.
You do not really want any help, else you would have given us what I asked for.

Have fun & good luck.

Gamemonn5

Quote from: CavemanOk ok, I get it.
You do not really want any help, else you would have given us what I asked for.

Have fun & good luck.
what do you mean? You asked for the cmd lines i tried and i put them there!

Plague

You are using the +set command in the context of running either tremded.exe or tremulous.x86.exe, are you not?

Gamemonn5

Quote from: PlagueYou are using the +set command in the context of running either tremded.exe or tremulous.x86.exe, are you not?
first of all i'm using a mac server (not to be rude) also i entered that directly into Terminal after i booted Tremeded.ub

Plague

You need to add the +set <whatever> command w/ arguments while starting tremded.ub, not after you've already run it.
ex:

tremded.ub +set dedicated 2 +exec server.cfg +set net_port 32123

all as one then press enter.

Edit: You mean the server terminal, not the Mac Terminal. If you want to set variables within the tremulous server terminal, I believe it's just 'set'. However, I don't believe you can change the net port while the server is running.

Gamemonn5

Quote from: PlagueYou need to add the +set <whatever> command w/ arguments while starting tremded.ub, not after you've already run it.
ex:

tremded.ub +set dedicated 2 +exec server.cfg +set net_port 32123

all as one then press enter.

Edit: You mean the server terminal, not the Mac Terminal. If you want to set variables within the tremulous server terminal, I believe it's just 'set'. However, I don't believe you can change the net port while the server is running.
THANK YOU! your so much more help then cave man

Gamemonn5

Quote from: Plague
Edit: You mean the server terminal, not the Mac Terminal. If you want to set variables within the tremulous server terminal, I believe it's just 'set'. However, I don't believe you can change the net port while the server is running.

Ya i did


This is what i entered /Applications/Tremulous/tremded.ub +set dedicated 2 +exec server.cfg +set net_port 30721

But i went to the server list and when to Lan list and checked my server and i click the server info bitten and it still says 30720

Edit: actually i whet there right after the /Applications/Tremulous/tremded.ub +set dedicated 2 +exec server.cfg +set net_port 30721 code
and it wasn't there so i terminated the window and entered /Applications/Tremulous/tremded.ub +set dedicated 2 +exec server.cfg
And it was there, but the server info said it was still 10.0.1.2:30720 When i was expecting 10.0.1.2:30721

Gamemonn5

Nvm i retried the entire thing and it worked i must have done soem thing wrong