A Simple 1vs1 Event Manager (for FREYA)
(Ill post this before
Knipex does, and tries to claim it as his)
http://www.4shared.com/file/tlx5Btql/EventManager_Core.html
http://www.4shared.com/file/Jn_6BPqR/EventManager_DP.html
Prerequisites:
Highly Recommend to use Fence Mod with this (Fence Mod)
Highly Recommend to use Geodata with this
Must use inside a Combat, PvP , or AutoFlag Zone !!
If you change your NPCID for it in the eventmanager.properties you must also change data/html/default/70012.html to that same #
The NPC you use MUST be of 'type' -> 'L2Npc' , in your database
I made and used this specifically for the Coliseum. It's much easier than doing 1vs1's manually. 1 GM Can handle 200+ people with this.
If you use the Fences, which I highly recommend, you should spawn 2 of them. 1 Big for the Match Area, 1 Small for the Winner Box.
Here are the dimensions I use from my database:
1 2 149404 46725 -3413 1500 1000
2 2 149500 47778 -3413 1000 300
To begin:
TO begin you announce something like: "1vs1 Now in the Coliseum, 5 mins to participate!"
Spawn your NPC for it in the Coliseum also. You will need the NPC so ppl can sign up and to CONTROL THE EVENT!
Click on the NPC "Participation ON" and wait until people sign up.
I recommend waiting until you have an EVEN number of participating players, on the Participation List.
When you're ready to begin, click on "Participation OFF" !
Match Control:
To begin a match, simply click the "Match" button.
If you see 'Not more than 1 player'...Click 'Match' again! (this means someone on the participation list logged off or d/c'd usually)
When someone dies, or you get tired of waiting click the "End Match" button.
If nobody died, the person with the most damage will win.
The winner will get teleported to the winner location, specified in eventmanager.properties. (L2JConfig)
The loser will get teleported to the loser location ,specified in eventmanager.properties. (L2JConfig)
The loser will get REWARDED with the loser reward ,specified in eventmanager.properties. (L2JConfig)
Repeat this process, Match -> End Match, until you see on the NPC "Participants: 1" or "Participants: 0" !
When you get to that point, it is time for "Next Round". This will place all the winners back in to the partcipant list for round #2,3,4,5,6,7,8......etc
You keep repeating this process until you have only 1 player left, or until you get bored. The player(s) remaining is the winner(s).
The GM must REWARD the winner(s) with an item(s), MANUALLY, at the end of the FINAL ROUND!!!!
Q & A:
Q: Do match players have buffs?
A: Match players buffs are removed on teleport & they receive the TvT buffs you have specified in L2JConfig/L2JMods (also have time to self buff)
Q: Can match players use potions?
A: Most types of potions, and Scrolls of escape, are disabled by default in Server\gameserver\data\scripts\handlers\itemhandlers\ItemSkills.java
Q: What happens if a 'Participant' Disconnects or logs off while signed up?
A: When they are chosen for a 'Match' the gm will see a message 'Not more than 1 player', and they will be removed from all lists. Just click Match again to pick new players for the next Match.
Q: What happens if a 'Winner" Disconnects or logs off?
A: Same as above.
Q: What happens if in a match someone clicks 'To nearest village/castle/clan hall'?
A: They can't.
Q: How are the matches chosen?
A: The match players are chosen completely random when the gm clicks 'Match' from the list of participants.
Q: Can people on the same IP participate?
A: Yes, this system checks participants WAN IP and LOCAL IP, so people in Net Cafes can all participate as long as they are on different Local IP's (computers)
Q: Can I use this without the Fence Mod?
A: Yes, in this case I suggest closing the Coliseum doors so losers can't get back inside, and telling the winners to stay on the side of the Coliseum.
Q: Is this hard to install and use?
A: The patches should go in no problems. It may seem overwhelming to learn to use, but really it is very simple to control once you play with it a little.
Misc:
Soon I will release my Auto Changing/Voting for Farming Zones code from L2Sonic-L2Noble, Farm Vote Manager, and Farm Zone Clan system so Knipex doesn't post it and try to claim he coded it also.
He can't code, only noobie stuff like htmls and gm commands he copies and pastes.