Nottinghster
Tibia World RPG Developer
- Joined
- Oct 24, 2007
- Messages
- 1,565
- Solutions
- 6
- Reaction score
- 430
- Location
- Brazil - Rio de Janeiro
- GitHub
- Nottinghster
In 20/February/2011, when my server was online, many players reported that the monsters attacked 2 times in a row, so I went looking for the reason.
Once I find the reason and fix it, many owners of OTServ came to ask me how I had fixed this problem, and then I passed the fix for them.
Today, after a long time and after seeing this thread, I am releasing the fix for you
NOTE: Patch for sources based in OTServ_SVN 0.6.3 (Avesta)
In monster.cpp, find: void Monster:nAttackedCreatureDissapear(bool isLogout)
then replace:
to:
Now in void Monster::doAttacking(uint32_t interval)
replace:
to:
Enjoy ;]
Once I find the reason and fix it, many owners of OTServ came to ask me how I had fixed this problem, and then I passed the fix for them.
Today, after a long time and after seeing this thread, I am releasing the fix for you
NOTE: Patch for sources based in OTServ_SVN 0.6.3 (Avesta)
In monster.cpp, find: void Monster:nAttackedCreatureDissapear(bool isLogout)
then replace:
Code:
extraMeleeAttack = true
to:
Code:
extraMeleeAttack = false
Now in void Monster::doAttacking(uint32_t interval)
replace:
Code:
extraMeleeAttack = true
to:
Code:
extraMeleeAttack = false
Enjoy ;]
Last edited: