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

C++ Cast spells while running

Tuchol

falania.com
Joined
Nov 21, 2008
Messages
387
Reaction score
13
Location
Uzbekistan
Hello,

How i can change it as topic. I mean that i need to use spells when runing like RL tibia. I tried change some line in player.cpp
under this line
C++:
void Player::onWalk(Direction& dir)
i commented this line
C++:
setNextAction(OTSYS_TIME() + getStepDuration(dir));
after compile nothing change TFS 1.2
 
I think we can't, because this function it's sided client, only clients 11 don't stop when player use some action.

I had your same thinking, but with the hotkeys and it did not work, the player stop walking ever
 
Back
Top