[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts

01/26/2014 17:57 Asparte#271
Code:
/usr/bin/ld: cannot find -lanticpxsvr
What should I install?
01/26/2014 18:56 GunnerMBT#272
Quote:
Originally Posted by Asparte View Post
Code:
/usr/bin/ld: cannot find -lanticpxsvr
What should I install?
Either remove all hackshield related dependencies and includes, or copy the hackshield folder to your extern/include, I think it's on the novaline's external folder. There's no problem in removing it from the build, as it will not affect the client's HS, you just don't receive the data sent to the server.
01/26/2014 19:07 ionutxp#273
For those with novaline client errors.
Replace
PHP Code:
#define BYTE        char 
with:
PHP Code:
#define BYTE        unsigned char 
in bitset.h
01/26/2014 19:25 givesource#274
Quote:
Originally Posted by sherer223 View Post
I`ve got those errors during compiling novaline binary source:
[Only registered and activated users can see links. Click Here To Register...]
And those during compiling dev source:
[Only registered and activated users can see links. Click Here To Register...]
I use v90 platform toolset, visual studio professional 2010.
Any solution?
i have same problem
i saw that many people had this 25-40 linker errors, but how did you fix them?
01/26/2014 19:45 redrpci2008#275
[Only registered and activated users can see links. Click Here To Register...]

Win. It was simpler than expected. (I've successfully compiled the client as Release from scratch in 10 minutes: You must have Visual C++ 2008 SP1 installed.)

Though I can't open any client with this binary :-(
01/27/2014 00:08 thespeedyy#276
/libexec/ld-elf.so.1: Shared object "libIL.so.2" not found, required by "game"
fix?
01/27/2014 00:17 Traktorzysta#277
How to resolve this problem?


Code:
http://pastebin.com/N7095hWS
01/27/2014 00:25 mamAmok#278
Quote:
Originally Posted by .Shōgun View Post
Use the new dump_proto tool
ok fixxed this :)
01/27/2014 15:28 Asparte#279
Code:
undefined reference to `ilInit'
DevIL is installed. Any suggestions?
01/27/2014 15:37 redrpci2008#280
Quote:
Originally Posted by Asparte View Post
Code:
undefined reference to `ilInit'
DevIL is installed. Any suggestions?
Try adding
Code:
-lIL
in Makefile (where needed libraries are declared).
01/27/2014 15:42 IchVerabschiedeMich#281
-- Fixed --
01/27/2014 16:41 Laben#282
anybody can connect me with teamviewer for show how to compile metin2 sources with visual studio 2013 or 2008 sp1 and on freebsd ?
01/27/2014 18:17 Mi4uric3#283
Quote:
Originally Posted by Laben View Post
anybody can connect me with teamviewer for show how to compile metin2 sources with visual studio 2013 or 2008 sp1 and on freebsd ?
Quote:
Originally Posted by mamAmok View Post
Quote:
Originally Posted by Laben View Post
anybody can connect me with teamviewer for show how to compile metin2 sources with visual studio 2013 and on freebsd ?
no
no
01/27/2014 21:11 adi97ida#284
Well, i managed to compile everything, but i can't get a client base to work with the UserInterface, any suggestions?
01/28/2014 03:25 redrpci2008#285
Quote:
Originally Posted by adi97ida View Post
Well, i managed to compile everything, but i can't get a client base to work with the UserInterface, any suggestions?
This is the client from which I have started with, but I modified a lot of files in order for it to work properly (This is the Metin2.co.kr client - Korean ftw :D):

[Only registered and activated users can see links. Click Here To Register...]

You can try using some of the files located in mainline_released/mainline_sg/Srcs/Client/bin ;)


Proof that it works (finally):
[Only registered and activated users can see links. Click Here To Register...]

Tip: compile the binary as Distribute instead of Release.
Tip 2: in locale.h

change
Code:
#include "Locale_inc.h"
to
Code:
#include "Locale_inc_EU2.h"