More Than One TvT

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
knoppix
Posts: 138
Joined: Sat Dec 12, 2009 8:02 pm
Location: La Plata, Buenos Aires

More Than One TvT

Post by knoppix »

Hey there!!

I was wondering if there is a way to run more than ONE TvT, i mean, the idea is separate TvT for Levels, let's says

20-50
50-70
70-85

The first run at 14hs, the second @ 18 and the third @ 22 (Is just an example).

But for do that i need more than one configuration file so i need more than one instance of TvT running according to each configuration file, if this possible in some way easy?

Thanks in advance!!
"Only two things are infinite, the universe and human stupidity, and I\\\'m not sure about the former." - A.Einstein
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: More Than One TvT

Post by jurchiks »

that's an interesting idea! +1, i would be interested in that too
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
peinado
Posts: 7
Joined: Tue Oct 27, 2009 6:04 pm

Re: More Than One TvT

Post by peinado »

Use global_tasks, and a .py for every TvT with a content like this:

import..
..

tvt.load
tvt.setminlevel=X
tvt.setmaxlevel=Y
tvt.autoevent

I hope this helps you.
User avatar
knoppix
Posts: 138
Joined: Sat Dec 12, 2009 8:02 pm
Location: La Plata, Buenos Aires

Re: More Than One TvT

Post by knoppix »

Any ideas?

Also, can someone tell me WHERE the event is loaded? I mean, if i one when the GS call's the event manager and witch file is calling, i can duplicate that sentence to make the GS when it start call's more than one file and modify each file to load a different configuration file.

Thanks in advance.

Regards.
"Only two things are infinite, the universe and human stupidity, and I\\\'m not sure about the former." - A.Einstein
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: More Than One TvT

Post by janiii »

check the name of the config for tvt enable, then search it in Config.java, check the java equivalent variable name of it and search where that one is used in the other java files.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
knoppix
Posts: 138
Joined: Sat Dec 12, 2009 8:02 pm
Location: La Plata, Buenos Aires

Re: More Than One TvT

Post by knoppix »

Thanks for the info ... but basically ... i can't make it work :(

I have this files from TvT "configuration", and in no one of them it calls l2jmod.properties or the level limitation variable or anything, so .. o don't get it :(
TvT.JPG
Any other idea of how to make this work? It could be really good be able to separate TvT's from Levels, it will make TvT more fun and balanced.

Thanks in advance.
You do not have the required permissions to view the files attached to this post.
"Only two things are infinite, the universe and human stupidity, and I\\\'m not sure about the former." - A.Einstein
Post Reply