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.
punish_timer on GE
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: punish_timer on GE
...
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.
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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: punish_timer on GE
Ahh, that's Epilogue... missed that bit.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 53
- Joined: Wed Jun 23, 2010 11:56 am
Re: punish_timer on GE
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
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
this is exactly the problem seems like on player restart/logout there is no timer save.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.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: punish_timer on GE
Yeah but there are some commits after the initial ones with typo fixes make sure u get them applied as well.