• 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!

Pushdelay in config.lua

Raotiz

High Five
Joined
Apr 11, 2010
Messages
693
Reaction score
49
Location
Sweden
Hay, is there any script where I can change the pushdelay in config which could be added in sources?
 
Source edit version

configmenager.h
under:
Code:
 RATE_EXPERIENCE,
add:
Code:
PUSH_DELAY,

configmenager.cpp
under:
Code:
 m_confInteger[RATE_EXPERIENCE] = getGlobalNumber(L, "RateExp", 1);
add:
Code:
m_confInteger[PUSH_DELAY] = getGlobalNumber(L, "PushDelay", 1000);

game.cpp
push delay value replace by
Code:
g_config.getNumber(ConfigManager::PUSH_DELAY)
You have to do it 2 times in 2 different lines.

config.lua
under:
Code:
ExhaustedAdd = 200
add:
Code:
PushDelay = 1000
 
Last edited:
Source edit version

configmenager.h
under:
Code:
 RATE_EXPERIENCE,
add:
Code:
PUSH_DELAY,

configmenager.cpp
under:
Code:
 m_confInteger[RATE_EXPERIENCE] = getGlobalNumber(L, "RateExp", 1);
add:
Code:
m_confInteger[PUSH_DELAY] = getGlobalNumber(L, "PushDelay", 1000);

game.cpp
push delay value replace by
Code:
g_config.getNumber(ConfigManager::PUSH_DELAY)
You have to do it 2 times in 2 different lines.

config.lua
under:
Code:
ExhaustedAdd = 200
add:
Code:
PushDelay = 1000

That does not work raotiz if you see this come skype and i fix it for ya i have plenty of time now:)
 
That does not work raotiz if you see this come skype and i fix it for ya i have plenty of time now:)

If he does it correct, it will

@OT check for values of 1500 in the schedulers, in functions Game::playerMoveThing & Game::playerMoveCreature and then change it to what nothxbye said
 
Back
Top