Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Posts posted by Dastgir


  1. 5 hours ago, fatihmujahid said:

    im so sorry for my trash talk guys
    i really get depression with this mapcache changed on hercules.
    hercules was my favorit svn in RO. they are very neat and always stable. easy to understanding the script.
    last time i make private server is 2014 and now 2019 is very difference to config and i just got screwed 
    and my climax angry is when i take all of the time to make my own custom map with browedit and i cant implement to the freaking new hercules
    so yeah im sorry 

    also for my sick english

    You can also use third party tools like I made months ago (https://github.com/dastgirp/Scripts/blob/master/python/MapCache/mapcache.py)

     

    But I would recommend plugin as it have  more options and is officially supported


  2. 9 minutes ago, AnnieRuru said:

    https://annieruru.blogspot.com/2019/01/how-to-add-custom-map.html

     

    the reason why hercules change the mapcache system because, the default way of running map_cache.bat
    https://github.com/HerculesWS/Hercules/pull/1552#issuecomment-279596099
    1. can generate rubbish the more you run map_cache.bat
    2. total capacity is smaller than rathena
    3. can use plugin to inspect each file

    but Haru probably doesn't know about the weemapcache though, because using weemapcache on the import map_cache.dat also do the same

    Weemapcache is known, but it does not follow proper format.

    Weemapcache does not preserve map index instead of creates its own index based on map names (alphabetically)

    Also, new system helps to know what changes are been done and is better trackable in git.


  3. 1 hour ago, fatihmujahid said:

    FUCKING BULLSHIT HERCULES WHY U CHANGE THIS BULLSHIT LIKE THIS? IM DONE WITH THIS HERCULES ILL CHANGE MY SERVER TO RATHENA !!!! EASY TO SETUP

    Well, you are free to change emulator, nobody is forcing anything to you.

    Also, swearing/shouting is not allowed in this forum.


  4. 15 hours ago, utofaery said:
    
    .@nb = query_sql( "select id from item_db where equip_locations & "+( EQP_COSTUME_HEAD_TOP|EQP_COSTUME_HEAD_MID|EQP_COSTUME_HEAD_LOW|EQP_COSTUME_GARMENT ), .@id );
    

    Say after collected this list EQP_COSTUME_HEAD_TOP|EQP_COSTUME_HEAD_MID|EQP_COSTUME_HEAD_LOW|EQP_COSTUME_GARMENT 

    I want to put extra check which exclude some of the item from being listed in the 

    .@id[.@c++] = @inventorylist_id[.@i];

    like putting in an extra check so it doesn't get included in the .@id[.@c++]??

     

    
    mes getitemname( .@id[.@i] );

    then in this part it won't list the excluded "certain item"?

    Please don't use light colors, it is extremely difficult to read on this theme of forum.


  5. This can give some overview: https://github.com/HerculesWS/Hercules/issues/2233

     

    _$ is used if there's some string formatting (%s, %d or something like that), mesf is basically 3 commands in one, i.e mes+sprintf+_$

     

    _() is used to enclose strings which aren't in commands that are translated(only few commands are detected like mes/select), others needs to be enclosed in _(), also raw string needs to be enclosed.

     

    c-format is comment in pot file which says formatting is present.


  6. 6 hours ago, Fizik said:


    I found this:   If i'm dell all BG changes i can teleport on bat_a01
    When i add ebg_boss and in resnametable, They will crush Client((( Why? 
    Can you help in team viewer maybe? i don't understand, All Readme im readed 100 pcs... But no, mcache file make a problem in my Emulator, Im downloaded my Hercules 18 Dec 2018... I don't know what is this(( 

    Contact me in discord (@Dastgir#1460), and we will see what went wrong


  7. 6 minutes ago, Fizik said:

    im added in server's maps all your mcache files. After:
    map_index
     

    
    ebg_boss
    ebg_conq01
    ebg_conq02
    ebg_conq03
    ebg_conq04
    ebg_conq05
    ebg_conq06
    ebg_ctf
    ebg_dom
    ebg_eos
    ebg_room
    ebg_rush01
    ebg_rush02
    ebg_rush03
    ebg_rush04
    ebg_sc
    ebg_td
    ebg_tti

    After this maps.conf
     

    
    	"ebg_boss",
    	"ebg_conq01",
    	"ebg_conq02",
    	"ebg_conq03",
    	"ebg_conq04",
    	"ebg_conq05",
    	"ebg_conq06",
    	"ebg_ctf",
    	"ebg_dom",
    	"ebg_eos",
    	"ebg_room",
    	"ebg_rush01",
    	"ebg_rush02",
    	"ebg_rush03",
    	"ebg_rush04",
    	"ebg_sc",
    	"ebg_td",
    	"ebg_tti",

    and resnametable.txt
     

    
    //ebg_boss
    //ebg_ctf
    //ebg_tti
    //ebg_eos
    //ebg_td
    //ebg_sc
    //ebg_conq01
    //ebg_conq02
    //ebg_conq03
    //ebg_conq04
    //ebg_conq05
    //ebg_conq06
    //ebg_rush01
    //ebg_rush02
    //ebg_rush03
    //ebg_rush04
    //ebg_dom
    //ebg_room
    
    // Bossnia
    ebg_boss.gnd#bat_a01.gnd#
    ebg_boss.gat#bat_a01.gat#
    ebg_boss.rsw#bat_a01.rsw#
    유저인터페이스\map\ebg_boss.bmp#유저인터페이스\map\bat_a01.bmp#
    // Capture the Flag
    ebg_ctf.gnd#bat_b01.gnd#
    ebg_ctf.gat#bat_b01.gat#
    ebg_ctf.rsw#bat_b01.rsw#
    유저인터페이스\map\ebg_ctf.bmp#유저인터페이스\map\bat_b01.bmp#
    // Triple Infierno
    ebg_tti.gnd#guild_vs2.gnd#
    ebg_tti.gat#guild_vs2.gat#
    ebg_tti.rsw#guild_vs2.rsw#
    유저인터페이스\map\ebg_tti.bmp#유저인터페이스\map\guild_vs2.bmp#
    // Eye of Storm
    ebg_eos.gnd#bat_a01.gnd#
    ebg_eos.gat#bat_a01.gat#
    ebg_eos.rsw#bat_a01.rsw#
    유저인터페이스\map\ebg_eos.bmp#유저인터페이스\map\bat_a01.bmp#
    // Team Deathmatch
    ebg_td.gnd#bat_b01.gnd#
    ebg_td.gat#bat_b01.gat#
    ebg_td.rsw#bat_b01.rsw#
    유저인터페이스\map\ebg_td.bmp#유저인터페이스\map\bat_b01.bmp#
    // Stone Control
    ebg_sc.gnd#bat_b01.gnd#
    ebg_sc.gat#bat_b01.gat#
    ebg_sc.rsw#bat_b01.rsw#
    유저인터페이스\map\ebg_sc.bmp#유저인터페이스\map\bat_b01.bmp#
    
    // Conquest
    
    ebg_conq01.gnd#schg_cas01.gnd#
    ebg_conq01.gat#schg_cas01.gat#
    ebg_conq01.rsw#schg_cas01.rsw#
    유저인터페이스\map\ebg_conq01.bmp#유저인터페이스\map\schg_cas01.bmp#
    
    ebg_conq02.gnd#schg_cas02.gnd#
    ebg_conq02.gat#schg_cas02.gat#
    ebg_conq02.rsw#schg_cas02.rsw#
    유저인터페이스\map\ebg_conq02.bmp#유저인터페이스\map\schg_cas02.bmp#
    
    ebg_conq03.gnd#schg_cas03.gnd#
    ebg_conq03.gat#schg_cas03.gat#
    ebg_conq03.rsw#schg_cas03.rsw#
    유저인터페이스\map\ebg_conq03.bmp#유저인터페이스\map\schg_cas03.bmp#
    
    ebg_conq04.gnd#arug_cas01.gnd#
    ebg_conq04.gat#arug_cas01.gat#
    ebg_conq04.rsw#arug_cas01.rsw#
    유저인터페이스\map\ebg_conq04.bmp#유저인터페이스\map\arug_cas01.bmp#
    
    ebg_conq05.gnd#arug_cas02.gnd#
    ebg_conq05.gat#arug_cas02.gat#
    ebg_conq05.rsw#arug_cas02.rsw#
    유저인터페이스\map\ebg_conq05.bmp#유저인터페이스\map\arug_cas02.bmp#
    
    ebg_conq06.gnd#arug_cas03.gnd#
    ebg_conq06.gat#arug_cas03.gat#
    ebg_conq06.rsw#arug_cas03.rsw#
    유저인터페이스\map\ebg_conq06.bmp#유저인터페이스\map\arug_cas03.bmp#
    
    // Rush
    
    ebg_rush01.rsw#prtg_cas02.rsw#
    ebg_rush01.gat#prtg_cas02.gat#
    ebg_rush01.gnd#prtg_cas02.gnd#
    유저인터페이스\map\ebg_rush01.bmp#유저인터페이스\map\prtg_cas02.bmp#
    ebg_rush02.rsw#payg_cas04.rsw#
    ebg_rush02.gat#payg_cas04.gat#
    ebg_rush02.gnd#payg_cas04.gnd#
    유저인터페이스\map\ebg_rush02.bmp#유저인터페이스\map\payg_cas04.bmp#
    ebg_rush03.rsw#aldeg_cas05.rsw#
    ebg_rush03.gat#aldeg_cas05.gat#
    ebg_rush03.gnd#aldeg_cas05.gnd#
    유저인터페이스\map\ebg_rush03.bmp#유저인터페이스\map\aldeg_cas05.bmp#
    ebg_rush04.rsw#gefg_cas03.rsw#
    ebg_rush04.gat#gefg_cas03.gat#
    ebg_rush04.gnd#gefg_cas03.gnd#
    유저인터페이스\map\ebg_rush04.bmp#유저인터페이스\map\gefg_cas03.bmp#
    
    // Domination
    
    ebg_dom.gnd#bat_a01.gnd#
    ebg_dom.gat#bat_a01.gat#
    ebg_dom.rsw#bat_a01.rsw#
    유저인터페이스\map\ebg_dom.bmp#유저인터페이스\map\bat_a01.bmp#
    
    // bat_room
    ebg_room.gnd#bat_room.gnd#
    ebg_room.gat#bat_room.gat#
    ebg_room.rsw#bat_room.rsw#
    유저인터페이스\map\ebg_room.bmp#유저인터페이스\map\bat_room.bmp#

    and after i will write make plugin.mapcache and will test) Script's and plugin's working super but location's don't work... Maybe because in clientside i haven't this locations...

    https://github.com/dastgirp/eBG/tree/master/server/maps : You need to put it in maps/pre-re or maps/re folder according to your server config.

    resnametable.txt should be in first GRF and should be added to existing file (not overwritten)

    You don't need mapcache plugin, since I have already generated .mcache files and uploaded it.


  8. On 2/7/2019 at 6:12 PM, Fizik said:

    "You need to copy entries of resnametable.txt in your clientside."
    Don't Work... I'm added. But that problem with any maps... If i haven't this locations (.gnd .gat . rsw ) in Client... They will Crash Client
    resnametable in emulator (and in client)

    i will write @warp ebg_boss. and they show loading 0% and closing my client. Im using Last revision herc and 2015-11-04 Client

    Can you write steps on what you did for map? (If possible paste the contents of resnametable.txt, map_index.txt and maps.conf).

    resnametable.txt is in client side.

    The server does not need any clientside file except resnametable (that's how resnametable works)


  9. 17 hours ago, Fizik said:

    Sorry but your Rar archive haven't location 
    [Debug]: mapindex_name2id: Map "ebg_tunnel" not found in index list!
    [Debug]: mapindex_name2id: Map "ebg_tunnel" not found in index list!

    Can you add?))

    And maps, Does't work) When im using ebg_boss - Client is chashed)

    Maybe you can give me a location's i will resave in 586 revision, or my friend can make a copy this locations)) because don't work this mcache files)
    make plugin.mapcache don't helped) 

    Ignore that ebg_tunnel warning.

    For everything else, refer to readme, you don't need any files.

    You need to copy entries of resnametable.txt in your clientside.


  10. 1 hour ago, Fizik said:

    I have Some errors, And i don't understand how to compile include files and C/C ++ Compile
    Can you help please?
     

    
    In file included from eBG_common.c:2:0:
    eBG_common.h:74:1: error: unknown type name ‘bool’
     bool debug_mode = false;
     ^
    eBG_common.h:74:19: error: ‘false’ undeclared here (not in a function)
     bool debug_mode = false;
                       ^
    eBG_common.h:497:12: error: ‘NAME_LENGTH’ undeclared here (not in a function)
      char name[NAME_LENGTH];                 ///< Name of NPC
                ^
    eBG_common.h:502:2: error: unknown type name ‘bool’
      bool npc_or_var;                        ///< (Player or NPC), true = npc, false = player variable
      ^
    eBG_common.h:533:2: error: unknown type name ‘uint64’
      uint64 max_damage;               ///< MaxDamage in 1 Hit
      ^
    eBG_common.h:534:2: error: unknown type name ‘uint64’
      uint64 damage;                   ///< Total Damage Dealt
      ^
    eBG_common.h:535:2: error: unknown type name ‘uint64’
      uint64 damage_received;          ///< Total Damage Received
      ^
    eBG_common.h:536:2: error: unknown type name ‘uint64’
      uint64 boss_damage;              ///< Damage to MvP
      ^
    eBG_common.h:545:2: error: unknown type name ‘uint64’
      uint64 healing;                  ///< Total Healing Done to TeamMate
      ^
    eBG_common.h:546:2: error: unknown type name ‘uint64’
      uint64 healing_fail;             ///< Total Healing Done to Enemy
      ^
    eBG_common.h:612:2: error: unknown type name ‘uint64’
      uint64 boss_dmg;       ///< Total Damage Dealt to Boss
      ^
    eBG_common.h:631:2: error: unknown type name ‘uint64’
      uint64 emperium_dmg;     ///< Total Damage Dealt to Emperium
      ^
    eBG_common.h:632:2: error: unknown type name ‘uint64’
      uint64 barricade_dmg;    ///< Total Damage Dealt to Barricade
      ^
    eBG_common.h:633:2: error: unknown type name ‘uint64’
      uint64 guardian_dmg;     ///< Total Damage Dealt to Guardian
      ^
    eBG_common.h:634:2: error: unknown type name ‘uint64’
      uint64 gstone_dmg;       ///< Total Damage Dealt to Guardian Stone
      ^
    eBG_common.h:688:3: error: unknown type name ‘bool’
       bool match;                  ///< Is this Ranked Match?
       ^
    eBG_common.h:690:2: error: unknown type name ‘bool’
      bool eBG;                        ///< Participated in ExtendedBG?
      ^
    eBG_common.h:691:2: error: unknown type name ‘bool’
      bool leader;                     ///< Player is Leader
      ^
    eBG_common.h:693:2: error: unknown type name ‘bool’
      bool ignore;                     ///< Ignore BG Announcements
      ^
    eBG_common.h:694:2: error: unknown type name ‘int64’
      int64 save_flag;                 ///< Saving Flag (enum bg_save_flag)
      ^
    eBG_common.h:696:2: error: unknown type name ‘uint16’
      uint16 skill_id;                 ///< SkillID Used
      ^
    eBG_common.h:783:1: error: unknown type name ‘uint16’
     uint16 GetWord(uint32 val, int idx);
     ^
    eBG_common.h:783:16: error: unknown type name ‘uint32’
     uint16 GetWord(uint32 val, int idx);
                    ^
    eBG_common.h:784:1: error: unknown type name ‘uint16’
     uint16 MakeWord(uint8 byte0, uint8 byte1);
     ^
    eBG_common.h:784:17: error: unknown type name ‘uint8’
     uint16 MakeWord(uint8 byte0, uint8 byte1);
                     ^
    eBG_common.h:784:30: error: unknown type name ‘uint8’
     uint16 MakeWord(uint8 byte0, uint8 byte1);
                                  ^
    eBG_common.h:785:1: error: unknown type name ‘uint32’
     uint32 MakeDWord(uint16 word0, uint16 word1);
     ^
    eBG_common.h:785:18: error: unknown type name ‘uint16’
     uint32 MakeDWord(uint16 word0, uint16 word1);
                      ^
    eBG_common.h:785:32: error: unknown type name ‘uint16’
     uint32 MakeDWord(uint16 word0, uint16 word1);
                                    ^
    eBG_common.h:787:69: error: unknown type name ‘bool’
      void *bg_get_variable_common(struct ebg_save_data *esdb, int type, bool create, int64 *save_flag, int is_bg);
                                                                         ^
    eBG_common.h:787:82: error: unknown type name ‘int64’
      void *bg_get_variable_common(struct ebg_save_data *esdb, int type, bool create, int64 *save_flag, int is_bg);
                                                                                      ^
    eBG_common.h:791:55: error: unknown type name ‘int64’
     void set_ebg_buffer(unsigned char *buf, int *offset_, int64 *type, struct ebg_save_data *esdb);
                                                           ^
    In file included from eBG_common.c:2:0:
    eBG_common.h:807:102: error: unknown type name ‘bool’
      void bg_load_char_data_sub(struct Sql *sql_handle, struct ebg_save_data *esdb, int char_id, int fd, bool use_sql, int64 save_type);
                                                                                                          ^
    eBG_common.h:807:116: error: unknown type name ‘int64’
      void bg_load_char_data_sub(struct Sql *sql_handle, struct ebg_save_data *esdb, int char_id, int fd, bool use_sql, int64 save_type);
                                                                                                                        ^
    eBG_common.h:808:113: error: unknown type name ‘int64’
      void bg_save_common(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                     ^
    eBG_common.h:809:113: error: unknown type name ‘int64’
      void bg_save_leader(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                     ^
    eBG_common.h:810:110: error: unknown type name ‘int64’
      void bg_save_ctf(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                  ^
    eBG_common.h:811:111: error: unknown type name ‘int64’
      void bg_save_boss(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                   ^
    eBG_common.h:812:109: error: unknown type name ‘int64’
      void bg_save_ti(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                 ^
    eBG_common.h:813:110: error: unknown type name ‘int64’
      void bg_save_eos(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                  ^
    eBG_common.h:814:110: error: unknown type name ‘int64’
      void bg_save_tdm(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                  ^
    eBG_common.h:815:109: error: unknown type name ‘int64’
      void bg_save_sc(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                 ^
    eBG_common.h:816:111: error: unknown type name ‘int64’
      void bg_save_conq(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                   ^
    eBG_common.h:817:111: error: unknown type name ‘int64’
      void bg_save_rush(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                   ^
    eBG_common.h:818:110: error: unknown type name ‘int64’
      void bg_save_dom(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                  ^
    eBG_common.h:819:114: error: unknown type name ‘int64’
      void bg_save_ranking(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type);
                                                                                                                      ^
    In file included from eBG_common.c:2:0:
    eBG_common.h:16:31: error: ‘MAX_FAME_LIST’ undeclared here (not in a function)
     #define fame_list_size_bgrank MAX_FAME_LIST
                                   ^
    eBG_common.h:828:35: note: in expansion of macro ‘fame_list_size_bgrank’
     struct fame_list bgrank_fame_list[fame_list_size_bgrank];    ///< Ranked BG Fame List
                                       ^
    eBG_common.c: In function ‘bg_clear_char_data’:
    eBG_common.c:50:11: error: ‘NULL’ undeclared (first use in this function)
       esdb != NULL
               ^
    eBG_common.c:50:11: note: each undeclared identifier is reported only once for each function it appears in
    eBG_common.c:61:4: warning: implicit declaration of function ‘aFree’ [-Wimplicit-function-declaration]
        FREE_EBG_DATA(esdb, bg, ctf, bgm_status, true)
        ^
    eBG_common.c:61:4: warning: nested extern declaration of ‘aFree’ [-Wnested-externs]
    eBG_common.c:61:45: error: ‘true’ undeclared (first use in this function)
        FREE_EBG_DATA(esdb, bg, ctf, bgm_status, true)
                                                 ^
    eBG_common.c:32:9: note: in definition of macro ‘FREE_EBG_DATA’
         if (free) { \
             ^
    eBG_common.c: In function ‘ebg_char_set_bgm_status_as_buf’:
    eBG_common.c:155:20: error: ‘NULL’ undeclared (first use in this function)
      if (bgm_status != NULL) {
                        ^
    eBG_common.c:156:3: warning: implicit declaration of function ‘WBUFL’ [-Wimplicit-function-declaration]
       WBUFL(buf, *offset+0) = bgm_status->win;
       ^
    eBG_common.c:156:3: warning: nested extern declaration of ‘WBUFL’ [-Wnested-externs]
    eBG_common.c:156:25: error: lvalue required as left operand of assignment
       WBUFL(buf, *offset+0) = bgm_status->win;
                             ^
    eBG_common.c:157:25: error: lvalue required as left operand of assignment
       WBUFL(buf, *offset+4) = bgm_status->loss;
                             ^
    eBG_common.c:159:26: error: lvalue required as left operand of assignment
        WBUFL(buf, *offset+8) = bgm_status->tie;
                              ^
    eBG_common.c:162:25: error: lvalue required as left operand of assignment
       WBUFL(buf, *offset+0) = 0;
                             ^
    eBG_common.c:163:25: error: lvalue required as left operand of assignment
       WBUFL(buf, *offset+4) = 0;
                             ^
    eBG_common.c:165:26: error: lvalue required as left operand of assignment
        WBUFL(buf, *offset+8) = 0;
                              ^
    eBG_common.c: At top level:
    eBG_common.c:180:55: error: unknown type name ‘int64’
     void set_ebg_buffer(unsigned char *buf, int *offset_, int64 *type, struct ebg_save_data *esdb)
                                                           ^
    eBG_common.c:387:1: error: unknown type name ‘uint16’
     uint16 GetWord(uint32 val, int idx)
     ^
    eBG_common.c:387:16: error: unknown type name ‘uint32’
     uint16 GetWord(uint32 val, int idx)
                    ^
    eBG_common.c:407:1: error: unknown type name ‘uint16’
     uint16 MakeWord(uint8 byte0, uint8 byte1)
     ^
    eBG_common.c:407:17: error: unknown type name ‘uint8’
     uint16 MakeWord(uint8 byte0, uint8 byte1)
                     ^
    eBG_common.c:407:30: error: unknown type name ‘uint8’
     uint16 MakeWord(uint8 byte0, uint8 byte1)
                                  ^
    eBG_common.c:417:1: error: unknown type name ‘uint32’
     uint32 MakeDWord(uint16 word0, uint16 word1)
     ^
    eBG_common.c:417:18: error: unknown type name ‘uint16’
     uint32 MakeDWord(uint16 word0, uint16 word1)
                      ^
    eBG_common.c:417:32: error: unknown type name ‘uint16’
     uint32 MakeDWord(uint16 word0, uint16 word1)
                                    ^
    eBG_common.c:436:68: error: unknown type name ‘bool’
     void *bg_get_variable_common(struct ebg_save_data *esdb, int type, bool create, int64 *save_flag, int is_bg)
                                                                        ^
    eBG_common.c:436:81: error: unknown type name ‘int64’
     void *bg_get_variable_common(struct ebg_save_data *esdb, int type, bool create, int64 *save_flag, int is_bg)
                                                                                     ^
    eBG_common.c:962:32: warning: ‘struct Sql’ declared inside parameter list
     void ebg_free_sql_query(struct Sql *sql_handle)
                                    ^
    eBG_common.c:962:32: warning: its scope is only this definition or declaration, which is probably not what you want
    eBG_common.c:985:1: error: unknown type name ‘bool’
     bool ebg_execute_sql_query(int *temp, int64 *temp64, bool use_sql, bool *save, bool *save_, int64 type, struct Sql *sql_handle, const char *query, int *char_id_offset, int fd)
     ^
    eBG_common.c:985:39: error: unknown type name ‘int64’
     bool ebg_execute_sql_query(int *temp, int64 *temp64, bool use_sql, bool *save, bool *save_, int64 type, struct Sql *sql_handle, const char *query, int *char_id_offset, int fd)
                                           ^
    eBG_common.c:985:54: error: unknown type name ‘bool’
     bool ebg_execute_sql_query(int *temp, int64 *temp64, bool use_sql, bool *save, bool *save_, int64 type, struct Sql *sql_handle, const char *query, int *char_id_offset, int fd)
                                                          ^
    eBG_common.c:985:68: error: unknown type name ‘bool’
     bool ebg_execute_sql_query(int *temp, int64 *temp64, bool use_sql, bool *save, bool *save_, int64 type, struct Sql *sql_handle, const char *query, int *char_id_offset, int fd)
                                                                        ^
    eBG_common.c:985:80: error: unknown type name ‘bool’
     bool ebg_execute_sql_query(int *temp, int64 *temp64, bool use_sql, bool *save, bool *save_, int64 type, struct Sql *sql_handle, const char *query, int *char_id_offset, int fd)
                                                                                    ^
    eBG_common.c:985:93: error: unknown type name ‘int64’
     bool ebg_execute_sql_query(int *temp, int64 *temp64, bool use_sql, bool *save, bool *save_, int64 type, struct Sql *sql_handle, const char *query, int *char_id_offset, int fd)
                                                                                                 ^
    eBG_common.c:1187:101: error: unknown type name ‘bool’
     void bg_load_char_data_sub(struct Sql *sql_handle, struct ebg_save_data *esdb, int char_id, int fd, bool use_sql, int64 save_type)
                                                                                                         ^
    eBG_common.c:1187:115: error: unknown type name ‘int64’
     void bg_load_char_data_sub(struct Sql *sql_handle, struct ebg_save_data *esdb, int char_id, int fd, bool use_sql, int64 save_type)
                                                                                                                       ^
    eBG_common.c:1750:112: error: unknown type name ‘int64’
     void bg_save_common(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                    ^
    eBG_common.c:1808:112: error: unknown type name ‘int64’
     void bg_save_leader(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                    ^
    eBG_common.c:1838:109: error: unknown type name ‘int64’
     void bg_save_ctf(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                 ^
    eBG_common.c:1863:110: error: unknown type name ‘int64’
     void bg_save_boss(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                  ^
    eBG_common.c:1884:108: error: unknown type name ‘int64’
     void bg_save_ti(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                ^
    eBG_common.c:1905:109: error: unknown type name ‘int64’
     void bg_save_eos(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                 ^
    eBG_common.c:1926:109: error: unknown type name ‘int64’
     void bg_save_tdm(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                 ^
    eBG_common.c:1947:108: error: unknown type name ‘int64’
     void bg_save_sc(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                ^
    eBG_common.c:1968:110: error: unknown type name ‘int64’
     void bg_save_conq(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                  ^
    eBG_common.c:1989:110: error: unknown type name ‘int64’
     void bg_save_rush(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                  ^
    eBG_common.c:2011:109: error: unknown type name ‘int64’
     void bg_save_dom(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                 ^
    eBG_common.c:2032:113: error: unknown type name ‘int64’
     void bg_save_ranking(struct ebg_save_data *esdb, struct Sql *mysql_handle, int char_id, struct sd_p_data *data, int64 save_type)
                                                                                                                     ^
    Makefile:105: recipe for target '../../plugins/eBG_common.so' failed

     

    Please follow instructions from here: https://github.com/dastgirp/eBG/blob/master/README.md

    You only need to compile and enable 2 plugins, namely "ExtendedBG" and "ExtendedBG-char", you don't need to compile "eBG-common", however it should be present in the same folder, as "ExtendedBG.c" includes those files.


  11. 1 hour ago, utofaery said:

    Suggestion:

    Hey could the monster be "Group'ed" like this item group also???

    so we don't have to recompile if we added multiple small monster group.

     

    what you exactly mean? also it's better to open new suggestion on correct forum with all the description


  12. 4 hours ago, Baps said:

    Ok I finally found... I use an other Ragexe (2014-02-05 instead of 2015-05-13a). But i want to understand why it didn't work out ? It's a bit difficult to understand which Ragexe use etc...

    Someone can explain to me ?

    What you exactly mean by didn't work out?

    Any error or warnings?

    Did you properly configured IP? modified mmo.h to proper PACKETVER?


  13. Besides , there's no proper way to update SQL mob/item db easily, the owner need to compare changes and manually check if there's something changed, since the way that is used is "replace the fields using primary key" which overwrites all the data.

     

    Also, we aren't here to compare each and every thing from other emu and implement it. Both emu have different work flow and different view to how the working should be.


  14.  

    Update: https://github.com/dastgirp/eBG/commit/95b06799dece8c6f107b43632f9ce0d1050405b1 (Fixes the console error on PvP Maps too)

     

    New Feature and bug fixes:
    
    Added BG Ranking:
    	It contains several NPCs which changes the look to Top X as mentioned in the configuration.
    	The Ranking changes in real time
    	Added new scriptCommand getbgfame.
    	BG Ranking says the name of player if clicked.
    	Uncomment the Duplicate NPCs and change locations to enable the feature.
    
    @bgranked and @bgregular now shows 'No Players' if no players exist in ranking yet
    Fixed PvP Bound items which were conflicting with Ranking System

    Preview of BG Ranking:

     

    hTrUWhD.jpg

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.