Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 18:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts

Discussion on [SAMMELTHREAD] Metin2 Source Compile Tips/Tuts within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 06/14/2014, 18:16   #466
 
elite*gold: 0
Join Date: Sep 2009
Posts: 7
Received Thanks: 0
im have some errors trying to compile db

im using mainline_released (sg)

i solve some problems and now i have this 10:

Error 156 error LNK1169: one or more multiply defined symbols found D:\Metin2\Source\mainline_released\mainline_sg\Src s\Server\db\db_d.exe db
Error 146 error LNK2005: "void __cdecl _invalid_parameter(unsigned short const *,unsigned short const *,unsigned short const *,unsigned int,unsigned int)" (?_invalid_parameter@@YAXPBG00II@Z) already defined in LIBCMTD.lib(invarg.obj) D:\Metin2\Source\mainline_released\mainline_sg\Src s\Server\db\src\LIBCMT.lib(invarg.obj) db
Error 147 error LNK2005: "void __cdecl _invoke_watson(unsigned short const *,unsigned short const *,unsigned short const *,unsigned int,unsigned int)" (?_invoke_watson@@YAXPBG00II@Z) already defined in LIBCMTD.lib(invarg.obj) D:\Metin2\Source\mainline_released\mainline_sg\Src s\Server\db\src\LIBCMT.lib(invarg.obj) db
Error 154 error LNK2005: ___pInvalidArgHandler already defined in LIBCMTD.lib(invarg.obj) D:\Metin2\Source\mainline_released\mainline_sg\Src s\Server\db\src\LIBCMT.lib(invarg.obj) db
Error 148 error LNK2005: __call_reportfault already defined in LIBCMTD.lib(invarg.obj) D:\Metin2\Source\mainline_released\mainline_sg\Src s\Server\db\src\LIBCMT.lib(invarg.obj) db
Error 149 error LNK2005: __get_invalid_parameter_handler already defined in LIBCMTD.lib(invarg.obj) D:\Metin2\Source\mainline_released\mainline_sg\Src s\Server\db\src\LIBCMT.lib(invarg.obj) db
Error 150 error LNK2005: __initp_misc_invarg already defined in LIBCMTD.lib(invarg.obj) D:\Metin2\Source\mainline_released\mainline_sg\Src s\Server\db\src\LIBCMT.lib(invarg.obj) db
Error 151 error LNK2005: __invalid_parameter already defined in LIBCMTD.lib(invarg.obj) D:\Metin2\Source\mainline_released\mainline_sg\Src s\Server\db\src\LIBCMT.lib(invarg.obj) db
Error 152 error LNK2005: __invoke_watson already defined in LIBCMTD.lib(invarg.obj) D:\Metin2\Source\mainline_released\mainline_sg\Src s\Server\db\src\LIBCMT.lib(invarg.obj) db
Error 153 error LNK2005: __set_invalid_parameter_handler already defined in LIBCMTD.lib(invarg.obj) D:\Metin2\Source\mainline_released\mainline_sg\Src s\Server\db\src\LIBCMT.lib(invarg.obj) db
Derradeiro_24 is offline  
Old 06/21/2014, 16:39   #467
 
elite*gold: 0
Join Date: Mar 2011
Posts: 72
Received Thanks: 8
When i summon many time with 0 hp i have full hp, because my bonus adds bonus hp. and if i have bonus hp in invetory same problem and fast mount / unmount someone know how to fix it ?

/yes bad english xd


syser:

from spam ctrl + g with arrmor + 2000 HP

