[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    SendCreatePlayer( BYTE nMode, BYTE nSlot, LPCSTR lpszPlayer/*, LPDWORD adwEquipment*/, BYTE nFace, BYTE nCostume, BYTE nSkinSet, BYTE nHairMesh, DWORD dwHairColor, BYTE nSex, BYTE nJob, BYTE nHeadMesh, int nBankPW = 0, int nCountry = 0 );
#else 
bekomm dann immer als Error

PHP Code:
d:\Neurospace\Source\Program\Neuz\DPLoginClient.h(105): fatal error C1070: mismatched #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 C1004: unexpected 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 C2227: left 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