Page 1 of 1

More Than One TvT

Posted: Thu Jun 03, 2010 2:07 pm
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!!

Re: More Than One TvT

Posted: Thu Jun 03, 2010 4:23 pm
by jurchiks
that's an interesting idea! +1, i would be interested in that too

Re: More Than One TvT

Posted: Thu Jun 03, 2010 6:31 pm
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.

Re: More Than One TvT

Posted: Fri Jun 18, 2010 2:22 pm
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.

Re: More Than One TvT

Posted: Fri Jun 18, 2010 5:08 pm
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.

Re: More Than One TvT

Posted: Fri Jun 18, 2010 7:39 pm
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.