If you are getting errors and the server crashes telling you to debug this line:
Go to Skills.cpp
replace the old function with this new code:
NOTE: there are 2 void stop functions, it's the one that takes ONE argument
DO NOT change the other one.
PHP:
decoder->createHeader((unsigned char*)bufs, (short)(size));
Go to Skills.cpp
replace the old function with this new code:
PHP:
void stop (Player* player){
for(unsigned int i=timers.size(); i>0; i--){ //fix missing timer cancels
if(player == timers[i-1].player){
Timer::timer->cancelTimer(timers[i-1].id);
}
}
}
NOTE: there are 2 void stop functions, it's the one that takes ONE argument
DO NOT change the other one.
Last edited: