• 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 Attack speed, some errors

Status
Not open for further replies.

whiteblXK

Active Member
Joined
Apr 20, 2011
Messages
315
Solutions
9
Reaction score
32
Location
Poland
Hi, i trying add to my server (tfs 0.4) this http://otland.net/f35/attack-speed-break-default-attackspeed-limit-fix-doesnt-display-hits-162645/ modification and i have some errors.
Code:
../player.cpp:4307: error: prototype for `uint32_t Player::getAttackSpeed()' does not match any in class `Player'
../player.h:710: error: candidate is: uint32_t Player::getAttackSpeed() const
../player.cpp: In member function `uint32_t Player::getAttackSpeed()':
../player.cpp:4308: error: no matching function for call to `Player::getWeapon()'
../player.cpp:274: note: candidates are: Item* Player::getWeapon(bool)

make.exe: *** [obj//player.o] Error 1
Is there a someone to help me add to the server?
If wrong section, please move it
 
Status
Not open for further replies.
Back
Top