Players in jail don't get let out automatically

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Players in jail don't get let out automatically

Post by Notorious »

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.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Players in jail don't get let out automatically

Post by _DS_ »

Jail count only online time. So your players need to be online for two weeks :lol: :lol: :lol:

Not a bug, moved.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Players in jail don't get let out automatically

Post by Notorious »

Wow! That's ridiculous!
Where in the code can I change it so that they don't have to be online?
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Players in jail don't get let out automatically

Post by Notorious »

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.
Post Reply