Jump to content

msti235

Inactive Member
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by msti235

  1. Hello, i have a litlle problem :C

     

     

    gmake: Uwaga: Plik `char.h' ma czas modyfikacji 30223 s w przyszło¶ci
    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:7218: warning: this decimal constant is unsigned only in ISO C90
    char.cpp:7226:2: warning: no newline at end of file
    In file included from char_battle.cpp:27:
    shop_manager.h:40:7: warning: no newline at end of file
    In file included from char_item.cpp:47:
    belt_inventory_helper.h:108:42: warning: no newline at end of file
    In file included from PetSystem.cpp:8:
    PetSystem.h:163:31: warning: no newline at end of file
    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
    char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
    char.cpp:3089: warning: comparison between signed and unsigned integer expressions
    char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
    char_state.cpp:901: warning: unused variable 'rider'
    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:666: warning: comparison is always false due to limited range of data type
    PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
    PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone'
    char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
    char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
    char_item.cpp:2395: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
    char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
    char_item.cpp:2411: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
    char_item.cpp:2438: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
    char_item.cpp:2446: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
    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'
    PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':
    PetSystem.cpp:552: warning: unused variable 'petVID'
    desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
    desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions
    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 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
    char_item.cpp:6243: 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:7429: warning: unused variable 'itemType'
    char_item.cpp:7430: warning: unused variable 'itemSubType'
    char_item.cpp: In member function 'bool CHARACTER::CheckSpecifyItem(DWORD, const char*, std::vector<long int, std::allocator<long int> >, std::vector<TPlayerItemAttribute, std::allocator<TPlayerItemAttribute> >)':
    char_item.cpp:7561: warning: comparison between signed and unsigned integer expressions
    char_item.cpp:7565: warning: comparison between signed and unsigned integer expressions
    char_item.cpp:7552: warning: unused variable 'isOk'
    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
    In file included from desc_manager.cpp:15:
    ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
    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:435: warning: NULL used in arithmetic
    config.cpp:459: warning: NULL used in arithmetic
    config.cpp:483: warning: NULL used in arithmetic
    config.cpp:505: warning: unused variable 'line'
    char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
    char_item.cpp:679: warning: control reaches end of non-void function
    db.cpp: In member function 'void DBManager::Query(const char*, ...)':
    db.cpp:93: warning: comparison between signed and unsigned integer expressions
    db.cpp: In member function 'SQLMsg* DBManager::DirectQuery(const char*, ...)':
    db.cpp:104: warning: comparison between signed and unsigned integer expressions
    cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:3935: warning: NULL used in arithmetic
    cmd_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 function
    cmd_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 function
    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
    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
    In file included from input_db.cpp:13:
    shop_manager.h:40:7: warning: no newline at end of file
    input_db.cpp:2722:2: warning: no newline at end of file
    In file included from input_main.cpp:16:
    shop_manager.h:40:7: warning: no newline at end of file
    input_main.cpp:452:54: warning: trigraph ??( ignored, use -trigraphs to enable
    input_main.cpp:452:63: warning: trigraph ??) ignored, use -trigraphs to enable
    input_main.cpp:720:49: warning: trigraph ??( ignored, use -trigraphs to enable
    input_main.cpp:720:58: warning: trigraph ??) ignored, use -trigraphs to enable
    input_main.cpp:950:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:972:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2064:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2070:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2076:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2082:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2088:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2139:45: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2149:46: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2163:45: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2247:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2259:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2270:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2276:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2323:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2329:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2343:45: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2359:46: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2374:46: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2385:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2395:45: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2410:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2418:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2444:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2469:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2480:44: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2495:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2557:45: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2573:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2579:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2596:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2611:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2622:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2635:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2651:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2657:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2673:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2678:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2680:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2697:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2701:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2705:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2723:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2727:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2742:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2751:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2755:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2768:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2774:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2801:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2834:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2836:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2838:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2863:47: warning: trigraph ??> ignored, use -trigraphs to enable
    input_main.cpp:2869:48: warning: trigraph ??> ignored, use -trigraphs to enable
    input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)':
    input_auth.cpp:449: warning: unused variable 'last'
    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
    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:1725: warning: unused variable 'vnum'
    item.cpp: In member function 'bool CItem::CanPutInto(CItem*)':
    item.cpp:1758: warning: comparison between signed and unsigned integer expressions
    item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':
    item.cpp:2014: warning: comparison between signed and unsigned integer expressions
    item.cpp:2016: warning: comparison between signed and unsigned integer expressions
    item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':
    item.cpp:2038: warning: comparison between signed and unsigned integer expressions
    item.cpp: In member function 'int CItem::GetDuration()':
    item.cpp:2069: warning: array subscript has type 'char'
    item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)':
    item_manager.cpp:604: warning: comparison between signed and unsigned integer expressions
    monarch.cpp:276:2: warning: no newline at end of file
    questlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(CHARACTER*)':
    questlua.cpp:78: warning: 'returnBool' may be used uninitialized in this function
    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
    In file included from questlua_npc.cpp:9:
    shop_manager.h:40:7: warning: no newline at end of file
    questlua_quest.cpp: In function 'int quest::quest_set_title(lua_State*)':
    questlua_quest.cpp:57: error: redefinition of 'int quest::quest_set_title(lua_State*)'
    questlua_quest.cpp:36: error: 'int quest::quest_set_title(lua_State*)' previously defined here
    questlua_quest.cpp:59: error: 'CQuestMeneger' was not declared in this scope
    questlua_quest.cpp:59: error: 'q' was not declared in this scope
    questlua_quest.cpp:59: error: 'CQuestMeneger' is not a class or namespace
    questlua_quest.cpp:63: error: 'lua_toastring' was not declared in this scope
    questlua_quest.cpp: In function 'int quest::quest_set_another_title(lua_State*)':
    questlua_quest.cpp:68: error: redefinition of 'int quest::quest_set_another_title(lua_State*)'
    questlua_quest.cpp:47: error: 'int quest::quest_set_another_title(lua_State*)' previously defined here
    questlua_quest.cpp:73: error: 'lua_toastring' was not declared in this scope
    gmake: *** [OBJDIR/questlua_quest.o] Bł±d 1
    gmake: *** Oczekiwanie na niezakończone zadania....
    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'
    questnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)':
    questnpc.cpp:500: warning: unused variable 'pPC'
    questlua_pc.cpp:848: error: 'Lua_State' was not declared in this scope
    questlua_pc.cpp:848: error: 'L' was not declared in this scope
    questlua_pc.cpp:849: error: expected ',' or ';' before '{' token
    questlua_pc.cpp:3041: error: expected `}' at end of input
    gmake: *** [OBJDIR/questlua_pc.o] Bł±d 1
    shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':
    shop.cpp:576: warning: comparison between signed and unsigned integer expressions
     

     

     

     

     

    questlua_pc.cpp

    https://wklej.to/GrkRp

     

    and

    questlua_quest.cpp

    https://wklej.to/RBYTk

    please can you help me :C?

×
×
  • 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.