Jun 21 16:10:52 :: NO_DEATH_PENALTY_LUCK([root]MeCa)
Jun 21 16:10:52 :: AddAffect [root]MeCa type 215 apply 0 0 flag 28 duration 5
Jun 21 16:10:54 :: [root]MeCa: USE_ITEM Zbr. Płyt. Czar. Magii+9 (inven 1, cell: 12)
Jun 21 16:10:55 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:55 :: [root]MeCa: USE_ITEM Biały Lew (inven 1, cell: 3)
Jun 21 16:10:55 :: AddAffect [root]MeCa type 221 apply 109 20114 flag 0 duration 1727820
Jun 21 16:10:55 :: AddAffect [root]MeCa type 533 apply 53 20 flag 0 duration 1727820
Jun 21 16:10:55 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:56 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:56 :: [root]MeCa: USE_ITEM Biały Lew (inven 1, cell: 3)
Jun 21 16:10:56 :: AddAffect [root]MeCa type 221 apply 109 20114 flag 0 duration 1727820
Jun 21 16:10:56 :: AddAffect [root]MeCa type 533 apply 53 20 flag 0 duration 1727820
Jun 21 16:10:56 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:56 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:56 :: [root]MeCa: USE_ITEM Biały Lew (inven 1, cell: 3)
Jun 21 16:10:56 :: AddAffect [root]MeCa type 221 apply 109 20114 flag 0 duration 1727820
Jun 21 16:10:56 :: AddAffect [root]MeCa type 533 apply 53 20 flag 0 duration 1727820
Jun 21 16:10:56 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:57 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:57 :: [root]MeCa: USE_ITEM Biały Lew (inven 1, cell: 3)
Jun 21 16:10:57 :: AddAffect [root]MeCa type 221 apply 109 20114 flag 0 duration 1727820
Jun 21 16:10:57 :: AddAffect [root]MeCa type 533 apply 53 20 flag 0 duration 1727820
Jun 21 16:10:57 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:57 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:57 :: [root]MeCa: USE_ITEM Biały Lew (inven 1, cell: 3)
Jun 21 16:10:57 :: AddAffect [root]MeCa type 221 apply 109 20114 flag 0 duration 1727820
Jun 21 16:10:57 :: AddAffect [root]MeCa type 533 apply 53 20 flag 0 duration 1727820
Jun 21 16:10:57 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:58 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:58 :: [root]MeCa: USE_ITEM Biały Lew (inven 1, cell: 3)
Jun 21 16:10:58 :: AddAffect [root]MeCa type 221 apply 109 20114 flag 0 duration 1727820
Jun 21 16:10:58 :: AddAffect [root]MeCa type 533 apply 53 20 flag 0 duration 1727820
Jun 21 16:10:58 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:58 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:58 :: [root]MeCa: USE_ITEM Biały Lew (inven 1, cell: 3)
Jun 21 16:10:58 :: AddAffect [root]MeCa type 221 apply 109 20114 flag 0 duration 1727820
Jun 21 16:10:58 :: AddAffect [root]MeCa type 533 apply 53 20 flag 0 duration 1727820
Jun 21 16:10:58 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:59 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:59 :: [root]MeCa: USE_ITEM Biały Lew (inven 1, cell: 3)
Jun 21 16:10:59 :: AddAffect [root]MeCa type 221 apply 109 20114 flag 0 duration 1727820
Jun 21 16:10:59 :: AddAffect [root]MeCa type 533 apply 53 20 flag 0 duration 1727820
Jun 21 16:10:59 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:59 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:59 :: [root]MeCa: USE_ITEM Biały Lew (inven 1, cell: 3)
Jun 21 16:10:59 :: AddAffect [root]MeCa type 221 apply 109 20114 flag 0 duration 1727820
Jun 21 16:10:59 :: AddAffect [root]MeCa type 533 apply 53 20 flag 0 duration 1727820
Jun 21 16:10:59 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:59 :: COMMAND: [root]MeCa: ride
Jun 21 16:10:59 :: [root]MeCa: USE_ITEM Biały Lew (inven 1, cell: 3)
Jun 21 16:10:59 :: AddAffect [root]MeCa type 221 apply 109 20114 flag 0 duration 1727820
Jun 21 16:10:59 :: AddAffect [root]MeCa type 533 apply 53 20 flag 0 duration 1727820
Jun 21 16:11:02 :: GLOBAL_TIME: Jun 21 16:11:02 time_gap 0

HELP PLS
meca4h4 is offline  
Old 08/02/2014, 04:59   #468
 
elite*gold: 0
Join Date: Jun 2014
Posts: 11
Received Thanks: 0
Problem compile client with Visual Studio

1>Error: MIDL will not generate DLLDATA.C unless you have at least 1 interface in the main project.
1>Project : error PRJ0002 : Error result 1 returned from 'C:\Windows\System32\cmd.exe'.
|Calypso| is offline  
Old 08/05/2014, 00:31   #469
 
elite*gold: 0
Join Date: Jun 2014
Posts: 11
Received Thanks: 0
Compile client novaline.
Python27.

Error start client:
|Calypso| is offline  
Old 08/15/2014, 18:53   #470
 
elite*gold: 0
Join Date: Sep 2013
Posts: 9
Received Thanks: 0
Hi,
My problem is following, compile source stops in this error.


You know how this fix?

I would add that when compile removes main.o...
tm-react is offline  
Old 08/16/2014, 17:27   #471
 
Zonni's Avatar
 
elite*gold: 100
Join Date: Feb 2008
Posts: 195
Received Thanks: 270
Quote:
Originally Posted by tm-react View Post
Hi,
My problem is following, compile source stops in this error.


You know how this fix?

I would add that when compile removes main.o...
Może się naucz najpierw czytać a potem zadawaj pytania ciołku. A najlepiej wyłącz komputer i wyjdź na dwór bo widać, że nie wychodzi ci programowanie skoro nie umiesz zdebugować tak prostego kodu.



Everything what you need to do is described in your screen.
1. update boost & replace it in your extern directory
2. gmake clean
3. gmake -j20

Don't say 'thank you' or pm me, you must figure rest by yourself.
Zonni is offline  
Old 08/16/2014, 17:30   #472
 
elite*gold: 0
Join Date: Jun 2014
Posts: 271
Received Thanks: 88
thank u work
Gürkin is offline  
Old 08/17/2014, 19:51   #473
 
Zonni's Avatar
 
