You last visited: Today at 20:24
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.
01/28/2015, 14:26
#511
elite*gold: 0
Join Date: Nov 2011
Posts: 84
Received Thanks: 2
Pls help with install me DB and GAME in server, give pls clean server or write TUT
01/30/2015, 22:41
#512
elite*gold: 0
Join Date: Oct 2012
Posts: 43
Received Thanks: 1
Hi .
Today i tried to compile mainline_released source .
But i am this eroor .
1-
2-
3-
4-
My makefile !
01/31/2015, 18:19
#513
elite*gold: 0
Join Date: Jul 2010
Posts: 385
Received Thanks: 129
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
#514
elite*gold: 0
Join Date: Jun 2014
Posts: 8
Received Thanks: 0
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
#515
elite*gold: 0
Join Date: May 2013
Posts: 3
Received Thanks: 1
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>: ointer 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>: ointer = 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>: ointer 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>: ointer = 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>: ointer 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>: ointer = 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>: ointer 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>: ointer = 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
#516
elite*gold: 0
Join Date: Mar 2013
Posts: 25
Received Thanks: 1
Hi did anyone had problem with crashing core after joinin to party?
05/19/2015, 09:28
#517
elite*gold: 0
Join Date: Dec 2014
Posts: 1
Received Thanks: 0
gmake: *** No rule to make target '/usr/include/c++/4.2/cstdlib', needed by 'OBJDIR/BattleArena.o'. Stop. ???
07/10/2015, 01:07
#518
elite*gold: 34
Join Date: Nov 2011
Posts: 1,431
Received Thanks: 850
kann mir wer weiterhelfen?
Quote:
/usr/bin/ld: cannot find -lserverkey
07/10/2015, 01:26
#519
elite*gold: 0
Join Date: Aug 2012
Posts: 11
Received Thanks: 1
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
#520
elite*gold: 0
Join Date: Jan 2009
Posts: 267
Received Thanks: 103
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
#521
elite*gold: 0
Join Date: Nov 2012
Posts: 29
Received Thanks: 7
Quote:
Originally Posted by
.RUVision
kann mir wer weiterhelfen?
Code:
cd /your_caalog/Server/libserverkey/
gmake
End.
07/13/2015, 19:59
#522
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
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
#523
elite*gold: 0
Join Date: Mar 2014
Posts: 1,619
Received Thanks: 984
Quote:
Originally Posted by
Benhero
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
#524
elite*gold: 0
Join Date: Oct 2010
Posts: 190
Received Thanks: 32
Hallöchen,
ich hätte da mal ein Problemchen beim Compilen.
Das istein Bild zum Fahler >.>
Freue mich über jede Hilfe
09/13/2015, 16:39
#525
elite*gold: 0
Join Date: Dec 2007
Posts: 43
Received Thanks: 1
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
Attached Images
fehler.jpg
(117.0 KB, 277 views)
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 20:24 .