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 07:40

  • 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 02/01/2014, 11:42   #346
 
.Captor's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 223
Received Thanks: 93
Quote:
Originally Posted by atag View Post
My linker error was caused by the python-2.2 includes.
Delete it from Extern/include and Client/SrciptLib then copy the working version from dev/*/worldeditor solved my problem

Now i can compile it in distribute mode with v120(!) toolset (new boost includes and crypto++ lib needed).
I have solved the LNK error since 20 minutes. But now the Bin returns a f***ing error. The Bin says, the bin has no attribute named "IsCANADA" but i've included it....


Edit: If i chose MfcDebug it returns this Error:
Code:
fatal error LNK1104: Datei "..\eterpythonlib\eterpythonlib___win32_mfcdebug\eterpythonlib.lib" kann nicht geöffnet werden.	UserInterface	UserInterface
Any idea? -.-



Edit²: If i use Python-2.2, it returns this Error:
Code:
error C2065: 'mod_ty': nichtdeklarierter Bezeichner	D:\src\mainline_released\mainline_sg\Srcs\extern\include\Python-2.2\symtable.h	55	gamelib

If i use Python27 it works wihtout Errors like that.
.Captor is offline  
Old 02/01/2014, 15:09   #347
 
elite*gold: 0
Join Date: Jul 2012
Posts: 16
Received Thanks: 3

How to fix LNK2019 erros? thanks!
FlAT!K is offline  
Old 02/01/2014, 15:42   #348
 
.Captor's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 223
Received Thanks: 93
Okey i fixxed the errors but now, the Bin dont load the Modules like EMOTION_DANCE_6 => Error at start (Can't find attribute named EMOTION_DANCE_6). Have any one a fix for this? :P
.Captor is offline  
Old 02/01/2014, 15:58   #349
 
elite*gold: 0
Join Date: Dec 2013
Posts: 5
Received Thanks: 2
Quote:
Originally Posted by FlAT!K View Post

How to fix LNK2019 erros? thanks!
what vs version?

vs 10+:
to fix the python problem you have to go to your python-2.2 / bitset.h and change the define of BYTE from const char to char?
also try to download new boost and crypto for vs 10 and compile them. then look if there are any errors that are not getting listed and download vs service pack 1 for your vs version then restart computer

i had this linker errors, too. i also changed include folder to the dev includes and deleted my python version that i downloaded before the source files. You have to look in the linker errors, mostly these problems are the types that were changed in the vs 10 compiler (if you look, you see that there are most of them const char*|BYTE problems)
givesource is offline  
Thanks
1 User
Old 02/01/2014, 16:52   #350
 
elite*gold: 0
Join Date: Dec 2010
Posts: 30
Received Thanks: 11
Quote:
/usr/bin/ld: cannot find -lIL
gmake: *** [../game_r_32] Error 1
- With novaline make file
Quote:
/usr/bin/ld: cannot find -lpng
gmake: *** [../game_r_32] Error 1
- With mainline make file

And i try to compile mainline game file...And devil port is installed (Sorry for my bad english)

Fixed, sorry.
kicskarii is offline  
Old 02/01/2014, 19:15   #351
 
DargonMT2's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 15
Received Thanks: 24


Anyone know how to fix this?
DargonMT2 is offline  
Old 02/01/2014, 21:10   #352
 
[uLow]NTX?!'s Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 1,266
Received Thanks: 627
Quote:
Originally Posted by DargonMT2 View Post


Anyone know how to fix this?
Whats about reading the error. It explains alot.
Cannot open 'questcategory.txt'
[uLow]NTX?! is offline  
Old 02/01/2014, 23:29   #353
 
elite*gold: 0
Join Date: Jan 2014
Posts: 13
Received Thanks: 1
Hey

That error when I try to compile game in Visual Studio

Lufbert is offline  
Old 02/02/2014, 00:33   #354
 
The Cookie Monster's Avatar
 
elite*gold: 134
Join Date: Dec 2013
Posts: 135
Received Thanks: 28
Zeimlich komisch...
Ich habe versucht den Client zu kompilieren genauso wie den World editor....
Ich habe alle Typenfehler oder sonstige Fehler behoben....
Dann fehlte eine python22.lib... okay die hab ich rausgesucht aber jetzt kommen beim linken seeeehr viele fehler...
1. wie kann ich die beheben?
2. wie kann ich mir meine python22.lib selber bauen?
The Cookie Monster is offline  
Old 02/02/2014, 02:18   #355
 
elite*gold: 0
Join Date: Aug 2011
Posts: 14
Received Thanks: 0
Please help. I do not know how to fix it

PajzlnatorCZ is offline  
Old 02/02/2014, 11:39   #356
 
elite*gold: 0
Join Date: Dec 2010
Posts: 30
Received Thanks: 11
Quote:
Originally Posted by PajzlnatorCZ View Post
Please help. I do not know how to fix it

Use Visual Studio 2012 with v90 platform, and fix these errors:

First: Open PythonGraphic.cpp and go to 169 line and modify it like this:
Second: Open bitset.h and edit byte definition from char to unsigned char

And build it. (Sorry for my bad english!)
kicskarii is offline  
Old 02/02/2014, 12:04   #357
 
.Captor's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 223
Received Thanks: 93
I have a Problem with my Bin. The Bin dont load any Module like "EMOTION_DANCE_6". Have someone a fix for this?

Sry for bad english.
.Captor is offline  
Old 02/02/2014, 12:30   #358
 
elite*gold: 0
Join Date: Nov 2010
Posts: 43
Received Thanks: 10
Quote:
Originally Posted by .Captor View Post
I have a Problem with my Bin. The Bin dont load any Module like "EMOTION_DANCE_6". Have someone a fix for this?

Sry for bad english.
Which brach do you use?
aok96boom is offline  
Old 02/02/2014, 12:33   #359
 
.Captor's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 223
Received Thanks: 93
Quote:
Originally Posted by aok96boom View Post
Which brach do you use?
mainline_released (sg)
.Captor is offline  
Old 02/02/2014, 13:05   #360
 
elite*gold: 0
Join Date: Nov 2010
Posts: 43
Received Thanks: 10
open the file PythonPlayerModule.cpp and check if the modules you need are there
aok96boom 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 07:41.


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.