Page 1 of 1

Players in jail don't get let out automatically

Posted: Wed Sep 09, 2009 8:04 am
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.

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

Posted: Wed Sep 09, 2009 8:07 am
by _DS_
Jail count only online time. So your players need to be online for two weeks :lol: :lol: :lol:

Not a bug, moved.

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

Posted: Wed Sep 09, 2009 8:47 am
by Notorious
Wow! That's ridiculous!
Where in the code can I change it so that they don't have to be online?

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

Posted: Wed Sep 09, 2009 9:02 am
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.