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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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