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!

[Release][Tut] Full Gate To Heavens Files and Code.

Experienced Elementalist
Joined
Sep 9, 2006
Messages
272
Reaction score
346
Hum your error is due of your configuration of VC 6++ .

You need add to your include files and library the DX SDK who is include in my .7z .
 
Newbie Spellweaver
Joined
Jul 15, 2009
Messages
57
Reaction score
0
Should i only put DX SDK files in VC++ folder library? no more other files?

should i also put
\GameServer\LIB folder
\client\LIB folder
\LoginServer\lib Folder

inside the VC++ Library?


and what do you mean by this?
Code:
[DB_PARAM]
Name0=lol
Password0=lol

and i have error building client.exe
Code:
--------------------Configuration: GTH - Win32 REL PACK--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "nafxcw.lib"
Error executing link.exe.

client.exe - 1 error(s), 0 warning(s)
 
Last edited:
Experienced Elementalist
Joined
Sep 9, 2006
Messages
272
Reaction score
346
You need add the include folder and lib folder to the directory.


lucky40990 - [Release][Tut] Full Gate To Heavens Files and Code. - RaGEZONE Forums
 
Experienced Elementalist
Joined
Jun 16, 2011
Messages
216
Reaction score
16
You need add the include folder and lib folder to the directory.


lucky40990 - [Release][Tut] Full Gate To Heavens Files and Code. - RaGEZONE Forums

I have done its but have this problem :

PHP:
--------------------Configuration: Common - Win32 REL--------------------
Compiling...
d3dapp.cpp
C:\GTH Files\trunk\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:\GTH Files\trunk\client\Common\DIUtil.h(22) : error C2146: syntax error : missing ';' before identifier 'pdidDevice'
C:\GTH Files\trunk\client\Common\DIUtil.h(22) : error C2501: 'LPDIRECTINPUTDEVICE8' : missing storage-class or type specifiers
C:\GTH Files\trunk\client\Common\DIUtil.h(22) : error C2501: 'pdidDevice' : missing storage-class or type specifiers
C:\GTH Files\trunk\client\Common\DIUtil.h(33) : error C2146: syntax error : missing ';' before identifier 'm_pDI'
C:\GTH Files\trunk\client\Common\DIUtil.h(33) : error C2501: 'LPDIRECTINPUT8' : missing storage-class or type specifiers
C:\GTH Files\trunk\client\Common\DIUtil.h(33) : error C2501: 'm_pDI' : missing storage-class or type specifiers
C:\GTH Files\trunk\client\Common\DIUtil.h(37) : error C2146: syntax error : missing ';' before identifier 'm_diaf'
C:\GTH Files\trunk\client\Common\DIUtil.h(37) : error C2501: 'DIACTIONFORMAT' : missing storage-class or type specifiers
C:\GTH Files\trunk\client\Common\DIUtil.h(37) : error C2501: 'm_diaf' : missing storage-class or type specifiers
C:\GTH Files\trunk\client\Common\DIUtil.h(44) : error C2061: syntax error : identifier 'LPDIRECTINPUTDEVICE8'
C:\GTH Files\trunk\client\Common\DIUtil.h(51) : error C2061: syntax error : identifier 'DIACTIONFORMAT'
C:\GTH Files\trunk\client\Common\DIUtil.h(52) : error C2061: syntax error : identifier 'DIACTIONFORMAT'
C:\GTH Files\trunk\client\Common\diutil.cpp(30) : error C2065: 'm_pDI' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(52) : error C2039: 'pdidDevice' : is not a member of 'DeviceInfo'
        C:\GTH Files\trunk\client\Common\DIUtil.h(21) : see declaration of 'DeviceInfo'
C:\GTH Files\trunk\client\Common\diutil.cpp(52) : error C2227: left of '->Unacquire' must point to class/struct/union
C:\GTH Files\trunk\client\Common\diutil.cpp(53) : error C2039: 'pdidDevice' : is not a member of 'DeviceInfo'
        C:\GTH Files\trunk\client\Common\DIUtil.h(21) : see declaration of 'DeviceInfo'
C:\GTH Files\trunk\client\Common\diutil.cpp(53) : error C2227: left of '->Release' must point to class/struct/union
C:\GTH Files\trunk\client\Common\diutil.cpp(54) : error C2039: 'pdidDevice' : is not a member of 'DeviceInfo'
        C:\GTH Files\trunk\client\Common\DIUtil.h(21) : see declaration of 'DeviceInfo'
