stiflerxx 2 Posted November 9, 2014 (edited) where I went wrong? status.c status->IconChangeTable[sC_DECORATION_OF_MUSIC] = SI_DECORATION_OF_MUSIC; status->IconChangeTable[sC_STATUS_CONVERT_AGUA] = SI_STATUS_CONVERT_AGUA; status.h SI_STATUS_CONVERT_AGUA = 2000, SI_MAX, }; recompiled data: efstids.lub: EFST_AKAITSUKI = 660, EFST_STATUS_CONVERT_AGUA = 2000, __newindex = function() error("unknown state") end } stateiconinfo.lub: StateIconList[EFST_IDs.EFST_STATUS_CONVERT_AGUA] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Conversor de água Ativado",COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Bônus contra a propriedade Fogo"}, {"Penalidade de Dano contra água by:Ravnos"} } } stateiconimginfo.lub: PRIORITY_BLUE = { [EFST_IDs.EFST_STATUS_CONVERT_AGUA] = "STATUSAGUA.TGA" item_db.conf { Id: 12115 AegisName: "Elemental_Water" Name: "Elemental Converter" Type: 11 Buy: 2 Weight: 10 BuyingStore: true Script: <" sc_start SC_STATUS_CONVERT_AGUA,10000,0; itemskill ITEM_ENCHANTARMS,2; "> }, db/const.txt: SC_FALLENEMPIRE 579 SC_STATUS_CONVERT_AGUA 580 ? thank you link guide>>>http://herc.ws/board/topic/7526-guide-adding-new-status-icons/#entry46157 @edit petrifies but he did not put the status icon does not appear. Edited November 9, 2014 by stiflerxx Quote Share this post Link to post Share on other sites
0 thanna 11 Posted November 10, 2014 (edited) the default status is stone curse, maybe it cant find the status you added Edited November 10, 2014 by thanna Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted November 10, 2014 (edited) You forgot to add sc in status.h,so you got stone curse btw, your custom icon number is too big ,I think 801 is enough and it would be better if icon number is the same as sc number Edited November 10, 2014 by Angelmelody Quote Share this post Link to post Share on other sites
0 stiflerxx 2 Posted November 10, 2014 the default status is stone curse, maybe it cant find the status you added You forgot to add sc in status.h,so you got stone curse btw, your custom icon number is too big ,I think 801 is enough and it would be better if icon number is the same as sc number status.h: SC_CONVERT_AGUA, SC_CONVERT_FOGO, SC_CONVERT_VENTO, SC_CONVERT_TERRA, SI_CONVERT_AGUA = 801, SI_CONVERT_FOGO = 802, SI_CONVERT_VENTO = 803, SI_CONVERT_TERRA = 804, status.c: status->IconChangeTable[sC_DECORATION_OF_MUSIC] = SI_DECORATION_OF_MUSIC; status->IconChangeTable[sC_CONVERT_AGUA] = SI_CONVERT_AGUA; status->IconChangeTable[sC_CONVERT_FOGO] = SI_CONVERT_FOGO; status->IconChangeTable[sC_CONVERT_VENTO] = SI_CONVERT_VENTO; status->IconChangeTable[sC_CONVERT_TERRA] = SI_CONVERT_TERRA; stateiconimginfo.lua: [EFST_IDs.EFST_CONVERT_AGUA] = "STATUSAGUA.TGA", [EFST_IDs.EFST_CONVERT_FOGO] = "statusfogo.TGA", [EFST_IDs.EFST_CONVERT_VENTO] = "statusterra.TGA", [EFST_IDs.EFST_CONVERT_TERRA] = "statusvento.tga", stateiconinfo.lua: StateIconList[EFST_IDs.EFST_CONVERT_AGUA] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { { "the great totem of ancient spirit", COLOR_TITLE_BUFF }, { "%s", COLOR_TIME }, { "Bônus em ataque mágico e físico" }, { "em 10% contra monstros do tipo demônio" } } } efstds.lua: EFST_CONVERT_AGUA = 801, EFST_CONVERT_FOGO = 802, EFST_CONVERT_VENTO = 803, EFST_CONVERT_TERRA = 804, item_bd.conf sc_start SC_CONVERT_AGUA,10000,0; sc_start SC_CONVERT_FOGO,10000,0; sc_start SC_CONVERT_VENTO,10000,0; sc_start SC_CONVERT_TERRA,10000,0; I think the error is in item_db.conf I think it wrong to write! alright so? sc_start SC_CONVERT_AGUA,10000,0; sc_start SC_CONVERT_FOGO,10000,0; sc_start SC_CONVERT_VENTO,10000,0; sc_start SC_CONVERT_TERRA,10000,0; Quote Share this post Link to post Share on other sites
where I went wrong?
thank you
link guide>>>http://herc.ws/board/topic/7526-guide-adding-new-status-icons/#entry46157
@edit
petrifies but he did not put the status icon does not appear.
Edited by stiflerxxShare this post
Link to post
Share on other sites