Tremulous Forum
Community => Servers => Topic started by: amy 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
-
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)
-
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.)
-
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).
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.
-
[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.
-
[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.
-
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.
-
*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)
-
Actually, I've never grepped for error messages...
D'oh!
-
okay
i am running on a Windows Vista,my map rotation is in,my map roation is on main, this is my rotation
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
}
-
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 (http://tremulous.net/forum/index.php?topic=8036.0) (should be a good link?).