C:\GTH Files\trunk\client\Common\diutil.cpp(62) : error C2227: left of '->Release' must point to class/struct/union
C:\GTH Files\trunk\client\Common\diutil.cpp(95) : error C2146: syntax error : missing ',' before identifier 'pdidDevice'
C:\GTH Files\trunk\client\Common\diutil.cpp(95) : error C2061: syntax error : identifier 'pdidDevice'
C:\GTH Files\trunk\client\Common\diutil.cpp(96) : error C2511: 'AddDevice' : overloaded member function 'long (const struct DIDEVICEINSTANCEA *,const int)' not found in 'CInputDeviceManager'
        C:\GTH Files\trunk\client\Common\DIUtil.h(18) : see declaration of 'CInputDeviceManager'
C:\GTH Files\trunk\client\Common\diutil.cpp(152) : error C2061: syntax error : identifier 'LPDIRECTINPUTDEVICE8'
C:\GTH Files\trunk\client\Common\diutil.cpp(157) : error C2065: 'pContext' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(171) : error C2065: 'DIACTIONFORMAT' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(171) : error C2065: 'diaf' : undeclared identifier
C:\GTH Files\trunk\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:\GTH Files\trunk\client\Common\diutil.cpp(171) : error C2146: syntax error : missing ')' before identifier 'bReenumerate'
C:\GTH Files\trunk\client\Common\diutil.cpp(171) : error C2350: 'CInputDeviceManager::SetActionFormat' is not a static member
C:\GTH Files\trunk\client\Common\diutil.cpp(171) : error C2078: too many initializers
C:\GTH Files\trunk\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:\GTH Files\trunk\client\Common\diutil.cpp(171) : error C2059: syntax error : ')'
C:\GTH Files\trunk\client\Common\diutil.cpp(172) : error C2143: syntax error : missing ';' before '{'
C:\GTH Files\trunk\client\Common\diutil.cpp(172) : error C2447: missing function header (old-style formal list?)
C:\GTH Files\trunk\client\Common\diutil.cpp(230) : error C2061: syntax error : identifier 'DIACTIONFORMAT'
C:\GTH Files\trunk\client\Common\diutil.cpp(239) : error C2065: 'AddDeviceCallback' : undeclared identifier
C:\GTH Files\trunk\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:\GTH Files\trunk\client\Common\diutil.cpp(240) : error C2065: 'pCallbackParam' : undeclared identifier
C:\GTH Files\trunk\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:\GTH Files\trunk\client\Common\diutil.cpp(243) : error C2065: 'DirectInput8Create' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(244) : error C2065: 'IID_IDirectInput8' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(269) : error C2065: 'DICOLORSET' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(269) : error C2146: syntax error : missing ';' before identifier 'dics'
C:\GTH Files\trunk\client\Common\diutil.cpp(269) : error C2065: 'dics' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(271) : error C2228: left of '.dwSize' must have class/struct/union type
C:\GTH Files\trunk\client\Common\diutil.cpp(274) : error C2065: 'DICONFIGUREDEVICESPARAMS' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(274) : error C2146: syntax error : missing ';' before identifier 'dicdp'
C:\GTH Files\trunk\client\Common\diutil.cpp(274) : error C2065: 'dicdp' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(276) : error C2228: left of '.dwSize' must have class/struct/union type
C:\GTH Files\trunk\client\Common\diutil.cpp(277) : error C2228: left of '.dwcFormats' must have class/struct/union type
C:\GTH Files\trunk\client\Common\diutil.cpp(278) : error C2228: left of '.lprgFormats' must have class/struct/union type
C:\GTH Files\trunk\client\Common\diutil.cpp(278) : error C2065: 'm_diaf' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(279) : error C2228: left of '.hwnd' must have class/struct/union type
C:\GTH Files\trunk\client\Common\diutil.cpp(280) : error C2228: left of '.lpUnkDDSTarget' must have class/struct/union type
C:\GTH Files\trunk\client\Common\diutil.cpp(284) : error C2228: left of '.dwcUsers' must have class/struct/union type
C:\GTH Files\trunk\client\Common\diutil.cpp(285) : error C2228: left of '.lptszUserNames' must have class/struct/union type
C:\GTH Files\trunk\client\Common\diutil.cpp(291) : error C2227: left of '->ConfigureDevices' must point to class/struct/union
C:\GTH Files\trunk\client\Common\diutil.cpp(291) : error C2065: 'LPDICONFIGUREDEVICESCALLBACK' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(291) : error C2146: syntax error : missing ')' before identifier 'ConfigureDevicesCB'
C:\GTH Files\trunk\client\Common\diutil.cpp(292) : error C2059: syntax error : ')'
C:\GTH Files\trunk\client\Common\diutil.cpp(296) : error C2065: 'DICD_EDIT' : undeclared identifier
C:\GTH Files\trunk\client\Common\diutil.cpp(316) : error C2039: 'pdidDevice' : is not a member of 'DeviceInfo'
        C:\GTH Files\trunk\client\Common\DIUtil.h(21) : see declaration of 'DeviceInfo'
