Config which executs rcon instructions

9 replies [Last post]
*BNT* DIRTY OLD
Dirty Old's picture
Offline
Joined: May 2006
Posts:

hey guys,
how does a config has to look like, which does things like:
[code:1]/rcon fraglimit 100
/rcon timelimit 10
/rcon load conf/plus[/code:1]
all in one conf so i can execute it and the server is ready for a cw...

Greetz,
Dirty

x.foksie'loy.drt?
foksie's picture
Offline
Joined: Jun 2005
Posts:
Config which executs rcon instructions

rcon "load conf/plus.cfg"
rcon "fraglimit 100"
rcon "timelimit 10"

but you will have to do the rcon load, then you can do the fraglimit and timelimit Happy

I am proud of spreading a pirated Excessive Plus version and claim to be the original author, yay!

*BNT* DIRTY OLD
Dirty Old's picture
Offline
Joined: May 2006
Posts:
Config which executs rcon instructions

doesn't work Thinking

after execing there's in console:
"server: timelimit 20"

here's what i have in the conf:
[code:1]rcon "timelimit 20"
rcon "fraglimit 0"
rcon "g_inactivity 0"[/code:1]

rUnThEoN?!
Skullheadq3's picture
Offline
Joined: Dec 2005
Posts:
DE Germany
Config which executs rcon instructions

"rcon timelimit 20" try that etc.

hurrenson: "This idiot is apparently not familiar with a rail/sniper style."

*BNT* DIRTY OLD
Dirty Old's picture
Offline
Joined: May 2006
Posts:
Config which executs rcon instructions

[code:1]"rcon timelimit 20"
"rcon fraglimit 0"
"rcon g_inactivity 0"[/code:1]
unknown command

[code:1]seta "rcon timelimit 20"
seta "rcon fraglimit 0"
seta "rcon g_inactivity 0"[/code:1]
usage: seta <variable><value>

[code:1]seta rcon "timelimit 20"
seta rcon "fraglimit 0"
seta rcon "g_inactivity 0"[/code:1]
executes but nothing happens

[code:1]rcon timelimit "20"
rcon fraglimit "0"
rcon g_inactivity "0"[/code:1]
also executes but nothing happens

dunno, what else i could test... Thinking

Seth
Offline
Joined: Jun 2005
Posts:
Config which executs rcon instructions

Try with 1 command only see if that works.

I made some rcon centerprint and rcon addbot exec files and they all worked so executing rcon commands with .cfg files should work.
They were all done with:
rcon "blablabla"
One single line
I think there's a problem in the syntax somehow then, although i'm not sure how a server reacts to multiple lines if it executes the lines untill the error or sees the error and doesn't execute anything.

RONiN wrote:

lol@sethy ur too funny man... if i was a woman, you would make me horny.

(HK) GoddaM
goddam's picture
Offline
Joined: Aug 2004
Posts:
Config which executs rcon instructions

easy way is have a rotation.txt on server called

cwrotation.txt

put code like this in...

[code:1]
timelimit: 45
fraglimit: 200
g_gametype: 3
/load conf/plus.cfg

q3dm1
q3dm2
q3dm3
q3dm4
etc etc
[/code:1]

then in console type:
[code:1]\rcon xp_rotation cwrotation.txt[/code:1]

maybe it will work with a script

[code:1]bind x "vstr mm"
set mm "vstr m1"
set m1 "rcon load conf/plus.cfg; set mm vstr m2"
set m2 "rcon fraglimit 200; set mm vstr m3"
set m2 "rcon g_gametype 3; set mm vstr m4"
set m2 "rcon timelimit 45; set mm vstr m1"
[/code:1]

or
worth trying...

[code:1]bind x "vstr mm"
set mm "vstr m1"
set m1 "rcon load conf/plus.cfg; rcon fraglimit 200; rcon g_gametype 3; rcon timelimit 45; set mm vstr m1"[/code:1]

{D*R*T} FAITH
Faith's picture
Offline
Joined: Dec 2004
Posts:
Config which executs rcon instructions

this works fine..

[code:1]timelimit 110
fraglimit 110
load conf/plus.cfg[/code:1]

you put this in a file, upload on the server, then just rcon exec filename.cfg

if you only got rcon, and havent got any ftp access, you add the following lines into your client cfg.

[code:1]seta cw "vstr o1"
seta o1 "rcon load conf/plus ; set cw vstr o2"
seta o2 "rcon timelimit 10; set cw vstr o3"
seta o3 "rcon fraglimit 100; set cw vstr o1"
bind F4 "vstr cw"[/code:1]

load it ingame /exec cfgname and press the f4 3 times and everything is setup Happy

(HK) GoddaM
goddam's picture
Offline
Joined: Aug 2004
Posts:
Config which executs rcon instructions

isnt that what i said :scratch:

*A*C|_ASS*???2JR
nic4evercool's picture
Offline
Joined: Apr 2006
Posts:
Config which executs rcon instructions
(HK) GoddaM wrote:

isnt that what i said :scratch:

uhuh Big grin...peace...



*A*C|_ASS*???2JR wrote:
Sex is a sensation caused by temptation of a guy sticking his location into a girl's destination to increase the population of the next generation. Do you understand my explanation or do you need a demonstration? Big grin ...peace...