Author Topic: I need some help please with my server  (Read 6234 times)

amy

  • Posts: 4
  • Turrets: +0/-0
I need some help please with my server
« on: November 05, 2008, 01:33:17 am »
HI im hosting a server, and when the game ends the map just restarts, it doesnt go to my next map in the rotation, also when i connect there are 2 warnings
WARNING:Server is not allowed to set sv_wwwBaseURL=http://64.92.167.138/maps
WARNING:Server is not allowed to set sv_wwwDownload=1

I hope that someone can help me fix this problem as soon as possible thx

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Re: I need some help please with my server
« Reply #1 on: November 05, 2008, 06:36:18 am »
I think this is related to your server's startup command.
It should be something like:
'./tremded.ub +set dedicated 2 +set sv_wwwBaseURL=http://64.92.167.138/maps +set sv_wwwDownload=1 +exec server.cfg' (OSX)
'./tremded.x86 +set dedicated 2 +set sv_wwwBaseURL=http://64.92.167.138/maps +set sv_wwwDownload=1 +exec server.cfg' (Linux)
'tremded.exe +set dedicated 2 +set sv_wwwBaseURL=http://64.92.167.138/maps +set sv_wwwDownload=1 +exec server.cfg' (Windows)

Einstein

  • Posts: 81
  • Turrets: +12/-2
Re: I need some help please with my server
« Reply #2 on: November 05, 2008, 04:03:37 pm »
It would appear that you're doing a couple things wrong. First, post your maprotation.cfg here and tell us where it is: it may simply be incorrect syntax or in the wrong directory. Please when posting troubleshooting topics, include your operating system and server version. (For example, I'm on Ubuntu 8.10 x86_64, running FSM-Trem based on r138.) You should set most of the static settings, like your download stuff, when you first launch; I recommend making a server.cfg in your base folder and then simply adding an "+exec server.cfg" command line argument for this purpose. (See the example above by Death On Ice.)

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: I need some help please with my server
« Reply #3 on: November 05, 2008, 10:13:09 pm »
HI im hosting a server, and when the game ends the map just restarts, it doesnt go to my next map in the rotation
If your map rotation has any syntax errors, you should see "ERROR:"s after "!readconfig:" on the server console. In that case, do what Einstein said and post your maprotation.cfg. Otherwise, make sure you set g_initialmaprotation to the name of your map rotation (or use the maprotation command).

Quote
also when i connect there are 2 warnings
WARNING:Server is not allowed to set sv_wwwBaseURL=http://64.92.167.138/maps
WARNING:Server is not allowed to set sv_wwwDownload=1

I hope that someone can help me fix this problem as soon as possible thx
You can safely ignore that, but if it is annoying enough, you may consider using a different client. I believe most(?) of the "backport" clients will not make that warning.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Einstein

  • Posts: 81
  • Turrets: +12/-2
Re: I need some help please with my server
« Reply #4 on: November 06, 2008, 01:10:35 am »
[Y]ou may consider using a different client. I believe most(?) of the "backport" clients will not make that warning.
I'm confused... what does this have to do with her client? And while it is just a warning, not some fatal error, it's there for a reason; she's trying to set these variables after the server has already been started, on a server that doesn't support on-the-fly changes of these variables. This probably also means that they're not being set at all, so her server won't do what she expects it to do (namely, allow autodownloads from the Web site she specified). I don't know whether contemporary servers allow this, but either way, it is implied that this will go away if she approaches it a different way: she needs to set these at startup, by following either Death's or my instructions.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: I need some help please with my server
« Reply #5 on: November 06, 2008, 01:39:04 am »
[Y]ou may consider using a different client. I believe most(?) of the "backport" clients will not make that warning.
I'm confused... what does this have to do with her client? And while it is just a warning, not some fatal error, it's there for a reason; she's trying to set these variables after the server has already been started, on a server that doesn't support on-the-fly changes of these variables. This probably also means that they're not being set at all, so her server won't do what she expects it to do (namely, allow autodownloads from the Web site she specified). I don't know whether contemporary servers allow this, but either way, it is implied that this will go away if she approaches it a different way: she needs to set these at startup, by following either Death's or my instructions.
the variables are marked CVAR_SYSTEMINFO in tjw's client and most other updated clients, so the server IS allowed to set them, but the 1.1 client has no way of knowing it and takes the safer path of refusing to do it and printing a warning.
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| #
|.@.-##
-----

Einstein

  • Posts: 81
  • Turrets: +12/-2
Re: I need some help please with my server
« Reply #6 on: November 06, 2008, 01:59:43 am »
I'm confused... what does this have to do with her client? [other pretty-much-garbage advice in retrospect]
the variables are marked CVAR_SYSTEMINFO in tjw's client and most other updated clients, so the server IS allowed to set them, but the 1.1 client has no way of knowing it and takes the safer path of refusing to do it and printing a warning.
*bows down to the coder* My apologies: I realized that I read the initial post incorrectly. I assumed that when she connected, the _server_ was the console that spit out those messages, not the client, so I proceeded to give an explanation based on that (stupid) presumption. I stand corrected! Thank you, kevlar, for being specific and enlightening me to the presence of CVAR_SYSTEMINFO, as well.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: I need some help please with my server
« Reply #7 on: November 06, 2008, 02:25:18 am »
*bows down to the coder* My apologies: I realized that I read the initial post incorrectly. I assumed that when she connected, the _server_ was the console that spit out those messages, not the client, so I proceeded to give an explanation based on that (stupid) presumption. I stand corrected! Thank you, kevlar, for being specific and enlightening me to the presence of CVAR_SYSTEMINFO, as well.
use the source, luke (preferably in combination with grep)
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| #
|.@.-##
-----

Einstein

  • Posts: 81
  • Turrets: +12/-2
Re: I need some help please with my server
« Reply #8 on: November 06, 2008, 02:27:12 am »
Actually, I've never grepped for error messages...

D'oh!

amy

  • Posts: 4
  • Turrets: +0/-0
Re: I need some help please with my server
« Reply #9 on: November 16, 2008, 08:42:21 am »
okay
i am running on a Windows Vista,my map rotation is in,my map roation is on main, this is my rotation

Code: [Select]
rotation1
{
  atcs
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  atcs
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  pushcannon_b3
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  atcs
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  atcs
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  rotcannon_b11
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  atcs
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  atcs 
  {
  set g_humanBuildpoints 260
  set g_humanBuildpoints 260
  }
  trempoline-b3
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  atcs
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  atcs 
  {
  set g_humanBuildpoints 260
  set g_humanBuildpoints 260
  }
  mission_one_b6
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  atcs
{
set g_humanBuildPoints 260
set g_alienBuildPoints 260
}
  atcs 
  {
  set g_humanBuildpoints 260
  set g_humanBuildpoints 260
}


Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: I need some help please with my server
« Reply #10 on: November 16, 2008, 10:34:29 am »
Quote
ERROR: maprotation.cfg: failed to parse map rotation rotation1
ERROR: failed to parse maprotation.cfg file

Do you see a couple errors like that in the server console?

Is that your complete maprotation.cfg? That last "atcs" command section is missing a }.
It looks like you can do everything there with mapconfigs (should be a good link?).
« Last Edit: November 16, 2008, 10:36:56 am by Undeference »
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.