Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/09/18 in Posts

  1. Looking forward to your rate or upvote or comment on this release. Download the files here: LINK (Updated to v1.2!) Hi guys, Some of you may know me from the preview of this project a couple of days ago, I'm here to release the status icons as promised. Here's a preview of freeze effect: _______________________________________________________________________________________________________ Guide on how to install these status icon (8 Steps) Download the files here: LINK Emulator-Side Step 1: Go to src\map\status.c Look for: /* First we define the skill for common ailments. These are used in skill_additional_effect through sc cards. [Skotlex] */ set_sc( NPC_PETRIFYATTACK , SC_STONE , SI_BLANK , SCB_DEF_ELE|SCB_DEF|SCB_MDEF ); set_sc( NPC_WIDEFREEZE , SC_FREEZE , SI_BLANK , SCB_DEF_ELE|SCB_DEF|SCB_MDEF ); add_sc( NPC_STUNATTACK , SC_STUN ); add_sc( NPC_SLEEPATTACK , SC_SLEEP ); set_sc( NPC_POISON , SC_POISON , SI_BLANK , SCB_DEF2|SCB_REGEN ); set_sc( NPC_CURSEATTACK , SC_CURSE , SI_BLANK , SCB_LUK|SCB_BATK|SCB_WATK|SCB_SPEED ); add_sc( NPC_SILENCEATTACK , SC_SILENCE ); add_sc( NPC_WIDECONFUSE , SC_CONFUSION ); set_sc( NPC_BLINDATTACK , SC_BLIND , SI_BLANK , SCB_HIT|SCB_FLEE ); set_sc( NPC_BLEEDING , SC_BLEEDING , SI_BLEEDING , SCB_REGEN ); set_sc( NPC_POISON , SC_DPOISON , SI_BLANK , SCB_DEF2|SCB_REGEN ); Replace with: set_sc( NPC_PETRIFYATTACK , SC_STONE , SI_STONE , SCB_DEF_ELE|SCB_DEF|SCB_MDEF ); set_sc( NPC_WIDEFREEZE , SC_FREEZE , SI_FREEZE , SCB_DEF_ELE|SCB_DEF|SCB_MDEF ); set_sc( NPC_STUNATTACK , SC_STUN , SI_STUN , SCB_NONE ); set_sc( NPC_SLEEPATTACK , SC_SLEEP , SI_SLEEP , SCB_NONE ); set_sc( NPC_POISON , SC_POISON , SI_POISON , SCB_DEF2|SCB_REGEN ); set_sc( NPC_CURSEATTACK , SC_CURSE , SI_CURSE , SCB_LUK|SCB_BATK|SCB_WATK|SCB_SPEED ); set_sc( NPC_SILENCEATTACK , SC_SILENCE , SI_SILENCE , SCB_NONE ); set_sc( NPC_WIDECONFUSE , SC_CONFUSION , SI_CONFUSION , SCB_NONE ); set_sc( NPC_BLINDATTACK , SC_BLIND , SI_BLIND , SCB_HIT|SCB_FLEE ); set_sc( NPC_BLEEDING , SC_BLEEDING , SI_BLEEDING , SCB_REGEN ); set_sc( NPC_POISON , SC_DPOISON , SI_DPOISON , SCB_DEF2|SCB_REGEN ); Step 2: Go to src\map\status.h Look for: SI_JP_OTP = 816, Add below: SI_STONE = 818, SI_FREEZE = 819, SI_STUN = 820, SI_SLEEP = 821, SI_POISON = 822, SI_CURSE = 823, SI_SILENCE = 824, SI_CONFUSION = 825, SI_BLIND = 826, SI_CHANGEUNDEAD = 827, SI_DPOISON = 828, Step 3: Go to db\const.txt Look for: SI_JP_OTP 816 Add below: SI_STONE 818 SI_FREEZE 819 SI_STUN 820 SI_SLEEP 821 SI_POISON 822 SI_CURSE 823 SI_SILENCE 824 SI_CONFUSION 825 SI_BLIND 826 SI_CHANGEUNDEAD 827 SI_DPOISON 828 Step 4: Re-compile your server! Client-Side (You can skip this step if you use my .grf files to patch your server) Step 5: Go to \data\luafiles514\lua files\stateicon\efstids.lua (You can skip this step if you use my .grf files to patch your server) Look for: EFST_FLOWER_LEAF = 675, Add below: EFST_STONE = 818, EFST_FREEZE = 819, EFST_STUN = 820, EFST_SLEEP = 821, EFST_POISON = 822, EFST_CURSE = 823, EFST_SILENCE = 824, EFST_CONFUSION = 825, EFST_BLIND = 826, EFST_UNDEAD = 827, EFST_DPOISON = 828, Step 6: Go to \data\luafiles514\lua files\stateicon\stateiconimginfo.lua (You can skip this step if you use my .grf files to patch your server) Look for: [PRIORITY_RED] = { Add below: [EFST_IDs.EFST_STONE] = "STONEST.TGA", [EFST_IDs.EFST_FREEZE] = "FREEZEST.TGA", [EFST_IDs.EFST_STUN] = "STUNST.TGA", [EFST_IDs.EFST_SLEEP] = "SLEEPST.TGA", [EFST_IDs.EFST_POISON] = "POISONST.TGA", [EFST_IDs.EFST_CURSE] = "CURSEST.TGA", [EFST_IDs.EFST_SILENCE] = "SILENCEST.TGA", [EFST_IDs.EFST_CONFUSION] = "CONFUSIONST.TGA", [EFST_IDs.EFST_BLIND] = "BLINDST.TGA", [EFST_IDs.EFST_UNDEAD] = "UNDEADST.TGA", [EFST_IDs.EFST_DPOISON] = "DPOISONST.TGA", Step 7: Go to \data\luafiles514\lua files\stateicon\stateiconinfo.lua (You can skip this step if you use my .grf files to patch your server) Look for: StateIconList[EFST_IDs.EFST_HELLPOWER] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Hell Power", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Can not be revived"}, {"Sacrifice is Disabled"}, {"Token of Siegfried disabled"} } } Add below: StateIconList[EFST_IDs.EFST_STONE] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Stone Cursed", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"All DEF contributed by items is reduced by 50%"}, {"If HP is over 25%, you will lose 1% of your HP every 5 seconds"}, {"Changes your elemental status as Earth LV 1"}, {"Ignores Steal and Lex Aeterna"}, {"Impossible to move, attack, pick up items, skill usage, sitting, force disconnection, and item usage"} } } StateIconList[EFST_IDs.EFST_FREEZE] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Frozen", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"All DEF contributed by items is reduced by 50%"}, {"Any FLEE will be negated"}, {"If HP is over 25%, you will lose 1% of your HP every 5 seconds"}, {"Changes your elemental status as Water LV 1"}, {"Ignores Steal, Lex Aeterna, Storm Gust and Snow Flake Draft"}, {"Impossible to move, attack, pick up items, skill usage, sitting, force disconnection, and item usage"} } } StateIconList[EFST_IDs.EFST_STUN] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Stunned", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Any flee will be negated"}, {"Impossible to move, attack, pick up items, skill usage, sitting, force disconnection, and item usage"} } } StateIconList[EFST_IDs.EFST_SLEEP] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Asleep", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"If enemy attacks you, they will have 2x CRIT chance with their attack"}, {"Any flee will be negated"}, {"Impossible to move, attack, pick up items, skill usage, sitting, force disconnection, and item usage"} } } StateIconList[EFST_IDs.EFST_POISON] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Poisoned", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Status-oriented DEF is reduced by 25%"}, {"If HP is over 25%, you will lose 1.5% + 2 HP of your max HP every second"}, {"SP Regeneration is disabled"} } } StateIconList[EFST_IDs.EFST_CURSE] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Cursed", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Reduce your ATK by 25%"}, {"LUK becomes 0"}, {"Drastically Reduces your Movement Speed"} } } StateIconList[EFST_IDs.EFST_SILENCE] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Silenced", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Inability to use any active skills"} } } StateIconList[EFST_IDs.EFST_CONFUSION] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Confused", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Causes the character to move into unintended directions when trying to navigate"} } } StateIconList[EFST_IDs.EFST_BLIND] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Blinded", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Reduce your HIT and FLEE rate by 25%"}, {"Also graphically reduces range of your visibility"} } } StateIconList[EFST_IDs.EFST_UNDEAD] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Turned Undead", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"You become Undead property"}, {"Support buffs such as Blessing and Increase AGI are removed"} } } StateIconList[EFST_IDs.EFST_DPOISON] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Deadly Poisoned", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Attack speed increased."}, {"Status-oriented DEF is reduced by 25%"}, {"If HP is over 25%, you will lose 1.5% + 2 HP of your max HP every second"}, {"SP Regeneration is disabled"} } } Step 8: (You can skip this step if you use my .grf files to patch your server) Go to \data\texture\effect and add in the .tga files Whew, that's it. Now, pack it up into .grf/.gpf file if you want to and look at it go! _______________________________________________________________________________________________________ At first I wanted to charge $1 for the pack because I'm so broke right now but I don't have the heart to do it since it is my first release. So here it is. Free stuff! Looking forward to hear what you guys think. Rate it if you guys have the chance. Enjoy it, Shade
    1 point
  2. Random Option System As of f296409, rAthena now supports Random Option System! Random Option System is a feature that is implemented in 2015-05-13 clients and later. It allows equipments to have up to 5 additional effects. You may think of it as 5 additional customizable card slots! With this feature, we believe it will open many more possibilities for server owner and scripters to create contents. However, this feature is still in initial release state. Bugs and issues may occur. We hope you could kindly report them to us. Finally, in addition to the feature, we will release more script command support for this feature in the future. Stay tuned! Details : - This features requires 2015-05-13 client or later to display the bonus in the client. - New database file has been added for renewal mode (db/re/item_randomopt_db.txt) - You can add additional bonus in db/import/item_randomopt_db.txt as usual. - New script commands. You can read more in doc/script_commands.txt * getrandomoptinfo - For reading attributes of the option calling this command itself. * getequiprandomoption - For reading attributes of an option on an equipped item. * setrandomoption - For applying an option to an equipped item. Special thanks to Napster for the initial code base of this feature.
    1 point
×
×
  • Create New...