luizragna Posted September 27, 2018 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 107 Reputation: 28 Joined: 02/12/14 Last Seen: January 9, 2023 Share Posted September 27, 2018 Hello guys, i maked a custom status that change appearence. But when i logoff the transformation end. How i can solve it? My status: OBS: I'm use Hercules in this script: status.c status->set_sc( DG_PAYMASOU , SC_PAYMASOU , SI_PAYMASOU , SCB_SPEED|SCB_STR|SCB_AGI|SCB_VIT|SCB_INT|SCB_DEX|SCB_LUK ); When status start: if(!(flag&SCFLAG_LOADED)) { // Do not parse val settings when loading SCs switch(type) { . . . case SC_PAYMASOU: pc->disguise(sd, 4073); When status end: vd = status->get_viewdata(bl); calc_flag = status->dbs->ChangeFlagTable[type]; switch(type) { . . . case SC_PAYMASOU: pc->disguise(sd, -1); Quote Link to comment Share on other sites More sharing options...
0 MathReaper Posted September 29, 2018 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 57 Reputation: 14 Joined: 09/01/18 Last Seen: May 26, 2023 Share Posted September 29, 2018 If you're using Hercules, I recommend you to ask support from the Herc community. Comment that line (add '//' on the init of the line): On 9/27/2018 at 12:28 AM, luizragna said: pc->disguise(sd, -1); Quote Link to comment Share on other sites More sharing options...
0 luizragna Posted September 30, 2018 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 107 Reputation: 28 Joined: 02/12/14 Last Seen: January 9, 2023 Author Share Posted September 30, 2018 @MathReaper when do you @diguise, do you lose it when logoff Quote Link to comment Share on other sites More sharing options...
0 MathReaper Posted October 3, 2018 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 57 Reputation: 14 Joined: 09/01/18 Last Seen: May 26, 2023 Share Posted October 3, 2018 You'll need to create a whole new modification to the source to store the disguise, I guess. Quote Link to comment Share on other sites More sharing options...
Question
luizragna
Hello guys, i maked a custom status that change appearence. But when i logoff the transformation end. How i can solve it?
My status:
OBS: I'm use Hercules in this script:
status.c
When status start:
When status end:
vd = status->get_viewdata(bl); calc_flag = status->dbs->ChangeFlagTable[type]; switch(type) { . . . case SC_PAYMASOU: pc->disguise(sd, -1);
Link to comment
Share on other sites
3 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.