Problem mit dem Petsystem c++

07/12/2016 15:07 .Fujitorax3#1
Hay ho,

Ich habe da so kleines Problem komme nicht auf die Lösung, Eventuell kann mir ja jemand von hier Helfen,


Das ist mein Problem:

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


Und hier der Auszug con der Char.pp

Von Zeile 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

Eventuell kann mir jemand helfen.

Danke

Und hier ist die Char.cpp, falls es sich jemand angucken will und ändern kann/möchte

[Only registered and activated users can see links. Click Here To Register...]
07/12/2016 21:03 Effexion#2
youre calling an attribute from TPacketGCCharacterUpdate which doesnt exist