Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/14/21 in all areas

  1. View File Customize your iteminfo with import V2 Version 2 Information: now support more then 2 iteminfo , you can check line 17 to add as much as you want! IInfo = {"System.import_iteminfo","System.kro_iteminfo5","System.kro_iteminfo4","System.kro_iteminfo3","System.kro_iteminfo2","System.kro_iteminfo1","System.kro_iteminfo"} now it's much much much faster for big files! remove functions.lua move url functions to the iteminfo itself 2 Big files loading test : this test is not loading in the client , but loading in the debugger! If you are new to this > Details: this an example and template on how you Customize your iteminfo read the ReadMe!! file before you ask anything this work as the import folders in rathena (if you don't know what i mean than i suggest you use rathena search or google) ALL THE FILES MUST BE .lua !!! the way it work: you add your custom and edited items in the import iteminfo file you add kro iteminfo file you add the server url in the function file the client will read the iteminfo import first than the kro iteminfo than you can update your kro iteminfo at anytime you need without any edit to it without the need to re-add your custom and edited items to a new kro iteminfo the kro_iteminfo included is from https://github.com/zackdreaver/ROenglishRE this file is added for example on how you use it i suggest you get the last iteminfo after you make sure there is no error! i would highly suggest you check out his great project every time you want to update your iteminfo! Please report any error in the forum post not in the PM , Thanks. Submitter sader1992 Submitted 02/21/2019 Category Client Resources Video Content Author sader1992 , zackdreaver  
    1 point
  2. Instance Difficulty Settings Instance Difficulty Settings is a powerful modification that allows you to set/modify an instance difficulty without touching the whole NPC Script of the instance and adding status penalties to the players. ?How it works?? This Mod works in base of a Custom Database (instance_mode_db.yml). Inside this file you can configurate a bunch of parameters related to Monster, Exp Rate and Drop Rate. ########################################################################### # Instance Mode Database ########################################################################### # # Instance Mode Settings # ########################################################################### # - Mode Instance Mode ID. # Exp Rate Experience rate percentage setting for Instance. (Default: 100) # Drop Rate Drop rate percentage setting for Instance. (Default: 100) # HP Mob's Max HP percentage. (Default: 100) # Speed Mob's Movement Speed percentage. Set it lower to increase speed. (Default: 100) # STR Mob's STR percentage. (Default: 100) # AGI Mob's AGI percentage. (Default: 100) # VIT Mob's VIT percentage. (Default: 100) # INT Mob's INT percentage. (Default: 100) # DEX Mob's DEX percentage. (Default: 100) # LUK Mob's LUK percentage. (Default: 100) # ATK Mob's ATK percentage. (Default: 100) # ATK2 Mob's ATK2 percentage. (Default: 100) # MATK Mob's MATK percentage. (Default: 100) # MATK2 Mob's MATK2 percentage. (Default: 100) # DEF Mob's DEF percentage. (Default: 100) # MDEF Mob's MDEF percentage. (Default: 100) # HIT Mob's HIT percentage. (Default: 100) # FLEE Mob's FLEE percentage. (Default: 100) # FLEE2 Mob's FLEE2 percentage. (Default: 100) # CRI Mob's CRI percentage. (Default: 100) # AMOTION Mob's AMOTION percentage. Set it lower to increase speed. (Default: 100) # ADELAY Mob's ADELAY percentage. Set it lower to increase speed. (Default: 100) # DMOTION Mob's DMOTION percentage. Set it lower to increase speed. (Default: 100) ########################################################################### Currently there are 4 premade difficulty modes ID_EASY: Easy mode, all monster stats are reduced by 20%. Exp & Drop rates reduced by 20%. ID_NORMAL: Default mode. No changes. ID_HARD: Hard mode, all monster stats increased by 50%, speed & ASPD +20%. Exp & Drop rates increased by 20%. ID_INSANE: Very hard mode, all monster stats increased by 100%, speed & ASPD +50%. Exp & Drop rates increased by 50%. You can easily modify each value in this file and even create your custom difficulty modes. ?Instance Penalty Debuffs? Instance penalty debuff is another way to make harder the experience of your players by adding permanents debuff while they are inside the instance. Currently there are 8 debuffs. Cast Time: Increases cast time by <value>%. ASPD: Decreases ASPD by <value>%. MaxHP: Decreases MaxHP by <value>%. MaxSP: Decreases MaxSP by <value>%. AllStats: Reduces All Stats by <value>. Speed: Decreases Movement Speed by <value>%. ATK: Decreases Base ATK by <value>%. MATK: Decreases MATK by <value>%. This all is great! But how can you set instance difficulty and penalties? ?Setting up Difficulty? There are 2 ways to set up this: Setting this up in instance_db.yml: There's a node called Difficulty inside this file where you can setup the difficulty. Setting this up through script command (Recommended): When you create an instance with instance_create script command, you can add an extra argument <difficulty>. Nice! But can I change the mode whenever I want? Yes, you can. There is a script command called instance_setdifficulty that allows you to change this. Whenever the difficulty is changed, all the monsters stats inside the instance are recalculated. So you can make a script that changes the difficulty when X players join from ID_NORMAL to ID_HARD. ?Setting up Penalties? For setup a instance penalty you have the script command instance_setpenalty. instance_setpenalty(<instance id>,<sc_type>,<value>) Example: // This will reduce players MaxHP by 75% when they enter to the instance instance_setpenalty(instance_id(IM_PARTY),SC_ID_MAXHP,75); Additionally this will give you a Status Icon and send you a message when you join the instance. And again, you can make a script that increases a penalty when X players join the instance or that penalty increases by each player in! ?Script Documentation?
    1 point
  3. what do you mean by "no effect" ,also post all your config from OnInit to the end;
    1 point
  4. I don't have test it, but it should work. Go in itemdb.cpp and search for /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: case IT_ARMOR: case IT_PETARMOR: case IT_SHADOWGEAR: case IT_CHARM: return 0; default: return 1; } } and change it to: /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); { return 1; } } or if you want only for weapons and armor: /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: return 1; case IT_ARMOR: return 1; case IT_PETARMOR: case IT_SHADOWGEAR: case IT_CHARM: return 0; default: return 1; } }
    1 point
  5. Thanks for the explanation. Now I understand why you did that. nice tips
    1 point
  6. 1514 downloads

    Askald This mas is public so don't try to sell it or make it your property. It is my first map, i am pretty happy with the result and i will probably make some more. Contact You can found me on discord : Sloth#6226 Github : https://github.com/SlothBM/ Crédit I would like to thank the Borf discord community for helping me with a few issues. Want to support my work ?
    Free
    1 point
×
×
  • Create New...