Page 1 of 1

punish_timer on GE

Posted: Sun Aug 11, 2013 3:35 am
by gameblond
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 7664:
L2JDP Revision 7664:

Hello ,

When a player is chat banned for 20 mins after he /restart/logout and login back he is still chat banned for 20 mins.
I am trying to figure out how to save current punish_timer on player restart/logout

Most of code about punish is at l2pcinstance if you need any part in order to help me let me know!

thanks for your time.

Re: punish_timer on GE

Posted: Sun Aug 11, 2013 10:02 am
by UnAfraid
He is chat banned for 20 minutes in game.
He must stay 20 mins online.

Re: punish_timer on GE

Posted: Sun Aug 11, 2013 10:48 am
by jurchiks
...
If he has 2 minutes left and he logs out, then logs back in, he should not have to wait another 20 minutes, that doesn't make sense.

Re: punish_timer on GE

Posted: Sun Aug 11, 2013 10:49 am
by UnAfraid
In H5 that punishment system is reworked synch it if u wish.

Re: punish_timer on GE

Posted: Sun Aug 11, 2013 11:12 am
by jurchiks
Ahh, that's Epilogue... missed that bit.

Re: punish_timer on GE

Posted: Sun Aug 11, 2013 5:18 pm
by gameblond
Thanks for your answer do you mean this system?
viewtopic.php?f=70&t=27628&hilit=punishment


I don't think i need to change the whole pushnishment system i just need a tip where i can save the current timer
If he has 2 minutes left and he logs out, then logs back in, he should not have to wait another 20 minutes, that doesn't make sense.
this is exactly the problem seems like on player restart/logout there is no timer save.

Re: punish_timer on GE

Posted: Mon Aug 12, 2013 7:29 am
by UnAfraid
Yeah but there are some commits after the initial ones with typo fixes make sure u get them applied as well.