Jump to content
  • 0
Sign in to follow this  
Kusan

Prevent Logout when use any Skill.

Question

@EDIT
 
I edited and was the easiest thing in the world. for those who want to make a system Anti -Run PvP edit this
 
Search src/map/skill.c and find: 
 
case TF_BACKSLIDING:
        clif->skill_nodamage(src,bl,skill_id,skill_lv,1);
	skill->blown(src,bl,skill->get_blewcount(skill_id,skill_lv),unit->getdir(bl),0);
	clif->fixpos(bl);
        break;

and add after clif->fixpos(bl);

 

case TF_BACKSLIDING:
        clif->skill_nodamage(src,bl,skill_id,skill_lv,1);
	skill->blown(src,bl,skill->get_blewcount(skill_id,skill_lv),unit->getdir(bl),0);
	clif->fixpos(bl);
        sd->canlog_tick = timer->gettick();
        break;

 

 

So you can no longer logout when using this skill.

 

OLrQJ78.gif

 

 

Edited by Kusan

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.