Page 1 of 2
Bonus Time
Posted: Tue Jan 27, 2015 5:13 pm
by Attila
Revision 6670 server
Revision 10490:DataPack_BETA
hi
how can i make bones time by not countdown
to like the picture here the bonus time counds down
can someone tell me how i make bonus time to cound down time.
thanks
Re: Bones Time
Posted: Fri Jan 30, 2015 12:25 pm
by Attila
Somewone can help me whit this please
Re: Bonus Time
Posted: Fri Jan 30, 2015 2:09 pm
by Zoey76
This is an unimplemented feature, I have it done, but remaning a few things to finish, maybe I can work on it on the next days.
Re: Bonus Time
Posted: Fri Jan 30, 2015 2:21 pm
by St3eT
Re: Bonus Time
Posted: Fri Feb 06, 2015 7:30 pm
by Attila
I got lots of error if try this

Re: Bonus Time
Posted: Fri Feb 06, 2015 7:39 pm
by St3eT
Re: Bonus Time
Posted: Sat Feb 07, 2015 11:47 am
by Attila
Sorry my English is not so good
What do you mean with comment those lines?
What should I do
thanks
Re: Bonus Time
Posted: Sat Feb 07, 2015 12:40 pm
by St3eT
Re: Bonus Time
Posted: Sat Feb 07, 2015 5:19 pm
by Attila
When I log in to game whit chart I get this
Sorry do not know what I need to do with these 2 line
_log.log(Level.WARNING, toString() + ": Time Left runtime: ", new RuntimeException());
_log.log(Level.WARNING, toString() + ": task je null!", new RuntimeException());
do I need to change someting
Re: Bonus Time
Posted: Sat Feb 07, 2015 5:56 pm
by St3eT
Change
Code: Select all
_log.log(Level.WARNING, toString() + ": Time Left runtime: ", new RuntimeException());
to
Code: Select all
//_log.log(Level.WARNING, toString() + ": Time Left runtime: ", new RuntimeException());
and
Code: Select all
_log.log(Level.WARNING, toString() + ": task je null!", new RuntimeException());
to
Code: Select all
//_log.log(Level.WARNING, toString() + ": task je null!", new RuntimeException());
Those lines are just for testing and i forgot remove them.
Re: Bonus Time
Posted: Sun Feb 08, 2015 11:23 am
by Attila
Yes Thanks now I understand what you mean
only i got this now if i standing in town i got this
and if i go to hunting grond and hit a mob i get this
and I get this:

Re: Bonus Time
Posted: Sun Feb 08, 2015 12:33 pm
by St3eT
Comment another line:
Code: Select all
_log.info("Time left je: " + _time_left);
About paused in peace zone, it's retail like
Re: Bonus Time
Posted: Sun Feb 08, 2015 12:47 pm
by Attila
St3eT wrote:Comment another line:
Code: Select all
_log.info("Time left je: " + _time_left);
About paused in peace zone, it's retail like
So do i need to change somting at
java/com/l2jserver/gameserver/model/zone/type/L2PeaceZone.java
i got this now
if i try to put this at L2PeaceZone.java
+ // Stop Nevit's Advent
player.getNevitAdvent().stopAdventTask(true);
+
+ // Stop Nevit's Hourglass
+ player.storeRecommendations(true);
+
i got this error
and if i take this line away
player.getNevitAdvent().stopAdventTask(true);
the error is gone
but thank you for your help and patience with me
Re: Bonus Time
Posted: Sun Feb 08, 2015 12:49 pm
by St3eT
Code: Select all
player.getNevitAdvent().stopAdventTask(true);
Is for something else (hunting bonus)
Re: Bonus Time
Posted: Sun Feb 08, 2015 12:59 pm
by Attila
St3eT wrote:Comment another line:
Code: Select all
_log.info("Time left je: " + _time_left);
About paused in peace zone, it's retail like
And what do i nee do with this
should I replace it somewhere whit a othere line