[Help]Country System

11/13/2012 18:28 ™Dryad#1
Hallo Community..

Ich bin langsam am verzweifeln bei diesem System -.-

Ich hab in der DPLOGINCLIENT.H das eingetragen

PHP Code:
#ifdef __COUNTRY_ICON
void    SendCreatePlayerBYTE nModeBYTE nSlotLPCSTR lpszPlayer/*, LPDWORD adwEquipment*/BYTE nFaceBYTE nCostumeBYTE nSkinSetBYTE nHairMeshDWORD dwHairColorBYTE nSexBYTE nJobBYTE nHeadMeshint nBankPW 0int nCountry );
#else 
bekomm dann immer als Error

PHP Code:
d:\Neurospace\Source\Program\Neuz\DPLoginClient.h(105): fatal error C1070mismatched #if/#endif pair in file 'd:\neurospace\source\program\neuz\dploginclient.h' 
Hab das #if/#endif mal weggemacht aber bekomm dann i-wie noch mehr errors -.-

würde mich freuen wenn mir jmd dabei helfen könnte..

lg
11/13/2012 18:34 WinterWave#2
Bro ...

So lazy hu ? xD

Count with notpad++ or VS the number of #ifdef and #endif in your dploginclient.h, if you find more #ifdef, you have forgot a endif, and vice versa.

And, when you click on an ifdef with notepad++, the { of the function come brown, and a red line is on the border of file, that can help you ._.
11/13/2012 20:38 ™Dryad#3
Okay..

Jetze bekomm ich solche errors

PHP Code:
d:\Neurospace\Source\Program\Neuz\DPLoginClient.cpp(605): fatal error C1004unexpected end of file found 
PHP Code:
d:\Neurospace\Source\Program\Neuz\DPClient.cpp(19806): error C2039'SendCountry' is not a member of 'CDPClient' 
PHP Code:
d:\Neurospace\Source\Program\Neuz\DPClient.cpp(19810): error C2673'SendCountry' : global functions do not have 'this' pointers 
PHP Code:
d:\Neurospace\Source\Program\Neuz\DPClient.cpp(19810): error C2227left of '->Send' must point to class/struct/union 
hab mir die DPClient.cpp angeschaut , wüste aber net was falsch ist -.-
hab alles richtig eingetragen bitte um weiter hilfe..

lg