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

[TFS 1.5] throw runes while walking

Shoorkill

Active Member
Joined
Dec 17, 2018
Messages
153
Reaction score
25
Well, I used to use a custom ot on the evolutions 0.7.8 xidaozu base, on that base still used in otserver 7.92 it is possible to walk and perform other actions. For example, I can run using UH which has no delay, just the rune's normal exhaust, so if I remove the rune's exhaust I can run using the rune all the time without pausing. I would really like to do this in my tfs 1.5, can anyone help me with this? which way?
 
1 minute search


void Player::onWalk(Direction& dir)
{
Creature::onWalk(dir);
setNextActionTask(nullptr);
setNextAction(OTSYS_TIME() + getStepDuration(dir));
}

change for this:
C++:
void Player::onWalk(Direction& dir)
{
Creature::onWalk(dir);
setNextActionTask(nullptr);
// setNextAction(OTSYS_TIME() + getStepDuration(dir));
}
 

Similar threads

Back
Top