Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile errors #239

Open
ike3 opened this issue Sep 5, 2014 · 1 comment
Open

Compile errors #239

ike3 opened this issue Sep 5, 2014 · 1 comment

Comments

@ike3
Copy link

ike3 commented Sep 5, 2014

..\scripts\world\npcs_special.cpp(676): error C2511: 'void npc_doctorAI::PatientSaved(Creature *,Player *,Location *)' 
: overloaded member function not found in 'npc_doctorAI'
..\scripts\world\npcs_special.cpp(677): error C2597: illegal reference to non-static member 'npc_doctorAI::m_playerGuid'
..\scripts\world\npcs_special.cpp(681): error C2597: illegal reference to non-static member 'npc_doctorAI::m_uiPatientSavedCount'
..\scripts\world\npcs_special.cpp(694): error C2597: illegal reference to non-static member 'CreatureAI::m_creature'
..\scripts\world\npcs_special.cpp(696): error C2352: 'npc_doctorAI::Reset' : illegal call of non-static member function

src\bindings\scriptdev2\scripts\northrend\ulduar\ulduar\ulduar.h(557): error C3668: 'instance_ulduar::CheckConditionCriteriaMeet' : method with override specifier 'override' did not override any base class methods (..\scripts\northrend\ulduar\ulduar\assembly_of_iron.cpp)

VS2012/2013

@sergeev
Copy link

sergeev commented Apr 2, 2015

  1. Find void npc_doctorAI::PatientSaved in npcs_special.cpp, replace it void npc_doctorAI::PatientSaved(Creature* pSoldier, Player* pPlayer, LOCATION* pPoint)

  2. Find bool CheckConditionCriteriaMeet(Player const* pPlayer, uint32 uiInstanceConditionId, WorldObject const* pConditionSource, uint32 conditionSourceType) const override;
    replace it bool CheckConditionCriteriaMeet(Player const* pPlayer, uint32 uiInstanceConditionId, WorldObject const* pConditionSource, ConditionSource conditionSourceType) const override;

sergeev@9f998ac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants