Popular Post Shade Posted April 7, 2014 Popular Post Posted April 7, 2014 (edited) 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 Edited May 15, 2014 by Shade 17 Quote
anacondaq Posted April 8, 2014 Posted April 8, 2014 Sure, thank you very much for the guide, but there was already one writed some time ago: http://rathena.org/board/topic/72715-unofficial-extra-status-icons/ Quote
Shade Posted April 8, 2014 Author Posted April 8, 2014 Sure, thank you very much for the guide, but there was already one writed some time ago: http://rathena.org/board/topic/72715-unofficial-extra-status-icons/ Yeah, but these status are not new. I'm certain that people will ask how to get it setup in the future. Quote
Shade Posted April 8, 2014 Author Posted April 8, 2014 the download link is not yet available? It is there before the guide. Or you can just click here. I'll make the link bigger so that you guys can see it better. http://rathena.org/board/files/file/3157-common-ailments-status-icon/ Quote
Shade Posted April 8, 2014 Author Posted April 8, 2014 Ah my bad, the admin has not approved it yet. Looks like we have to wait for awhile. Your submission was successful! An administrator must review your submission before it will be available publicly. Quote
Brynner Posted April 8, 2014 Posted April 8, 2014 Ah my bad, the admin has not approved it yet. Looks like we have to wait for awhile. Your submission was successful! An administrator must review your submission before it will be available publicly. i see.that's why i say the download link is not available. btw have you completed all the negative status icon? thanks. Quote
Shade Posted April 8, 2014 Author Posted April 8, 2014 Ah my bad, the admin has not approved it yet. Looks like we have to wait for awhile. Your submission was successful! An administrator must review your submission before it will be available publicly. i see.that's why i say the download link is not available. btw have you completed all the negative status icon? thanks. I check with RO, there are 9 main status ailment without skill icon and here are my icons: Quote
miczster Posted April 8, 2014 Posted April 8, 2014 NYc work!!! um..could you add icons for new statuses like burning and fear?? (IDK what the 3 others do exactly by default) -------------------------------------------------------------------------------------------------------------------------------------------------------- heres the list of bonuses according to doc/item_bonus.txt Eff_Stone, Eff_Freeze, Eff_Stun, Eff_Sleep, Eff_Poison, Eff_Curse, Eff_Silence, Eff_Confusion, Eff_Blind, Eff_Bleeding, Eff_DPoison, Eff_Fear, Eff_Burning -------------------------------------------------------------------------------------------------------------------------------------------------------- Quote
nanakiwurtz Posted April 8, 2014 Posted April 8, 2014 Haven't tried it yet, but I'll follow your thread for future updates Quote
Shade Posted April 8, 2014 Author Posted April 8, 2014 NYc work!!! um..could you add icons for new statuses like burning and fear?? (IDK what the 3 others do exactly by default) -------------------------------------------------------------------------------------------------------------------------------------------------------- heres the list of bonuses according to doc/item_bonus.txt Eff_Stone, Eff_Freeze, Eff_Stun, Eff_Sleep, Eff_Poison, Eff_Curse, Eff_Silence, Eff_Confusion, Eff_Blind, Eff_Bleeding, Eff_DPoison, Eff_Fear, Eff_Burning -------------------------------------------------------------------------------------------------------------------------------------------------------- I have burning icon, but I'm quite sure it has already been implemented. how about the SC_DPOISON I wasn't sure before, I got confused between Enchant Deadly Poison and Deadly Poison debuff. I'll include that on v2 soon (including other statuses that I've completed like CHANGEUNDEAD). Quote
Cydh Posted April 8, 2014 Posted April 8, 2014 nice guide, I knew this and just wait someone to make the guide. xD btw, there is a bit mistake there, in db\const.txt, it doesn't like "=" after SI_<name>, it needs a tab. [spoiler=in your guide] Quote
Shade Posted April 9, 2014 Author Posted April 9, 2014 hope there is a mirror link for this. The download link approved. (Thanks Admins!) nice guide, I knew this and just wait someone to make the guide. xD btw, there is a bit mistake there, in db\const.txt, it doesn't like "=" after SI_<name>, it needs a tab. [spoiler=in your guide] Damn, that happened because one of the code was out of the box. Thanks for pointing that out. Fixed. Quote
Shade Posted April 16, 2014 Author Posted April 16, 2014 Updated to v1.2!Added Deadly poison and Changeundead! Looking forward to your rate and response! Quote
killernot Posted April 16, 2014 Posted April 16, 2014 help recompile error status.c: In function 'initChangeTables': status.c:156: error: 'SC_BLEEDING' undeclared (first use in this function) status.c:156: error: (Each undeclared identifier is reported only once status.c:156: error: for each function it appears in.) status.c:156: error: 'SI_BLEEDING' undeclared (first use in this function) Quote
Shade Posted April 17, 2014 Author Posted April 17, 2014 That's weird I didn't even touch that part.What revision are you using?Try and redoing it. Quote
killernot Posted April 17, 2014 Posted April 17, 2014 I'm using Hercules. i guess it's not compatible at the moment Quote
Shade Posted April 17, 2014 Author Posted April 17, 2014 I'm using Hercules. i guess it's not compatible at the moment I have zero knowledge on Hercules, but based on the error, it is just stating that there are no such thing as bleeding status. What you can do is to delete any lines that are related to bleeding. See if this works for you. error sir im used svn 17072 Do you mind posting the error message? 1 Quote
killernot Posted April 18, 2014 Posted April 18, 2014 (edited) I'm using Hercules. i guess it's not compatible at the moment I have zero knowledge on Hercules, but based on the error, it is just stating that there are no such thing as bleeding status. What you can do is to delete any lines that are related to bleeding. See if this works for you. I fixed it! 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_BLOODING , SI_BLOODING , SCB_REGEN ); <--- I changed everything except for this line set_sc( NPC_POISON , SC_DPOISON , SI_DPOISON , SCB_DEF2|SCB_REGEN ); Edited April 18, 2014 by killernot Quote
PapaZola Posted April 20, 2014 Posted April 20, 2014 rathena svn latest also got error this status.h:1491: error: redeclaration of enumerator 'SI_UNDEAD' status.h:808: note: previous definition of 'SI_UNDEAD' was here make[1]: *** [obj_sql/map.o] Error 1 Quote
Shade Posted April 21, 2014 Author Posted April 21, 2014 rathena svn latest also got error this status.h:1491: error: redeclaration of enumerator 'SI_UNDEAD' status.h:808: note: previous definition of 'SI_UNDEAD' was here make[1]: *** [obj_sql/map.o] Error 1 Ah, seems like an easy fix. Change ALL of the SI_UNDEAD to SI_CHANGEUNDEAD. Let me know if it works for you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.