-
Posts
94 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by revengertmt
-
-
How much free ram/swap do you have?
i solved this error
Makefile:140: recipe for target '.obj/char_battle.o' failed gmake: *** [.obj/char_battle.o] Error 4 gmake: *** Waiting for unfinished jobs.... g++49: internal compiler error: Killed: 9 (program cc1plus) libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Makefile:140: recipe for target '.obj/char.o' failed gmake: *** [.obj/char.o] Error 4
with this tutorial
https://www.freebsd.org/doc/handbook/adding-swap-space.html
but now I have another problem!
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::ConstByteArrayParameter(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::AllocatorWithCleanup<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::AllocatorWithCleanup<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::AllocatorWithCleanup<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::AllocatorWithCleanup<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<CIPHER, 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::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, 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 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; ^ 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) ^ Makefile:140: recipe for target 'OBJDIR/cipher.o' failed gmake: *** [OBJDIR/cipher.o] Error 1 gmake: *** Waiting for unfinished jobs.... root@devhost:/usr/src/devgames/Srcs/Server/game/src #
Edit: i use Novaline
-
How much free ram/swap do you have?
1gb
-
my problem!:|
Makefile:140: recipe for target '.obj/char_battle.o' failed gmake: *** [.obj/char_battle.o] Error 4 gmake: *** Waiting for unfinished jobs.... g++49: internal compiler error: Killed: 9 (program cc1plus) libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Makefile:140: recipe for target '.obj/char.o' failed gmake: *** [.obj/char.o] Error 4
i have freebsd 9.3x32
-
can help me???
compile BattleArena.cpp compile FSM.cpp compile MarkConvert.cpp compile MarkImage.cpp compile MarkManager.cpp compile OXEvent.cpp compile TrafficProfiler.cpp compile ani.cpp compile arena.cpp compile banword.cpp compile battle.cpp compile blend_item.cpp compile block_country.cpp compile buffer_manager.cpp compile building.cpp compile castle.cpp compile char.cpp compile char_affect.cpp compile char_battle.cpp compile char_change_empire.cpp compile char_horse.cpp compile char_item.cpp compile char_manager.cpp compile char_quickslot.cpp compile char_resist.cpp compile char_skill.cpp compile char_state.cpp compile PetSystem.cpp compile cmd.cpp compile cmd_emotion.cpp compile cmd_general.cpp compile cmd_gm.cpp In file included from char_item.cpp:47: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:640: warning: comparison is always false due to limited range of data type compile cmd_oxevent.cpp char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2388: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD' char_item.cpp:2388: warning: unknown conversion type character '}' in format char_item.cpp:2388: warning: too many arguments for format char_item.cpp:2392: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD' char_item.cpp:2392: warning: unknown conversion type character '}' in format char_item.cpp:2392: warning: too many arguments for format char_item.cpp:2404: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'DWORD' char_item.cpp:2404: warning: unknown conversion type character '}' in format char_item.cpp:2404: warning: too many arguments for format char_item.cpp:2408: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'DWORD' char_item.cpp:2408: warning: unknown conversion type character '}' in format char_item.cpp:2408: warning: too many arguments for format char_item.cpp:2435: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD' char_item.cpp:2435: warning: unknown conversion type character '}' in format char_item.cpp:2435: warning: too many arguments for format char_item.cpp:2443: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'DWORD' char_item.cpp:2443: warning: unknown conversion type character '}' in format char_item.cpp:2443: warning: too many arguments for format char_item.cpp:5094: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5166: warning: unused variable 'wDestCell' char_item.cpp:5167: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6167: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6231: warning: comparison between signed and unsigned integer expressions compile config.cpp char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7432: warning: unused variable 'itemType' char_item.cpp:7433: warning: unused variable 'itemSubType' compile constants.cpp compile crc32.cpp compile cube.cpp compile db.cpp compile desc.cpp constants.cpp:292: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:293: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:294: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:295: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:296: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:297: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:298: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:299: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:300: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:301: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:302: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:303: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:304: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:305: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:306: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:307: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:308: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:309: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:310: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:311: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:312: warning: this decimal constant is unsigned only in ISO C90 compile desc_client.cpp PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()': PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone' PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)': PetSystem.cpp:552: warning: unused variable 'petVID' compile desc_manager.cpp char_state.cpp: In member function 'virtual void CHARACTER::StateMove()': char_state.cpp:901: warning: unused variable 'rider' compile desc_p2p.cpp compile dev_log.cpp compile dungeon.cpp compile empire_text_convert.cpp cube.cpp: In function 'bool Cube_make(CHARACTER*)': cube.cpp:544: warning: comparison between signed and unsigned integer expressions cube.cpp: In function 'void Cube_MakeCubeInformationText()': cube.cpp:716: warning: unused variable 'npcVNUM' cube.cpp: In function 'bool Cube_InformationInitialize()': cube.cpp:783: warning: comparison between signed and unsigned integer expressions compile entity.cpp compile entity_view.cpp desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)': desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions In file included from config.cpp:22: check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)': check_server.h:24: warning: comparison between signed and unsigned integer expressions config.cpp: In function 'void config_init(const std::string&)': config.cpp:505: warning: unused variable 'line' compile event.cpp compile event_queue.cpp compile exchange.cpp char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)': char_item.cpp:6278: warning: 'pBuff' may be used uninitialized in this function compile file_loader.cpp compile fishing.cpp compile gm.cpp compile guild.cpp compile guild_manager.cpp compile guild_war.cpp cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)': cmd_gm.cpp:4464: warning: 'cell' may be used uninitialized in this function compile horse_rider.cpp cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)': cmd_gm.cpp:3980: warning: 'n' may be used uninitialized in this function compile horsename_manager.cpp compile input.cpp cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)': cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this function cmd_gm.cpp:855: warning: 'y' may be used uninitialized in this function compile input_auth.cpp compile input_db.cpp compile input_login.cpp compile input_main.cpp compile input_p2p.cpp compile input_teen.cpp compile input_udp.cpp compile ip_ban.cpp input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)': input_auth.cpp:467: warning: unused variable 'last' compile item.cpp compile item_addon.cpp compile item_attribute.cpp compile item_manager.cpp compile item_manager_idrange.cpp compile locale.cpp In file included from item.cpp:22: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions item.h: In constructor 'CItem::CItem(DWORD)': item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized after item.h:283: warning: 'LPEVENT CItem::m_pkExpireEvent' item.cpp:25: warning: when initialized here item.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)': item.cpp:1730: warning: unused variable 'vnum' item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)': item.cpp:2019: warning: comparison between signed and unsigned integer expressions item.cpp: In member function 'int CItem::GetDuration()': item.cpp:2074: warning: array subscript has type 'char' compile locale_service.cpp input_main.cpp: In member function 'void CInputMain::Move(CHARACTER*, const char*)': input_main.cpp:1499: warning: unused variable 'fDist' compile log.cpp compile login_data.cpp compile lzo_manager.cpp compile marriage.cpp item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)': item_manager.cpp:604: warning: comparison between signed and unsigned integer expressions compile matrix_card.cpp compile messenger_manager.cpp compile mining.cpp compile mob_manager.cpp compile monarch.cpp compile motion.cpp compile over9refine.cpp compile p2p.cpp compile packet_info.cpp compile party.cpp compile passpod.cpp compile pcbang.cpp compile polymorph.cpp compile priv_manager.cpp compile pvp.cpp compile questevent.cpp compile questlua.cpp compile questlua_affect.cpp compile questlua_arena.cpp compile questlua_ba.cpp compile questlua_building.cpp compile questlua_danceevent.cpp compile questlua_dungeon.cpp compile questlua_forked.cpp compile questlua_game.cpp compile questlua_global.cpp compile questlua_guild.cpp compile questlua_horse.cpp compile questlua_pet.cpp compile questlua_item.cpp compile questlua_marriage.cpp questlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(CHARACTER*)': questlua.cpp:78: warning: 'returnBool' may be used uninitialized in this function compile questlua_mgmt.cpp compile questlua_monarch.cpp compile questlua_npc.cpp compile questlua_oxevent.cpp compile questlua_party.cpp compile questlua_pc.cpp compile questlua_quest.cpp compile questlua_target.cpp compile questmanager.cpp questlua_npc.cpp: In function 'int quest::npc_get_vid_attack_mul(lua_State*)': questlua_npc.cpp:293: warning: unused variable 'q' questlua_npc.cpp: In function 'int quest::npc_set_vid_attack_mul(lua_State*)': questlua_npc.cpp:309: warning: unused variable 'q' questlua_npc.cpp: In function 'int quest::npc_get_vid_damage_mul(lua_State*)': questlua_npc.cpp:324: warning: unused variable 'q' questlua_npc.cpp: In function 'int quest::npc_set_vid_damage_mul(lua_State*)': questlua_npc.cpp:340: warning: unused variable 'q' compile questnpc.cpp compile questpc.cpp compile refine.cpp compile regen.cpp compile safebox.cpp compile sectree.cpp compile sectree_manager.cpp questnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)': questnpc.cpp:500: warning: unused variable 'pPC' compile sequence.cpp compile shop.cpp compile skill.cpp compile start_position.cpp compile target.cpp compile text_file_loader.cpp compile trigger.cpp compile utils.cpp compile vector.cpp compile war_map.cpp shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)': shop.cpp:576: warning: comparison between signed and unsigned integer expressions compile wedding.cpp compile xmas_event.cpp compile panama.cpp version.cpp: In function 'void WriteVersion()': version.cpp:10: warning: format '%s' expects type 'char*', but argument 3 has type 'int' compile version.cpp compile threeway_war.cpp compile map_location.cpp compile auth_brazil.cpp compile BlueDragon.cpp compile BlueDragon_Binder.cpp compile DragonLair.cpp compile questlua_dragonlair.cpp compile HackShield.cpp compile HackShield_Impl.cpp compile char_hackshield.cpp compile skill_power.cpp compile affect.cpp compile SpeedServer.cpp compile questlua_speedserver.cpp compile auction_manager.cpp compile FileMonitor_FreeBSD.cpp compile ClientPackageCryptInfo.cpp compile cipher.cpp compile buff_on_attributes.cpp compile check_server.cpp compile dragon_soul_table.cpp In file included from check_server.cpp:1: check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)': check_server.h:24: warning: comparison between signed and unsigned integer expressions ClientPackageCryptInfo.h: In constructor 'CClientPackageCryptInfo::CClientPackageCryptInfo()': ClientPackageCryptInfo.h:50: warning: 'CClientPackageCryptInfo::m_pSerializedCryptKeyStream' will be initialized after ClientPackageCryptInfo.h:48: warning: 'int CClientPackageCryptInfo::m_nCryptKeyPackageCnt' ClientPackageCryptInfo.cpp:9: warning: when initialized here compile DragonSoul.cpp compile group_text_parse_tree.cpp ../../../Extern/include/cryptopp/algparam.h: In constructor 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]': ../../../Extern/include/cryptopp/filters.h:793: instantiated from here ../../../Extern/include/cryptopp/algparam.h:26: warning: unused variable 'cryptopp_assert_26' ../../../Extern/include/cryptopp/algparam.h: In member function 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]': cipher.cpp:397: instantiated from here ../../../Extern/include/cryptopp/algparam.h:322: warning: unused variable 'p' compile char_dragonsoul.cpp compile questlua_dragonsoul.cpp dragon_soul_table.cpp: In member function 'bool DragonSoulTable::ReadAdditionalApplys()': dragon_soul_table.cpp:223: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckApplyNumSettings()': dragon_soul_table.cpp:283: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckWeightTables()': dragon_soul_table.cpp:311: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineGradeTables()': dragon_soul_table.cpp:343: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp:372: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStepTables()': dragon_soul_table.cpp:397: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp:427: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStrengthTables()': dragon_soul_table.cpp:453: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonHeartExtTables()': dragon_soul_table.cpp:494: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp:513: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp:522: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonSoulExtTables()': dragon_soul_table.cpp:545: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = std::string]': dragon_soul_table.cpp:129: instantiated from here group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = BYTE]': dragon_soul_table.cpp:134: instantiated from here group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = int]': dragon_soul_table.cpp:201: instantiated from here group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = float]': dragon_soul_table.cpp:260: instantiated from here group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions buff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffValue(BYTE)': buff_on_attributes.cpp:113: warning: unused variable 'old_value' buff_on_attributes.cpp:114: warning: unused variable 'new_value' group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = float]': dragon_soul_table.cpp:828: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = int]': group_text_parse_tree.h:159: instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = int]' group_text_parse_tree.h:203: instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = int]' dragon_soul_table.cpp:612: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]': group_text_parse_tree.h:159: instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = unsigned int]' group_text_parse_tree.h:203: instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = unsigned int]' dragon_soul_table.cpp:884: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In constructor 'CGroupTextParseTreeLoader::CGroupTextParseTreeLoader()': group_text_parse_tree.h:93: warning: 'CGroupTextParseTreeLoader::m_dwcurLineIndex' will be initialized after group_text_parse_tree.h:91: warning: 'CGroupNode* CGroupTextParseTreeLoader::m_pRootGroupNode' group_text_parse_tree.cpp:5: warning: when initialized here group_text_parse_tree.cpp: In member function 'bool CGroupTextParseTreeLoader::LoadGroup(CGroupNode*)': group_text_parse_tree.cpp:99: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.cpp: In member function 'bool CGroupNode::GetRow(int, const CGroupNode::CGroupNodeRow**) const': group_text_parse_tree.cpp:206: warning: comparison between signed and unsigned integer expressions compile shop_manager.cpp DragonSoul.cpp: In function 'int Gamble(std::vector<float, std::allocator<float> >&)': DragonSoul.cpp:19: warning: comparison between signed and unsigned integer expressions DragonSoul.cpp:25: warning: comparison between signed and unsigned integer expressions compile shopEx.cpp DragonSoul.cpp: In member function 'bool DSManager::RefreshItemAttributes(CItem*)': DragonSoul.cpp:203: warning: comparison between signed and unsigned integer expressions DragonSoul.cpp: In member function 'bool DSManager::PutAttributes(CItem*)': DragonSoul.cpp:273: warning: comparison between signed and unsigned integer expressions DragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(CHARACTER*, CItem*, CItem*)': DragonSoul.cpp:350: warning: unused variable 'sum' DragonSoul.cpp: In member function 'bool DSManager::PullOut(CHARACTER*, TItemPos, CItem*&, CItem*)': DragonSoul.cpp:435: warning: unused variable 'dwVnum' DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 3 has type 'double' DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 4 has type 'double' DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(CHARACTER*, TItemPos (&)[15])': DragonSoul.cpp:555: warning: unused variable 'prob_sum' DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(CHARACTER*, TItemPos (&)[15])': DragonSoul.cpp:763: warning: unused variable 'sum' compile item_manager_read_tables.cpp char_dragonsoul.cpp: In member function 'bool CHARACTER::DragonSoul_ActivateDeck(int)': char_dragonsoul.cpp:91: warning: control reaches end of non-void function compile minilzo.c shopEx.cpp: In member function 'virtual int CShopEx::Buy(CHARACTER*, BYTE)': shopEx.cpp:159: warning: comparison between signed and unsigned integer expressions shop_manager.cpp: In function 'bool ConvertToShopItemTable(CGroupNode*, TShopTableEx&)': shop_manager.cpp:473: warning: comparison between signed and unsigned integer expressions item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)': item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup' group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]': group_text_parse_tree.h:175: instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = DWORD]' shop_manager.cpp:381: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]': group_text_parse_tree.h:175: instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = std::string]' shop_manager.cpp:387: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned char]': group_text_parse_tree.h:136: instantiated from 'bool CGroupNode::GetValue(size_t, const std::string&, T&) const [with T = BYTE]' shop_manager.cpp:442: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized in this function ../../../Extern/include/cryptopp/misc.h: At global scope: ../../../Extern/include/cryptopp/misc.h:548: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used linking ../game_r40250_32.... linking ../test OBJDIR/char.o: In function `CHARACTER::Disconnect(char const*)': /usr/mainline_released/mainline_sg/Srcs/Server/game/src/char.cpp:1410: undefined reference to `CXTrapManager::DestroyClientSession(CHARACTER*)' OBJDIR/char.o: In function `CHARACTER::Disconnect(char const*)': /usr/mainline_released/mainline_sg/Srcs/Server/game/src/char.cpp:1410: undefined reference to `CXTrapManager::DestroyClientSession(CHARACTER*)' OBJDIR/input_login.o: In function `CInputLogin::Analyze(DESC*, unsigned char, char const*)': /usr/mainline_released/mainline_sg/Srcs/Server/game/src/input_login.cpp:1115: undefined reference to `CXTrapManager::Verify_CSStep3(CHARACTER*, unsigned char*)' OBJDIR/input_main.o: In function `CInputMain::Analyze(DESC*, unsigned char, char const*)': /usr/mainline_released/mainline_sg/Srcs/Server/game/src/input_main.cpp:3262: undefined reference to `CXTrapManager::Verify_CSStep3(CHARACTER*, unsigned char*)' OBJDIR/input_login.o: In function `CInputLogin::Analyze(DESC*, unsigned char, char const*)': /usr/mainline_released/mainline_sg/Srcs/Server/game/src/input_login.cpp:1115: undefined reference to `CXTrapManager::Verify_CSStep3(CHARACTER*, unsigned char*)' OBJDIR/input_main.o: In function `CInputMain::Analyze(DESC*, unsigned char, char const*)': /usr/mainline_released/mainline_sg/Srcs/Server/game/src/input_main.cpp:3262: undefined reference to `CXTrapManager::Verify_CSStep3(CHARACTER*, unsigned char*)' gmake: *** [../game_r40250_32] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [../test] Error 1 root@:/usr/mainline_released/mainline_sg/Srcs/Server/game/src #
this is my makefile
PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1) GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3 | cut -d'.' -f1) BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1) SVN_VERSION = 40250 CC = g++ INCDIR = LIBDIR = BINDIR = .. OBJDIR = OBJDIR $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) # Standard Setting LIBS = -pthread -lm -lmd # Removed -fno-rtti CFLAGS = -g -Wall -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG # -D_USE_SERVER_KEY_ ifeq ($(GCC_VERSION), 4) CFLAGS += -mtune=i686 -fstack-protector-all else CFLAGS += -mcpu=i686 endif # boost INCDIR += -I../../../Extern/include/boost # DevIL INCDIR += -I../../libdevil LIBDIR += -L../../libdevil LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg # MySQL ifeq ($(BSD_VERSION), 7) INCDIR += -I../../libmysql/7.x-5.1.35 LIBDIR += -L../../libmysql/7.x-5.1.35 else INCDIR += -I../../libmysql/5.x-5.1.35 LIBDIR += -L../../libmysql/5.x-5.1.35 endif LIBS += -lmysqlclient -lz # Miscellaneous external libraries INCDIR += -I../../../Extern/include LIBDIR += -L../../../Extern/lib LIBS += -lcryptopp -lgtest # HackShield INCDIR += -I../../libhackshield/include LIBDIR += -L../../libhackshield/lib LIBS += -lanticpxsvr # openssl #INCDIR += -I/usr/include #LIBS += -lssl #LIBS += /usr/lib/libssl.a # Project Library INCDIR += -I../../liblua/include INCDIR += -I/usr/local/include INCDIR += -I../../libserverkey LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib -L../../libserverkey LIBDIR += -L/usr/local/lib LIBS += -lthecore -lpoly -llua -llualib -lsql -lgame -lserverkey USE_STACKTRACE = 0 ifeq ($(USE_STACKTRACE), 1) LIBS += /usr/local/lib/libexecinfo.a endif TARGET = $(BINDIR)/game_r$(SVN_VERSION)_$(PLATFORM) CFILE = minilzo.c CPPFILE = BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp ani.cpp arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp input_login.cpp input_main.cpp input_p2p.cpp input_teen.cpp input_udp.cpp ip_ban.cpp item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp party.cpp passpod.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp auth_brazil.cpp BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp HackShield.cpp HackShield_Impl.cpp char_hackshield.cpp skill_power.cpp affect.cpp SpeedServer.cpp questlua_speedserver.cpp auction_manager.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp buff_on_attributes.cpp check_server.cpp dragon_soul_table.cpp DragonSoul.cpp group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp COBJS = $(CFILE:%.c=$(OBJDIR)/%.o) CPPOBJS = $(CPPFILE:%.cpp=$(OBJDIR)/%.o) MAINOBJ = $(OBJDIR)/main.o MAINCPP = main.cpp TESTOBJ = $(OBJDIR)/test.o TESTCPP = test.cpp TEST_TARGET = $(BINDIR)/test default: $(TARGET) $(TEST_TARGET) $(OBJDIR)/minilzo.o: minilzo.c @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ @echo compile $< $(OBJDIR)/version.o: version.cpp @$(CC) $(CFLAGS) -D__SVN_VERSION__="$(SVN_VERSION)" -c $< -o $@ @echo compile $< $(OBJDIR)/%.o: %.cpp @echo compile $< @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ limit_time: @echo update limit time @python update_limit_time.py $(TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ) @echo linking $(TARGET).... @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(TARGET) $(TEST_TARGET): $(TESTCPP) $(CPPOBJS) $(COBJS) $(TESTOBJ) @echo linking $(TEST_TARGET) @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(TESTOBJ) $(LIBS) -o ../test clean: @rm -f $(COBJS) $(CPPOBJS) @rm -f $(BINDIR)/game_r* $(BINDIR)/conv tag: ctags *.cpp *.h *.c dep: makedepend -f Depend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(CPPFILE) $(CFILE) $(MAINCPP) $(TESTCPP) 2> /dev/null > Depend sinclude Depend
and this is my version.cpp
#include <stdio.h> void WriteVersion() { #ifndef __WIN32__ FILE* fp = fopen("ver.txt", "w"); if (fp) { fprintf(fp, "emulated game server revision: %sn", __SVN_VERSION__); //fprintf(fp, "%s@%s:%sn", __USER__, __HOSTNAME__, __PWD__); fclose(fp); } #endif }
-
i have this error
root@:~ # cd /usr/mainline_wolfman/Srcs/Server/game/src root@:/usr/mainline_wolfman/Srcs/Server/game/src # gmake dep makedepend -f Depend -I../../../Extern/include/boost -I../../libdevil -I../../libmysql/5.x-5.1.35 -I../../../Extern/include -I../../libhackshield/include -I../../liblua/include -I/usr/local/include -I../../libserverkey -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -pOBJDIR/ BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp ani.cpp arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp input_login.cpp input_main.cpp input_p2p.cpp input_teen.cpp input_udp.cpp ip_ban.cpp item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp party.cpp passpod.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp auth_brazil.cpp BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp HackShield.cpp HackShield_Impl.cpp char_hackshield.cpp skill_power.cpp affect.cpp SpeedServer.cpp questlua_speedserver.cpp auction_manager.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp buff_on_attributes.cpp check_server.cpp dragon_soul_table.cpp DragonSoul.cpp group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp minilzo.c main.cpp test.cpp 2> /dev/null > Depend root@:/usr/mainline_wolfman/Srcs/Server/game/src # gmake clean root@:/usr/mainline_wolfman/Srcs/Server/game/src # gmake -j20 compile BattleArena.cpp compile FSM.cpp compile MarkConvert.cpp compile MarkImage.cpp compile MarkManager.cpp compile OXEvent.cpp compile TrafficProfiler.cpp compile ani.cpp compile arena.cpp compile banword.cpp compile battle.cpp compile blend_item.cpp compile block_country.cpp compile buffer_manager.cpp compile building.cpp compile castle.cpp compile char.cpp compile char_affect.cpp compile char_battle.cpp compile char_change_empire.cpp compile char_horse.cpp compile char_item.cpp compile char_manager.cpp compile char_quickslot.cpp compile char_resist.cpp compile char_skill.cpp compile char_state.cpp compile PetSystem.cpp compile cmd.cpp compile cmd_emotion.cpp char_resist.cpp: In function 'int GetBleedDamageRate(CHARACTER*)': char_resist.cpp:52: error: 'POINT_BLEEDING_REDUCE' was not declared in this scope char_resist.cpp: In function 'long int bleed_event(LPEVENT, long int)': char_resist.cpp:92: error: 'class CHARACTER' has no member named 'm_pkBleedEvent' char_resist.cpp:102: error: 'class CHARACTER' has no member named 'm_pkBleedEvent' char_resist.cpp: At global scope: char_resist.cpp:300: error: no 'void CHARACTER::AttackedByBleeding(CHARACTER*)' member function declared in class 'CHARACTER' char_resist.cpp: In member function 'void CHARACTER::AttackedByBleeding(CHARACTER*)': char_resist.cpp:302: error: 'm_pkBleedEvent' was not declared in this scope char_resist.cpp:305: error: 'm_bHasBleeded' was not declared in this scope char_resist.cpp:321: error: 'BLEEDING_LENGTH' was not declared in this scope char_resist.cpp: At global scope: char_resist.cpp:351: error: no 'void CHARACTER::RemoveBleeding()' member function declared in class 'CHARACTER' char_resist.cpp: In member function 'void CHARACTER::RemoveBleeding()': char_resist.cpp:354: error: 'm_pkBleedEvent' was not declared in this scope gmake: *** [OBJDIR/char_resist.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from char_item.cpp:47: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:640: warning: comparison is always false due to limited range of data type char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2388: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD' char_item.cpp:2388: warning: unknown conversion type character '}' in format char_item.cpp:2388: warning: too many arguments for format char_item.cpp:2392: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD' char_item.cpp:2392: warning: unknown conversion type character '}' in format char_item.cpp:2392: warning: too many arguments for format char_item.cpp:2404: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'DWORD' char_item.cpp:2404: warning: unknown conversion type character '}' in format char_item.cpp:2404: warning: too many arguments for format char_item.cpp:2408: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'DWORD' char_item.cpp:2408: warning: unknown conversion type character '}' in format char_item.cpp:2408: warning: too many arguments for format char_item.cpp:2435: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD' char_item.cpp:2435: warning: unknown conversion type character '}' in format char_item.cpp:2435: warning: too many arguments for format char_item.cpp:2443: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'DWORD' char_item.cpp:2443: warning: unknown conversion type character '}' in format char_item.cpp:2443: warning: too many arguments for format char_item.cpp:5094: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5166: warning: unused variable 'wDestCell' char_item.cpp:5167: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6167: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6231: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7432: warning: unused variable 'itemType' char_item.cpp:7433: warning: unused variable 'itemSubType' PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()': PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone' PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)': PetSystem.cpp:552: warning: unused variable 'petVID' char_state.cpp: In member function 'virtual void CHARACTER::StateMove()': char_state.cpp:901: warning: unused variable 'rider' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)': char_item.cpp:6278: warning: 'pBuff' may be used uninitialized in this function root@:/usr/mainline_wolfman/Srcs/Server/game/src #
-
This quest was made by when the only server that got it was karma2.
Anyways it got leaked so i might release it full.
It works on any game versions.
Regens , group and quest in attachment.
The only problem is , it`s in romanian language, but in 15 min u can translate it.
----------------------------------------------- ------------ #Dark @ http://darkdev.eu -------- ----------------------------------------------- quest snowdungeon begin state start begin -- Statuia leu inghetat sohan when 20397.chat."Test nivel 9" with pc.is_gm() begin d.setf("actual_round",9) timer("nextlevel",5) return end -- end statuia leu inghetat sohan -- Statuia leu inghetat sohan when 20397.chat."Turnul lui Nemeres" with pc.get_map_index() == 61 begin say_gold("Statuia Leului de gheata") say_white("Fortele raului se prezinta in multe forme.") say("Puterile sale distrugatoare cresc pe zi ce trece.") say("Regatele incep sa se destrame. Cine este in stare") say("sa se impotriveasca?") say("Ultima noastra speranta ramane in oameni simpli !") say_reward("Esti pregatit sa il infrunti ?") if select("Da!","Nu") == 1 then if pc.get_level() >= 100 then pc.warp(520800,182000) else syschat("Nu esti destul de puternic. Revino cand ajungi la nivelul 100.") end else syschat("Revino cand esti pregatit") end end -- end statuia leu inghetat sohan -- Statuia leu inghetat when 20397.chat."Turnul lui Nemeres" with pc.get_map_index() == 240 begin say_gold("Statuia Leului de gheata") say_white("Fortele raului se prezinta in multe forme.") say("Puterile sale distrugatoare cresc din ce in ce mai mult.") say("Regatele incep sa se destrame. Cine este in stare sa se impotriveasca?") say("Ultima noastra speranta ramane in oameni simpli !") if pc.get_level() >= 100 then if party.is_party() or pc.is_gm() then if party.is_leader() or pc.is_gm() then if pc.count_item(71122) > 0 or pc.is_gm() then say_reward("Esti pregatit sa il infrunti ?") if select("Da!","Nu") == 1 then pc.remove_item(71122,1) d.join(240) end else say_reward("Ai nevoie de itemul!") say_item_vnum(71122) end else say_reward("Trebuie sa fi tu liderul grupului!") end else say_reward("Trebuie sa faci parte dintr-un grup!") end else say_reward("Trebuie sa ai nivelul 100 !") end end -- end statuia leu inghetat -- Statuia leu inghetat 222222222222222 when 20397.chat."Lacasul lui Nemeres" with d.getf("actual_round") == 9 begin if party.is_leader() or pc.is_gm() then say_gold("Statuia Leului de gheata") say_white("A fost foarte greu dar in final") say("am ajuns la sursa raului.") say("Maleficul Nemeres te asteapta !") say_reward("Esti pregatit sa il infrunti ?") if select("Da!","Nu") == 1 then if d.getf("used_statue", 0) then d.setf("used_statue", 1) syschat("In urmatoarele 10 secunde vei fi teleportat impreuna cu grupa ta !") timer("nextlevel",10) end end end end -- end statuia leu inghetat 222222222222222 -- func start when login with pc.get_map_index() >= 2400000 and pc.get_map_index() <= 2405000 begin d.notice("[Turnul lui Nemeres]A inceput batalia.") d.notice("[Turnul lui Nemeres]Curata camera pentru a putea avansa ! Mult succes.") if party.is_party() then if party.is_leader() then snowdungeon.start() end else if pc.is_gm() then snowdungeon.start() end end end -- FUNCTII ------ when 20398.take begin if d.getf("actual_round") == 5 then if item.get_vnum() == 30332 then ---------------------------------- local sequence = {{1,2,3,4,5,5},{4,3,2,1,5,5},{4,5,3,1,2,2},{5,3,4,2,1,1},{5,1,3,4,2,2}} if snowdungeon.GetPillarID() == sequence[d.getf("sequence")][d.getf("box_opened")] then pc.remove_item(item.get_vnum(),1) npc.purge() d.setf("box_opened", d.getf("box_opened")+1) if d.getf("box_opened") == 6 then d.notice("[Turnul lui Nemeres] Sigiliile au fost deschise") d.notice("[Turnul lui Nemeres] Vei urca la nivelul 6") snowdungeon.purge() timer("nextlevel",10) else d.notice("[Turnul lui Nemeres]Mai ai "..6-d.getf("box_opened").." sigili de deschis!") end elseif snowdungeon.GetPillarID() == false then syschat("Dute mai aproape si trage cheia !") elseif snowdungeon.GetPillarID() != sequence[d.getf("sequence")][d.getf("box_opened")] then pc.remove_item(item.get_vnum(),1) syschat("[Turnul lui Nemeres]Nu ai pus cheia pe sigiliul corect, cauta altul !") end ---------------------------------- end end end when 30331.use begin if d.getf("actual_round") == 2 then if pc.get_job() == 3 or pc.get_job() == 7 then if number(1,8) == 5 then d.notice("[Turnul lui Nemeres] Ai avut noroc. Cheia a fost perfecta.") d.notice("[Turnul lui Nemeres] Imediat vei fi dus la urmatorul nivel.") snowdungeon.purge() timer("nextlevel",10) else syschat("[Turnul lui Nemeres] Cheia nu a fost destul de puternica si sa spart.") syschat("[Turnul lui Nemeres] Incearca din nou.") pc.remove_item(30331,1) end else syschat("Doar un saman curajos poate folosi aceasta cheie.") end end end when 30333.use begin if pc.get_job() == 3 or pc.get_job() == 7 or pc.get_job() == 1 or pc.get_job() == 5 then if d.getf("actual_round") == 8 then if number(1,8) == 5 then d.notice("[Turnul lui Nemeres] Ai avut noroc. Cheia a fost perfecta.") d.notice("[Turnul lui Nemeres] Imediat vei fi dus la urmatorul nivel.") snowdungeon.purge() timer("nextlevel",10) else d.notice("[Turnul lui Nemeres] Cheia nu a fost destul de puternica si sa spart.") d.notice("[Turnul lui Nemeres] Incearca din nou.") pc.remove_item(30333,1) end else syschat("Doar un saman sau un ninja curajos poate folosi aceasta cheie.") end end end when kill with pc.get_map_index() >= 2400000 and pc.get_map_index() <= 2405000 begin if d.getf("actual_round") == 6 and npc.get_race() == 8058 then d.notice("[Turnul lui Nemeres] Felicitari , ai distrus sursa puterilor lui Nemeres") d.notice("[Turnul lui Nemeres] In cateva momente vei urca la nivelul 7.") timer("nextlevel",10) end if d.getf("actual_round") == 7 and npc.get_race() == 6151 then d.notice("[Turnul lui Nemeres] Felicitari , uciderea lui Szel te-a adus cu un pas mai") d.notice("[Turnul lui Nemeres] aproare de batalian cu Nemeres") snowdungeon.purge() timer("nextlevel",10) end if d.getf("actual_round") == 9 and npc.get_race() == 20399 then d.notice("[Turnul lui Nemeres] Ultimul pilon din defensiva lui Nemeres a fost daramat") d.notice("[Turnul lui Nemeres] Sufletul leului de gheata a aparut.") snowdungeon.purge() d.spawn_mob(20397, 848, 669) end if d.getf("actual_round") == 10 and npc.get_race() == 6191 then d.notice("[Turnul lui Nemeres] Felicitari lai invins pe Nemeres !") notice_all("Cu o ultimã suflare de sperantã liderul "..pc.get_name().."") notice_all("Urmat de rãzboinici lui de încredere, au reusit sã-l învingã pe temutul Nemeres.") d.setf("actual_round","0") ------------------ local time = get_time() d.setqf2("snowdungeon","daily_nemeres_last_kill", time) d.setqf2("snowdungeon","daily_nemeres", 1) ------------------ d.clear_regen() d.kill_all() d.spawn_mob(9012, 928, 338) timer("exit_snow", 60) d.notice("In 60 de secunde veti fi teleportati afara.") end if d.getf("actual_round") == 1 then d.setf("kill_count_sd1",d.getf("kill_count_sd1") +1) if d.getf("kill_count_sd1") == d.getf("sd_kill_to_next") then d.notice("[Turnul lui Nemeres] Ai terminat primul nivel.") d.notice("[Turnul lui Nemeres] In cateva momente vei urca la nivelul 2.") snowdungeon.purge() timer("nextlevel",10) end elseif d.getf("actual_round") == 2 then if number(1,20) == 11 then game.drop_item_with_ownership(30331,1) end elseif d.getf("actual_round") == 3 then d.setf("kill_count_sd3",d.getf("kill_count_sd3") +1) if d.getf("kill_count_sd3") == d.getf("sd3_kill_to_next") then snowdungeon.purge() d.notice("[Turnul lui Nemeres] Ai terminat al 3lea nivel.") d.notice("[Turnul lui Nemeres] In cateva momente vei urca la nivelul 4.") timer("nextlevel",10) end elseif d.getf("actual_round") == 4 then d.setf("kill_count_sd4",d.getf("kill_count_sd4") +1) if d.getf("kill_count_sd4") == d.getf("sd4_kill_to_next") then snowdungeon.purge() d.notice("[Turnul lui Nemeres] Al doilea val a fost nimicit.") d.notice("[Turnul lui Nemeres] In cateva momente vei urca la nivelul 5.") timer("nextlevel",10) end elseif d.getf("actual_round") == 5 then if number(1,25) == 19 then game.drop_item_with_ownership(30332,1) end elseif d.getf("actual_round") == 6 then d.setf("kill_count_sd6",d.getf("kill_count_sd6") +1) if d.getf("kill_count_sd6") == d.getf("sd6_kill_to_next") then d.notice("[Turnul lui Nemeres] Ce se intampla ? Se zareste ceva albastru pe cer !?") snowdungeon.purge() timer("level7metin",5) end elseif d.getf("actual_round") == 8 then if number(1,25) == 11 then game.drop_item_with_ownership(30333,1) end end end ------ when level7metin.timer begin if d.getf("actual_round") == 6 then d.spawn_mob(8058, 743, 495) end end when nextlevel.timer begin if d.getf("actual_round") == 1 then -- NIVEL 2 d.jump_all(5120+421,1536+264) d.setf("actual_round",2) d.set_regen_file("data/dungeon/snowdungeon/nivel_2.txt") d.notice("[Turnul lui Nemeres] Ai ajuns la nivelul 2") d.notice("[Turnul lui Nemeres] Cauta Cheia pentru a putea avansa la urmatorul nivel.") elseif d.getf("actual_round") == 2 then -- NIVEL 3 d.jump_all(5120+761,1536+268) d.setf("actual_round",3) d.setf("kill_count_sd3","0") d.setf("sd3_kill_to_next","300") -- NUMARUL DE MOBI PANA LA URMATORUL NIVEL DE MODIFICAT in 250 d.set_regen_file("data/dungeon/snowdungeon/nivel_3.txt") d.notice("[Turnul lui Nemeres] Ai ajuns la nivelul 3") d.notice("[Turnul lui Nemeres] Ucide armata lui Nemeres pentru a putea avansa.") elseif d.getf("actual_round") == 3 then -- NIVEL 4 d.jump_all(5120+174,1536+526) d.setf("actual_round",4) d.setf("kill_count_sd4","0") d.setf("sd4_kill_to_next","300") -- NUMARUL DE MOBI PANA LA URMATORUL NIVEL DE MODIFICAT in 250 d.set_regen_file("data/dungeon/snowdungeon/nivel_4.txt") d.notice("[Turnul lui Nemeres] Ai ajuns la nivelul 4 ! Un alt val din armata lui Nemeres ataca pe neasteptate.") d.notice("[Turnul lui Nemeres] Distrugei pe toti pentru a putea avansa.") elseif d.getf("actual_round") == 4 then -- NIVEL 5 d.jump_all(5120+421,1536+533) d.setf("actual_round",5) d.set_regen_file("data/dungeon/snowdungeon/nivel_5.txt") ------------- local sequence = {{1,2,3,4,5},{4,3,2,1,5},{4,5,3,1,2},{5,3,4,2,1},{5,1,3,4,2}} local n = number(1,5) local coords = {{391,490},{451,490},{463,455},{380,456},{420,422}} for i = 1, 5 do d.spawn_mob(20398, coords[i][1],coords[i][2]) end d.setf("box_opened", 1) d.setf("sequence",n) ----------- d.notice("[Turnul lui Nemeres] Ai ajuns la nivelul 5") d.notice("[Turnul lui Nemeres] Trecerea este sigilata de gheata.") d.notice("[Turnul lui Nemeres] Deschide sigiliile pentru a putea avansa.") elseif d.getf("actual_round") == 5 then -- NIVEL 6 d.jump_all(5120+746,1536+536) d.setf("actual_round",6) d.setf("kill_count_sd6","0") d.setf("sd6_kill_to_next","200") -- NUMARUL DE MOBI PANA LA URMATORUL NIVEL DE MODIFICAT in 250 d.set_regen_file("data/dungeon/snowdungeon/nivel_6.txt") d.notice("[Turnul lui Nemeres] Ai ajuns la nivelul 6") d.notice("[Turnul lui Nemeres] Trupele lu Nemeres au inceput sa se destrame") elseif d.getf("actual_round") == 6 then -- NIVEL 7 d.jump_all(5120+304,1536+719) d.setf("actual_round",7) d.regen_file("data/dungeon/snowdungeon/nivel_7.txt") d.spawn_mob(6109, 326, 657) d.spawn_mob(6109, 302, 635) d.spawn_mob(6151, 282, 662) elseif d.getf("actual_round") == 7 then -- NIVEL 8 d.jump_all(5120+569,1536+642) d.setf("actual_round",8) d.set_regen_file("data/dungeon/snowdungeon/nivel_8.txt") d.notice("[Turnul lui Nemeres] Ai ajuns la nivelul 8") elseif d.getf("actual_round") == 8 then -- NIVEL 9 d.notice("[Turnul lui Nemeres] Ai ajuns la nivelul 9") d.jump_all(5120+848,1536+689) d.set_regen_file("data/dungeon/snowdungeon/nivel_9.txt") d.setf("actual_round",9) d.spawn_mob(20399, 849, 659) elseif d.getf("actual_round") == 9 then -- NIVEL 10 BOSS ROOM d.setf("used_statue", 0) d.spawn_mob(6191, 927, 323) d.jump_all(5120+928,1536+390) d.setf("actual_round",10) d.set_regen_file("data/dungeon/snowdungeon/nivel_10.txt") end snowdungeon.NoticeTime() end function start() d.set_regen_file("data/dungeon/snowdungeon/nivel_1.txt") d.setf("actual_round",1) d.setf("time", get_time()+60*60*1) d.setf("sd_kill_to_next",300) --------------------------------------------------- DE MODIFICAT LA FINAL in 300 d.setf("kill_count_sd1",0) server_timer("snowdungeontime",3600,pc.get_map_index()) --server_loop_timer("snowdungeontimenotice",300) snowdungeon.NoticeTime() end when snowdungeontimenotice.server_timer begin if pc.get_map_index()<= 2405000 then snowdungeon.NoticeTime() end end function GetPillarID() if pc.get_local_x() >= 391 - 5 and pc.get_local_x() <= 391 + 5 and pc.get_local_y() >= 490 - 5 and pc.get_local_y() <= 490 + 5 then return 1 elseif pc.get_local_x() >= 451 - 5 and pc.get_local_x() <= 451 + 5 and pc.get_local_y() >= 490 - 5 and pc.get_local_y() <= 490 + 5 then return 2 elseif pc.get_local_x() >= 463 - 5 and pc.get_local_x() <= 463 + 5 and pc.get_local_y() >= 455 - 5 and pc.get_local_y() <= 455 + 5 then return 3 elseif pc.get_local_x() >= 380 - 5 and pc.get_local_x() <= 380 + 5 and pc.get_local_y() >= 456 - 5 and pc.get_local_y() <= 456 + 5 then return 4 elseif pc.get_local_x() >= 420 - 5 and pc.get_local_x() <= 420 + 5 and pc.get_local_y() >= 422 - 5 and pc.get_local_y() <= 422 + 5 then return 5 else return false end end when snowdungeontime.server_timer begin if d.select(get_server_timer_arg()) then d.notice("Ai la dispozitie!") d.exit_all() end end when exit_snow.timer begin d.exit_all() end function NoticeTime() local secondsLeft = (d.getf("time") - get_time()) local minutesLeft = math.ceil(secondsLeft / 60) d.notice("[Turnul lui Nemeres]Timp Ramas: "..minutesLeft.." Minute!") end function purge() d.kill_all() d.clear_regen() end -- FINAL DE QUEST end end
why not put the source where you got resources???I'll tell you!are taken from my ServerFiles
phemios.net!
-
please give me 1 client compatibile with this game vanilla core 2.4.1
sorry for my bad english
-
-
Good evening metin2dev
a while looking translate.lua translated into English, but can not find
in case someone can post it free or for a fee, are willing to pay!
Excuse my bad English -
Source discussions, questions, answers
in Community Support - Questions & Answers
Posted
up