Aller au contenu
Top-Metin2.org - Vous êtes à la recherche d'un serveur Metin 2 ? ×
×
×
  • Créer...
  • 0

probleme compile game


Djo-viper

Question

bonjour , je reviens vous demander de l'aide 

j’étais en file 2012 , mais étant donner que je n'avais pas de source , j'ai décider de passer en 2014 , mais je me suis rendu compte que je n'avais toujours pas de source vus que jus upgrade les file , et non pris une vm complète . 

du coup j'ai pus vois dans la section tutoriel qu'il y avais une VM spécialement pour cela , je les donc prise.

j'ai fait un test pour vois si j'arriver a compiler ( voir si javais bien compris les commande etc )

pas de problème , le game 40250 ces bien créer ( plus léger par contre que le mien  et sur mon dédier , ne lancer pas les allow des map au sh start.sh donc serveur off ).

donc pour êtres bien sur ,

j'ai pris les source qui étais disponible en 2014 sur ce topic ci : 

 

j'ai mis tout les fichier cpp .a de \mainline\Srcs\Server\game\src et mis dans la vm ,

test de compile mais s’arrête sur une erreur ( xxxx.o ).

donc mon game n'est pas creer .

je voulais savoir s'il y a une modif a faire dans les fichier a faire pour pouvoir compiler dessus ?

j'ai pus voir dans les tuto , qu'il y avais le makefile a modif , chose tester , même résultat , mettre g++ 48 /49 celon la version installer , tester les deux , pas de game , 

donc je vien vers vous pour une demande d'aide 

car malgrés la recherche sur le forum ( avec la fonction recherche comprise ) plus d'une semaine de recherche sur les site etrenger ( epvp metin4ro just4metin turkmmo etc) , je ne trouve pas de solution

Lien vers le commentaire
Partager sur d’autres sites

  • Réponses 7
  • Créé
  • Dernière réponse

Meilleurs contributeurs dans cette question

Meilleurs contributeurs dans cette question

7 réponses à cette question

Messages recommandés

  • 0

 

