Golem1988 Posted October 12, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 162 Reputation: 1 Joined: 08/08/12 Last Seen: December 10, 2023 Share Posted October 12, 2012 When Players use elemental weapon enchants the icon with timer won't show. How to fix this? So, I just want players can see how much time left till elemental enchantment will end. Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 12, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 12, 2012 I thought Emistry answered you here: http://rathena.org/board/topic/71703-aspersion-scroll-wont-show-when-used/ Quote Link to comment Share on other sites More sharing options...
Golem1988 Posted October 13, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 162 Reputation: 1 Joined: 08/08/12 Last Seen: December 10, 2023 Author Share Posted October 13, 2012 (edited) Whoops, thanks )) But, this didn't help (( Edited October 13, 2012 by Golem1988 Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 13, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 13, 2012 Alright, first you have to prepare your .TGA files (24bit/pixel) and put it in /data/texture/effect/ Open up status.c and add these line before line 761. StatusIconChangeTable[sC_ENCHANTARMS] = SI_ENCHANTARMS; StatusIconChangeTable[sC_ARMOR_ELEMENT] = SI_ARMOR_ELEMENT; StatusIconChangeTable[sC_ARMOR_RESIST] = SI_ARMOR_RESIST; Then open up status.h and add these line after line 1348. SI_ENCHANTARMS = 900, // Elemental Converter SI_ARMOR_ELEMENT = 901, // Resist Potion SI_ARMOR_RESIST = 902, // Undead Scroll Now you will need a clean stateiconinfo.lua, efstids.lua and stateiconimginfo.lua from here. For efstids.lua EFST_ENCHANTARMS = 900, EFST_ARMOR_ELEMENT = 901, EFST_ARMOR_RESIST = 902, Now stateiconinfo.lua StateIconList[EFST_IDs.EFST_ENCHANTARMS] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Weapon", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily enchants property to the user's weapon."}, } } StateIconList[EFST_IDs.EFST_ARMOR_ELEMENT] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Armor", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily enchants property to the user's armor."} } } StateIconList[EFST_IDs.EFST_ARMOR_RESIST] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Resistance", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily grants resistance to Fire/Water/Wind/Earth property attack."} } } Now is stateiconimginfo.lua [EFST_IDs.EFST_ENCHANTARMS] = "ENCHANTARMS.TGA", [EFST_IDs.EFST_ARMOR_ELEMENT] = "ARMOR_ELEMENT.TGA", [EFST_IDs.EFST_ARMOR_RESIST] = "ARMOR_RESIST.TGA", P/S: Not sure why it has to be added in stateiconimginfo.lua but last time I tested without adding field into it the images wouldn't show. 2 Quote Link to comment Share on other sites More sharing options...
Golem1988 Posted October 15, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 162 Reputation: 1 Joined: 08/08/12 Last Seen: December 10, 2023 Author Share Posted October 15, 2012 thanks a lot sir Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted October 19, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: May 3 Share Posted October 19, 2012 +1 darristan for this new knowledge, thanks Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 19, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 19, 2012 I do have drew some icons for these 3 skills, might release later Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted October 19, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: May 3 Share Posted October 19, 2012 Until then, I'll just copy and edit the an existing tga file. Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 19, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 19, 2012 I'm not home, maybe 2 hours later I will upload if I got home Quote Link to comment Share on other sites More sharing options...
Question
Golem1988
When Players use elemental weapon enchants the icon with timer won't show. How to fix this?
So, I just want players can see how much time left till elemental enchantment will end.
Link to comment
Share on other sites
8 answers to this question
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.