Jump to content

VDI FreeBSD 9.2 / Compilable Sources


Recommended Posts

Thank you friend for this VM :)

You could say we all PORTS you to install?

 

 
As I meet all the time this very annoying bug!
 
db
Real Server
Log OffAsyncSQL: connected to localhost (reconnect 1)
Success PLAYER
AsyncSQL: connected to localhost (reconnect 1)
Success ACCOUNT
AsyncSQL: connected to localhost (reconnect 1)
Success COMMON
AsyncSQL: connected to localhost (reconnect 1)
Success HOTBACKUP
Segmentation fault (core dumped)

backtrace

#0  0x28331930 in strtoul_l () from /lib/libc.so.7
#1  0x28331b9d in strtoul () from /lib/libc.so.7
#2  0x080ce2ab in mysql_set_character_set ()
#3  0x080d6ab5 in CAsyncSQL::QueryLocaleSet ()
#4  0x08051100 in CDBManager::SetLocale (this=0x28421b00, szLocale=0x28456a0c "latin1") at DBManager.cpp:172
#5  0x0805d2e5 in CClientManager::InitializeLocalization (this=0xbfbfd39c) at ClientManager.cpp:3686
#6  0x0805dfcd in CClientManager::Initialize (this=0xbfbfd39c) at ClientManager.cpp:95
#7  0x0804fece in Start () at Main.cpp:381
#8  0x080500e5 in main () at Main.cpp:88

 

i cant start a server in this freebsd :/

 

04308-db412c8a-79a8-459b-98ee-50a73ef39c

 

And this error while compile the db.

