sgTsTuFz
12-01-2005, 11:47 PM
hey all
this is about redirecting players to a 2nd Spearhead server.
I have used this script in the past on a different host - and it worked fine.
///////////////////////////////////////////////////////////////////////////////
//ip_forward <iptoforwardto>
//Ip forwarding allows you to forward a player to a new IP, IE if you want
//to send players to the PJG OBJ server, you would keep the IP at what it is now
//and in game type rcon command "ip_forward <clientids>" and it would send them to
//the PJG server
///////////////////////////////////////////////////////////////////////////////
seta ip_forward "xx.xx.xx.xx"
///////////////////////////////////////////////////////////////////////////////
//IP threshhold, if you have mulitple servers, but one server gets full, and another
//doesn't, if you run this script on your server, it will send the last player to join
//to your server that is identified in "ip_forward" for example, if i set ip_threshold
//to 2, and i have an 18 player server, then if 16 people were on, and 1 more person joined
//then that player would be sent to the server set by ip_forward. This will be good
//for units with 2 or more servers that want to fill them all up, and can seamlessly
//forward people to other servers.
///////////////////////////////////////////////////////////////////////////////
//set whether max player forwarding is on.
seta server_forwarding "1"
seta ip_threshold "0"
///////////////////////////////////////////////////////////////////////////////
ACTUALLY, here's how it now appears in my Spearhead server.cfg
//set whether max player forwarding is on.
seta server_forwarding "1"
seta ip_threshold "19"
seta ip_forward "xx.xx.xx.xx"
the server is a 20 slot server - I cannot get the server to forward any player.
I've tried the above script at the top of the config, at the bottom AFTER the rotation, and just before the rotation - after the starting map script; and before the starting map script.
The server is Windows.
I've been testing the server with 2 pcs - joining after the first pc is connected and in game, but its not working.
[the reason I'm forwarding all of these slots .. well, I'm forcing my lazy clanners to go to a SH server hosted by the company I'd like to host with - this way, I get my clanners to actually play on the server hosted by the company I want to rent a server from, and see how their ping goes.]
Any Clues ??
///
this is about redirecting players to a 2nd Spearhead server.
I have used this script in the past on a different host - and it worked fine.
///////////////////////////////////////////////////////////////////////////////
//ip_forward <iptoforwardto>
//Ip forwarding allows you to forward a player to a new IP, IE if you want
//to send players to the PJG OBJ server, you would keep the IP at what it is now
//and in game type rcon command "ip_forward <clientids>" and it would send them to
//the PJG server
///////////////////////////////////////////////////////////////////////////////
seta ip_forward "xx.xx.xx.xx"
///////////////////////////////////////////////////////////////////////////////
//IP threshhold, if you have mulitple servers, but one server gets full, and another
//doesn't, if you run this script on your server, it will send the last player to join
//to your server that is identified in "ip_forward" for example, if i set ip_threshold
//to 2, and i have an 18 player server, then if 16 people were on, and 1 more person joined
//then that player would be sent to the server set by ip_forward. This will be good
//for units with 2 or more servers that want to fill them all up, and can seamlessly
//forward people to other servers.
///////////////////////////////////////////////////////////////////////////////
//set whether max player forwarding is on.
seta server_forwarding "1"
seta ip_threshold "0"
///////////////////////////////////////////////////////////////////////////////
ACTUALLY, here's how it now appears in my Spearhead server.cfg
//set whether max player forwarding is on.
seta server_forwarding "1"
seta ip_threshold "19"
seta ip_forward "xx.xx.xx.xx"
the server is a 20 slot server - I cannot get the server to forward any player.
I've tried the above script at the top of the config, at the bottom AFTER the rotation, and just before the rotation - after the starting map script; and before the starting map script.
The server is Windows.
I've been testing the server with 2 pcs - joining after the first pc is connected and in game, but its not working.
[the reason I'm forwarding all of these slots .. well, I'm forcing my lazy clanners to go to a SH server hosted by the company I'd like to host with - this way, I get my clanners to actually play on the server hosted by the company I want to rent a server from, and see how their ping goes.]
Any Clues ??
///