/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp: In member function âvirtual bool npc_blood_money::OnGossipHello(Player*, Creature*)â:
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:87:88: error: no matching function for call to âObjectAccessor::FindPlayer(const uint64&)â
if (Player* plr = sObjectAccessor->FindPlayer(itr->guid))
^
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:87:88: note: candidate is:
In file included from /home/belmont/tc60/src/server/game/Globals/ObjectMgr.h:36:0,
from /home/belmont/tc60/src/server/game/Spells/Spell.h:24,
from /home/belmont/tc60/src/server/game/Grids/Notifiers/GridNotifiers.h:33,
from PrecompiledHeaders/ScriptPCH.h:12:
/home/belmont/tc60/src/server/game/Globals/ObjectAccessor.h:167:24: note: static Player* ObjectAccessor::FindPlayer(ObjectGuid)
static Player* FindPlayer(ObjectGuid);
^
/home/belmont/tc60/src/server/game/Globals/ObjectAccessor.h:167:24: note: no known conversion for argument 1 from âconst uint64 {aka const long unsigned int}â to âObjectGuidâ
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp: In member function âvirtual bool npc_blood_money::OnGossipSelect(Player*, Creature*, uint32, uint32)â:
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:125:97: error: no matching function for call to âObjectAccessor::GetPlayer(Player&, uint32&)â
if (Player* target = ObjectAccessor::GetPlayer(*player, uiAction))
^
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:125:97: note: candidate is:
In file included from /home/belmont/tc60/src/server/game/Globals/ObjectMgr.h:36:0,
from /home/belmont/tc60/src/server/game/Spells/Spell.h:24,
from /home/belmont/tc60/src/server/game/Grids/Notifiers/GridNotifiers.h:33,
from PrecompiledHeaders/ScriptPCH.h:12:
/home/belmont/tc60/src/server/game/Globals/ObjectAccessor.h:161:24: note: static Player* ObjectAccessor::GetPlayer(const WorldObject&, ObjectGuid)
static Player* GetPlayer(WorldObject const&, ObjectGuid guid);
^
/home/belmont/tc60/src/server/game/Globals/ObjectAccessor.h:161:24: note: no known conversion for argument 2 from âuint32 {aka unsigned int}â to âObjectGuidâ
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:130:51: error: âclass Creatureâ has no member named âMonsterWhisperâ
creature->MonsterWhisper(msg, target, true);
^
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:135:97: error: no matching function for call to âObjectAccessor::GetPlayer(Player&, uint32&)â
if (Player* target = ObjectAccessor::GetPlayer(*player, uiAction))
^
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:135:97: note: candidate is:
In file included from /home/belmont/tc60/src/server/game/Globals/ObjectMgr.h:36:0,
from /home/belmont/tc60/src/server/game/Spells/Spell.h:24,
from /home/belmont/tc60/src/server/game/Grids/Notifiers/GridNotifiers.h:33,
from PrecompiledHeaders/ScriptPCH.h:12:
/home/belmont/tc60/src/server/game/Globals/ObjectAccessor.h:161:24: note: static Player* ObjectAccessor::GetPlayer(const WorldObject&, ObjectGuid)
static Player* GetPlayer(WorldObject const&, ObjectGuid guid);
^
/home/belmont/tc60/src/server/game/Globals/ObjectAccessor.h:161:24: note: no known conversion for argument 2 from âuint32 {aka unsigned int}â to âObjectGuidâ
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:139:51: error: âclass Creatureâ has no member named âMonsterWhisperâ
creature->MonsterWhisper(msg, target, true);
^
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp: In member function âvirtual bool npc_blood_money::OnGossipSelectCode(Player*, Creature*, uint32, uint32, const char*)â:
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:187:91: error: no matching function for call to âObjectAccessor::GetPlayer(Player&, uint64&)â
if (Player* target = ObjectAccessor::GetPlayer(*player, targetGUID))
^
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:187:91: note: candidate is:
In file included from /home/belmont/tc60/src/server/game/Globals/ObjectMgr.h:36:0,
from /home/belmont/tc60/src/server/game/Spells/Spell.h:24,
from /home/belmont/tc60/src/server/game/Grids/Notifiers/GridNotifiers.h:33,
from PrecompiledHeaders/ScriptPCH.h:12:
/home/belmont/tc60/src/server/game/Globals/ObjectAccessor.h:161:24: note: static Player* ObjectAccessor::GetPlayer(const WorldObject&, ObjectGuid)
static Player* GetPlayer(WorldObject const&, ObjectGuid guid);
^
/home/belmont/tc60/src/server/game/Globals/ObjectAccessor.h:161:24: note: no known conversion for argument 2 from âuint64 {aka long unsigned int}â to âObjectGuidâ
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:226:75: error: âclass Creatureâ has no member named âMonsterWhisperâ
creature->MonsterWhisper(msg, target, true);
^
/home/belmont/tc60/src/server/scripts/Custom/apuestas.cpp:267:75: error: âclass Creatureâ has no member named âMonsterWhisperâ
creature->MonsterWhisper(msg, target, true);
^
make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/Custom/apuestas.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2
make: *** [all] Error 2