nst':
CsvReader.cpp:72: warning: left-hand operand of comma has no effect
CsvReader.cpp:72: warning: right-hand operand of comma has no effect
CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const':
CsvReader.cpp:90: warning: left-hand operand of comma has no effect
CsvReader.cpp:90: warning: right-hand operand of comma has no effect
p4: not found
linking ...
/usr/bin/ld: cannot find -lmysqlclient
gmake: *** [../db_r] Error 1
root@host:/usr/src/mainline/Srcs/Server/db/src #
Edited by Metin2 Dev
Core X - External 2 Internal
 
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
In file included from char.cpp:25:
shop_manager.h:40:7: warning: no newline at end of file
In file included from char.cpp:62:
PetSystem.h:163:31: warning: no newline at end of file
char.cpp:7234: warning: this decimal constant is unsigned only in ISO C90
char.cpp:7242:2: warning: no newline at end of file
compile char_change_empire.cpp
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file
compile char_horse.cpp
compile char_item.cpp
compile char_manager.cpp
In file included from char_item.cpp:47:
belt_inventory_helper.h:108:42: warning: no newline at end of file
compile char_quickslot.cpp
compile char_resist.cpp
compile char_skill.cpp
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)                                                                                                                                                         ':
char.cpp:3079: warning: comparison between signed and unsigned integer expressio                                                                                                                                                         ns
compile char_state.cpp
compile PetSystem.cpp
compile cmd.cpp
In file included from char_item.cpp:47:
belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHe                                                                                                                                                         lper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned inte                                                                                                                                                         ger expressions
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYT                                                                                                                                                         E, int) const':
char_item.cpp:642: warning: comparison is always false due to limited range of d                                                                                                                                                         ata type
char_item.cpp:668: warning: comparison is always false due to limited range of d                                                                                                                                                         ata type
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
char_item.cpp:2389: warning: format '%d' expects type 'int', but argument 6 has                                                                                                                                                          type 'long int'
char_item.cpp:2393: warning: format '%d' expects type 'int', but argument 6 has                                                                                                                                                          type 'long int'
char_item.cpp:2405: warning: format '%d' expects type 'int', but argument 5 has                                                                                                                                                          type 'long int'
char_item.cpp:2409: warning: format '%d' expects type 'int', but argument 5 has                                                                                                                                                          type 'long int'
char_item.cpp:2436: warning: format '%d' expects type 'int', but argument 6 has                                                                                                                                                          type 'long int'
char_item.cpp:2444: warning: format '%d' expects type 'int', but argument 5 has                                                                                                                                                          type 'long int'
In file included from PetSystem.cpp:8:
PetSystem.h:163:31: warning: no newline at end of file
PetSystem.cpp:637:2: warning: no newline at end of file
compile cmd_emotion.cpp
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5156: warning: unused variable 'wDestCell'
char_item.cpp:5157: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6131: warning: array subscript has type 'char'
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(C                                                                                                                                                         Item*)':
char_item.cpp:6195: warning: comparison between signed and unsigned integer expr                                                                                                                                                         essions
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromIte                                                                                                                                                         m(CItem*)':
char_item.cpp:6207: warning: comparison between signed and unsigned integer expr                                                                                                                                                         essions
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TIt                                                                                                                                                         emPos&, const TItemPos&)':
char_item.cpp:7391: warning: unused variable 'itemType'
char_item.cpp:7392: warning: unused variable 'itemSubType'
compile cmd_general.cpp
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYT                                                                                                                                                         E, int) const':
char_item.cpp:681: warning: control reaches end of non-void function
compile cmd_gm.cpp
compile cmd_oxevent.cpp
compile config.cpp
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901: warning: unused variable 'rider'
compile constants.cpp
compile crc32.cpp
compile cube.cpp
constants.cpp:291: warning: this decimal constant is unsigned only in ISO C90
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
compile db.cpp
compile desc.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_client.cpp
compile desc_manager.cpp
compile desc_p2p.cpp
In file included from desc_manager.cpp:15:
ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
compile dev_log.cpp
compile dungeon.cpp
compile empire_text_convert.cpp
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE,                                                                                                                                                          BYTE, BYTE)':
char_item.cpp:6242: warning: 'pBuff' may be used uninitialized in this function
compile entity.cpp
compile entity_view.cpp
cube.cpp: In function 'bool Cube_make(CHARACTER*)':
cube.cpp:544: warning: comparison between signed and unsigned integer expression                                                                                                                                                         s
cube.cpp: In function 'void Cube_MakeCubeInformationText()':
cube.cpp:716: warning: unused variable 'npcVNUM'
cube.cpp: In function 'void Cube_InformationInitialize()':
cube.cpp:783: warning: comparison between signed and unsigned integer expression                                                                                                                                                         s
desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD                                                                                                                                                         , bool)':
desc_client.cpp:299: warning: comparison between signed and unsigned integer exp                                                                                                                                                         ressions
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:3926: warning: NULL used in arithmetic
config.cpp: In function 'void config_init(const std::string&)':
config.cpp:453: warning: NULL used in arithmetic
config.cpp:477: warning: NULL used in arithmetic
config.cpp:501: warning: NULL used in arithmetic
config.cpp:523: warning: unused variable 'line'
compile event.cpp
compile event_queue.cpp
compile exchange.cpp
compile file_loader.cpp
compile fishing.cpp
compile gm.cpp
compile guild.cpp
compile guild_manager.cpp
compile guild_war.cpp
compile horse_rider.cpp
compile horsename_manager.cpp
cmd_gm.cpp:3968: warning: 'n' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4348: warning: 'cell' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:852: warning: 'x' may be used uninitialized in this function
cmd_gm.cpp:852: warning: 'y' may be used uninitialized in this function
compile input.cpp
compile input_auth.cpp
compile input_db.cpp
compile input_login.cpp
compile input_main.cpp
compile input_p2p.cpp
In file included from input_main.cpp:16:
shop_manager.h:40:7: warning: no newline at end of file
In file included from input_db.cpp:13:
shop_manager.h:40:7: warning: no newline at end of file
input_db.cpp:2723:2: warning: no newline at end of file
compile input_teen.cpp
input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, con                                                                                                                                                         st char*, char*)':
input_auth.cpp:465: warning: unused variable 'last'
compile input_udp.cpp
compile ip_ban.cpp
compile item.cpp
compile item_addon.cpp
In file included from item.cpp:22:
belt_inventory_helper.h:108:42: warning: no newline at end of file
item.cpp:2084:2: warning: no newline at end of file
compile item_attribute.cpp
compile item_manager.cpp
input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*                                                                                                                                                         , size_t)':
input_main.cpp:704: warning: unused variable 'len'
input_main.cpp:706: warning: unused variable 'len'
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 CBeltInventoryHe                                                                                                                                                         lper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned inte                                                                                                                                                         ger 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:1725: warning: unused variable 'vnum'
item.cpp: In member function 'bool CItem::CanPutInto(CItem*)':
item.cpp:1758: warning: comparison between signed and unsigned integer expressio                                                                                                                                                         ns
item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':
item.cpp:2014: warning: comparison between signed and unsigned integer expressio                                                                                                                                                         ns
item.cpp:2016: warning: comparison between signed and unsigned integer expressio                                                                                                                                                         ns
item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':
item.cpp:2038: warning: comparison between signed and unsigned integer expressio                                                                                                                                                         ns
item.cpp: In member function 'int CItem::GetDuration()':
item.cpp:2069: warning: array subscript has type 'char'
compile locale_service.cpp
compile log.cpp
compile login_data.cpp
input_main.cpp: In function 'int ProcessTextTag(CHARACTER*, const char*, size_t)                                                                                                                                                         ':
input_main.cpp:252: warning: 'nPrismCount' may be used uninitialized in this fun                                                                                                                                                         ction
compile lzo_manager.cpp
item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)'                                                                                                                                                         :
item_manager.cpp:612: warning: comparison between signed and unsigned integer ex                                                                                                                                                         pressions
compile marriage.cpp
compile matrix_card.cpp
input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*                                                                                                                                                         , size_t)':
input_main.cpp:720: warning: 'len' is used uninitialized in this function
compile messenger_manager.cpp
compile mining.cpp
compile mob_manager.cpp
compile monarch.cpp
compile motion.cpp
monarch.cpp:276:2: warning: no newline at end of file
compile over9refine.cpp
compile p2p.cpp
compile packet_info.cpp
p2p.cpp:286:2: warning: no newline at end of file
compile party.cpp
compile passpod.cpp
party.cpp:1737:2: warning: no newline at end of file
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
questlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(CHAR                                                                                                                                                         ACTER*)':
questlua.cpp:78: warning: 'returnBool' may be used uninitialized in this functio                                                                                                                                                         n
compile questlua_game.cpp
compile questlua_global.cpp
compile questlua_guild.cpp
compile questlua_horse.cpp
compile questlua_pet.cpp
compile questlua_item.cpp
In file included from questlua_pet.cpp:11:
PetSystem.h:163:31: warning: no newline at end of file
questlua_pet.cpp:157:2: warning: no newline at end of file
compile questlua_marriage.cpp
compile questlua_mgmt.cpp
compile questlua_monarch.cpp
compile questlua_npc.cpp
compile questlua_oxevent.cpp
In file included from questlua_npc.cpp:9:
shop_manager.h:40:7: warning: no newline at end of file
compile questlua_party.cpp
compile questlua_pc.cpp
compile questlua_quest.cpp
compile questlua_target.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 questmanager.cpp
compile questnpc.cpp
compile questpc.cpp
compile refine.cpp
compile regen.cpp
compile safebox.cpp
questnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)'                                                                                                                                                         :
questnpc.cpp:500: warning: unused variable 'pPC'
compile sectree.cpp
compile sectree_manager.cpp
compile sequence.cpp
compile shop.cpp
compile skill.cpp
compile start_position.cpp
compile target.cpp
compile text_file_loader.cpp
compile trigger.cpp
shop.cpp:595:2: warning: no newline at end of file
compile utils.cpp
In file included from trigger.cpp:8:
shop_manager.h:40:7: warning: no newline at end of file
compile vector.cpp
compile war_map.cpp
utils.cpp: In function 'bool WildCaseCmp(const char*, const char*)':
utils.cpp:244: warning: NULL used in arithmetic
utils.cpp:256: warning: NULL used in arithmetic
utils.cpp:270: warning: NULL used in arithmetic
compile wedding.cpp
shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':
shop.cpp:586: warning: comparison between signed and unsigned integer expression                                                                                                                                                         s
compile xmas_event.cpp
compile panama.cpp
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 XTrapManager.cpp
compile auction_manager.cpp
compile FileMonitor_FreeBSD.cpp
compile ClientPackageCryptInfo.cpp
FileMonitor_FreeBSD.cpp:136:2: warning: no newline at end of file
compile cipher.cpp
In file included from ClientPackageCryptInfo.cpp:2:
ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
compile buff_on_attributes.cpp
compile dragon_soul_table.cpp
ClientPackageCryptInfo.h: In constructor 'CClientPackageCryptInfo::CClientPackag                                                                                                                                                         eCryptInfo()':
ClientPackageCryptInfo.h:50: warning: 'CClientPackageCryptInfo::m_pSerializedCry                                                                                                                                                         ptKeyStream' will be initialized after
ClientPackageCryptInfo.h:48: warning:   'int CClientPackageCryptInfo::m_nCryptKe                                                                                                                                                         yPackageCnt'
ClientPackageCryptInfo.cpp:9: warning:   when initialized here
In file included from dragon_soul_table.cpp:4:
dragon_soul_table.h:74:7: warning: no newline at end of file
compile DragonSoul.cpp
../../../Extern/include/cryptopp/algparam.h: In constructor 'CryptoPP::ConstByte                                                                                                                                                         ArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_str                                                                                                                                                         ing<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 'crypto                                                                                                                                                         pp_assert_26'
../../../Extern/include/cryptopp/algparam.h: In member function 'void CryptoPP::                                                                                                                                                         AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::Random                                                                                                                                                         NumberGenerator*]':
cipher.cpp:397:   instantiated from here
../../../Extern/include/cryptopp/algparam.h:322: warning: unused variable 'p'
compile group_text_parse_tree.cpp
buff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffVa                                                                                                                                                         lue(BYTE)':
buff_on_attributes.cpp:112: warning: unused variable 'old_value'
buff_on_attributes.cpp:113: warning: unused variable 'new_value'
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::ReadAdditionalA                                                                                                                                                         pplys()':
dragon_soul_table.cpp:223: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckApplyNumSe                                                                                                                                                         ttings()':
dragon_soul_table.cpp:283: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckWeightTabl                                                                                                                                                         es()':
dragon_soul_table.cpp:311: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineGrad                                                                                                                                                         eTables()':
dragon_soul_table.cpp:343: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp:372: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStep                                                                                                                                                         Tables()':
dragon_soul_table.cpp:397: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp:427: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStre                                                                                                                                                         ngthTables()':
dragon_soul_table.cpp:453: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonHear                                                                                                                                                         tExtTables()':
dragon_soul_table.cpp:494: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp:513: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp:522: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonSoul                                                                                                                                                         ExtTables()':
dragon_soul_table.cpp:545: warning: comparison between signed and unsigned integ                                                                                                                                                         er expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::Get                                                                                                                                                         Value(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 int                                                                                                                                                         eger expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::Get                                                                                                                                                         Value(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 int                                                                                                                                                         eger expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::Get                                                                                                                                                         Value(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 int                                                                                                                                                         eger expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::Get                                                                                                                                                         Value(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 int                                                                                                                                                         eger expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::Get                                                                                                                                                         Value(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 int                                                                                                                                                         eger expressions
In file included from DragonSoul.cpp:9:
dragon_soul_table.h:74:7: warning: no newline at end of file
compile char_dragonsoul.cpp
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::Get                                                                                                                                                         Value(int, T&) const [with T = int]':
group_text_parse_tree.h:159:   instantiated from 'bool CGroupNode::GetValue(cons                                                                                                                                                         t 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 int                                                                                                                                                         eger expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::Get                                                                                                                                                         Value(int, T&) const [with T = unsigned int]':
group_text_parse_tree.h:159:   instantiated from 'bool CGroupNode::GetValue(cons                                                                                                                                                         t 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 int                                                                                                                                                         eger expressions
compile questlua_dragonsoul.cpp
group_text_parse_tree.h: In constructor 'CGroupTextParseTreeLoader::CGroupTextPa                                                                                                                                                         rseTreeLoader()':
group_text_parse_tree.h:93: warning: 'CGroupTextParseTreeLoader::m_dwcurLineInde                                                                                                                                                         x' 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::L                                                                                                                                                         oadGroup(CGroupNode*)':
group_text_parse_tree.cpp:99: warning: comparison between signed and unsigned in                                                                                                                                                         teger expressions
group_text_parse_tree.cpp: In member function 'bool CGroupNode::GetRow(int, cons                                                                                                                                                         t CGroupNode::CGroupNodeRow**) const':
group_text_parse_tree.cpp:206: warning: comparison between signed and unsigned i                                                                                                                                                         nteger expressions
char_dragonsoul.cpp:143:2: warning: no newline at end of file
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 expre                                                                                                                                                         ssions
DragonSoul.cpp:25: warning: comparison between signed and unsigned integer expre                                                                                                                                                         ssions
DragonSoul.cpp: In member function 'bool DSManager::RefreshItemAttributes(CItem*                                                                                                                                                         )':
DragonSoul.cpp:203: warning: comparison between signed and unsigned integer expr                                                                                                                                                         essions
DragonSoul.cpp: In member function 'bool DSManager::PutAttributes(CItem*)':
DragonSoul.cpp:273: warning: comparison between signed and unsigned integer expr                                                                                                                                                         essions
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*, TI                                                                                                                                                         temPos (&)[15])':
DragonSoul.cpp:555: warning: unused variable 'prob_sum'
DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(CHARACTER*, TIt                                                                                                                                                         emPos (&)[15])':
DragonSoul.cpp:763: warning: unused variable 'sum'
compile shopEx.cpp
In file included from shop_manager.cpp:22:
shop_manager.h:40:7: warning: no newline at end of file
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 shutdown_manager.cpp
shutdown_manager.cpp:173:2: warning: no newline at end of file
shutdown_manager.cpp: In member function 'int CShutdownManager::SearchDesc(DESC*                                                                                                                                                         )':
shutdown_manager.cpp:90: warning: comparison between signed and unsigned integer                                                                                                                                                          expressions
shopEx.cpp: In member function 'virtual int CShopEx::Buy(CHARACTER*, BYTE)':
shopEx.cpp:159: warning: comparison between signed and unsigned integer expressi                                                                                                                                                         ons
compile minilzo.c
shop_manager.cpp: In function 'bool ConvertToShopItemTable(CGroupNode*, TShopTab                                                                                                                                                         leEx&)':
shop_manager.cpp:473: warning: comparison between signed and unsigned integer ex                                                                                                                                                         pressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::Get                                                                                                                                                         Value(int, T&) const [with T = unsigned int]':
group_text_parse_tree.h:175:   instantiated from 'bool CGroupNode::GetValue(cons                                                                                                                                                         t 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 int                                                                                                                                                         eger expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::Get                                                                                                                                                         Value(int, T&) const [with T = std::basic_string<char, std::char_traits<char>, s                                                                                                                                                         td::allocator<char> >]':
group_text_parse_tree.h:175:   instantiated from 'bool CGroupNode::GetValue(cons                                                                                                                                                         t 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 int                                                                                                                                                         eger expressions
group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::Get                                                                                                                                                         Value(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 int                                                                                                                                                         eger expressions
item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonster                                                                                                                                                         DropItemGroup(const char*)':
item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup'
item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized i                                                                                                                                                         n this function
../../../Extern/include/cryptopp/misc.h: At global scope:
../../../Extern/include/cryptopp/misc.h:548: warning: 'std::string CryptoPP::Str                                                                                                                                                         ingNarrow(const wchar_t*, bool)' defined but not used
linking ../game_r40250_32....
linking ../test

 

  • Love 1

mainline

https://metin2.download/picture/5E5JSnaWrQfc0i1Z6676m2J9WC8hyR0g/.png

 

someone help me fix to compile?

Edited by Metin2 Dev
Core X - External 2 Internal
"Some come to see you fall, others come pick you up
Some come make you smile, others will make you cry
Some lie by lie, lie to deceive others "

 

#include <stdio.h>

void WriteVersion()
{
#ifndef __WIN32__
    FILE* fp = fopen("VERSION.txt", "w");

    if (fp)
    {
        fprintf(fp, "game perforce revision: %sn", __P4_VERSION__);
        fprintf(fp, "%s@%s:%sn", __USER__, __HOSTNAME__, __PWD__);
        fclose(fp);
    }
#endif
}
"Some come to see you fall, others come pick you up
Some come make you smile, others will make you cry
Some lie by lie, lie to deceive others "

 

compilei novaline = syserr

SYSERR: Mar 30 19:55:11 :: ChildLoop: AsyncSQL: query failed: Table 'm2_sinval_log.invalid_server_log' doesn't exist (query: INSERT INTO invalid_server_log(locale_type, log_date, ip, revision) VALUES(14, NOW(), '25.181.49.100', 40250) errno: 1146)

Some correction? ?

"Some come to see you fall, others come pick you up
Some come make you smile, others will make you cry
Some lie by lie, lie to deceive others "

 

  • Premium

¿Puede alguien ayudarme ? logré compilar la fuente sólo cuando enciendo mi servidor con el núcleo del juego de la raíz de error. / libexec/ld-elf.so.1: / home/metin2/game/share/game: Indefinido símbolo "_ThreadRuneLocale"

 

anyone has solution

I managed to compile the game file. I put it on the server, it starts, but receives the following error message: 
 
SYSERR: Apr 16 20:14:55 :: LoadPackageCryptInfo: [PackageCryptInfo] Failed to load package/cshybridcrypt_metin2_patch_sg1.dat
SYSERR: Apr 16 20:14:55 :: ChildLoop: AsyncSQL: query failed: Table 'log.invalid_server_log' doesn't exist (query: INSERT INTO invalid_server_log(locale_type, log_date, ip, revision) VALUES(6, NOW(), '192.168.1.110', 40250) errno: 1146)
SYSERR: Apr 16 20:14:57 :: Boot: item table size error
 
 
My question is the following: 
 
How can I get out of the game in the package control file? 
And what is the item table size error?
 
I'm sorry, my English is bad  :D

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.