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

Compiling Put OTX attackspeed on a TFS 0.4 rev 3777

Firulis

New Member
Joined
Jan 3, 2017
Messages
34
Solutions
2
Reaction score
1
i recently changed from a OTX 2.9 to a TFS 0.4 rev 3777 and i lost the attack speed, i didnt really lose it but with otx you don't need to utilize a bot to attack fast, and i was just wondering if it was possible to put that in a TFS 0.4 because i really think it will help the noob players in my server, thank you
 
Solution
Well no im not gonna test OTX xD
Unless you can tell us what to look for in the source code we can't help you (unless someone has the info about it).
BUDDY! I FIXED IT, i edited this in creature.h
C++:
#define EVENT_CREATURECOUNT 10
#define EVENT_CREATURE_THINK_INTERVAL 500
i changed it to
C++:
#define EVENT_CREATURECOUNT 1
#define EVENT_CREATURE_THINK_INTERVAL 1
and now i can attack about 5 times per second without using bot, i hope this helps someone
i recently changed from a OTX 2.9 to a TFS 0.4 rev 3777 and i lost the attack speed, i didnt really lose it but with otx you don't need to utilize a bot to attack fast, and i was just wondering if it was possible to put that in a TFS 0.4 because i really think it will help the noob players in my server, thank you

global860/vocations.xml at master · otservme/global860 · GitHub
Lua:
attackspeed="2000"

Thats how to change attack speed for vocations.
 
global860/vocations.xml at master · otservme/global860 · GitHub
Lua:
attackspeed="2000"

Thats how to change attack speed for vocations.
sorry if i wasn't clear enough but what i mean is i have an attack speed of 200, and with the OTX 2.9 the players in my ot attack fast without bot, and with TFS they have to use elfbot auto 1 attack target, so i want to make it so that it works the same as OTX but using TFS 0.4 rev 3777, that way my players don't have to use bot
 
sorry if i wasn't clear enough but what i mean is i have an attack speed of 200, and with the OTX 2.9 the players in my ot attack fast without bot, and with TFS they have to use elfbot auto 1 attack target, so i want to make it so that it works the same as OTX but using TFS 0.4 rev 3777, that way my players don't have to use bot

How did you activate it? Function, script etc
The code I posted will change everyones (with that vocation) attack speed to w/e you set.
 
How did you activate it? Function, script etc
The code I posted will change everyones (with that vocation) attack speed to w/e you set.
well it just sort of came with the Distro, as soon as i changed the distro the speed went away and im trying to bring it back, you should test it so you know what im talking about, OTX 2.9 and set attackspeed to something like 100
 
well it just sort of came with the Distro, as soon as i changed the distro the speed went away and im trying to bring it back, you should test it so you know what im talking about, OTX 2.9 and set attackspeed to something like 100

Well no im not gonna test OTX xD
Unless you can tell us what to look for in the source code we can't help you (unless someone has the info about it).
 
Well no im not gonna test OTX xD
Unless you can tell us what to look for in the source code we can't help you (unless someone has the info about it).
BUDDY! I FIXED IT, i edited this in creature.h
C++:
#define EVENT_CREATURECOUNT 10
#define EVENT_CREATURE_THINK_INTERVAL 500
i changed it to
C++:
#define EVENT_CREATURECOUNT 1
#define EVENT_CREATURE_THINK_INTERVAL 1
and now i can attack about 5 times per second without using bot, i hope this helps someone
 
Solution
please DO NOT set intervl to 1
at least make it 200 if you want to attack 5 times per second
you're going to have 1000 creature checks firing off every second
 
Back
Top