C:\GTH Files\trunk\client\Common\diutil.cpp(316) : error C2227: left of '->Unacquire' must point to class/struct/union
C:\GTH Files\trunk\client\Common\diutil.cpp(335) : error C2039: 'pdidDevice' : is not a member of 'DeviceInfo'
        C:\GTH Files\trunk\client\Common\DIUtil.h(21) : see declaration of 'DeviceInfo'
C:\GTH Files\trunk\client\Common\diutil.cpp(335) : error C2227: left of '->SetCooperativeLevel' must point to class/struct/union
C:\GTH Files\trunk\client\Common\diutil.cpp(336) : error C2065: 'DISCL_NOWINKEY' : undeclared identifier
dmutil.cpp
C:\DX8SDK\INCLUDE\dsound.h(303) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
C:\DX8SDK\INCLUDE\dsound.h(303) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
C:\DX8SDK\INCLUDE\dsound.h(303) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
C:\DX8SDK\INCLUDE\dsound.h(304) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
C:\DX8SDK\INCLUDE\dsound.h(304) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
C:\DX8SDK\INCLUDE\dsound.h(304) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
dsutil.cpp
C:\GTH Files\trunk\client\Common\DSUtil.h(50) : error C2146: syntax error : missing ';' before identifier 'm_pDS'
C:\GTH Files\trunk\client\Common\DSUtil.h(50) : error C2501: 'LPDIRECTSOUND8' : missing storage-class or type specifiers
C:\GTH Files\trunk\client\Common\DSUtil.h(50) : error C2501: 'm_pDS' : missing storage-class or type specifiers
C:\GTH Files\trunk\client\Common\DSUtil.h(57) : error C2146: syntax error : missing ';' before identifier 'GetDirectSound'
C:\GTH Files\trunk\client\Common\DSUtil.h(57) : error C2433: 'LPDIRECTSOUND8' : 'inline' not permitted on data declarations
C:\GTH Files\trunk\client\Common\DSUtil.h(57) : error C2501: 'LPDIRECTSOUND8' : missing storage-class or type specifiers
C:\GTH Files\trunk\client\Common\DSUtil.h(57) : warning C4183: 'GetDirectSound': member function definition looks like a ctor, but name does not match enclosing class
C:\GTH Files\trunk\client\Common\dsutil.cpp(27) : error C2065: 'm_pDS' : undeclared identifier
C:\GTH Files\trunk\client\Common\dsutil.cpp(39) : error C2227: left of '->Release' must point to class/struct/union
C:\GTH Files\trunk\client\Common\dsutil.cpp(58) : error C2227: left of '->Release' must point to class/struct/union
C:\GTH Files\trunk\client\Common\dsutil.cpp(61) : error C2065: 'DirectSoundCreate8' : undeclared identifier
C:\GTH Files\trunk\client\Common\dsutil.cpp(65) : error C2227: left of '->SetCooperativeLevel' must point to class/struct/union
C:\GTH Files\trunk\client\Common\dsutil.cpp(104) : error C2227: left of '->CreateSoundBuffer' must point to class/struct/union
C:\GTH Files\trunk\client\Common\dsutil.cpp(148) : error C2227: left of '->CreateSoundBuffer' must point to class/struct/union
C:\GTH Files\trunk\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:\GTH Files\trunk\client\Common\dsutil.cpp(218) : error C2227: left of '->CreateSoundBuffer' must point to class/struct/union
C:\GTH Files\trunk\client\Common\dsutil.cpp(222) : error C2065: 'DS_NO_VIRTUALIZATION' : undeclared identifier
C:\GTH Files\trunk\client\Common\dsutil.cpp(230) : error C2065: 'DSERR_BUFFERTOOSMALL' : undeclared identifier
dxutil.cpp
Error executing cl.exe.

client.exe - 90 error(s), 1 warning(s)
 
Experienced Elementalist
Joined
Jun 16, 2011
Messages
216
Reaction score
16
i already install install VC 6++ sp6 and order the lib and include files of dx sdk like your screenshots but have same problem
 
