Will this work?

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

I want my server 2 stop responding 2 the server masters, so it wont show up, and than respond again in 3 hours so it will show up. Will this do what I want?

[code:1]* 7 * * * /set sv_master1 master3.idsoftware.com
* 7 * * * /set sv_master2 master0.gamespy.com
* 7 * * * /set sv_master3 master.kali.net
* 7 * * * /set sv_master4 master0.excessiveplus.net
* 8 * * * /set sv_master1 "'
* 8 * * * /set sv_master2 ""
* 8 * * * /set sv_master3 ""
* 8 * * * /set sv_master4 ""
* 11 * * * /set sv_master1 master3.idsoftware.com
* 11 * * * /set sv_master2 master0.gamespy.com
* 11 * * * /set sv_master3 master.kali.net
* 11 * * * /set sv_master4 master0.excessiveplus.net
* 12 * * * /set sv_master1 ""
* 12 * * * /set sv_master2 ""
* 12 * * * /set sv_master3 ""
* 12 * * * /set sv_master4 ""
* 15 * * * /set sv_master1 master3.idsoftware.com
* 15 * * * /set sv_master2 master0.gamespy.com
* 15 * * * /set sv_master3 master.kali.net
* 15 * * * /set sv_master4 master0.excessiveplus.net
* 16 * * * /set sv_master1 ""
* 16 * * * /set sv_master2 "'"
* 16 * * * /set sv_master3 ""
* 16 * * * /set sv_master4 ""
* 19 * * * /set sv_master1 master3.idsoftware.com
* 19 * * * /set sv_master2 master0.gamespy.com
* 19 * * * /set sv_master3 master.kali.net
* 19 * * * /set sv_master4 master0.excessiveplus.net
* 20 * * * /set sv_master1 ""
* 20 * * * /set sv_master2 ""
* 20 * * * /set sv_master3 ""
* 20 * * * /set sv_master4 ""
* 23 * * * /set sv_master1 master3.idsoftware.com
* 23 * * * /set sv_master2 master0.gamespy.com
* 23 * * * /set sv_master3 master.kali.net
* 23 * * * /set sv_master4 master0.excessiveplus.net
* 24 * * * /set sv_master1 ""
* 24 * * * /set sv_master2 ""
* 24 * * * /set sv_master3 ""
* 24 * * * /set sv_master4 ""
* 3 * * * /set sv_master1 master3.idsoftware.com
* 3 * * * /set sv_master2 master0.gamespy.com
* 3 * * * /set sv_master3 master.kali.net
* 3 * * * /set sv_master4 master0.excessiveplus.net
* 4 * * * /set sv_master1 ""
* 4 * * * /set sv_master2 ""
* 4 * * * /set sv_master3 ""
* 4 * * * /set sv_master4 ""[/code:1]

We cant shatter when we fall off 100mile clifs Shock

nihil
nihil's picture
Offline
Joined: Dec 2004
Posts:
Will this work?

this was here once time yet - no it wont work e+ master server is hardcoded in mod anyway

XSPXSP.HELLFIRE
Mookiejr's picture
Offline
Joined: Jul 2005
Posts:
Will this work?

is there something that i can use that does that? Im not running it on my pc so i cant get 2 it and shut it off.

We cant shatter when we fall off 100mile clifs Shock

nihil
nihil's picture
Offline
Joined: Dec 2004
Posts:
Will this work?
XSPXSP.HELLFIRE wrote:

is there something that i can use that does that? Im not running it on my pc so i cant get 2 it and shut it off.

win32 version of quake supports net_restart

net_port port;net_restart
via rcon etc.. but anyway you will need restart server minimaly once per day

XSPXSP.HELLFIRE
Mookiejr's picture
Offline
Joined: Jul 2005
Posts:
Will this work?

I dont get it? I cant change the port all the time, the person only has 2 ports open. Could i just do net_restart? Is there a way 2 just make it do something that will make it show up at the top of the list? Right know im using the Task Manager 2 make it shut off and turn back on every 6 hours, but I would like it if there was something that makes it show up without having 2 restart the server.

