TvT auto announcements

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
meph4ntom
Posts: 39
Joined: Sat Oct 30, 2010 12:35 pm

TvT auto announcements

Post 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
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: TvT auto announcements

Post by SolidSnake »

The l2j TvT event shows this announcement on start registrations:

"TvT Event: Registration opened for " + Config.TVT_EVENT_PARTICIPATION_TIME + " minute(s)."
Image
meph4ntom
Posts: 39
Joined: Sat Oct 30, 2010 12:35 pm

Re: TvT auto announcements

Post by meph4ntom »

so i can change that announcement? and where did you find that ? thanks
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: TvT auto announcements

Post 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);
Image
meph4ntom
Posts: 39
Joined: Sat Oct 30, 2010 12:35 pm

Re: TvT auto announcements

Post 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
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: TvT auto announcements

Post by SolidSnake »

Just copy and past the core (l2jserver.jar)
Image
meph4ntom
Posts: 39
Joined: Sat Oct 30, 2010 12:35 pm

Re: TvT auto announcements

Post by meph4ntom »

ok dude i just love you :X:X thanks alot
Post Reply