Newbie Spellweaver
Joined
Jun 14, 2008
Messages
22
Reaction score
0
Hi Lucky, Its (Xerr) I compile the code perfectly but with some warnings on the client, Game and Login Server.
I followed the picture for adding the dependencies.
Compile the code on Visual Studio 6 with Sp6 but no MSDN install.
I built in Windows XP Sp3 32bit edition to those who may be having trouble compiling. (VMware machine)
Lucky do you mind telling me if you are able to compile in windows 7 64bit please?
Lucky this code looks like the one I released but with some fixes so it compiles.
Thank you so much for fixing the code and release as time isn't on my side.
If you code released the code that stop it from eating 100% CPU that would be greatly appreciated.
Thanks.
Xkai
 
Newbie Spellweaver
Joined
Mar 25, 2009
Messages
14
Reaction score
0
Going through my 4th run through compiling the client in visual studio 2003 think Ive finally fixed the little annoyances that change from 6.0 up, so now I can use a 1/2 decent compiler that and I prefer the environment of 2003 6.0 is far too outdated for me. Hoping for the best now thanks for the release, and is there any releases of map editors effects tools etc out there?

What is the method used for loading database credentials currently? Ive got the database restored correctly and trying to edit server.cfg and the dns files but getting the cant connect to account db error.

Edit:
So I got everything built and running now however cpu 100% is annoying but Im trying to trouble shoot through that right now also, the client doesn't connect to master server properly I have it all set to 127.0.0.1 I believe as well as the server stuff, any advice there.
 
Last edited:
Newbie Spellweaver
Joined
Jun 14, 2008
Messages
22
Reaction score
0
Going through my 4th run through compiling the client in visual studio 2003 think Ive finally fixed the little annoyances that change from 6.0 up, so now I can use a 1/2 decent compiler that and I prefer the environment of 2003 6.0 is far too outdated for me. Hoping for the best now thanks for the release, and is there any releases of map editors effects tools etc out there?

What is the method used for loading database credentials currently? Ive got the database restored correctly and trying to edit server.cfg and the dns files but getting the cant connect to account db error.

Edit:
So I got everything built and running now however cpu 100% is annoying but Im trying to trouble shoot through that right now also, the client doesn't connect to master server properly I have it all set to 127.0.0.1 I believe as well as the server stuff, any advice there.

hi Joe, Everything compiled and you must program the ip in the client. most likely you've done(assuming your not a moron and the read the whole post). Use your IP of your computer not 127.0.0.1. i know it should work considering your hosting the server and the client on the same machine. But just use the IP of the computer instead. everything works for me, but 100% CPU is annoying hopefully lucky up dates that soon. If you need screenshots i and post some for proof of everything working.
 
Newbie Spellweaver
Joined
Mar 25, 2009
Messages
14
Reaction score
0
Yea I have everything set to 127.0.0.1 including in the client that's why it was annoying me so it's a bit odd anyways Ive decided not to pursue this, I really like the look of the engine and server really clean code easy to figure out even with it's bugs and hackability. But without the Scene editor for the bsp files I think it was and the rest of the SDK tools for the game it's of no use to me I did some research on it and it seems the game was derived from quake however the map format has been altered heavily to be Gate to heaven specific. Drop me a pm if the SDK turns up but I think Ive found a better viable option for me currently. Im sure someone will turn up with all the tools eventually because the current GTH host Royal Premier is pretty bad they already leaked the current server and entire website source lol..
 
Junior Spellweaver
Joined
May 23, 2010
Messages
121
Reaction score
6
Hello,

I release the files of the game: Gate To Heavens. I know that the files have already been release.

My release includes all files necessary to create your own server.
I deleted all files that do not work to release the unique code (latest Korean), and the files necessary to launch the compiled binaries.

The original code is available at:



The files needed to create your servers are available at:



Tutorial Movie :



You will need to compile the code to get the binaries that will work without any problems with the files provided.

You'll need VC + + 6 to compile the code downloaded from the svn.

Game screenshot :

lucky40990 - [Release][Tut] Full Gate To Heavens Files and Code. - RaGEZONE Forums

lucky40990 - [Release][Tut] Full Gate To Heavens Files and Code. - RaGEZONE Forums

I am available for any questions.

PS: The Codec for read the tutorial movie is joined to this post.

Sincerely,

I have compiled very success.
But it is very slow for play.

My computer is 4G Ram and virtual machine is 1.5G
GTH is very slow for connect with server

Help me:?:
 
Custom Title Activated
Loyal Member
Joined
Dec 20, 2005
Messages
2,046
Reaction score
117
i thought it says only need 256 ram? i will wait until they fixed 100% CPU first then i give this GTH a try :) hope we have a section for this games soon.
 
Last edited:
Newbie Spellweaver
Joined
Jul 19, 2011
Messages
39
Reaction score
1
thx a lot, the tut-video is very good. but there are heavy works on source code.
 
Back
Top