• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Server Starting Cash question

SubZ

Member
May 16, 2009
5
0
Hey, I just have a quick question. I am renting a server from game servers and I am able to change the difficulty and length of the game just fine by editing the ini, however when I change the starting cash it still keeps the default 250 cash. I was just wondering if anyone knows how to change the starting cash amount?
 
When I put a value greater than 500 and click apply - values are reset to 500 ... what am I doing wrong? perhaps something should be put in killingfloor.ini or bat file?
money.jpg
 
Upvote 0
happened. using web-admin. "StartingCash":
Code:
[I]http://[COLOR="orange"]login:pwd@server_ip:port[/COLOR]/ServerAdmin/current_console?SendText=set%20KFMod.KFGameType%20StartingCash%20[COLOR="Orange"]<cash>[/COLOR][/I]

example:
Code:
[I]http://[COLOR="orange"]admin:[email protected]:8075[/COLOR]/ServerAdmin/current_console?SendText=set%20KFMod.KFGameType%20StartingCash%20[COLOR="orange"]5000[/COLOR][/I]

as well as "RespawnCash"
Code:
[I]http://[COLOR="orange"]admin:[email protected]:8075[/COLOR]/ServerAdmin/current_console?SendText=set%20KFMod.KFGameType%20MinRespawnCash%20[COLOR="orange"]2500[/COLOR][/I]
I used Opera and turn on auto-refresh page every 15sec.
if anyone knows the method is simpler than this, please reply.
 
Upvote 0
easier way using curl. in cash.bat:
Code:
:curl
curl -d "SendText=set Engine.GameInfo MaxPlayers [COLOR="Orange"]18[/COLOR]" http://[COLOR="#ffa500"]login:password@adres:port[/COLOR]/ServerAdmin/current_console > nul
curl -d "SendText=set KFMod.KFGameType StartingCash [COLOR="#ffa500"]2500[/COLOR]" http://[COLOR="#ffa500"]login:password@adres:port[/COLOR]/ServerAdmin/current_console > nul
curl -d "SendText=set KFMod.KFGameType MinRespawnCash [COLOR="#ffa500"]1500[/COLOR]" http://[COLOR="#ffa500"]login:password@adres:port[/COLOR]/ServerAdmin/current_console > nul
timeout [COLOR="#ffa500"]10[/COLOR]
goto curl

example:
Code:
:curl
curl -d "SendText=set Engine.GameInfo MaxPlayers [COLOR="Orange"]18[/COLOR]" http://[COLOR="#ffa500"]admin:[email protected]:8075[/COLOR]/ServerAdmin/current_console > nul
curl -d "SendText=set KFMod.KFGameType StartingCash [COLOR="#ffa500"]2500[/COLOR]" http://[COLOR="#ffa500"]admin:[email protected]:8075[/COLOR]/ServerAdmin/current_console > nul
curl -d "SendText=set KFMod.KFGameType MinRespawnCash [COLOR="#ffa500"]1500[/COLOR]" http://[COLOR="#ffa500"]admin:[email protected]:8075[/COLOR]/ServerAdmin/current_console > nul
timeout [COLOR="#ffa500"]10[/COLOR]
goto curl

*time - repeat rate (secs)
 
Upvote 0