[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts

01/29/2014 11:11 redrpci2008#301
Alright, I agree with you that there are many people who take advantage of the people who try to help them, so I decided NOT to release any tutorial at all. And please stop this quarrel about each others' nationalities.

@lukeido, I have found why novaline can be compiled so easely: all the libraries needed for compiling are already compiled. For example, to compile mainline with the hackshield, you only have to copy the contents of the folder libhackshield in novaline into the folder libhackshield in mainline. You can do this for each needed library.
01/29/2014 11:31 Evor™#302
So infact novaline is the best branch?
01/29/2014 11:37 designer132#303
I have error:
Quote:
root@freebsd:/home/Server/game/src # gmake
compile BattleArena.cpp
g++: directory": No such file or directory
<command-line>: warning: missing terminating " character
In file included from BattleArena.cpp:6:
char.h:733: error: integer constant is too large for 'long' type
In file included from debug_allocator.h:5,
from stdafx.h:7,
from BattleArena.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
gmake: *** [OBJDIR/BattleArena.o] Error 1
anyone know how repair this error?
01/29/2014 13:11 redrpci2008#304
@Evor:

Novaline has some bugs, at least I have encountered some.

@Designer132:

Change SVN_VERSION in makefile to a number, for example:

SVN_VERSION = 40250
01/29/2014 13:45 JaPitole#305
Quote:
Originally Posted by xDeStRuCtx View Post
Learn something yourself, guy. I`m not crying, I just don`t understand why these people share everything if they can use that for themselves. It`s not hard to compile gamecore, so if you can`t do that- you can`t be good programmer. But, what I can know? I see posts created by other users from Poland. They are epic.

@Traktorzysta
If we think that Polish people from metin2 section are noobs, we are hipocrites? Use your brain and compile game, don`t philosophize too much.
OMG!

I'm on the same level of knowledge as you or higher so do not tell me that I have to learn.
You know I can not stop creating guides so spare me fucking in this forum and mpcforum.
Recently everyone and everything bothers you because probably you have previously purchased source for money.
01/29/2014 14:09 designer132#306
Quote:
Originally Posted by redrpci2008 View Post
@Evor:
@Designer132:

Change SVN_VERSION in makefile to a number, for example:

SVN_VERSION = 40250
The same error ;/
01/29/2014 20:11 adi97ida#307
@designer132
Try to compile the game on a i386 platform, i assume you're running an amd64 version.
01/30/2014 00:20 MarcosCC#308
anyone test flame dungeon?? i have problem with first floor,it dont work when i kill all mobs and click in Am-heh Gorge it say me "There was not defeated all deamons,Remaining:0"...anyone fix quest?? thx
01/30/2014 00:36 Chikyou#309
Quote:
Originally Posted by MarcosCC View Post
anyone test flame dungeon?? i have problem with first floor,it dont work when i kill all mobs and click in Am-heh Gorge it say me "There was not defeated all deamons,Remaining:0"...anyone fix quest?? thx
This thread should be about Metin2 Source, and not about DE quests.
01/30/2014 01:14 lukeido#310
compiling 'db' it gave me that "cannot found -lmysqlclient"
then i
cd /usr/ports/databases/mysql56-client && make install clean

returned to the /db/src/ && gmake
and still
/usr/bin/ld: cannot found -lmysqlclient
01/30/2014 05:50 redrpci2008#311
Quote:
Originally Posted by lukeido View Post
compiling 'db' it gave me that "cannot found -lmysqlclient"
then i
cd /usr/ports/databases/mysql56-client && make install clean

returned to the /db/src/ && gmake
and still
/usr/bin/ld: cannot found -lmysqlclient
Copy libmysql from novaline.
01/30/2014 12:46 Lupetto#312
following this thread i compiled the gameclient, but when i try to use the exe inside the client folder, i get this error:
[Only registered and activated users can see links. Click Here To Register...]
How i can fix that? Thanks in advance
The client that i have used is this : [Only registered and activated users can see links. Click Here To Register...]
01/30/2014 14:21 kicskarii#313
Quote:
Originally Posted by Lupetto View Post
following this thread i compiled the gameclient, but when i try to use the exe inside the client folder, i get this error:
[Only registered and activated users can see links. Click Here To Register...]
How i can fix that? Thanks in advance
The client that i have used is this : [Only registered and activated users can see links. Click Here To Register...]
Use python22 lib folder an old metin2 client, I think that client use python27 library folder or other, and that is not compatible with your compiled gameclient.
01/30/2014 14:45 callmax#314
Quote:
cpp 2> /dev/null > Depend
gmake[1]: *** [dep] Error 127
gmake[1]: Leaving directory `/compile/mainline_released/mainline_sg/Srcs/Server/game/src'
gmake: *** [game] Error 2
root@METIN2:/compile/mainline_released/mainline_sg/Srcs/Server #
Does someone know how to fix it?
01/30/2014 14:51 kicskarii#315
Quote:
linking ../game_r_32....
/usr/bin/ld: cannot find -lpng
gmake: *** [../game_r_32] Error 1
I have this error, while compiling the game. (mainline/mainline_sg)
Novaline working perfectly.
Does someone know how to fix it?