• 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 Help to compile 3777

devilfire

New Member
Joined
Nov 26, 2016
Messages
14
Reaction score
0
What's wrong with my players.cpp?

players.cpp
http://hastebin.com/uwaxukabam.cpp

I got this error:
Code:
player.cpp: In member function ‘virtual bool Player::onKilledCreature(Creature*, DeathEntry&)’:
player.cpp:3978:88: error: ‘class IOGuild’ has no member named ‘war’
 etEnemy(this, enemy) && (!entry.isLast() || IOGuild::getInstance()->war(enemy))
                                                                     ^
Makefile:551: recipe for target 'player.o' failed
make[1]: *** [player.o] Error 1
make[1]: Leaving directory '/home/gabriel/Documents/server/3777/src'
Makefile:408: recipe for target 'all' failed
make: *** [all] Error 2
 
This error derives from the attempt of accessing a member "war" in class IOGuild.

either you're trying to access the wrong member, or you're accessing something you didn't intend or war doesn't exist in the class you think it does
 
Back
Top