[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts

01/28/2015 14:26 MakkeNN#511
Pls help with install me DB and GAME in server, give pls clean server or write TUT
01/30/2015 22:41 Kido1#512
Hi .

Today i tried to compile mainline_released source .

But i am this eroor .

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

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

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

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

My makefile !

[Only registered and activated users can see links. Click Here To Register...]
01/31/2015 18:19 Mangoox3#513
Habe einen Fehler beim Compilen :

"/usr/local/bin/ld: i386:x86-64 architecture of input file `/../../../Extern/lib/libcryptopp.a(hex.o)' is incompatible with i386 output"

noch ein paar mehr der selben Art. Gibt's Libs für 64bit System?

Danke shconmal

Gruß Mango
02/01/2015 10:28 miracceren#514
In file included from debug_allocator.h:5,
from stdafx.h:7,
from MarkImage.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigne d int') as first parameterIn file included from debug_allocator.h:5,
from stdafx.h:7,
from MarkConvert.cpp:1:

char.cpp: In member function 'void<unnamed>::FuncCheckWarp:redface.pngperator() (CEntity*)':
char.cpp:6419: warning: overflow in implicit constant conversion
Makefile:145: recipe for target '.obj/char.o' failed
gmake: *** [.obj/char.o] Error 1

...
02/16/2015 05:05 florinatmt#515
hello elitepvp
I have a little problem!

Quote:
char.cpp:7341:124: warning: trigraph ??) converted to ] [-Wtrigraphs]
if (!strcmp(Message, "(?¢*¢¥c)") || !strcmp(Message, "(¥ì¡¤)") || !strcmp(Message, "(¡¾a¡íY)") || !strcmp(Message, "(AA??)") || !strcmp(Message, "(¡íc¢Ò?)") || !strcmp(Message, "(?©¢©©e)") || !strcmp(Message, "(??C?)") || !strcmp(Message, "(????)") || !strcmp(Message, "(AE??)"))
^
char.cpp:7341:246: warning: trigraph ??) converted to ] [-Wtrigraphs]
char.cpp:7341:274: warning: trigraph ??) converted to ] [-Wtrigraphs]
if (!strcmp(Message, "(?¢*¢¥c)") || !strcmp(Message, "(¥ì¡¤)") || !strcmp(Message, "(¡¾a¡íY)") || !strcmp(Message, "(AA??)") || !strcmp(Message, "(¡íc¢Ò?)") || !strcmp(Message, "(?©¢©©e)") || !strcmp(Message, "(??C?)") || !strcmp(Message, "(????)") || !strcmp(Message, "(AE??)"))
^
PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
PetSystem.cpp:246:7: warning: unused variable 'bDoMoveAlone' [-Wunused-variable]
bool bDoMoveAlone = true; // ij¸¯ÅÍ¿Í °¡±îÀÌ ÀÖÀ» ¶§ È¥ÀÚ ¿©±âÀú±â ¿òÁ÷ÀϰÇÁö ¿©ºÎ -_-;
^
PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, LPITEM, const char*, bool, DWORD)':
PetSystem.cpp:552:8: warning: unused variable 'petVID' [-Wunused-variable]
DWORD petVID = petActor->Summon(petName, pSummonItem, bSpawnFar);
^
questlua_npc.cpp: In function 'int quest::npc_get_vid_attack_mul(lua_State*)':
questlua_npc.cpp:379:18: warning: unused variable 'q' [-Wunused-variable]
CQuestManager& q = CQuestManager::instance();
^
questlua_npc.cpp: In function 'int quest::npc_set_vid_attack_mul(lua_State*)':
questlua_npc.cpp:395:18: warning: unused variable 'q' [-Wunused-variable]
CQuestManager& q = CQuestManager::instance();
^
questlua_npc.cpp: In function 'int quest::npc_get_vid_damage_mul(lua_State*)':
questlua_npc.cpp:410:18: warning: unused variable 'q' [-Wunused-variable]
CQuestManager& q = CQuestManager::instance();
^
questlua_npc.cpp: In function 'int quest::npc_set_vid_damage_mul(lua_State*)':
questlua_npc.cpp:426:18: warning: unused variable 'q' [-Wunused-variable]
CQuestManager& q = CQuestManager::instance();
^
In file included from ../../../Extern/include/cryptopp/secblock.h:7:0,
from ../../../Extern/include/cryptopp/modes.h:8,
from cipher.cpp:7:
../../../Extern/include/cryptopp/algparam.h: In instantiation of 'CryptoPP::ConstByteArrayParameter::ConstByteArray Parameter(const T&, bool) [with T = std::basic_string<char>]':
../../../Extern/include/cryptopp/filters.h:793:132: required from here
../../../Extern/include/cryptopp/misc.h:58:118: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
#define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)
^
../../../Extern/include/cryptopp/misc.h:61:39: note: in definition of macro 'CRYPTOPP_DO_ASSERT_JOIN'
#define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
^
../../../Extern/include/cryptopp/misc.h:58:97: note: in expansion of macro 'CRYPTOPP_ASSERT_JOIN'
#define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)
^
../../../Extern/include/cryptopp/misc.h:54:44: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
#define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
^
../../../Extern/include/cryptopp/algparam.h:26:9: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT'
CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
^
In file included from ../../../Extern/include/cryptopp/modes.h:8:0,
from cipher.cpp:7:
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanu p<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'
../../../Extern/include/cryptopp/algparam.h:17:2: required from here
../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
CheckSize(n);
^
../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup
../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanu p<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'
../../../Extern/include/cryptopp/modes.h:63:34: required from here
../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup
../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanu p<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:249:29: required from 'CryptoPP::SecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int, true>]'
../../../Extern/include/cryptopp/modarith.h:122:20: required from here
../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup
../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
In file included from ../../../Extern/include/cryptopp/modes.h:12:0,
from cipher.cpp:7:
../../../Extern/include/cryptopp/algparam.h: In instantiation of 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto (void*) const [with T = CryptoPP::RandomNumberGenerator*]':
cipher.cpp:398:1: required from here
../../../Extern/include/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
^
In file included from ../../../Extern/include/cryptopp/modes.h:8:0,
from cipher.cpp:7:
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanu p<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'
../../../Extern/include/cryptopp/rc5.h:22:27: required from 'CryptoPP::BlockCipherFinal<DIR, BASE>::BlockCipherFinal() [with CryptoPP::CipherDir DIR = (CryptoPP::CipherDir)0u; BASE = CryptoPP::RC5::Enc]'
../../../Extern/include/cryptopp/misc.h:82:7: required from 'CryptoPP::CipherModeFinalTemplate_CipherHolder<CI PHER, BASE>::CipherModeFinalTemplate_CipherHolder(const byte*, size_t, const byte*) [with CIPHER = CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0u , CryptoPP::RC5::Enc>; BASE = CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::Abstrac tPolicyHolder<CryptoPP::AdditiveCipherAbstractPoli cy, CryptoPP::CTR_ModePolicy> > >; byte = unsigned char; size_t = unsigned int]'
cipher.cpp:88:64: required from 'CryptoPP::SymmetricCipher* BlockCipherDetail<T>::CreateEncoder(const byte*, size_t, const byte*) const [with T = CryptoPP::RC5; byte = unsigned char; size_t = unsigned int]'
cipher.cpp:398:1: required from here
../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
CheckSize(n);
^
../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup
../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
In file included from ../../../Extern/include/cryptopp/secblock.h:7:0,
from ../../../Extern/include/cryptopp/modes.h:8,
from cipher.cpp:7:
../../../Extern/include/cryptopp/misc.h:548:20: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used [-Wunused-function]
static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
^
buff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffValue(BYTE)':
buff_on_attributes.cpp:119:8: warning: unused variable 'old_value' [-Wunused-variable]
int old_value = sum_of_attr_value * m_bBuffValue / 100;
^
buff_on_attributes.cpp:120:8: warning: unused variable 'new_value' [-Wunused-variable]
int new_value = sum_of_attr_value * bNewValue / 100;
^
gmake: *** [OBJDIR/cipher.o] Error 1
gmake: *** Waiting for unfinished jobs....
03/24/2015 16:02 Casawirek#516
Hi did anyone had problem with crashing core after joinin to party?
05/19/2015 09:28 promedev#517
gmake: *** No rule to make target '/usr/include/c++/4.2/cstdlib', needed by 'OBJDIR/BattleArena.o'. Stop. ???
07/10/2015 01:07 .RUVision#518
kann mir wer weiterhelfen?
Quote:
/usr/bin/ld: cannot find -lserverkey
07/10/2015 01:26 qualitygaming17#519
How can I fix this?

