Jump to content
×
×
  • Create New...
  • 0

Bug source game


Azasal

Question

  • Answers 26
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Recommended Posts

  • 0

Je recommence , bête comme je suis je fais inprim ecran ..


[email protected]:~ # cd /usr/src/mainline/Srcs/Server/game/src

[email protected]:/usr/src/mainline/Srcs/Server/game/src # gmake clean

[email protected]:/usr/src/mainline/Srcs/Server/game/src # gmake j-20

gmake: *** No rule to make target `j-20'.  Stop.

[email protected]:/usr/src/mainline/Srcs/Server/game/src # gmake

compile acce.cpp

acce.cpp: In function 'void FN_remove_material(CItem**, DWORD, int, int)':

acce.cpp:87: warning: unused variable 'count'

acce.cpp: In function 'bool Acce_InformationInitialize()':

acce.cpp:943: warning: comparison between signed and unsigned integer expressions

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

char.cpp:7355: warning: this decimal constant is unsigned only in ISO C90

char.cpp: In member function 'DWORD CHARACTER::PetGetNextExp() const':

char.cpp:7359: warning: control reaches end of non-void function

compile char_affect.cpp

compile char_battle.cpp

compile char_change_empire.cpp

compile char_horse.cpp

compile char_item.cpp

char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':

char_item.cpp:1792: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'

char_item.cpp:1792: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'

char_item.cpp:1819: warning: suggest parentheses around assignment used as truth value

char_item.cpp: At global scope:

char_item.cpp:8027: error: expected unqualified-id before 'return'

char_item.cpp:8028: error: expected declaration before '}' token

gmake: *** [OBJDIR/char_item.o] Error 1

[email protected]:/usr/src/mainline/Srcs/Server/game/src #

Link to comment
  • 0

[email protected]:/usr/src/mainline/Srcs/Server/game/src # gmake dep

makedepend -f Depend -I../../../Extern/include/boost -I../../libdevil -I../../libmysql/7.x-5.1.35 -I../../../Extern/include -I../../libhackshield/include -I../../libxtrap/include -I../../liblua/include -I/usr/local/include -L/usr/local/lib/mysql -I../../libserverkey -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -pOBJDIR/ acce.cpp 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 XTrapManager.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 New_PetSystem.cpp questlua_petnew.cpp minilzo.c main.cpp 2> /dev/null > Depend

[email protected]:/usr/src/mainline/Srcs/Server/game/src # gmake clean

[email protected]:/usr/src/mainline/Srcs/Server/game/src # gmake -j20

compile acce.cpp

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

acce.cpp: In function 'void FN_remove_material(CItem**, DWORD, int, int)':

acce.cpp:87: warning: unused variable 'count'

acce.cpp: In function 'bool Acce_InformationInitialize()':

acce.cpp:943: warning: comparison between signed and unsigned integer expressions

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_horse.cpp

compile char_change_empire.cpp

compile char_item.cpp

compile char_manager.cpp

char.cpp:7355: warning: this decimal constant is unsigned only in ISO C90

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

compile cmd_oxevent.cpp

compile config.cpp

compile constants.cpp

compile crc32.cpp

compile cube.cpp

cmd_gm.cpp:2155:9: warning: multi-character character constant

compile db.cpp

compile desc.cpp

char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':

char_item.cpp:1792: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'

char_item.cpp:1792: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'

char_item.cpp:1819: warning: suggest parentheses around assignment used as truth value

compile desc_client.cpp

char_item.cpp: At global scope:

char_item.cpp:8027: error: expected unqualified-id before 'return'

char_item.cpp:8028: error: expected declaration before '}' token

PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':

PetSystem.cpp:247: warning: unused variable 'bDoMoveAlone'

PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':

PetSystem.cpp:546: warning: unused variable 'petVID'

compile desc_manager.cpp

compile desc_p2p.cpp

gmake: *** [OBJDIR/char_item.o] Error 1

gmake: *** Waiting for unfinished jobs....

char.cpp: In member function 'DWORD CHARACTER::PetGetNextExp() const':

char.cpp:7359: warning: control reaches end of non-void function

cmd_general.cpp: In function 'void do_CubePetAdd(CHARACTER*, const char*, int, int)':

cmd_general.cpp:2334: warning: unused variable 'strArg1'

Link to comment
  • 0

J'ai compiler en modifiant juste questlua_pc.cpp mais l'erreur Char_item.o et tjr la c'est peut etre parce que je l'ai pas dans OBJETDIR ?


J'ai sa mtn :

 

[\code]

[email protected]:/usr/src/mainline/Srcs/Server/game/src # gmake clean

[email protected]:/usr/src/mainline/Srcs/Server/game/src # gmake -j20

compile acce.cpp

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

acce.cpp: In function 'void FN_remove_material(CItem**, DWORD, int, int)':

acce.cpp:87: warning: unused variable 'count'

compile castle.cpp

compile char.cpp

compile char_affect.cpp

compile char_battle.cpp

compile char_change_empire.cpp

compile char_horse.cpp

acce.cpp: In function 'bool Acce_InformationInitialize()':

acce.cpp:943: warning: comparison between signed and unsigned integer expressions

compile char_item.cpp

compile char_manager.cpp

compile char_quickslot.cpp

compile char_resist.cpp

char.cpp:7355: warning: this decimal constant is unsigned only in ISO C90

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

compile cmd_oxevent.cpp

compile config.cpp

compile crc32.cpp

compile cube.cpp

compile constants.cpp

compile db.cpp

compile desc.cpp

cmd_gm.cpp:2155:9: warning: multi-character character constant

char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':

char_item.cpp:1792: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'

char_item.cpp:1792: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'DWORD'

char_item.cpp:1819: warning: suggest parentheses around assignment used as truth value

compile desc_client.cpp

PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':

PetSystem.cpp:247: warning: unused variable 'bDoMoveAlone'

PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':

PetSystem.cpp:546: warning: unused variable 'petVID'

compile desc_manager.cpp

char_item.cpp: At global scope:

char_item.cpp:8029: error: expected unqualified-id before 'return'

char_item.cpp:8030: error: expected declaration before '}' token

compile desc_p2p.cpp

compile dev_log.cpp

gmake: *** [OBJDIR/char_item.o] Error 1

gmake: *** Waiting for unfinished jobs....

char.cpp: In member function 'DWORD CHARACTER::PetGetNextExp() const':

char.cpp:7359: warning: control reaches end of non-void function

cmd_general.cpp: In function 'void do_CubePetAdd(CHARACTER*, const char*, int, int)':

cmd_general.cpp:2334: warning: unused variable 'strArg1'

[email protected]:/usr/src/mainline/Srcs/Server/game/src # [\code]

Link to comment
  • 0

/// 현재 캐릭터의 상태를 바탕으로 착용 중인 item을 벗을 수 있는 지 확인하고, 불가능 하다면 캐릭터에게 이유를 알려주는 함수

bool CHARACTER::CanUnequipNow(const LPITEM item, const TItemPos& srcCell, const TItemPos& destCell)

{

if (ITEM_BELT == item->GetType())

VERIFY_MSG(CBeltInventoryHelper::IsExistItemInBeltInventory(this), "踰⑦??몃깽?由ъ ??댄??議댁ы??댁? ? ??듬??");

 

// ??? ?댁? ? ?? ??댄

if (IS_SET(item->GetFlag(), ITEM_FLAG_IRREMOVABLE))

return false;

 

// ??댄 unequip? ?몃깽?由щ? ?湲?? 鍮 ?由ш? ?? ??? {

int pos = -1;

if (item->IsDragonSoul())

pos = GetEmptyDragonSoulInventory(item);

else

pos = GetEmptyInventory(item->GetSize());

 

VERIFY_MSG( -1 == pos, "??? 鍮 怨듦?????듬??" );

}

 

return true;

}

Link to comment
Guest
This topic is now closed to further replies.


  • Flux d'Activité

    1. 2

      Site internet (CMS) compatible avec tous les emulateurs 1.29 (Azuriom)

    2. 2

      Site internet (CMS) compatible avec tous les emulateurs 1.29 (Azuriom)

    3. 84

      Granny

    4. 32

      Rodnia.net | PVM | International | The Great Conqueror |

    5. 16

      Map The OpenWorld Metin2

    6. 0
    7. 6

      [V2]Gurgarath Resurgence

  • Recently Browsing

    • No registered users viewing this page.

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.