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

How to ability fast attack?

Hey Elf

i'm using this parameters

Code:
-D__CONSOLE__
-D__USE_MYSQL__
-D__EXCEPTION_TRACER__
-D__ONECREATURE_EVENT_
-D__RULEVIOLATIONREPORT__

Are correct?
 
Well, latest sources include ONECREATURE_EVENT by default.
Anyway, I dont understand, for my fast attack works as it should.
 
not worked dunno why...
in vocations.xml all vocations are with 500 in attackspeed

i've to change other file? or another thing to it work properly?

thx

edit,....

what your parameters to compile?

I'm using it:
Compiler C++:
-D__CONSOLE__
-D__USE_MYSQL__
-D__USE_SQLITE__
-D__EXCEPTION_TRACER__


Linkers:
-lxml2.dll
-lmysql
-lsqlite3
-lluasql_mysql
-lluasql_sqlite
-llua5.1
-lboost_system
-lboost_regex
-lws2_32
-lgmp
-lmswsock
-O1
-s
-Wl,-Map=forgottenserver.map

edit again...

in rev 750 you added in trunk/tags: * Enabled back fast attack
player.h you added: virtual uint32_t getThinkInterval() const {return 500;}

now in rev 752 you patched with talaturen changes
and in player.h the same line was removed: virtual uint32_t getThinkInterval() const {return 500;}

I tried add it to the sources and compile but no success =\

Can you explain to me how enable fast attack in sources?

thx in advance!
 
Last edited:
You can change
#define EVENT_CREATURE_THINK_INTERVAL 1000
to
#define EVENT_CREATURE_THINK_INTERVAL 500
 
@up
i already did it but the attack continues 1sec/each hit...

anyway thx ;P

edit...
I changed:
#define EVENT_CREATURECOUNT 10
to
#define EVENT_CREATURECOUNT 1

and
#define EVENT_CREATURE_THINK_INTERVAL 1000
to
#define EVENT_CREATURE_THINK_INTERVAL 50

now I've mega fast attack ;P
 
Last edited:
Back
Top