• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Thefogottenserver PVP

Saj

Remember my name
Joined
Feb 26, 2008
Messages
2,127
Reaction score
6
Hey, the server I use is 12 hour per kills, how do I change that in source? anyone could post me the line that I should find and where? thanks.
 
You need to change your player.cpp around line 3430 --You need to change:

redskullticks+=.

Also, you need to change:
(g_config.getNumber(ConfigManager::KILLS_TO_RED) - 1) * TIMEYOUWANT &&

and

(g_config.getNumber(ConfigManager::KILLS_TO_BAN) - 1) * TIMEYOUWANT

Finally, You need to do a change in commands.cpp to fix the !kills command to display the proper amount of kills. To do this, goto around line 1213:

int32_t kills = (player->redSkullTicks / TIMEYOUWANT) + 1;


**Note that all of these times are in Millisecond form**
 
You need to change your player.cpp around line 3430 --You need to change:

redskullticks+=.

Also, you need to change:
(g_config.getNumber(ConfigManager::KILLS_TO_RED) - 1) * TIMEYOUWANT &&

and

(g_config.getNumber(ConfigManager::KILLS_TO_BAN) - 1) * TIMEYOUWANT

Finally, You need to do a change in commands.cpp to fix the !kills command to display the proper amount of kills. To do this, goto around line 1213:

int32_t kills = (player->redSkullTicks / TIMEYOUWANT) + 1;


**Note that all of these times are in Millisecond form**


Could you give me the link too tfs 0.11 source? I dont want to download turoise SVN, isn't there a direct download link?
 

Similar threads

Back
Top