Server Version= 3470
Datapack Version= 6575
Two weeks ago, I put four people in jail.
Two of them for one week, and the other two for two weeks.
None of them was automatically let out of jail when the punishment time had passed. Had to do it manually.
Players in jail don't get let out automatically
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Notorious
- Posts: 501
- Joined: Thu May 28, 2009 3:50 pm
- Location: Sweden
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Players in jail don't get let out automatically
Jail count only online time. So your players need to be online for two weeks

Not a bug, moved.



Not a bug, moved.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- Notorious
- Posts: 501
- Joined: Thu May 28, 2009 3:50 pm
- Location: Sweden
Re: Players in jail don't get let out automatically
Wow! That's ridiculous!
Where in the code can I change it so that they don't have to be online?
Where in the code can I change it so that they don't have to be online?
- Notorious
- Posts: 501
- Joined: Thu May 28, 2009 3:50 pm
- Location: Sweden
Re: Players in jail don't get let out automatically
I think I've found it... L2PcInstance...
But this seems to be difficult to fix since the timer is just how long the punishment lasts. You would need to save the time he got punished, and then somehow check the current time, and compare the differance to how long he's being punished.
LOL! This is too big a project for me.
But this seems to be difficult to fix since the timer is just how long the punishment lasts. You would need to save the time he got punished, and then somehow check the current time, and compare the differance to how long he's being punished.
LOL! This is too big a project for me.