Yuka Posted May 30, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Share Posted May 30, 2014 (edited) I have a script that starts SC_EXPBOOST,-1,-99. It works fine and I have tested it a lot. But now there was this one player who somehow list his (de)buff. Do you have any idea what could have ended this? I have NPCs that sc_end debuffs like Curse or Blind and some that end Assumptio and Link. I have checked his picklog, he only used some potions and herbs (I have used them myself, it didn't end my SC_EXPBOOST) Now a workaround would be if my NPC could check if the SC_EXPBOOST -99 is still running before giving his reward. Is there any way to do it? I mean the buffs are saved somewhere server-sided, but where? And how can I review them? Thanks a lot! Edit: getstatus was the way to go, sorry. Edited May 30, 2014 by Yuka Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 31, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted May 31, 2014 if( getstatus( SC_EXPBOOST,0 ) ){ // status is active } Quote Link to comment Share on other sites More sharing options...
Question
Yuka
I have a script that starts SC_EXPBOOST,-1,-99. It works fine and I have tested it a lot.
But now there was this one player who somehow list his (de)buff.
Do you have any idea what could have ended this?
I have NPCs that sc_end debuffs like Curse or Blind and some that end Assumptio and Link.
I have checked his picklog, he only used some potions and herbs (I have used them myself, it didn't end my SC_EXPBOOST)
Now a workaround would be if my NPC could check if the SC_EXPBOOST -99 is still running before giving his reward.
Is there any way to do it? I mean the buffs are saved somewhere server-sided, but where? And how can I review them?
Thanks a lot!
Edit: getstatus was the way to go, sorry.
Edited by YukaLink to comment
Share on other sites
1 answer 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.