We cant shatter when we fall off 100mile clifs Shock

XSPXSP.HELLFIRE
Mookiejr's picture
Offline
Joined: Jul 2005
Posts:
Will this work?

can any1 help me?

We cant shatter when we fall off 100mile clifs Shock

nihil
nihil's picture
Offline
Joined: Dec 2004
Posts:
Will this work?

server is in top of integrated q3 searcher when u change port..

{D*R*T} FAITH
Faith's picture
Offline
Joined: Dec 2004
Posts:
Will this work?

this to for ur server cfg ...

[code:1]//----------------------------------------------- Server Port Switch Script by {d*r*t}fa!th --

seta switch "vstr m1"
seta m1 "vstr info1;set net_port 30000;net_restart; heartbeat; set switch vstr m2"
seta m2 "vstr info2;set net_port 30001;net_restart; heartbeat; set switch vstr m3"
seta m3 "vstr info3;set net_port 30010;net_restart; heartbeat; set switch vstr m4"
seta m4 "vstr info4;set net_port 30100;net_restart; heartbeat; set switch vstr m5"
seta m5 "vstr info5;set net_port 31000;net_restart; heartbeat; set switch vstr m6"
seta m6 "vstr info6;set net_port 30200;net_restart; heartbeat; set switch vstr m7"
seta m7 "vstr info7;set net_port 30020;net_restart; heartbeat; set switch vstr m8"
seta m8 "vstr info8;set net_port 30002;net_restart; heartbeat; set switch vstr m9"
seta m9 "vstr info9;set net_port 30030;net_restart; heartbeat; set switch vstr m1"

set info1 "The Server Must Be Restarted - please connect to xxx.xxx.xx.xx:30000; wait 5"
set info2 "The Server Must Be Restarted - please connect to xxx.xxx.xx.xx:30001; wait 5"
set info3 "The Server Must Be Restarted - please connect to xxx.xxx.xx.xx:30010; wait 5"
set info4 "The Server Must Be Restarted - please connect to xxx.xxx.xx.xx:30100; wait 5"
set info5 "The Server Must Be Restarted - please connect to xxx.xxx.xx.xx:31000; wait 5"
set info6 "The Server Must Be Restarted - please connect to xxx.xxx.xx.xx:30200; wait 5"
set info7 "The Server Must Be Restarted - please connect to xxx.xxx.xx.xx:30020; wait 5"
set info8 "The Server Must Be Restarted - please connect to xxx.xxx.xx.xx:30002; wait 5"
set info9 "The Server Must Be Restarted - please connect to xxx.xxx.xx.xx:30030; wait 5"

//----------------------------------------------- Server Port Switch Script by {d*r*t}fa!th[/code:1]

dunno if it works but imo it should :}

u just gotta add to ur crontab [port change every 120 min's]

[code:1]*/120 * * * * /vstr switch[/code:1]

u gotta edit the script :} it also has one flaw ... ppl playing on server during port change, will be kicked ....

XSPXSP.HELLFIRE
Mookiejr's picture
Offline
Joined: Jul 2005
Posts:
Will this work?

thx Faith but 1 problem, I dont want people 2 be kicked, Cpuld u change it 2 switch threw 2 different ports and getinfo from the server every hour and if Clients = 0 change the port and than the next hour if Clients = 0 change back 2 the first port and it keeps going like that. The person who is running the server on his PC doesnt have all the ports open.

We cant shatter when we fall off 100mile clifs Shock

XSPXSP.HELLFIRE
Mookiejr's picture
Offline
Joined: Jul 2005
Posts:
Will this work?

If u cant, thats ok

We cant shatter when we fall off 100mile clifs Shock

XSPXSP.HELLFIRE
Mookiejr's picture
Offline
Joined: Jul 2005
Posts:
Will this work?

OR if u cant write me 1, can u tell me some good times 2 make it change ports, every 4 hours or somthing, I dont want any1 2 get kicked off it thats y i want it 2 get info and if clients = 0 change the port but i dont think any1 knows how 2 do that.

We cant shatter when we fall off 100mile clifs Shock