Sziasztok valahogy sehogy se sikerül összehozni a gamtype.h -t a két rendszerrel.
#ifdef ENABLE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19; // [ÁÖŔÇ] ĽýŔÚ(19) ÇϵĺÄÚµů ÁÖŔÇ. ÇöŔç ĽąöżˇĽ ÄÚ˝şĂő ˝˝·ÔŔş 19şÎĹÍŔÓ. Ľąö common/length.h ĆÄŔĎŔÇ EWearPositions ż°ĹÇü Âü°í.
const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0;
const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1;
#ifdef ENABLE_SASH_SYSTEM
const DWORD c_Costume_Slot_Sash = c_Costume_Slot_Start + 2;
#endif
#ifdef ENABLE_SASH_SYSTEM
const DWORD c_Costume_Slot_Count = 3;
#else
const DWORD c_Costume_Slot_Count = 2;
#endif
const DWORD c_Costume_Slot_End = c_Costume_Slot_Start + c_Costume_Slot_Count;
#endif
Ezt kéne összehoznom ezzel
#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + 2;
#endif
Probálkoztam sok féle képpen,de a pántot használja a fegyvernek,a fegyvert pátnak.
+ ez de ezt megoldottam ha minden igaz.
#ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
#ifdef ENABLE_SASH_SYSTEM
const DWORD c_New_Equipment_Start = c_Equipment_Start + 21 + 2;
#else
const DWORD c_New_Equipment_Start = c_Equipment_Start + 22;
#endif
const DWORD c_New_Equipment_Count = 3;
const DWORD c_Equipment_Ring1 = c_New_Equipment_Start + 0;
const DWORD c_Equipment_Ring2 = c_New_Equipment_Start + 1;
const DWORD c_Equipment_Belt = c_New_Equipment_Start + 2;;
#endif
ezzel
#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
const DWORD c_New_Equipment_Start = c_Equipment_Start + 22 + 1;
#else
const DWORD c_New_Equipment_Start = c_Equipment_Start + 22;
#endif
Itt csak eggyel növeltem a cequipment startot de leet rosszul csináltam
#ifdef ENABLE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19;
const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0;
const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1;
#ifdef ENABLE_WEAPON_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + 2;
#endif
#ifdef ENABLE_SASH_SYSTEM
const DWORD c_Costume_Slot_Sash = c_Costume_Slot_Start + 3;
#endif
Idézconst DWORD c_Costume_Slot_Count = 2
#ifdef ENABLE_WEAPON_COSTUME_SYSTEM
+1
#endif
#ifdef ENABLE_SASH_SYSTEM
+1
#endif
#ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
const DWORD c_New_Equipment_Start = c_Equipment_Start + 21
#ifdef ENABLE_WEAPON_COSTUME_SYSTEM
+1
#endif
#ifdef ENABLE_SASH_SYSTEM
+1
#endif
Ki probálom :)
Üzenet összefésülés: 2018-03-01, 19:26:22
Az utolsó hsz-ed nem tetszett neki :)
Error 9 error C2143: syntax error : missing ';' before 'const' e:\vs\source\userinterface\GameType.h 74 1 UserInterface
#ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
const DWORD c_New_Equipment_Start = c_Equipment_Start + 21
#ifdef ENABLE_WEAPON_COSTUME_SYSTEM
+1
#endif
#ifdef ENABLE_SASH_SYSTEM
+1
#endif
const DWORD c_New_Equipment_Count = 3; -----> ez a 74 sor
const DWORD c_Equipment_Ring1 = c_New_Equipment_Start + 0;
const DWORD c_Equipment_Ring2 = c_New_Equipment_Start + 1;
const DWORD c_Equipment_Belt = c_New_Equipment_Start + 2;;
#endif
Sry lemaradt egy ;.
#ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
const DWORD c_New_Equipment_Start = c_Equipment_Start + 21
#ifdef ENABLE_WEAPON_COSTUME_SYSTEM
+1
#endif
#ifdef ENABLE_SASH_SYSTEM
+1
#endif
;
const DWORD c_New_Equipment_Count = 3;
const DWORD c_Equipment_Ring1 = c_New_Equipment_Start + 0;
const DWORD c_Equipment_Ring2 = c_New_Equipment_Start + 1;
const DWORD c_Equipment_Belt = c_New_Equipment_Start + 2;;
#endif
Még ezzel van baja :)
#ifdef ENABLE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19;
const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0;
const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1;
#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + 2;
#endif
#ifdef ENABLE_SASH_SYSTEM
const DWORD c_Costume_Slot_Sash = c_Costume_Slot_Start + 3;
#endif
const DWORD c_Costume_Slot_Count = 2
#ifdef ENABLE_WEAPON_COSTUME_SYSTEM
+1
#endif
#ifdef ENABLE_SASH_SYSTEM
+1
#endif
#ifdef ENABLE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19;
const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0;
const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1;
#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + 2;
#endif
#ifdef ENABLE_SASH_SYSTEM
const DWORD c_Costume_Slot_Sash = c_Costume_Slot_Start + 3;
#endif
const DWORD c_Costume_Slot_Count = 2
#ifdef ENABLE_WEAPON_COSTUME_SYSTEM
+1
#endif
#ifdef ENABLE_SASH_SYSTEM
+1
#endif
;
1 IntelliSense: the #endif for this directive is missing e:\VS\source\UserInterface\GameType.h 109 2 UserInterface
#ifdef ENABLE_COSTUME_SYSTEM
Nem nyitja meg a taget.
Plíííz....
A kosztüm count miért van ifdef-en kívül h ha kikapcsolják a rendszert akk is ottmaradjon?
És mi az az undormány a legvégén? :-X :-X :'( :'(
#ifdef ENABLE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19;
const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0;
const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1;
const DWORD c_Costume_Slot_Count = 2;
#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + 2;
c_Costume_Slot_Count++;
#endif
#ifdef ENABLE_SASH_SYSTEM
const DWORD c_Costume_Slot_Sash = c_Costume_Slot_Start + 3;
c_Costume_Slot_Count++;
#endif
Ezzel még több error.:)
Idézetet írta: 5310pati Dátum 2018-03-01, 20:09:12
Plíííz....
A kosztüm count miért van ifdef-en kívül h ha kikapcsolják a rendszert akk is ottmaradjon?
És mi az az undormány a legvégén? :-X :-X :'( :'(
#ifdef ENABLE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19;
const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0;
const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1;
const DWORD c_Costume_Slot_Count = 2;
#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + 2;
c_Costume_Slot_Count++;
#endif
#ifdef ENABLE_SASH_SYSTEM
const DWORD c_Costume_Slot_Sash = c_Costume_Slot_Start + 3;
c_Costume_Slot_Count++;
#endif
Hát így legalább 10x jobban adja. ;)
Áh h ezt így nem eszi meg... :-X
Azé nincs a fejembe 1 kompályler :'(
#ifdef ENABLE_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19;
const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0;
const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1;
#ifdef ENABLE_WEAPON_COSTUME_SYSTEM
const DWORD c_Costume_Slot_Weapon = c_Costume_Slot_Start + 2;
#endif
#ifdef ENABLE_SASH_SYSTEM
const DWORD c_Costume_Slot_Sash = c_Costume_Slot_Start + 3;
#endif
const DWORD c_Costume_Slot_Count = 2
#ifdef ENABLE_WEAPON_COSTUME_SYSTEM
+1
#endif
#ifdef ENABLE_SASH_SYSTEM
+1
#endif
;
const DWORD c_Costume_Slot_End = c_Costume_Slot_Start + c_Costume_Slot_Count;
#endif
Nekem pontosan így néz ki és teljesen jól működik. Nem kell túlbonyolítani :'(
Btw nézd meg jobban, hogy kívül van-e a count. :-X
Ha így írod így nincs.
Elvagytok :)
Üzenet összefésülés: 2018-03-01, 20:44:02
De a hiba attól függetlenül fent áll :D