• 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 on set a loot channel system

5lave Ots

Active Member
Joined
Oct 2, 2017
Messages
246
Solutions
1
Reaction score
40
Location
Ankrahmun
hey guys im using 0.4 and making loot channel system from here
on compile I got this error
Code:
1>..\monster.cpp(1249): error C2664: 'Player::broadcastPlayerLoot' : cannot convert parameter 1 from 'Player *' to 'const std::string &'
1>          Reason: cannot convert from 'Player *' to 'const std::string'
1>          No constructor could take the source type, or constructor overload resolution was ambiguous
and this too
Code:
1>..\talkaction.cpp(1363): error C2511: 'bool TalkAction::showLoot(Player *,const std::string &,const std::string &)' : overloaded member function not found in 'TalkAction'
1>          e:\src\talkaction.h(66) : see declaration of 'TalkAction'
using msvc 2010
monsters.cpp >> OTS.ME Paste 563305 (http://paste.ots.me/563305/)
monsters.h >> OTS.ME Paste 563306 (http://paste.ots.me/563306/)
talkactions.cpp >> OTS.ME Paste 563307 (http://paste.ots.me/563307/)
 
Back
Top