Jump to content

Problem with the Petsystem c++


Recommended Posts

Hay ho,

I've got this little problem can not enter the solution, possibly can have someone from here Help


That's my problem:

char.cpp: 1097: error: 'struct TPacketGCCharacterUpdate' has no member named 'dwLevel'
char.cpp 1110: error: 'struct TPacketGCCharacterUpdate' has no member named 'dwLevel'


And here is the summary of the con Char.pp

From row 1095 - 1111

     pack.sAlignment = m_iAlignment / 10;
#ifdef NEW_PET_SYSTEM
     pack.dwLevel GetLevel = ();
#endif
     pack.bPKMode = m_bPKMode;

     if (GetGuild ())
         pack.dwGuildID = GetGuild () -> GetID ();

     pack.dwMountVnum = GetMountVnum ();

     pack2 = pack;
     pack2.dwGuildID = 0;
     pack2.sAlignment = 0;
#ifdef NEW_PET_SYSTEM
     pack2.dwLevel = 0;
#endif

Maybe someone can help me.

Thank you :)

And here is the Char.cpp if it wants to look at someone and can change / want

This is the hidden content, please

  • Not Good 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

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.