Jump to content
  • 0
Sign in to follow this  
AnnieRuru

DIFF_TICK crash the server again (oh yes ...)

Question

I starting to love writing plugins

because none of them working ... hahahah

 

http://upaste.me/6611107511ac763ee

 

again, the patch works

http://upaste.me/a84610750e12ec25a

 

but the plugin,

if @agitstart, it will display "Cannot use this command during WOE."

other than that, server crash <-- happy now ?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

ok I got it

I need to add

status = GET_SYMBOL("status");
.

.

.

the problem is this line

sc_start(NULL,&sd->bl, SC_TRICKDEAD, 100, 1, 1000);
I thought only need to add those which has '->' pointer

but now I just figure out it even needs that symbol where the file came from, even without #include status.h

because of this line

#define sc_start(src, bl, type, rate, val1, tick)                    (status->change_start((src),(bl),(type),100*(rate),(val1),0,0,0,(tick),0))
sh*t ... next time I shouldn't open too fast Edited by AnnieRuru

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.