Jump to content

DoIIar

Member
  • Posts

    16
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by DoIIar

  1. Hello guys I have a problem when I do a Compil

     

    Spoiler

    compiling constants.cpp
    In file included from char.h:17,
                     from constants.cpp:2:
    cuberenewal.h:44:7: warning: no newline at end of file
    compiling crc32.cpp
    compiling cube.cpp
    compiling db.cpp
    In file included from char.h:17,
                     from cube.cpp:15:
    cuberenewal.h:44:7: warning: no newline at end of file
    compiling desc.cpp
    In file included from char.h:17,
                     from db.cpp:11:
    cuberenewal.h:44:7: warning: no newline at end of file
    cube.cpp:31: error: 'CUBE_DATA' was not declared in this scope
    cube.cpp:31: error: template argument 1 is invalid
    cube.cpp:31: error: template argument 2 is invalid
    cube.cpp:31: error: invalid type in declaration before ';' token
    cube.cpp:48: error: 'CUBE_VALUE' was not declared in this scope
    cube.cpp:48: error: template argument 1 is invalid
    cube.cpp:48: error: template argument 2 is invalid
    cube.cpp:48: error: invalid type in declaration before ';' token
    cube.cpp:57: error: 'CUBE_VALUE' does not name a type
    compiling desc_client.cpp
    In file included from char.h:17,
                     from desc.cpp:7:
    cuberenewal.h:44:7: warning: no newline at end of file
    cube.cpp:146: error: expected initializer before '*' token
    cube.cpp:31: warning: 's_cube_proto' defined but not used
    cube.cpp:32: warning: 's_isInitializedCubeMaterialInformation' defined but not u                                                                                                             sed
    cube.cpp:97: warning: 'bool FN_check_item_count(CItem**, DWORD, int)' defined bu                                                                                                             t not used
    cube.cpp:116: warning: 'void FN_remove_material(CItem**, DWORD, int)' defined bu                                                                                                             t not used
    gmake[1]: *** [Makefile:199: .obj/cube.o] Error 1
    gmake[1]: *** Waiting for unfinished jobs....
    In file included from char.h:17,
                     from desc_client.cpp:6:
    cuberenewal.h:44:7: warning: no newline at end of file
    gmake[1]: Leaving directory '/sourcee2/Server/game/src'
    gmake: *** [Makefile:108: all] Error 2
     

     

  2. Hello guys
    I have a problem when adding new things in Player mysql

    Query Player :

    https://metin2.download/picture/17L64eW2z7W77Vd5EenVBft850li9g4m/.png

     

    ClientManagerPlayer.cpp

    Quote

    #ifdef ENABLE_CONQUEROR_LEVEL
    snprintf(queryStr, sizeof(queryStr),
    "SELECT "
    "id,name,job,voice,dir,x,y,z,map_index,exit_x,exit_y,exit_map_index,hp,mp,stamina,random_hp,random_sp,playtime,gold,"
    #ifdef ENABLE_CHEQUE_SYSTEM
    "cheque,"
    #endif
    #ifdef ENABLE_GEM_SYSTEM
    "gem,"
    #endif
    "level,level_step,st,ht,dx,iq,exp,"
    "stat_point,skill_point,sub_skill_point,stat_reset_count,part_base,part_hair, part_acce,"
    "skill_level,quickslot,skill_group,alignment,"
    #ifdef ENABLE_CONQUEROR_LEVEL
    "conquerorlevel,conqueror_level_step,sungma_str,sungma_hp,sungma_move,sungma_inmune,conqueror_exp,conqueror_point,"
    #endif
    "mobile,horse_level,horse_riding,horse_hp,horse_hp_droptime,horse_stamina,"
    "UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(last_play),horse_skill_point," 
    "fish_use_count, fish_slots"
    #ifdef ENABLE_GEM_SYSTEM
    ",UNIX_TIMESTAMP(gem_next_refresh),gem_items "
    #endif
    " ,envanter "

    " FROM player%s WHERE id=%d",
    GetTablePostfix(), packet->player_id);
    #else
    snprintf(queryStr, sizeof(queryStr),
    "SELECT "
    "id,name,job,voice,dir,x,y,z,map_index,exit_x,exit_y,exit_map_index,hp,mp,stamina,random_hp,random_sp,playtime,gold,"
    "level,level_step,st,ht,dx,iq,exp,"
    "stat_point,skill_point,sub_skill_point,stat_reset_count,part_base,part_hair, part_acce,"
    "skill_level,quickslot,skill_group,alignment,"
    #ifdef ENABLE_CONQUEROR_LEVEL
    "conquerorlevel,conqueror_level_step,sungma_str,sungma_hp,sungma_move,sungma_inmune,conqueror_exp,conqueror_point,"
    #endif
    "mobile,horse_level,horse_riding,horse_hp,horse_hp_droptime,horse_stamina,"
    "UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(last_play),horse_skill_point," 
    "fish_use_count, fish_slots"
    " ,envanter "

    " FROM player%s WHERE id=%d",
    GetTablePostfix(), packet->player_id);
    #endif


    Syseer db 

    Quote

    SYSERR: Aug 19 21:38:10 :: ChildLoop: AsyncSQL: query failed: Unknown column 'conqueror_point' in 'field list' (query: SELECT id,name,job,voice,dir,x,y,z,map_index,exit_x,exit_y,exit_map_index,hp,mp,stamina,random_hp,random_sp,playtime,gold,cheque,gem,level,level_step,st,ht,dx,iq,exp,stat_point,skill_point,sub_skill_point,stat_reset_count,part_base,part_hair, part_acce,skill_level,quickslot,skill_group,alignment,conquerorlevel,conqueror_level_step,sungma_str,sungma_hp,sungma_move,sungma_inmune,conqueror_exp,conqueror_point,mobile,horse_level,horse_riding,horse_hp,horse_hp_droptime,horse_stamina,UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(last_play),horse_skill_point,fish_use_count, fish_slots,UNIX_TIMESTAMP(gem_next_refresh),gem_items ,envanter FROM player WHERE id=265 errno: 1054)
    SYSERR: Aug 19 21:38:10 :: RESULT_COMPOSITE_PLAYER: null MYSQL_RES QID 0

     

  3. Hello guys
    What is the problem when I wear mount 

     

    CRaceManager::RegisterRacePath : RACE[20282] LOAD MSMFILE[d:/ymir work/npc/easter_2022_seahorse/easter_2022_seahorse_1.msm] ERROR. Will Find Another Path.
    CRaceManager::RegisterRacePath : RACE[20282] LOAD MSMFILE[d:/ymir work/npc2/easter_2022_seahorse/easter_2022_seahorse_1.msm] ERROR. Will Find Another Path.
    CRaceManager::RegisterRacePath : RACE[20282] LOAD MSMFILE[d:/ymir work/npc_pet/easter_2022_seahorse/easter_2022_seahorse_1.msm] ERROR. Will Find Another Path.
    CRaceManager::RegisterRacePath : RACE[20282] LOAD MSMFILE[d:/ymir work/monster/easter_2022_seahorse/easter_2022_seahorse_1.msm] ERROR. Will Find Another Path.
    CRaceManager::RegisterRacePath : RACE[20282] LOAD MSMFILE[d:/ymir work/monster2/easter_2022_seahorse/easter_2022_seahorse_1.msm] ERROR. Will Find Another Path.
    CRaceManager::RegisterRacePath : RACE[20282] LOAD MSMFILE[d:/ymir work/guild/easter_2022_seahorse/easter_2022_seahorse_1.msm] ERROR. Will Find Another Path.
     

  4. 23 hours ago, xXIntelXx said:

    https://en.cppreference.com/w/cpp/language/range-for

    You need c++11. If you are still using C++03/C++98 you can't use:

    for (auto lpItem : setItems)

    Instead:

    std::set<LPITEMS>::iterator itr;
    for (itr = setItems.begin(); itr != setItems.end(); itr++)

    and wherever lpItem in the loop is used, in this case needs to be replaced with *itr

    I logged in but did not understand how to install C++11 ?

  5. 8 hours ago, SamuraiHUN said:

    item_length.h

    search this:

     

    enum EMaterialSubTypes
    {
    	MATERIAL_LEATHER,
    	MATERIAL_BLOOD,
    	MATERIAL_ROOT,
    	MATERIAL_NEEDLE,
    	MATERIAL_JEWEL,
    	MATERIAL_DS_REFINE_NORMAL,
    	MATERIAL_DS_REFINE_BLESSED,
    	MATERIAL_DS_REFINE_HOLLY,
    };

    extend with this:

     

    enum EMaterialSubTypes
    {
    	MATERIAL_LEATHER,
    	MATERIAL_BLOOD,
    	MATERIAL_ROOT,
    	MATERIAL_NEEDLE,
    	MATERIAL_JEWEL,
    	MATERIAL_DS_REFINE_NORMAL,
    	MATERIAL_DS_REFINE_BLESSED,
    	MATERIAL_DS_REFINE_HOLLY,
    #if defined(__DS_CHANGE_ATTR__)
    	MATERIAL_DS_CHANGE_ATTR,
    #endif
    };

    DragonSoul.cpp

     

    nullptr

    change to:

     

    NULL

    I did what you asked of me

    I also replaced > nullptr 
    I replaced it > NULL

    who is in
    DragonSoul.cpp
    questlua_dragonsoul.cpp
    char_dragonsoul.cpp

    https://metin2.download/picture/rAwjRV3uB0ybOq8rMoKaqsq2wcJpqbBZ/.png

    But the problem is still there


    wait here

    This is the hidden content, please

    • Metin2 Dev 3
    • Good 2
×
×
  • 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.