Rebel 23 Posted June 16, 2018 I followed Dastgir guide on how to add new status icon.. status.h before SC_MAX SC_MINDBREAKER, SC_SERVICEFORYOU, SC_DONTFORGETME, SC_ASSNCROS, SC_POEMBRAGI, SC_APPLEIDUN, before SI_MAX SI_MINDBREAKER = 1085, SI_SERVICEFORYOU = 1086, SI_DONTFORGETME = 1087, SI_ASSASSINCROSS = 1088, SI_POEMBRAGI = 1089, SI_APPLEIDUN = 1090, status.cafter status->dbs->IconChangeTable[SC_BLOSSOM_FLUTTERING] = SI_BLOSSOM_FLUTTERING; status->dbs->IconChangeTable[SC_MINDBREAKER] = SI_MINDBREAKER; status->dbs->IconChangeTable[SC_SERVICEFORYOU] = SI_SERVICEFORYOU; status->dbs->IconChangeTable[SC_DONTFORGETME] = SI_DONTFORGETME; status->dbs->IconChangeTable[SC_ASSNCROS] = SI_ASSASSINCROSS; status->dbs->IconChangeTable[SC_POEMBRAGI] = SI_POEMBRAGI; status->dbs->IconChangeTable[SC_APPLEIDUN] = SI_APPLEIDUN; efstids.lub EFST_MINDBREAKER = 1085, EFST_SERVICEFORYOU = 1086, EFST_DONTFORGETME = 1087, EFST_ASSASSINCROSS = 1088, EFST_POEMBRAGI = 1089, EFST_APPLEIDUN = 1090, stateiconinfo.lub StateIconList[EFST_IDs.EFST_MINDBREAKER] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Mind Breaker", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Increase MATK by 100%"} } } StateIconList[EFST_IDs.EFST_SERVICEFORYOU] = { descript = { {"Service For You", COLOR_TITLE_TOGGLE}, {"Your under Service For You Song."}, {"Increase SP"} } } StateIconList[EFST_IDs.EFST_DONTFORGETME] = { descript = { {"Please Dont Forget Me", COLOR_TITLE_TOGGLE}, {"Your under Please Don't Forget Me Song."}, {"Decrease ASPD & Movement Speed"} } } StateIconList[EFST_IDs.EFST_ASSASSINCROSS] = { descript = { {"Assassin Cross of Sunset", COLOR_TITLE_TOGGLE}, {"Your under Assassin Cross of Sunset Song."}, {"Increase ASPD & Movement Speed"} } } StateIconList[EFST_IDs.EFST_POEMBRAGI] = { descript = { {"A Poem of Bragi", COLOR_TITLE_TOGGLE}, {"Your under A Poem of Bragi Song."}, {"Reduce Aftercast Delay"} } } StateIconList[EFST_IDs.EFST_APPLEIDUN] = { descript = { {"The Apple of Idun", COLOR_TITLE_TOGGLE}, {"Your under The Apple of Idun Song."}, {"Increase HP"} } } stateiconimginfo.lubin [PRIORITY_WHITE] = { [EFST_IDs.EFST_MINDBREAKER] = "pf_mindbreaker.tga", [EFST_IDs.EFST_SERVICEFORYOU] = "dc_serviceforyou.tga", [EFST_IDs.EFST_DONTFORGETME] = "dc_dontforgetme.tga", [EFST_IDs.EFST_ASSASSINCROSS] = "ba_assassincross.tga", [EFST_IDs.EFST_POEMBRAGI] = "ba_poemofbragi.tga", [EFST_IDs.EFST_APPLEIDUN] = "ba_appleofidun.tga", should I add also in constants.conf? Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted June 16, 2018 remember songs/dances don't affect yourself unless you are linked. Quote Share this post Link to post Share on other sites
0 Rebel 23 Posted June 16, 2018 (edited) 1 hour ago, Myriad said: remember songs/dances don't affect yourself unless you are linked. Linked but the status icon is still not showing. Edited June 16, 2018 by Rebel Quote Share this post Link to post Share on other sites
0 luizragna 41 Posted June 16, 2018 (edited) try add In: src/map/constants.inc script->set_constant("SI_MYSTATUS", SI_MYSTATUS, false, false); Change MYSTATUS to your status name Edited June 16, 2018 by luizragna Quote Share this post Link to post Share on other sites
0 Rebel 23 Posted June 17, 2018 16 hours ago, luizragna said: try add In: src/map/constants.inc script->set_constant("SI_MYSTATUS", SI_MYSTATUS, false, false); Change MYSTATUS to your status name My version of hercules doesnt have constants.inc.. though I added the commit on that.. It still doesn't show the custom status icon. Quote Share this post Link to post Share on other sites
0 Rebel 23 Posted June 17, 2018 Okay now I get what Myriad said. sorry for being stupid. Quote Share this post Link to post Share on other sites
0 FearlesS 1 Posted April 24, 2020 Can any one help me to add status icon? i m not able to find below lines in status.c file "SI_MAX" "status->dbs->IconChangeTable[SC_BLOSSOM_FLUTTERING] = SI_BLOSSOM_FLUTTERING;" or is there any new / updated guide for the same? Quote Share this post Link to post Share on other sites
0 4144 364 Posted April 24, 2020 probably you should add it in sc_config.conf Quote Share this post Link to post Share on other sites
0 FearlesS 1 Posted April 24, 2020 1 hour ago, 4144 said: probably you should add it in sc_config.conf SC_POEMBRAGI: { Icon: "SI_POEMBRAGI" } added in sc_config and data\texture\effect\POEMBRAGI.tga file but still not not working. Quote Share this post Link to post Share on other sites
0 FearlesS 1 Posted April 30, 2020 SC_POEMBRAGI: { Icon: "SI_POEMBRAGI" } added in sc_config and data\texture\effect\POEMBRAGI.tga file but still not not working. HELP anyone?? Quote Share this post Link to post Share on other sites
I followed Dastgir guide on how to add new status icon..
status.h
before SC_MAX
before SI_MAX
status.c
after
status->dbs->IconChangeTable[SC_BLOSSOM_FLUTTERING] = SI_BLOSSOM_FLUTTERING;
status->dbs->IconChangeTable[SC_MINDBREAKER] = SI_MINDBREAKER; status->dbs->IconChangeTable[SC_SERVICEFORYOU] = SI_SERVICEFORYOU; status->dbs->IconChangeTable[SC_DONTFORGETME] = SI_DONTFORGETME; status->dbs->IconChangeTable[SC_ASSNCROS] = SI_ASSASSINCROSS; status->dbs->IconChangeTable[SC_POEMBRAGI] = SI_POEMBRAGI; status->dbs->IconChangeTable[SC_APPLEIDUN] = SI_APPLEIDUN;
efstids.lub
EFST_MINDBREAKER = 1085, EFST_SERVICEFORYOU = 1086, EFST_DONTFORGETME = 1087, EFST_ASSASSINCROSS = 1088, EFST_POEMBRAGI = 1089, EFST_APPLEIDUN = 1090,
stateiconinfo.lub
StateIconList[EFST_IDs.EFST_MINDBREAKER] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Mind Breaker", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Increase MATK by 100%"} } } StateIconList[EFST_IDs.EFST_SERVICEFORYOU] = { descript = { {"Service For You", COLOR_TITLE_TOGGLE}, {"Your under Service For You Song."}, {"Increase SP"} } } StateIconList[EFST_IDs.EFST_DONTFORGETME] = { descript = { {"Please Dont Forget Me", COLOR_TITLE_TOGGLE}, {"Your under Please Don't Forget Me Song."}, {"Decrease ASPD & Movement Speed"} } } StateIconList[EFST_IDs.EFST_ASSASSINCROSS] = { descript = { {"Assassin Cross of Sunset", COLOR_TITLE_TOGGLE}, {"Your under Assassin Cross of Sunset Song."}, {"Increase ASPD & Movement Speed"} } } StateIconList[EFST_IDs.EFST_POEMBRAGI] = { descript = { {"A Poem of Bragi", COLOR_TITLE_TOGGLE}, {"Your under A Poem of Bragi Song."}, {"Reduce Aftercast Delay"} } } StateIconList[EFST_IDs.EFST_APPLEIDUN] = { descript = { {"The Apple of Idun", COLOR_TITLE_TOGGLE}, {"Your under The Apple of Idun Song."}, {"Increase HP"} } }
stateiconimginfo.lub
in [PRIORITY_WHITE] = {
[EFST_IDs.EFST_MINDBREAKER] = "pf_mindbreaker.tga", [EFST_IDs.EFST_SERVICEFORYOU] = "dc_serviceforyou.tga", [EFST_IDs.EFST_DONTFORGETME] = "dc_dontforgetme.tga", [EFST_IDs.EFST_ASSASSINCROSS] = "ba_assassincross.tga", [EFST_IDs.EFST_POEMBRAGI] = "ba_poemofbragi.tga", [EFST_IDs.EFST_APPLEIDUN] = "ba_appleofidun.tga",
should I add also in constants.conf?
Share this post
Link to post
Share on other sites