elite*gold: 100
Join Date: Feb 2008
Posts: 195
Received Thanks: 270
Quote:
Originally Posted by Lurrdock View Post
I'm new at this domain, so please don't hate me, but can anyone explain to me how do I compile mainline to make the launcher?
Launcher (Patcher), Client or Server?


For server i recommend you mainline's dev dir and for client - novaline.
Zonni is offline  
Old 08/17/2014, 23:12   #474
 
elite*gold: 0
Join Date: Jul 2014
Posts: 9
Received Thanks: 0
PHP Code:
../../liblua/lib/liblua.a(lobject.o)(.text+0x4c3): In function `luaO_str2d':
/usr/include/runetype.h:96: undefined reference to 
`_ThreadRuneLocale'
../../liblua/lib/liblua.a(llex.o)(.text+0xa72): In function `luaX_lex'
:
/
usr/include/runetype.h:96undefined reference to `_ThreadRuneLocale'
../../liblua/lib/liblua.a(llex.o)(.text+0x13b3):/usr/include/runetype.h:96: undefined reference to 
`_ThreadRuneLocale'
../../liblua/lib/liblua.a(llex.o)(.text+0x141f):/usr/include/runetype.h:96: undefined reference to `_ThreadRuneLocale'
../../liblua/lib/liblua.a(llex.o)(.text+0x14e2):/usr/include/runetype.h:96undefined reference to `_ThreadRuneLocale'
../../liblua/lib/liblualib.a(lauxlib.o)(.text+0x355):/usr/include/runetype.h:96: more undefined references to 
`_ThreadRuneLocale' follow 
Hat jemand nen FIX?
Lιρтση# is offline  
Old 08/17/2014, 23:16   #475
 
Zonni's Avatar
 
elite*gold: 100
Join Date: Feb 2008
Posts: 195
Received Thanks: 270
Quote:
Originally Posted by Lιρтση# View Post
PHP Code:
../../liblua/lib/liblua.a(lobject.o)(.text+0x4c3): In function `luaO_str2d':
/usr/include/runetype.h:96: undefined reference to 
`_ThreadRuneLocale'
../../liblua/lib/liblua.a(llex.o)(.text+0xa72): In function `luaX_lex'
:
/
usr/include/runetype.h:96undefined reference to `_ThreadRuneLocale'
../../liblua/lib/liblua.a(llex.o)(.text+0x13b3):/usr/include/runetype.h:96: undefined reference to 
`_ThreadRuneLocale'
../../liblua/lib/liblua.a(llex.o)(.text+0x141f):/usr/include/runetype.h:96: undefined reference to `_ThreadRuneLocale'
../../liblua/lib/liblua.a(llex.o)(.text+0x14e2):/usr/include/runetype.h:96undefined reference to `_ThreadRuneLocale'
../../liblua/lib/liblualib.a(lauxlib.o)(.text+0x355):/usr/include/runetype.h:96: more undefined references to 
`_ThreadRuneLocale' follow 
Hat jemand nen FIX?
Can you put your /usr/include/runetype.h file on pastebin.com and send link here ?
Zonni is offline  
Old 08/17/2014, 23:38   #476
 
elite*gold: 0
Join Date: Jul 2014
Posts: 9
Received Thanks: 0
done
Lιρтση# is offline  
Old 08/18/2014, 03:42   #477
 
elite*gold: 0
Join Date: Sep 2009
Posts: 7
Received Thanks: 0
im with some problems compiling the db file, im trying to compile db from mainline_released(sg)

this already compile but with errors and dont work....

i have this erros:



i already edit the Makefile and Depend file for add the Boost, but appear: error 'boost' are not been declared......



sorry for my bad english
Derradeiro_24 is offline  
Old 08/22/2014, 17:04   #478
 
elite*gold: 0
Join Date: May 2009
Posts: 27
Received Thanks: 0
0822 16:32:34400 :: Source file has no content
0822 16:32:34417 :: Unknown packet header: 213, last: 81 29


Help me
bozdanel is offline  
Old 08/22/2014, 17:25   #479
 
elite*gold: 0
Join Date: Nov 2011
Posts: 84
Received Thanks: 2
who have source pls link.
THX
MakkeNN is offline  
Old 08/24/2014, 22:27   #480
 
elite*gold: 0
Join Date: Feb 2010
Posts: 25
Received Thanks: 1
I try compile game from mainline_released (sg) but I have 1 error:

Code:
/usr/bin/ld: cannot find -lgtest
What can I install?
trixored is offline  
Reply


Similar Threads Similar Threads
Reverse Crypt Systems [Tips/Hints/Tuts needed]]
03/01/2012 - CO2 Private Server - 8 Replies
Hello PVPers, So the Title says it all, Since i came here and i am trying to learn how to be a good Coder and Co2 P.Server Specially , i guess i dd well so far but i'v noticed that all my prev experience ddnt came near Encrypting/Decrypting systems , i also aware of that most of good coders around here are very busy coding stuff and so ,i was away for sometime and about 2 months ago i came back from AD (work trip) and a friend asked for an up to date P.Server , actually i miss that fun so...



All times are GMT +1. The time now is 18:56.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.