Pet rendszer hiba...

Indította Ferenc, 2017-03-17, 00:26:28

sziasztok srácok!

Próbálkoztam berakni az új pet rendszert.. de mikor fordítom a game-t ebbe a hibába ütközök:
In file included from New_PetSystem.cpp:9:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
New_PetSystem.cpp:1325:2: warning: no newline at end of file
New_PetSystem.cpp: In member function 'void CNewPetActor::SetLevel(DWORD)':
New_PetSystem.cpp:303: error: 'class CHARACTER' has no member named 'PetGetNextExp'
New_PetSystem.cpp: In member function 'void CNewPetActor::SetExp(DWORD, int)':
New_PetSystem.cpp:322: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:322: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:331: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:331: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:341: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:342: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:344: error: 'class CHARACTER' has no member named 'SendPetLevelUpEffect'
New_PetSystem.cpp:350: error: 'class CHARACTER' has no member named 'PetGetNextExp'
New_PetSystem.cpp:355: error: 'class CHARACTER' has no member named 'PetGetNextExp'
New_PetSystem.cpp:360: error: 'class CHARACTER' has no member named 'PetGetNextExp'
New_PetSystem.cpp:362: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:365: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:368: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:374: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:375: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:381: error: 'class CHARACTER' has no member named 'SendPetLevelUpEffect'
New_PetSystem.cpp:383: error: 'class CHARACTER' has no member named 'PetGetNextExp'
New_PetSystem.cpp:386: warning: comparison between signed and unsigned integer expressions
New_PetSystem.cpp:388: error: 'class CHARACTER' has no member named 'PetGetNextExp'
New_PetSystem.cpp:392: error: 'class CHARACTER' has no member named 'PetGetNextExp'
New_PetSystem.cpp:396: error: 'class CHARACTER' has no member named 'PetGetNextExp'
New_PetSystem.cpp: In member function 'DWORD CNewPetActor::Summon(const char*, CItem*, bool)':
New_PetSystem.cpp:519: error: 'class CHARACTER' has no member named 'SetNewPet'
New_PetSystem.cpp:530: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'
New_PetSystem.cpp:530: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'
New_PetSystem.cpp:578: error: 'class CHARACTER' has no member named 'PetGetNextExp'
New_PetSystem.cpp: In member function 'virtual bool CNewPetActor::_UpdateFollowAI()':
New_PetSystem.cpp:646: warning: unused variable 'bDoMoveAlone'
New_PetSystem.cpp: In member function 'virtual bool CNewPetActor::Update(DWORD)':
New_PetSystem.cpp:709: error: 'class CHARACTER' has no member named 'IsImmortal'
New_PetSystem.cpp:709: error: 'Pet_Skill_Table' was not declared in this scope
New_PetSystem.cpp:712: error: 'class CHARACTER' has no member named 'SetImmortal'
New_PetSystem.cpp: In member function 'void CNewPetActor::GiveBuff()':
New_PetSystem.cpp:783: error: 'AFFECT_NEW_PET' was not declared in this scope
New_PetSystem.cpp:813: error: 'AFFECT_NEW_PET' was not declared in this scope
New_PetSystem.cpp:813: error: 'Pet_Skill_Table' was not declared in this scope
New_PetSystem.cpp: In member function 'void CNewPetActor::ClearBuff()':
New_PetSystem.cpp:827: error: 'AFFECT_NEW_PET' was not declared in this scope
New_PetSystem.cpp: In member function 'void CNewPetActor::DoPetSkill(int)':
New_PetSystem.cpp:837: error: 'class CHARACTER' has no member named 'GetNewPetSkillCD'
New_PetSystem.cpp:838: error: 'class CHARACTER' has no member named 'GetNewPetSkillCD'
New_PetSystem.cpp:845: error: 'class CHARACTER' has no member named 'SetNewPetSkillCD'
New_PetSystem.cpp:846: error: 'Pet_Skill_Table' was not declared in this scope
New_PetSystem.cpp:854: error: 'class CHARACTER' has no member named 'GetNewPetSkillCD'
New_PetSystem.cpp:855: error: 'class CHARACTER' has no member named 'GetNewPetSkillCD'
New_PetSystem.cpp:858: error: 'class CHARACTER' has no member named 'SetNewPetSkillCD'
New_PetSystem.cpp:860: error: 'class CHARACTER' has no member named 'SetImmortal'
New_PetSystem.cpp:867: error: 'class CHARACTER' has no member named 'GetNewPetSkillCD'
New_PetSystem.cpp:868: error: 'class CHARACTER' has no member named 'GetNewPetSkillCD'
New_PetSystem.cpp:871: error: 'class CHARACTER' has no member named 'SetNewPetSkillCD'
New_PetSystem.cpp: In member function 'CNewPetActor* CNewPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':
New_PetSystem.cpp:1230: warning: unused variable 'petVID'


esetleg ötletek?

Előre is köszi a válaszokat!!!