Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Discussion] Client blew up on me.

Experienced Elementalist
Joined
Sep 4, 2013
Messages
259
Reaction score
34
Code:
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\d3dapp.cpp(1440) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,
unsigned int,long)'
        None of the functions with this name in scope match the target type
d3dfont.cpp
d3dutil.cpp
diutil.cpp
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(22) : error C2146: syntax error : missing ';' before identifier 'pdidDevice'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(22) : error C2501: 'LPDIRECTINPUTDEVICE8' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(22) : error C2501: 'pdidDevice' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(33) : error C2146: syntax error : missing ';' before identifier 'm_pDI'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(33) : error C2501: 'LPDIRECTINPUT8' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(33) : error C2501: 'm_pDI' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(37) : error C2146: syntax error : missing ';' before identifier 'm_diaf'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(37) : error C2501: 'DIACTIONFORMAT' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(37) : error C2501: 'm_diaf' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(44) : error C2061: syntax error : identifier 'LPDIRECTINPUTDEVICE8'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(51) : error C2061: syntax error : identifier 'DIACTIONFORMAT'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(52) : error C2061: syntax error : identifier 'DIACTIONFORMAT'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(30) : error C2065: 'm_pDI' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(52) : error C2039: 'pdidDevice' : is not a member of 'DeviceInfo'
        C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(21) : see declaration of 'DeviceInfo'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(52) : error C2227: left of '->Unacquire' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(53) : error C2039: 'pdidDevice' : is not a member of 'DeviceInfo'
        C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(21) : see declaration of 'DeviceInfo'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(53) : error C2227: left of '->Release' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(54) : error C2039: 'pdidDevice' : is not a member of 'DeviceInfo'
        C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(21) : see declaration of 'DeviceInfo'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(62) : error C2227: left of '->Release' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(95) : error C2146: syntax error : missing ',' before identifier 'pdidDevice'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(95) : error C2061: syntax error : identifier 'pdidDevice'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(96) : error C2511: 'AddDevice' : overloaded member function 'long (const struct DIDEVICEINSTANCEA *,const int)' not found in 'CInputDeviceManager'
        C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(18) : see declaration of 'CInputDeviceManager'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(152) : error C2061: syntax error : identifier 'LPDIRECTINPUTDEVICE8'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(157) : error C2065: 'pContext' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(171) : error C2065: 'DIACTIONFORMAT' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(171) : error C2065: 'diaf' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(171) : error C2275: 'BOOL' : illegal use of this type as an expression
        C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\windef.h(142) : see declaration of 'BOOL'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(171) : error C2146: syntax error : missing ')' before identifier 'bReenumerate'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(171) : error C2350: 'CInputDeviceManager::SetActionFormat' is not a static member
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(171) : error C2078: too many initializers
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(171) : error C2275: 'BOOL' : illegal use of this type as an expression
        C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\windef.h(142) : see declaration of 'BOOL'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(171) : error C2059: syntax error : ')'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(172) : error C2143: syntax error : missing ';' before '{'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(172) : error C2447: missing function header (old-style formal list?)
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(230) : error C2061: syntax error : identifier 'DIACTIONFORMAT'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(239) : error C2065: 'AddDeviceCallback' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(239) : error C2440: '=' : cannot convert from 'int' to 'long (__stdcall *)(struct CInputDeviceManager::DeviceInfo *,const struct DIDEVICEINSTANCEA *,void *)'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(240) : error C2065: 'pCallbackParam' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(240) : error C2440: '=' : cannot convert from 'int' to 'void *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(243) : error C2065: 'DirectInput8Create' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(244) : error C2065: 'IID_IDirectInput8' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(269) : error C2065: 'DICOLORSET' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(269) : error C2146: syntax error : missing ';' before identifier 'dics'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(269) : error C2065: 'dics' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(271) : error C2228: left of '.dwSize' must have class/struct/union type
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(274) : error C2065: 'DICONFIGUREDEVICESPARAMS' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(274) : error C2146: syntax error : missing ';' before identifier 'dicdp'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(274) : error C2065: 'dicdp' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(276) : error C2228: left of '.dwSize' must have class/struct/union type
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(277) : error C2228: left of '.dwcFormats' must have class/struct/union type
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(278) : error C2228: left of '.lprgFormats' must have class/struct/union type
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(278) : error C2065: 'm_diaf' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(279) : error C2228: left of '.hwnd' must have class/struct/union type
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(280) : error C2228: left of '.lpUnkDDSTarget' must have class/struct/union type
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(284) : error C2228: left of '.dwcUsers' must have class/struct/union type
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(285) : error C2228: left of '.lptszUserNames' must have class/struct/union type
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(291) : error C2227: left of '->ConfigureDevices' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(291) : error C2065: 'LPDICONFIGUREDEVICESCALLBACK' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(291) : error C2146: syntax error : missing ')' before identifier 'ConfigureDevicesCB'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(292) : error C2059: syntax error : ')'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(296) : error C2065: 'DICD_EDIT' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(316) : error C2039: 'pdidDevice' : is not a member of 'DeviceInfo'
        C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(21) : see declaration of 'DeviceInfo'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(316) : error C2227: left of '->Unacquire' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(335) : error C2039: 'pdidDevice' : is not a member of 'DeviceInfo'
        C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DIUtil.h(21) : see declaration of 'DeviceInfo'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(335) : error C2227: left of '->SetCooperativeLevel' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\diutil.cpp(336) : error C2065: 'DISCL_NOWINKEY' : undeclared identifier