main.cpp:522: error: '__P4_VERSION__' was not declared in this scope
gmake: *** [OBJDIR/main.o] Error 1
gmake: *** Waiting for unfinished jobs....
07/10/2015 01:53 holosko74#520
kann mir da jemand helfen ?
kann /usr/src/mainline_released... nicht compilen

kann nur /usr/src/novaline compilen aber wenn ich die game datei in mein root server schmeisse fahren die cores nicht hoch und der sysrr zeigt nix an :/

wäre super wenn mir da jemand helfen könnte
07/10/2015 16:08 Hachiwari#521
Quote:
Originally Posted by .RUVision View Post
kann mir wer weiterhelfen?
Code:
cd /your_caalog/Server/libserverkey/
gmake
End. :)
07/13/2015 19:59 Benhero#522
Ist es jetzt irgendwie möglich die Game auch auf einem FreeBSD 64Bit System zu compilen? wenn ja kann mir bitte jemand einen Link geben oder mir helfen? Wäre echt dankbar! :)
07/14/2015 08:27 Fydes#523
Quote:
Originally Posted by Benhero View Post
Ist es jetzt irgendwie möglich die Game auch auf einem FreeBSD 64Bit System zu compilen? wenn ja kann mir bitte jemand einen Link geben oder mir helfen? Wäre echt dankbar! :)
Was genau funktioniert denn bei dir nicht. Melde dich mal per PN, vielleicht kann ich dir da weiter helfen.

Greets
08/28/2015 07:21 KampfBonn#524
Hallöchen,

ich hätte da mal ein Problemchen beim Compilen.

[Only registered and activated users can see links. Click Here To Register...]
Das istein Bild zum Fahler >.>

Freue mich über jede Hilfe :)
09/13/2015 16:39 Dani77#525
Hätte auch ein Problem, womit ich selbst nicht mehr weiter komme wenn evtl. jemand so nett wäre Source ist Novaline, g++49 wird verwendet sowie alles funzt bis auf das compilen der game