root@host:~ # cd /usr/src/mainline/Srcs/Server/game/srcroot@host:/usr/src/mainline/Srcs/Server/game/src # gmake cleanroot@host:/usr/src/mainline/Srcs/Server/game/src # gmake -j20compile BattleArena.cppcompile FSM.cppcompile MarkConvert.cppcompile MarkImage.cppcompile MarkManager.cppcompile OXEvent.cppcompile TrafficProfiler.cppcompile ani.cppcompile arena.cppcompile banword.cppcompile battle.cppcompile blend_item.cppcompile block_country.cppcompile buffer_manager.cppcompile building.cppcompile castle.cppcompile char.cppcompile char_affect.cppcompile char_battle.cppcompile char_change_empire.cppIn file included from char_battle.cpp:27:shop_manager.h:40:7: warning: no newline at end of filecompile char_horse.cppIn file included from char.cpp:4:../../common/VnumHelper.h:59:32: warning: no newline at end of fileIn file included from char_horse.cpp:14:../../common/VnumHelper.h:59:32: warning: no newline at end of fileIn file included from char.cpp:25:shop_manager.h:40:7: warning: no newline at end of filecompile char_item.cppIn file included from char.cpp:62:PetSystem.h:163:31: warning: no newline at end of filechar.cpp:7221: warning: this decimal constant is unsigned only in ISO C90compile char_manager.cppcompile char_quickslot.cppIn file included from char_item.cpp:44:../../common/VnumHelper.h:59:32: warning: no newline at end of fileIn file included from char_item.cpp:47:belt_inventory_helper.h:108:42: warning: no newline at end of filecompile char_resist.cppcompile char_skill.cppcompile char_state.cppcompile PetSystem.cppcompile cmd.cppIn file included from PetSystem.cpp:8:PetSystem.h:163:31: warning: no newline at end of fileIn file included from PetSystem.cpp:9:../../common/VnumHelper.h:59:32: warning: no newline at end of filePetSystem.cpp:637:2: warning: no newline at end of fileIn file included from char_state.cpp:25:../../common/VnumHelper.h:59:32: warning: no newline at end of filecompile cmd_emotion.cppchar_state.cpp: In member function 'virtual void CHARACTER::StateMove()':char_state.cpp:901: warning: unused variable 'rider'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 cmd_general.cppcompile cmd_gm.cppIn file included from cmd_general.cpp:36:../../common/VnumHelper.h:59:32: warning: no newline at end of filecompile cmd_oxevent.cppIn 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 expressionschar_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 typechar_item.cpp:666: warning: comparison is always false due to limited range of data typechar_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int'char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int'char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int'char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int'char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int'char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int'compile config.cppcompile constants.cppchar_item.cpp:5087: warning: comparison between signed and unsigned integer expressionschar_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':char_item.cpp:5159: warning: unused variable 'wDestCell'char_item.cpp:5160: warning: unused variable 'bDestInven'char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':char_item.cpp:6160: warning: array subscript has type 'char'char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':char_item.cpp:6224: warning: comparison between signed and unsigned integer expressionschar_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':char_item.cpp:6236: warning: comparison between signed and unsigned integer expressionschar_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':char_item.cpp:7422: warning: unused variable 'itemType'char_item.cpp:7423: warning: unused variable 'itemSubType'compile crc32.cppcompile cube.cppcompile db.cppcompile desc.cppcompile desc_client.cppcompile desc_manager.cppcompile desc_p2p.cppchar.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':char.cpp:3088: warning: comparison between signed and unsigned integer expressionschar_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':char_item.cpp:679: warning: control reaches end of non-void functioncompile dev_log.cppcompile dungeon.cppconstants.cpp:291: warning: this decimal constant is unsigned only in ISO C90constants.cpp:292: warning: this decimal constant is unsigned only in ISO C90constants.cpp:293: warning: this decimal constant is unsigned only in ISO C90constants.cpp:294: warning: this decimal constant is unsigned only in ISO C90constants.cpp:295: warning: this decimal constant is unsigned only in ISO C90constants.cpp:296: warning: this decimal constant is unsigned only in ISO C90constants.cpp:297: warning: this decimal constant is unsigned only in ISO C90constants.cpp:298: warning: this decimal constant is unsigned only in ISO C90constants.cpp:299: warning: this decimal constant is unsigned only in ISO C90constants.cpp:300: warning: this decimal constant is unsigned only in ISO C90constants.cpp:301: warning: this decimal constant is unsigned only in ISO C90constants.cpp:302: warning: this decimal constant is unsigned only in ISO C90constants.cpp:303: warning: this decimal constant is unsigned only in ISO C90constants.cpp:304: warning: this decimal constant is unsigned only in ISO C90constants.cpp:305: warning: this decimal constant is unsigned only in ISO C90constants.cpp:306: warning: this decimal constant is unsigned only in ISO C90constants.cpp:307: warning: this decimal constant is unsigned only in ISO C90constants.cpp:308: warning: this decimal constant is unsigned only in ISO C90constants.cpp:309: warning: this decimal constant is unsigned only in ISO C90constants.cpp:310: warning: this decimal constant is unsigned only in ISO C90constants.cpp:311: warning: this decimal constant is unsigned only in ISO C90compile empire_text_convert.cppIn file included from desc_manager.cpp:15:ClientPackageCryptInfo.h:117:41: warning: no newline at end of filecompile entity.cppcompile entity_view.cppcube.cpp: In function 'bool Cube_make(CHARACTER*)':cube.cpp:544: warning: comparison between signed and unsigned integer expressionscube.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 expressionsdesc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':desc_client.cpp:299: warning: comparison between signed and unsigned integer expressionscompile event.cppcompile event_queue.cppcompile exchange.cppcompile file_loader.cppcmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':cmd_gm.cpp:3935: warning: NULL used in arithmeticchar_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':char_item.cpp:6271: warning: 'pBuff' may be used uninitialized in this functioncompile fishing.cppcompile gm.cppcompile guild.cppcompile guild_manager.cppIn 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 expressionsconfig.cpp: In function 'void config_init(const std::string&)':config.cpp:435: warning: NULL used in arithmeticconfig.cpp:459: warning: NULL used in arithmeticconfig.cpp:483: warning: NULL used in arithmeticconfig.cpp:505: warning: unused variable 'line'compile guild_war.cppcompile horse_rider.cppcmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':cmd_gm.cpp:4357: warning: 'cell' may be used uninitialized in this functioncmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':cmd_gm.cpp:3977: warning: 'n' may be used uninitialized in this functioncompile horsename_manager.cppcmd_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 functioncmd_gm.cpp:855: warning: 'y' may be used uninitialized in this functioncompile input.cppcompile input_auth.cppcompile input_db.cppcompile input_login.cppcompile input_main.cppcompile input_p2p.cppcompile input_teen.cppcompile input_udp.cppIn file included from input_db.cpp:13:shop_manager.h:40:7: warning: no newline at end of fileIn file included from input_main.cpp:16:shop_manager.h:40:7: warning: no newline at end of fileinput_db.cpp:2722:2: warning: no newline at end of fileinput_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)':input_auth.cpp:467: warning: unused variable 'last'compile ip_ban.cppcompile item.cppcompile item_addon.cppIn file included from item.cpp:22:belt_inventory_helper.h:108:42: warning: no newline at end of fileIn file included from item.cpp:23:../../common/VnumHelper.h:59:32: warning: no newline at end of fileitem.cpp:2084:2: warning: no newline at end of fileIn 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 expressionsitem.h: In constructor 'CItem::CItem(DWORD)':item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized afteritem.h:283: warning:   'LPEVENT CItem::m_pkExpireEvent'item.cpp:25: warning:   when initialized hereitem.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 expressionsitem.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':item.cpp:2014: warning: comparison between signed and unsigned integer expressionsitem.cpp:2016: warning: comparison between signed and unsigned integer expressionsitem.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':item.cpp:2038: warning: comparison between signed and unsigned integer expressionsitem.cpp: In member function 'int CItem::GetDuration()':item.cpp:2069: warning: array subscript has type 'char'compile item_attribute.cppcompile item_manager.cppcompile item_manager_idrange.cppcompile locale.cppcompile locale_service.cppIn file included from item_manager.cpp:21:../../common/VnumHelper.h:59:32: warning: no newline at end of filecompile log.cppcompile login_data.cppcompile lzo_manager.cppcompile marriage.cppcompile matrix_card.cppcompile messenger_manager.cppitem_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)':item_manager.cpp:604: warning: comparison between signed and unsigned integer expressionscompile mining.cppcompile mob_manager.cppcompile monarch.cppcompile motion.cppmonarch.cpp:276:2: warning: no newline at end of filecompile over9refine.cppcompile p2p.cppcompile packet_info.cppcompile party.cppcompile passpod.cppcompile pcbang.cppcompile polymorph.cppcompile priv_manager.cppcompile pvp.cppcompile questevent.cppcompile questlua.cppcompile questlua_affect.cppcompile questlua_arena.cppcompile questlua_ba.cppcompile questlua_building.cppcompile questlua_danceevent.cppcompile questlua_dungeon.cppcompile questlua_forked.cppquestlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(CHARACTER*)':questlua.cpp:78: warning: 'returnBool' may be used uninitialized in this functioncompile questlua_game.cppcompile questlua_global.cppcompile questlua_guild.cppcompile questlua_horse.cppcompile questlua_pet.cppcompile questlua_item.cppIn file included from questlua_pet.cpp:11:PetSystem.h:163:31: warning: no newline at end of filequestlua_pet.cpp:157:2: warning: no newline at end of filecompile questlua_marriage.cppcompile questlua_mgmt.cppcompile questlua_monarch.cppcompile questlua_npc.cppcompile questlua_oxevent.cppcompile questlua_party.cppcompile questlua_pc.cppcompile questlua_quest.cppIn file included from questlua_npc.cpp:9:shop_manager.h:40:7: warning: no newline at end of filecompile questlua_target.cppquestlua_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.cppcompile questnpc.cppcompile questpc.cppcompile refine.cppcompile regen.cppcompile safebox.cppcompile sectree.cppquestnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)':questnpc.cpp:500: warning: unused variable 'pPC'compile sectree_manager.cppcompile sequence.cppcompile shop.cppcompile skill.cppcompile start_position.cppcompile target.cppcompile text_file_loader.cppcompile trigger.cppIn file included from trigger.cpp:8:shop_manager.h:40:7: warning: no newline at end of filecompile utils.cppcompile vector.cpputils.cpp: In function 'bool WildCaseCmp(const char*, const char*)':utils.cpp:243: warning: NULL used in arithmeticutils.cpp:255: warning: NULL used in arithmeticutils.cpp:269: warning: NULL used in arithmeticcompile war_map.cppcompile wedding.cppcompile xmas_event.cppshop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':shop.cpp:576: warning: comparison between signed and unsigned integer expressionsg++: directory": No such file or directory: warning: missing terminating " characterversion.cpp:10: error: missing terminating " characterversion.cpp: In function 'void WriteVersion()':version.cpp:10: error: expected primary-expression before ')' tokengmake: *** [OBJDIR/version.o] Error 1gmake: *** Waiting for unfinished jobs....root@host:/usr/src/mainline/Srcs/Server/game/src #

 

 la voila actuellement cela me fait ça

Lien vers le commentaire
Partager sur d’autres sites

Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.


  • brilliantdiscord_widget
  • Flux d'Activité

    1. 6

      problème de connexion à mon serveur local (je suis débutant dans ce genre d'entreprise )

    2. 2

      problème de lancement serveur

    3. 9
    4. 0

      [PVM/PVP] ATLAX2 - EASY PLAY

    5. 2

      problème de lancement serveur

Information importante

Conditions d’utilisation / Politique de confidentialité / Règles / Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.