Jump to content
  • 0
Tio Akima

reloging the char (function)


Hi guys, I realized that when reloging the char, the client reloads the skills, including the status_change_end function ...
Does anyone know which function is responsible for this?
(for reloading the skills tree when reloading the char)


( I created a passive skill ( SC_ANGEL from INFINITE_DURATION )... And i turn this SC_ANGEL off when it is in Condown and I turn on SC_ANGEL_CD .... When the cooldown time is over (cowndown) I enable SC_ANGEL again in status_change_end ....

But if I unplug the char during SC_ANGEL_CD (cowndown), when i relog, automatically enable SC_ANGEL because some function reloads the skill tree including the status_change_end function.

I tried to check if the SC_ANGEL_CD is on (using if )... but there is a lack of sync, and SC_ is not recognized on or found .. it's like it's off. )

Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I still dont understand your issue, but i use a "parking" script for vehicles that gives you a debuff when you relog...


//sc_start(SC_CAR, 1800000, 0, 10000);
		case MR_CAR:
		if(tsc && tsc->data[SC_CAR]){
			clif->changelook(src, LOOK_BASE, sd->vd.class);
			clif->changelook(&sd->bl, LOOK_HEAD_BOTTOM, sd->status.look.head_bottom);
			clif->changelook(&sd->bl, LOOK_HEAD_TOP, sd->status.look.head_top);
			clif->changelook(&sd->bl, LOOK_HEAD_MID, sd->status.look.head_mid);
			clif->changelook(&sd->bl, LOOK_ROBE, sd->status.look.robe);
				status_change_end(bl, SC_CAR, INVALID_TIMER);
				clif->changelook(bl, LOOK_BASE, 3);
				clif->changelook(bl, LOOK_HEAD_BOTTOM, 0);
				clif->changelook(bl, LOOK_HEAD_TOP, 0);
				clif->changelook(bl, LOOK_HEAD_MID, 1900);
				clif->changelook(bl, LOOK_ROBE, 0);
				sg->unit_id = UNT_USED_TRAPS;
				clif->changetraplook(&src->bl, UNT_USED_TRAPS);
				sg->limit = DIFF_TICK32(tick, sg->tick) + 5000;


Maybe your just doing it wrong idk otherwise id offer more help

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.

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.


  • Create New...

Important Information

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