Jump to content

Recommended Posts

Posted

Hi guys. I decided to share a new event engine i created. It took me a lot of time with tons of tests, but i think i completed it. Let me explain you the event:

 

If admin wants, he can press //warnallplayers, to warn all players that event is about to begin, with a html that is in data/html/pvp/warning.html. When admin presses //startregistrations, all players will be able to press .registerpvp, to join the event, or they will be able to go speak with the npc with type L2PvpEventManager to register. Players can remove their participation only if they are not in a match, by pressing .leavepvp, or simply by speaking to L2PvpEventManager and removing their participation. They can also press .infopvp or speak to the npc to see information about the event. When 2 players have participated, no more can participate, and admin is able to press //nextmatch so the next match can begin. After he presses //nextmatch, those 2 players are frozen(paralized), and after 10 seconds they are teleported to pvp spot(s). After they are teleported to their pvp spot(s), they lose all buffs, targeting with other non participated players is blocked(for non participated players too), and after 10 seconds they are unparalized and begin to fight. The fight lasts 3 minutes. After 3 minutes passed, the system checks and finds the player that has died, and it rewards the winner. After, it teleports them back to where they were, and sets their name color to white again(forgot to say that they get color name too). After the player list is cleared, and players are able to join again, and admin can press //nextmatch again. If he wants the event to stop, he can press //stopregistrations. L2PvpEventManager's html file is in: data/html/pvp/idofyournpc.html.

 

Some notes:

- Everything is configurable.

- The event is created 100% by me.

- The Semi auto thing stands for //nextmatch command. If you are a bit experienced java dev, just check nextMatch() method, and you'll understand ;).

- Everything is tested and working.

 

Fixed errors:

- Report them so i can fix them.

 

NOTE: In the core diff, there is also voiced commands code, because i coded it on aCis rev. 75, and they don't exist there. So i added them. In the dp diff, i create also an npc with id 65535, as L2PvpEventManager.

Here:

CORE: http://www.4shared.com/file/w1gsxcsD/PvP_Event.html Password: Anarchy

 

Have fun!

 

P.S I am Anarchy. So don't say leecher or Anarchy shared it.

Posted

awsome man really good job and nice event, maybe can tell how long it take to you to do it?

Hmm... When i code i don't really have sense of time, so i think more than 4-5 hours with the tests (95%). :D

Posted

Greate  , gj nice idea and work as i see in code.I will test it later and i will feedback  ;p

Actually

Everything is tested and working

, But feedback is always welcome :) Thanks.

Posted

core code is not working

anywayz why its not auto i mean admin must press //nextmatch

better after 3 minutes next match began auto

It's not working? Did you test it or just say that? On what pack did you add it? Also give more info, do you mean you have eclipse errors?

Posted

It's not working? Did you test it or just say that? On what pack did you add it? Also give more info, do you mean you have eclipse errors?

i tested it on freya core give me error when i apply patch in eclipse

Posted

i tested it on freya core give me error when i apply patch in eclipse

Oh god. First of all, it is coded on interlude, so as you can understand, you can't just apply a patch on different chronicle. You have to add it manually. Actually you have to 'adapt' it manually. Also you must change 3-4 things. I could adapt it, but not now.

 

P.S I hate Freya... :D

Posted
anywayz why its not auto i mean admin must press //nextmatch

better after 3 minutes next match began auto

 

Simply create new task for it.

Posted

Simply create new task for it.

Yeah that could be done too. But anyway, i think i'll update it in auto event. And now it has errors, i forgot to put checks if match ends in a tie.

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Posts

    • how do I make it so that you only deal damage to a mob if you have the right items equipped, like jewels, belt, underwear, bracelet, so if you don't have one of those items equipped, you don't deal any damage to the mob thanks
    • I always welcome bug reports and never ban ppl - until proven leaker - not sure where the "arrogant" part comes from, I would like to know what exactly let you think that (quote me please, and not 12y old quotes as the other frog meme dude). I request bug reports to be properly detailed, otherwise it's a waste of time. Other than that, I don't see where I have been arrogant. I got proper discussions with many ppl, not sure why you wouldn't be one of them.   I got 76 bug reports in my list (21 on forums, 55 on gitlab).   I have a single bug report regarding lvl 4 clan quest, which has to be tested since it's not even clear about what is supposed to be broken. Seven Signs was never reworked and is basically L2J based (we got a rework branch to test/commit with reworked AIs). Geoengine got no specific issues (at my knowledge), pathfinding was reworked lately to be way more performant, and I still try to improve performance using some pool system. Movement was partially fixed in latest 410, and probably will get another rework soon (notably reverting to the task wallclock).   "I" surely didn't spend 12y over geoengine - Hasha cared about geoengine during rev 334 / 354 / 390 / 395 and 397. It is solely his work, and always tagged as it. He was rewarded with money for his work, and almost a decade of aCis access.   aCis is a community work, things tagged with Tryskell is my work, the leftover is someone else work. 22 ppl worked as developers in this project over 14 years.   I would gladly accept whatever list of fixes/reports you have to share. You will even be rewarded (you probably know about cookie system), as anyone else sharing bug report or fixes.   My main concerns lately is the lack of decent L2OFF IL data, it is my main bottleneck actually. If you're aware about decent L2OFF data to parse, let me know.
    • Your project doesn't compare to aCis; you have to be an idiot to use that. I know someone who bought the High Five "PREMIUM" version, which has the same bugs as the free version. If you want, I can share his latest premium version. Players are going through walls with their bad geoengine, falling under the Olympiad. If you want, I can record and prove what I'm saying. The aCis project is 50 steps ahead of yours and it's not even stable...
    • l2jteon, l2joneo l2jscoria etc etc. and from that we went to this 
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock