Author Topic: My server needs help and so do i  (Read 8305 times)

Gamemonn5

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« on: October 28, 2007, 10:42:35 pm »
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

  • Posts: 396
  • Turrets: +52/-47
My server needs help and so do i
« Reply #1 on: October 29, 2007, 01:46:27 am »
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

  • Posts: 24
  • Turrets: +1/-0
No not the guide to seting a sever up on a mac
« Reply #2 on: October 29, 2007, 11:57:50 pm »
Thats th guide i used to make my server but it shows up on the LAN list and i've tried port forwarding

Gamemonn5

  • Posts: 24
  • Turrets: +1/-0
Also
« Reply #3 on: October 30, 2007, 12:06:04 am »
I cannot find a list on the guild

Edit: nvm i found it

Overdose

  • Posts: 396
  • Turrets: +52/-47
My server needs help and so do i
« Reply #4 on: October 30, 2007, 01:27:43 am »
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

  • Posts: 642
  • Turrets: +252/-668
    • My Homepage
My server needs help and so do i
« Reply #5 on: October 30, 2007, 01:54:47 am »
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

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #6 on: October 30, 2007, 04:25:42 am »
Quote from: "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.

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

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #7 on: October 30, 2007, 04:26:36 am »
Quote from: "YourMama"
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?

Its only shows up on the lan list for me it doesn't show up for every one else at all

Rocinante

  • Posts: 642
  • Turrets: +252/-668
    • My Homepage
My server needs help and so do i
« Reply #8 on: October 30, 2007, 03:28:39 pm »
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

  • Guest
My server needs help and so do i
« Reply #9 on: October 30, 2007, 05:56:51 pm »
On a side note, don't try to play on the same machine you run the server of.

Gamemonn5

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #10 on: October 30, 2007, 11:05:57 pm »
Quote from: "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.


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

  • Guest
My server needs help and so do i
« Reply #11 on: October 30, 2007, 11:08:27 pm »
Please post the _exact_ command line(s) that brought this error.

Gamemonn5

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #12 on: October 30, 2007, 11:12:05 pm »
Quote from: "Caveman"
Please post the _exact_ command line(s) that brought this error.

unknown command: +set

Gamemonn5

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #13 on: October 30, 2007, 11:12:58 pm »
Quote from: "Caveman"
On 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

  • Guest
My server needs help and so do i
« Reply #14 on: October 30, 2007, 11:41:04 pm »
Quote from: "Gamemonn5"
Quote from: "Caveman"
Please 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

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #15 on: October 30, 2007, 11:50:23 pm »
Quote from: "Caveman"
Quote from: "Gamemonn5"
Quote from: "Caveman"
Please 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

  • Guest
My server needs help and so do i
« Reply #16 on: October 31, 2007, 12:07:42 am »
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

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #17 on: October 31, 2007, 12:18:02 am »
Quote from: "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.

what do you mean? You asked for the cmd lines i tried and i put them there!

Plague

  • Posts: 238
  • Turrets: +13/-13
My server needs help and so do i
« Reply #18 on: October 31, 2007, 12:36:58 am »
You are using the +set command in the context of running either tremded.exe or tremulous.x86.exe, are you not?

Gamemonn5

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #19 on: October 31, 2007, 12:40:22 am »
Quote from: "Plague"
You 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

  • Posts: 238
  • Turrets: +13/-13
My server needs help and so do i
« Reply #20 on: October 31, 2007, 12:44:52 am »
You need to add the +set <whatever> command w/ arguments while starting tremded.ub, not after you've already run it.
ex:

Code: [Select]
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

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #21 on: October 31, 2007, 12:49:18 am »
Quote from: "Plague"
You need to add the +set <whatever> command w/ arguments while starting tremded.ub, not after you've already run it.
ex:

Code: [Select]
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

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #22 on: October 31, 2007, 12:59:02 am »
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
Code: [Select]
/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
Code: [Select]
/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
Code: [Select]
/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

  • Posts: 24
  • Turrets: +1/-0
My server needs help and so do i
« Reply #23 on: October 31, 2007, 01:15:23 am »
Nvm i retried the entire thing and it worked i must have done soem thing wrong