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

TFS1.4.1 - OTC 10.98 - Monster Attack Speed Slower Than Intended

xYzPrototype

Just a standard member
Joined
Feb 27, 2015
Messages
49
Reaction score
4
Location
EUW
Hello all,

Hope you're doing ok!

I've got this issue with monster attack being slower than intended. I have
Lua:
interval="1000"
but it's attack is slower than once a second. I did some research and found in monsters.cpp i've adjusted this
Code:
uint32_t tickInterval = 2000;
to 1000, 900 & 800 is still not resolving the issue. It does get quicker but it's not actually resolving the problem. The monster is probably attacking every 1.2-1.3 seconds. I know it's out because the monster heals every second and that works as intended. Has anyone experienced this before, and if so how did you resolve this?

Thanks in advance!

Link to Source code: forgottenserver/src/monsters.cpp at master · otland/forgottenserver (https://github.com/otland/forgottenserver/blob/master/src/monsters.cpp)
 
Last edited:
Back
Top