Jump to content
Maintenance ×
×
×
  • Create New...
  • 0

pet system error.. please help !


DisLoyal

Question

Hey dev!!

 

i got this error when i compile game...

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'

 

 

any idea? :/

 

 

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    2. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    3. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    4. 0

      Some mobs dont drop items

    5. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    6. 691

      [Group] Daily Music - Share your favorite!

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.