Jump to content

Aurora

Members
  • Content Count

    121
  • Joined

  • Last visited

Posts posted by Aurora


  1. On 7/23/2017 at 8:12 AM, Habilis said:

    hmmm... ok...

    1 thing, when you say 

    you ran chmod +x ./configure (worked fine)

    but did you ran ?

    
    ./configure

     

    2 thing you can always do 

    
    chmod +x config.status

    ...

    Clearly, I didn't know what I am executing. But I'm guessing chmod +x ./configure change the permission which enables me to now use ./configure. Thanks for your help!


  2. 11 hours ago, Habilis said:

    can you show the output of following commands:

    
    whoami

    and

    
    ls -la

     

    [restie@Artifice Hercules]$ whoami
    restie
    [restie@Artifice Hercules]$ ls -la
    total 3532
    drwxrwxr-x 19 restie restie    4096 Jul 22 18:33 .
    drwx------  6 restie restie    4096 Jul 22 18:10 ..
    drwxrwxr-x  9 restie restie    4096 Jul 22 18:10 3rdparty
    -rw-rw-r--  1 restie restie    1277 Jul 22 18:10 athena-start
    -rw-rw-r--  1 restie restie    2340 Jul 22 18:10 AUTHORS
    drwxrwxr-x  4 restie restie    4096 Jul 22 18:10 cache
    -rw-rw-r--  1 restie restie      52 Jul 22 18:10 char-server.bat
    -rw-rw-r--  1 restie restie     270 Jul 22 18:10 char-server.sh
    drwxrwxr-x 10 restie restie    4096 Jul 22 18:10 conf
    -rw-rw-r--  1 restie restie   81210 Jul 22 18:10 config.log
    -rw-rw-r--  1 restie restie   26323 Jul 22 18:10 config.status
    -rwxrwxr-x  1 restie restie  297055 Jul 22 18:10 configure
    -rw-rw-r--  1 restie restie   35130 Jul 22 18:10 configure.ac
    -rw-rw-r--  1 restie restie    4080 Jul 22 18:10 CONTRIBUTING.md
    drwxrwxr-x  5 restie restie    4096 Jul 22 18:10 db
    -rw-rw-r--  1 restie restie    1592 Jul 22 18:10 db2sql.bat
    -rw-rw-r--  1 restie restie 1213200 Jul 22 18:10 dbghelp.dll
    drwxrwxr-x  4 restie restie    4096 Jul 22 18:10 doc
    drwxrwxr-x  8 restie restie    4096 Jul 22 18:10 .git
    -rw-rw-r--  1 restie restie      65 Jul 22 18:10 .gitattributes
    -rw-rw-r--  1 restie restie    4214 Jul 22 18:10 Hercules-11.sln
    -rw-rw-r--  1 restie restie    4295 Jul 22 18:10 Hercules-12.sln
    -rw-rw-r--  1 restie restie    4265 Jul 22 18:10 Hercules-14.sln
    drwxrwxr-x  5 restie restie    4096 Jul 22 18:10 Hercules.xcodeproj
    -rw-rw-r--  1 restie restie 1449984 Jul 22 18:10 libmysql.dll
    -rw-rw-r--  1 restie restie   35147 Jul 22 18:10 LICENSE
    drwxrwxr-x  3 restie restie    4096 Jul 22 18:10 log
    -rw-rw-r--  1 restie restie      54 Jul 22 18:10 login-server.bat
    -rw-rw-r--  1 restie restie     271 Jul 22 18:10 login-server.sh
    -rw-rw-r--  1 restie restie   10742 Jul 22 18:10 mac.start.scpt
    -rw-rw-r--  1 restie restie    6844 Jul 22 18:10 Makefile
    -rw-rw-r--  1 restie restie    6365 Jul 22 18:10 Makefile.in
    -rw-rw-r--  1 restie restie      50 Jul 22 18:10 map-server.bat
    -rw-rw-r--  1 restie restie     268 Jul 22 18:10 map-server.sh
    drwxrwxr-x 23 restie restie    4096 Jul 22 18:10 npc
    -rw-rw-r--  1 restie restie  159744 Jul 22 18:10 pcre3.dll
    drwxrwxr-x  3 restie restie    4096 Jul 22 18:10 plugins
    -rw-rw-r--  1 restie restie   10282 Jul 22 18:10 README.md
    -rw-rw-r--  1 restie restie     286 Jul 22 18:10 run-server.bat
    drwxrwxr-x  3 restie restie    4096 Jul 22 18:10 save
    -rw-rw-r--  1 restie restie    1519 Jul 22 18:10 script-checker
    -rw-rw-r--  1 restie restie    1614 Jul 22 18:10 script-checker.bat
    -rw-rw-r--  1 restie restie    1618 Jul 22 18:10 serv.bat
    drwxrwxr-x  5 restie restie    4096 Jul 22 18:10 sql-files
    drwxrwxr-x 11 restie restie    4096 Jul 22 18:10 src
    -rw-rw-r--  1 restie restie    8656 Jul 22 18:10 sysinfogen.sh
    drwxrwxr-x  4 restie restie    4096 Jul 22 18:10 tools
    -rw-rw-r--  1 restie restie    5053 Jul 22 18:10 travis.sh
    drwxrwxr-x  3 restie restie    4096 Jul 22 18:10 vcproj-11
    drwxrwxr-x  3 restie restie    4096 Jul 22 18:10 vcproj-12
    drwxrwxr-x  3 restie restie    4096 Jul 22 18:10 vcproj-14
    -rw-rw-r--  1 restie restie   81920 Jul 22 18:10 zlib1.dll
     


  3. Hi, 

    I am new to linux and trying to compile my server.

    I used the commands below:

    chmod +x ./configure (worked fine)

    make clean (worked fine)

    make sql (error message below)


    /bin/sh: ./config.status: Permission denied
    make: *** [config.status] Error 126
     

    Can someone enlighten me on about this error? TIA!


  4.  

     

     

    When you enable packet ob, you need to diff your client with the keys for that client which you can look in src/map/packets.h

     

    Hi Samuel, is that possible, be done with NEMO? It's been years I never manual diff. lol

     

    Currently I set it to 1 cuz 0 will also deny all login.

    ockquote>  

    The client has it's keys set by default, if you change them you need to set them. You have 3 options.

    1. Disable Packet Obfruscation in both, your client and your server config

    2. Keep the Packet Obfruscation on both enabled

    3. Use the Diff Samuel mentioned to set custom keys

     

    From what you wrote it sounds like you had the obfruscation enabeld on your server, but diffed the client to disable themlockquote> Hello Ridley, does this mean if I use the client with no broken keys based on the website(which I forgot) and enabled packet obfuscation on both client and the server without changing anything in the packets, packet obfuscation would work? Unless I want to use custom keys then I need to diff the client with it and put it as well on src(which I cannot make it to work after several times)

     

     

     

    If using the client with default keys there is no edit needed. It is enabled on server by default, and the server knows the client is using by default (ofc you need to set your clientversion in mmo.h)

    Alright, thanks! Will test this later :)


  5.  

    When you enable packet ob, you need to diff your client with the keys for that client which you can look in src/map/packets.h

     

    Hi Samuel, is that possible, be done with NEMO? It's been years I never manual diff. lol

     

    Currently I set it to 1 cuz 0 will also deny all login.

     

    The client has it's keys set by default, if you change them you need to set them. You have 3 options.

    1. Disable Packet Obfruscation in both, your client and your server config

    2. Keep the Packet Obfruscation on both enabled

    3. Use the Diff Samuel mentioned to set custom keys

     

    From what you wrote it sounds like you had the obfruscation enabeld on your server, but diffed the client to disable them

    Hello Ridley, does this mean if I use the client with no broken keys based on the website(which I forgot) and enabled packet obfuscation on both client and the server without changing anything in the packets, packet obfuscation would work? Unless I want to use custom keys then I need to diff the client with it and put it as well on src(which I cannot make it to work after several times)

  6. can u post your whole map zone conf file ?

    //================= Hercules Database =====================================
    //=       _   _                     _
    //=      | | | |                   | |
    //=      | |_| | ___ _ __ ___ _   _| | ___  ___
    //=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
    //=      | | | |  __/ | | (__| |_| | |  __/\__ \
    //=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
    //================= License ===============================================
    //= This file is part of Hercules.
    //=
    //= Copyright © 2013-2015  Hercules Dev Team
    //= Copyright © 2013  Ind
    //=
    //= Hercules is free software: you can redistribute it and/or modify
    //= it under the terms of the GNU General Public License as published by
    //= the Free Software Foundation, either version 3 of the License, or
    //= (at your option) any later version.
    //=
    //= This program is distributed in the hope that it will be useful,
    //= but WITHOUT ANY WARRANTY; without even the implied warranty of
    //= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    //= GNU General Public License for more details.
    //=
    //= You should have received a copy of the GNU General Public License
    //= along with this program.  If not, see <http://www.gnu.org/licenses/>.
    //=========================================================================
    //= Hercules Map Zone Database
    //================= More Information ======================================
    //= (TODO: replace with wiki link and detail the wiki page in a decent format ^)
    //================= Description ===========================================
    //= A unlimited number of zones may be created, a zone may be used to create a
    //= set of disabled items, disabled skills and mapflags to be used by as many
    //= maps as one chooses.
    //= Maps can be linked to a specific zone through the zone mapflag:
    //= '<map name><tab>mapflag<tab>zone<tab><zone name>'.
    //=========================================================================
    //= Available types for 'disabled_skills':
    //= PLAYER, HOMUN, MERCENARY, MONSTER, PET, ELEMENTAL, MOB_BOSS, CLONE, ALL and NONE
    //=========================================================================
     
    zones: (
    {
        /* All zone is a dynamic (very special) zone that is forcebly inherited by ALL maps automatically */
        name: "All" /* changing this name requires MAP_ZONE_ALL_NAME to also be changed in src/map/map.h file */
     
        disabled_skills: {
            //both examples below disable napalm beat (id 11) to players
            //MG_NAPALMBEAT: "PLAYER"
            //ID11: "PLAYER"
        }
     
        disabled_items: {
            //Both examples below disable apple (id 501)
            //Apple: true
            //ID501: true
        }
     
        mapflags: (
        )
     
        /* "command:min-group-lv-to-override" e.g. "heal: 70" */
        disabled_commands: {
            //Example Below makes @heal be used in maps within this zone only by those group lv 70 and above
            //heal: 70
        }
        skill_damage_cap: {
            //Exemple Below caps firebolt damage in maps within this zone to a maximum 50 damage,
            // (depends on HMAP_ZONE_DAMAGE_CAP_TYPE in src/config/core.h)
            // when cast vs players and monsters.
            //MG_COLDBOLT: (50,"PLAYER | MONSTER")
        }
    },
    {
        /* Normal zone is applied to all maps that are not pkable (where players cant fight each other)  */
        /* However, it wont be applied to maps with its own zones (specified through mapflag) */
        name: "Normal" /* changing this name requires MAP_ZONE_NORMAL_NAME to also be changed in src/map/map.h file */
     
        disabled_skills: {
            WM_LULLABY_DEEPSLEEP: "PLAYER"
            WM_SIRCLEOFNATURE: "PLAYER"
            WM_SATURDAY_NIGHT_FEVER: "PLAYER"
            SO_ARRULLO: "PLAYER"
            CG_HERMODE: "PLAYER"
        }
     
        disabled_items: {
     
        }
        mapflags: (
        )
     
    },
    {
        /* PvP zone is applied to all maps with a pvp mapflag */
        name: "PvP" /* changing this name requires MAP_ZONE_PVP_NAME to also be changed in src/map/map.h file */
     
        disabled_skills: {
            BS_GREED: "PLAYER"
            CG_HERMODE: "PLAYER"
        }
     
        disabled_items: {
            Greed_Scroll: true
        }
     
        mapflags: (
            "nocashshop",
        )
     
    },
    {
        /* PK Mode zone is only used when server is on pk_mode (battle.conf),
            it applies to all pvp maps that don't have their own zone */
        name: "PK Mode" /* changing this name requires MAP_ZONE_PK_NAME to also be changed in src/map/map.h file */
     
        disabled_skills: {
     
        }
     
        disabled_items: {
     
        }
     
        /* PK Mode Damage Reductions */
        /* - weapon_damage_rate -40% */
        /* - magic_damage_rate  -40% */
        /* - misc_damage_rate   -40% */
        /* - long_damage_rate   -30% */
        /* - short_damage_rate  -20% */
        mapflags: (
            "weapon_damage_rate    60",
            "magic_damage_rate    60",
            "misc_damage_rate    60",
            "long_damage_rate    70",
            "short_damage_rate    80",
        )
    },
    {
        /* GvG zone is applied to all maps with a gvg mapflag */
        name: "GvG" /* changing this name requires MAP_ZONE_GVG_NAME to also be changed in src/map/map.h file */
     
        disabled_skills: {
            AL_TELEPORT: "PLAYER"
            AL_WARP: "PLAYER"
            WZ_ICEWALL: "PLAYER"
            TF_BACKSLIDING: "PLAYER"
            RG_INTIMIDATE: "PLAYER"
            WE_CALLPARTNER: "PLAYER"
            HP_ASSUMPTIO: "PLAYER"
            HP_BASILICA: "PLAYER"
            CG_MOONLIT: "PLAYER"
            WE_CALLPARENT: "PLAYER"
            WE_CALLBABY: "PLAYER"
            CR_CULTIVATION: "PLAYER"
            NJ_KIRIKAGE: "PLAYER"
            CASH_ASSUMPTIO: "PLAYER"
            BS_GREED: "PLAYER"
            SC_FATALMENACE: "PLAYER"
            SC_DIMENSIONDOOR: "PLAYER"
        }
     
        disabled_items: {
            Assumptio_5_Scroll: true
            Greed_Scroll: true
            Pty_Assumptio_Scroll: true
        }
        /* 5 second duration increase on GvG */
        /* knockback disabled */
        /* GvG Mode Damage Reductions */
        /* - weapon_damage_rate -40% */
        /* - magic_damage_rate  -40% */
        /* - misc_damage_rate   -40% */
        /* - long_damage_rate   -20% */
        /* - short_damage_rate  -20% */
        mapflags: (
            "invincible_time_inc    5000",
            "noknockback",
            "weapon_damage_rate    60",
            "magic_damage_rate    60",
            "misc_damage_rate    60",
            "long_damage_rate    80",
            "short_damage_rate    80",
            "nocashshop",
            "gvg_noparty",
        )
     
    },
    {
        /* Battlegrounds zone is applied to all maps with a battlegrounds mapflag */
        name: "Battlegrounds" /* changing this name requires MAP_ZONE_BG_NAME to also be changed in src/map/map.h file */
     
        disabled_skills: {
            AL_TELEPORT: "PLAYER"
            AL_WARP: "PLAYER"
            WZ_ICEWALL: "PLAYER"
            TF_BACKSLIDING: "PLAYER"
            RG_INTIMIDATE: "PLAYER"
            MO_BODYRELOCATION: "PLAYER"
            WE_CALLPARTNER: "PLAYER"
            HP_ASSUMPTIO: "PLAYER"
            HP_BASILICA: "PLAYER"
            CG_MOONLIT: "PLAYER"
            WE_CALLPARENT: "PLAYER"
            WE_CALLBABY: "PLAYER"
            CR_CULTIVATION: "PLAYER"
            TK_RUN: "PLAYER"
            TK_HIGHJUMP: "PLAYER"
            SG_FEEL: "PLAYER"
            SG_SUN_WARM: "PLAYER"
            SG_MOON_WARM: "PLAYER"
            SG_STAR_WARM: "PLAYER"
            SG_SUN_COMFORT: "PLAYER"
            SG_MOON_COMFORT: "PLAYER"
            SG_STAR_COMFORT: "PLAYER"
            SG_HATE: "PLAYER"
            SG_SUN_ANGER: "PLAYER"
            SG_MOON_ANGER: "PLAYER"
            SG_STAR_ANGER: "PLAYER"
            SG_SUN_BLESS: "PLAYER"
            SG_MOON_BLESS: "PLAYER"
            SG_STAR_BLESS: "PLAYER"
            NJ_KIRIKAGE: "PLAYER"
            CASH_ASSUMPTIO: "PLAYER"
            SC_FATALMENACE: "PLAYER"
            SC_DIMENSIONDOOR: "PLAYER"
        }
        disabled_items: {
            Assumptio_5_Scroll: true
            Pty_Assumptio_Scroll: true
        }
     
        /* knockback disabled */
        /* Battlegrounds Damage Reductions */
        /* - weapon_damage_rate -30% */
        /* - magic_damage_rate  -30% */
        /* - misc_damage_rate   -30% */
        /* - long_damage_rate   -25% */
        /* - short_damage_rate  -25% */
        mapflags: (
            "noknockback",
            "weapon_damage_rate    70",
            "magic_damage_rate    70",
            "misc_damage_rate    70",
            "long_damage_rate    75",
            "short_damage_rate    75",
        )
     
    },
    {
        name: "Aldebaran Turbo Track"
     
        disabled_skills: {
            SM_ENDURE: "PLAYER"
            AL_TELEPORT: "PLAYER"
            AL_WARP: "PLAYER"
            AL_CURE: "PLAYER"
            TF_HIDING: "PLAYER"
            WZ_ICEWALL: "PLAYER"
            AS_CLOAKING: "PLAYER"
            RG_INTIMIDATE: "PLAYER"
            MO_BODYRELOCATION: "PLAYER"
            LK_CONCENTRATION: "PLAYER"
            LK_BERSERK: "PLAYER"
            HP_BASILICA: "PLAYER"
            WS_CARTBOOST: "PLAYER"
            ST_CHASEWALK: "PLAYER"
            CG_MOONLIT: "PLAYER"
            SC_FATALMENACE: "PLAYER"
            SC_DIMENSIONDOOR: "PLAYER"
            GN_CARTBOOST: "PLAYER"
        }
     
        disabled_items: {
            Wing_Of_Fly: true
            Anodyne: true
            Green_Potion: true
            Panacea: true
        }
    },
    {
        name: "Jail"
     
        disabled_skills: {
            TK_JUMPKICK: "PLAYER"
            TK_HIGHJUMP: "PLAYER"
        }
     
        disabled_items: {
            Wing_Of_Fly: true
            Wing_Of_Butterfly: true
            Giant_Fly_Wing: true
            WOB_Rune: true
            WOB_Schwaltz: true
            WOB_Rachel: true
            WOB_Local: true
        }
    },
    {
        name: "Izlude Battle Arena"
     
        disabled_skills: {
            RG_INTIMIDATE: "PLAYER"
            AL_TELEPORT: "PLAYER"
            SC_FATALMENACE: "PLAYER"
            SC_DIMENSIONDOOR: "PLAYER"
        }
     
        disabled_items: {
            Wing_Of_Fly: true
        }
    },
    {
        name: "GvG2"
        inherit: ( "GvG" ) /* will import all gvg has */
     
        disabled_skills: {
            TK_HIGHJUMP: "PLAYER"
            SA_ABRACADABRA: "PLAYER"
        }
    },
    {
        name: "Sealed Shrine"
     
        disabled_skills: {
            MG_SAFETYWALL: "PLAYER"
            AL_TELEPORT: "PLAYER | MONSTER | HOMUN | MERCENARY"
            RG_INTIMIDATE: "PLAYER | MONSTER"
            HP_ASSUMPTIO: "PLAYER"
            CASH_ASSUMPTIO: "PLAYER"
            SC_FATALMENACE: "PLAYER"
            SC_DIMENSIONDOOR: "PLAYER"
        }
    },
    {
        name: "Memorial Dungeon" /* ETower, Orc's Memory, Nidhoggur's Nest, etc */
     
        disabled_skills: {
            AL_TELEPORT: "PLAYER | MONSTER | HOMUN | MERCENARY"
            WZ_ICEWALL: "PLAYER"
            RG_INTIMIDATE: "PLAYER | MONSTER"
            PF_SPIDERWEB: "PLAYER"
            NPC_EXPULSION: "PLAYER"
            SC_FATALMENACE: "PLAYER"
            SC_DIMENSIONDOOR: "PLAYER"
        }
    },
    {
        name: "Towns"
     
        disabled_skills: {
            AM_CANNIBALIZE: "PLAYER"
            AM_SPHEREMINE: "PLAYER"
            CR_CULTIVATION: "PLAYER"
            BS_GREED: "PLAYER"
            SC_MANHOLE: "PLAYER"
            WM_POEMOFNETHERWORLD: "PLAYER"
            GN_WALLOFTHORN: "PLAYER"
        }
     
        disabled_items: {
            Greed_Scroll: true
        }
    },
     
    {
        name: "Farmzone"
     
        disabled_skills: {
            TF_STEAL: "PLAYER"
        }
     
        disabled_items: {
            
        }
    },
     
     
    )
    Here it is. Sorry for the late reply 

  7. //mapzonedb.conf

    {

        name: "Farmzones"

     

        disabled_skills: {

            TF_STEAL: "PLAYER"

         

        }

     

        disabled_items: {

          

        }

    }

     

    //npc mapflag

     

    bossnia_01    mapflag zone Farmzones

     

    Am I missing something? I wanted to disable steal on certains maps. After this configs it is still working.


  8.  

    Okay well lemme see if I can break it down for you:

    • MvP Spawn Time - this is individually... meaning you have to go into the spawn files (i.e. /npc/RE:PRE-RE/mobs/ dungeons or fields (depending where the MvP spawns)). For example: lhz_dun02,0,0,0,0 boss_monster Egnigem Cenia 1658,1,7200000,600000,1 typically MvP Monsters are labeled as boss_monster. Change 7200000 and 600000 to the duration you like
    • Starting Point - /conf/char-server.conf and find start_point: new_1-1,53,111 and change accordingly.
    • Rates - Showed you already
    • @go Custom Map - Read Wiki
    • Character Stats - https://github.com/HerculesWS/Hercules/blob/master/conf/battle/player.conf

     

    As for your ramod database into Hercules, I can't essentially help you out with that. You could try several links that could help as I don't condone rAMod, HercMod, eAMod emulators.

    Is 7200000 and 600000 in ms? What if I want to make them spawn every hour?


  9. It is possible to lock a GRF in such a way, however you wouln't be able to patch it anymore unless you use a custom patcher. I believe Advanced GRF Tool Suit has such a feature, though.The reason this isn't included in GRF Editor is because it reduces the usability of your GRF and creates problems afterwards.

    What do you mean by custom patcher? Does this mean that if you encrypt your GRF using GRF editor the client won't be able to read the patched files?


  10.  

    I'm not exactly sure what you want to be not loaded/removed.

    Add(1 adds items to the first shop

    Add(2 adds items to the second shop

    The duplicates will load those shops

    - shop hatmaker1 -1,909:-1

     

    And why do you have sleep in between adding items?

    It makes sense when there is a huge ammount of items to be loaded at once.

    Right. Clearly, I am a newbie :)


  11. mob_item_ratio.txt

     

    // Specific Item Drop Ratio Database
    // Overrides for global item_rate* values from conf/battle/drops.conf
    //
    // Structure of Database:
    // ItemID,Ratio{,MonsterID}
    //
    // Result:
    // ItemID base drop rates defined in mob_db will not get multiplied
    // by global item_rate* values (aka drop rates) from
    // conf/battle/drops.conf. Instead Ratio will be used (100 = 1x).
    // If no MonsterID is specified, all monsters will be affected,
    // otherwise only listed ones.
    //
    // Examples:
    // 909,100 // Jellopies from monsters will drop with 1x drop rate regardless of global drop rate
    // 909,1000 // Jellopies from monsters will drop with 10x drop rate regardless of global drop rate
    // 909,100,1002 // Jellopies from Porings will drop with 1x drop rate. Other monsters that drop Jellopies are unaffected (use global drop rate).
    //
    // Notes:
    // - By default you can list up to 10 MonsterIDs per ItemID.
    // It can be changed in src/map/mob.c by adjusting MAX_ITEMRATIO_MOBS.
    // - Only ItemIDs up to MAX_ITEMDB are supported (default: 32768).
    // - Does not override item_drop_*_min/max settings.
    // - Does not affect card/item-granted drops. To adjust card/item-granted
    // drops, edit them in item_db.
    // - Does affect MVP prizes and Treasure Boxes.
    // - You can add only ONE line per ItemID. If you need various ratios
    // for different monsters, override drop rate with Ratio=100 and edit
    // base drop rates in mob_db.
    // - This file is reloaded by @reloadmobdb.

    748,4000
    732,4000
    731,4000
    730,4000
    2613,4000
    969,4000
    7321,4000

     

     

    drops.conf

     

    // The rate the common items are dropped (Items that are in the ETC tab, besides card)
    item_rate_common: 1000000
    item_rate_common_boss: 1000000
    item_drop_common_min: 1
    item_drop_common_max: 10000

    // The rate healing items are dropped (items that restore HP or SP)
    item_rate_heal: 1000000
    item_rate_heal_boss: 1000000
    item_drop_heal_min: 1
    item_drop_heal_max: 10000

    // The rate at which usable items (in the item tab) other then healing items are dropped.
    item_rate_use: 1000000
    item_rate_use_boss: 1000000
    item_drop_use_min: 1
    item_drop_use_max: 10000

    // The rate at which equipment is dropped.
    item_rate_equip: 5
    item_rate_equip_boss: 5
    item_drop_equip_min: 5
    item_drop_equip_max: 10000

    // The rate at which cards are dropped
    item_rate_card: 750000
    item_rate_card_boss: 750000
    item_drop_card_min: 1
    item_drop_card_max: 10000

    // The rate adjustment for the MVP items that the MVP gets directly in their inventory
    item_rate_mvp: 1000000
    item_drop_mvp_min: 1
    item_drop_mvp_max: 10000

    // The rate adjustment for card-granted item drops.
    item_rate_adddrop: 100
    item_drop_add_min: 1
    item_drop_add_max: 100

    // Rate adjustment for Treasure Box drops (these override all other modifiers)
    item_rate_treasure: 1000000
    item_drop_treasure_min: 1
    item_drop_treasure_max: 10000

     

     

    I'm trying to set those specific item id % drop rates to 40% but after reloadmobdb/server restart still at 100%. What am I doing wrong? ;O


  12.  

    How can I make Shield boomerang/Charge weapon element changeable as well as Acid Terror?

    How do I increase/descrease skill damage/buffs as well?

    Thanks!

     

    Go to your skill_db.conf --> https://github.com/HerculesWS/Hercules/blob/master/db/pre-re/skill_db.conf and add the Element: "Element Type" value. To increase damage of the skill, you need to go into the battle.c file and change the skill's formula + recompile.

     

    	Element: "Element Type"                     (string) (Optional field - Default "Ele_Neutral")
    	                                            (can be grouped by Levels)
    	                                            Types: "Ele_Neutral", "Ele_Water", "Ele_Earth", "Ele_Fire", "Ele_Wind"
    	                                            "Ele_Poison", "Ele_Holy", "Ele_Dark", "Ele_Ghost", "Ele_Undead"
    	                                            "Ele_Weapon" - Uses weapon's element.
    	                                            "Ele_Endowed" - Uses Endowed element.
    	                                            "Ele_Random" - Uses random element.
    

    Thanks @Mysterious! It's working perfectly. I have one more question if that's okay xD I can't find where to change the effect of skills, (e.g Inc agi will give +100 dex agi instead of 10) TIA!


  13. koe.c: In function 'plugin_init':

    koe.c:55: warning: comparison of distinct pointer types lacks a cast

            PLUGIN  koe

     How to fix this? I tried "make plugins" and try running the script but I can hit emp even if I own it so I checked FAQ says to recompile now I can't start my server.

×
×
  • Create New...

Important Information

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