Can any1 help me get this 2 work

3 replies [Last post]
XSPXSP.HELLFIRE
Mookiejr's picture
Offline
Joined: Jul 2005
Posts:

I tried it and all it did every 4 hours was cause lag, the port didnt change.[code:1]//----------------------------------------------- Server Port Switch Script by {d*r*t}fa!th --

seta switch "vstr m1"
seta m1 "vstr info1;set net_port 27961;net_restart; heartbeat; set switch vstr m2"
seta m2 "vstr info2;set net_port 27960;net_restart; heartbeat; set switch vstr m3"
seta m3 "vstr info3;set net_port 27961;net_restart; heartbeat; set switch vstr m4"
seta m4 "vstr info4;set net_port 27960;net_restart; heartbeat; set switch vstr m5"
seta m5 "vstr info5;set net_port 27961;net_restart; heartbeat; set switch vstr m6"
seta m6 "vstr info6;set net_port 27960;net_restart; heartbeat; set switch vstr m7"
seta m7 "vstr info7;set net_port 27961;net_restart; heartbeat; set switch vstr m8"
seta m8 "vstr info8;set net_port 27960;net_restart; heartbeat; set switch vstr m9"
seta m9 "vstr info9;set net_port 27961;net_restart; heartbeat; set switch vstr m1"

set info1 "The Server Must Be Restarted - please connect to68.42.198.127:27961; wait 5"
set info2 "The Server Must Be Restarted - please connect to 68.42.198.127:27960; wait 5"
set info3 "The Server Must Be Restarted - please connect to 68.42.198.127:27961; wait 5"
set info4 "The Server Must Be Restarted - please connect to 68.42.198.127:27960; wait 5"
set info5 "The Server Must Be Restarted - please connect to 68.42.198.127:27961; wait 5"
set info6 "The Server Must Be Restarted - please connect to 68.42.198.127:27960; wait 5"
set info7 "The Server Must Be Restarted - please connect to 68.42.198.127:27961; wait 5"
set info8 "The Server Must Be Restarted - please connect to 68.42.198.127:27960; wait 5"
set info9 "The Server Must Be Restarted - please connect to 68.42.198.127:27961; wait 5"

//----------------------------------------------- Server Port Switch Script by {d*r*t}fa!th
//Add this to ur contab.txt "*/240 * * * * /vstr switch"[/code:1]

We cant shatter when we fall off 100mile clifs Shock

Anonymous
Can any1 help me get this 2 work

Use crontab and Windows task scheduler. Its al hell of alot easier then trying to script it. Big grin

There is also a low resource program I use that is a Windows Cron prog.

Use the Crontab to shutdown the server and use the Windows Cron prog to start it again... but each time it starts use a differnt .BAT file and in each .BAT file specify a different port.

Hope it helps

"C4-KICKZ"
KickZ's picture
Offline
Joined: Mar 2005
Posts:
Can any1 help me get this 2 work

...neither do I actually Shock

<drt_nihil> we about wolf and wolf is here

(@enha) damn you, people are dancing, instead of work
(@drt_foksie) she mutated

XSPXSP.HELLFIRE
Mookiejr's picture
Offline
Joined: Jul 2005
Posts:
Can any1 help me get this 2 work

I got a different server script 2 work

We cant shatter when we fall off 100mile clifs Shock