dmutil.cpp
C:\Documents and Settings\Allen\Desktop\GtH\3_DXSDK\include\dsound.h(303) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
C:\Documents and Settings\Allen\Desktop\GtH\3_DXSDK\include\dsound.h(303) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\3_DXSDK\include\dsound.h(303) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\3_DXSDK\include\dsound.h(304) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
C:\Documents and Settings\Allen\Desktop\GtH\3_DXSDK\include\dsound.h(304) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\3_DXSDK\include\dsound.h(304) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
dsutil.cpp
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DSUtil.h(50) : error C2146: syntax error : missing ';' before identifier 'm_pDS'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DSUtil.h(50) : error C2501: 'LPDIRECTSOUND8' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DSUtil.h(50) : error C2501: 'm_pDS' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DSUtil.h(57) : error C2146: syntax error : missing ';' before identifier 'GetDirectSound'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DSUtil.h(57) : error C2433: 'LPDIRECTSOUND8' : 'inline' not permitted on data declarations
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DSUtil.h(57) : error C2501: 'LPDIRECTSOUND8' : missing storage-class or type specifiers
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\DSUtil.h(57) : warning C4183: 'GetDirectSound': member function definition looks like a ctor, but name does not match enclosing class
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(27) : error C2065: 'm_pDS' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(39) : error C2227: left of '->Release' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(58) : error C2227: left of '->Release' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(61) : error C2065: 'DirectSoundCreate8' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(65) : error C2227: left of '->SetCooperativeLevel' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(104) : error C2227: left of '->CreateSoundBuffer' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(148) : error C2227: left of '->CreateSoundBuffer' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(213) : error C2039: 'guid3DAlgorithm' : is not a member of '_DSBUFFERDESC'
        C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\dsound.h(96) : see declaration of '_DSBUFFERDESC'
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(218) : error C2227: left of '->CreateSoundBuffer' must point to class/struct/union
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(222) : error C2065: 'DS_NO_VIRTUALIZATION' : undeclared identifier
C:\Documents and Settings\Allen\Desktop\GtH\client\Common\dsutil.cpp(230) : error C2065: 'DSERR_BUFFERTOOSMALL' : undeclared identifier
dxutil.cpp
Everything was fine with the master and game server, client just plainly blows up on me :/ any ideas? This doesn't happen during Lucky's video. And the include and libs are in their rightful place ._.
 
Initiate Mage
Joined
Nov 9, 2013
Messages
3
Reaction score
0
Is it possible its the underlying source code? From what I gathered on the GTH forum here is the source code is a mess.? Can't help you much but I have to say I support yah, had some hardcore nostalgia when I saw it on youtube searching for MMORPGs. Ahh good times..
 
Newbie Spellweaver
Joined
Jan 31, 2006
Messages
34
Reaction score
8
Im not 100% on this but I think I couldn't get the client to compile unless I had the gth server running or something along those lines, I remember I 1st had errors so I got the server up then the client compiled without errors, also had to get the lib and include files ect setup.
 
Newbie Spellweaver
Joined
Nov 17, 2013
Messages
13
Reaction score
3
Where can i get the client resource files? going to compile from the hg repository source and don't see mention of a version # to get the original assets.
Someone have client / patch links so I might get the correct base assets in place?
 
Back
Top