Page 1 of 1
TvT auto announcements
Posted: Sun Dec 05, 2010 9:05 am
by meph4ntom
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision
Number:4422
L2JDP Revision
Number:7669
I would really like to know how could i change the auto announcements of the Tvt. i changed the spawn fron giran to oren and i do not know how to make it announce the new participation town. thank you
Re: TvT auto announcements
Posted: Sun Dec 05, 2010 9:32 am
by SolidSnake
The l2j TvT event shows this announcement on start registrations:
"TvT Event: Registration opened for " + Config.TVT_EVENT_PARTICIPATION_TIME + " minute(s)."
Re: TvT auto announcements
Posted: Sun Dec 05, 2010 9:35 am
by meph4ntom
so i can change that announcement? and where did you find that ? thanks
Re: TvT auto announcements
Posted: Sun Dec 05, 2010 10:07 am
by SolidSnake
Code: Select all
Index: java/com/l2jserver/gameserver/model/entity/TvTManager.java===================================================================--- java/com/l2jserver/gameserver/model/entity/TvTManager.java (revision 4425)+++ java/com/l2jserver/gameserver/model/entity/TvTManager.java (working copy)@@ -114,7 +114,7 @@ else { Announcements.getInstance().announceToAll("TvT Event: Registration opened for " + Config.TVT_EVENT_PARTICIPATION_TIME- + " minute(s).");+ + " minute(s) in Oren Town."); // schedule registration end _task.setStartTime(System.currentTimeMillis() + 60000L * Config.TVT_EVENT_PARTICIPATION_TIME);
Re: TvT auto announcements
Posted: Sun Dec 05, 2010 10:31 am
by meph4ntom
ok i got but i still have 1 more question. if i change that i have to recompile the server and then add all my custom odes/scripts/npcs etc ? or i can just copy the file that contains that TvtManager.java . sry i'm kinda newbish in this. thanks alot for your help snake
Re: TvT auto announcements
Posted: Sun Dec 05, 2010 10:52 am
by SolidSnake
Just copy and past the core (l2jserver.jar)
Re: TvT auto announcements
Posted: Sun Dec 05, 2010 10:58 am
by meph4ntom
ok dude i just love you :X:X thanks alot