Jump to content

Recommended Posts

Posted

The VIP engine is an engine is used mainly from PvP servers.

 

Basically the idea is this. The admins/gms setup all the parameters of the engine (for instructions see the Instructions part) and they either randomly choose a race or choose one themselves. The event is setup like this. Everyone who wishes to join can participate, lets say for example the race choosen was Dark Elf. All Dark Elfs will join the dark elf team and everyone else will be automatically assigned to the opposing team.

 

When the event starts the Dark Elves are teleported to an area outside their starter city defined by the SQL table. Everybody else is teleported in the starter town next to a certain NPC. Then at start time one player from the Dark Elf team is randomly chosen to be the VIP. The VIP must make it to the NPC without dying before the time runs out. The team must protect their VIP, because if the VIP dies the other team wins. If a non-VIP player dies he will be teleported back to their initial spawn location.

 

------------------

--- INSTALLATION -

------------------

 

- Place VIP.java in the net.sf.l2j.gameserver.model.entity package

- Place the AdminVIPEngine.java in the net.sf.l2j.gameserver.handler.admincommandhandlers package

- Run the patch on your entire L2J checkout.

- Run the SQL script on your SQL database to import the tables

- IF you are using command privilages insert the following at the end of your command-privileges.properties file:

 

admin_vip = 100

admin_vip_setteam = 100

admin_vip_randomteam = 100

admin_vip_settime = 100

admin_vip_endnpc = 100

admin_vip_setdelay = 100

admin_vip_joininit = 100

admin_vip_joinnpc = 100

admin_vip_joinlocxyz = 100

admin_vip_setarea = 100

admin_vip_vipreward = 100

admin_vip_viprewardamount = 100

admin_vip_notvipreward = 100

admin_vip_notviprewardamount = 100

admin_vip_thevipreward = 100

admin_vip_theviprewardamount = 100

 

--------------------

--- INSTRUCTIONS ---

--------------------

 

- After installing the engine go ahead and enter game on a GM character with 100 access.

- Type //vip and fill in the following settings in the proper order. (Some settings are dependent on other settings to be filled in so they must be done in order; this is to save computation time)

 

--SET TEAM--

- INPUT1: You can do this one of two ways; the easiest way is to select a random team by hitting the random team button. It will cycle through random numbers and choose a team for you. Alternativly you can choose a team yourself by putting a team name in Input 1 and hitting Set Team. Valid teams are: human/dark/elf/orc/dwarf. This is not case sensitive

- After choosing a team the Code will go through the SQL databases and plot the X,Y,Z of the start and finish locations as per which team you have choosen.

 

--SET TIME--

- INPUT1: The time variable defines how long the event will last after it starts. This is in mins.

 

--SET DELAY--

- INPUT1: The delay variable defines how long the join period lasts. This is in mins.

 

--SET AREA--

- INPUT1: This is a formality, you can really put any string. It is used to inform the players where the join NPC is located. EX. Giran Square etc.

 

--JOIN LOC--

- This is a x,y,z location X -> Input1, Y -> Input2, Z -> Input3. This is where the join NPC spawns.

 

--END NPC--

- INPUT1: This is a valid NPC id for which the End NPC will be choosen from. You can pick any preexisting NPC or create your own.

 

--END NPC--

- INPUT1: This is a valid NPC id for which the Join NPC will be choosen from. You can pick any preexisting NPC or create your own.

 

--REWARDS--

- INPUT1: The next six variables define the rewards and their respective ammounts or each of the two teams and finally the actual VIP Player. It would be smart to give the Not VIP team less valuable rewards than that of the VIP team; since its harder for the VIP team to win.

 

- After filling in the variables above you are now able to hit the Start Join button. The event will take over from there.

- Players will locate the Join NPC and hit join, the NPC will automatically check their race and assign them respectivly

- After the join period is finish they will be teleported after 20 seconds.

- After they are teleported they will be forced to sit for another 20 seconds

- The event will start and end if the VIP makes it to the NPC, VIP dies or the time runs out

- At the end of the event all values will clear and you are ready for another go!

 

--------------------

--- CUSTOMIZATION --

--------------------

 

If you are smart with code I'm sure you can customize anything you wanted in the event, but I'll talk more about the SQL customizations. The values in the SQL table have been carefully choosen to give each race the same advantage, but you can change them if you wish.

 

Each team is assigned a value (1: Human, 2: Elf, 3: Dark, 4: Orc, 5: Dwarf), this differs from L2j where 0: Human because I used 0 as a null value. In the SQL tables you will see an entry for each race. You can edit the start and end x,y,z respectivly to move around the posistions to your liking. The engine will do the rest.

 

http://www.4shared.com/file/132205822/72b3a1b6/VIP_Engine_By_Flower.html

 

Password:

www.maxcheaters.com

 

Credits to: CubicVirtuoso (AND ONLY!)

 

Enjoy!

 

P.S.:The engine is a bit old so if you have problems,PM me.

Posted

1st) I am not a man.

ty man !

thanks man !!! realy cool :)

Reading is hard ey

 

Great job Flower, thank you for making(/adapting) and sharing :)

  • 3 weeks later...
  • 4 months 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

    • 🌟 Need fast setup and guaranteed warranty? All products are fully tested and delivered instantly 24/7.
    • 7 DAYS TO CLOSED BETA!   WARFRONT Closed Beta begins in just 7 days!    If you're planning to participate and haven't registered yet, please make sure you [b]register now[/b]. If you're coming with friends or your clan, please make sure they register too — registration only takes a few seconds.   https://l2warfront.com/   Over the next couple of days I will begin sending emails to registered players containing: Account registration/access link WARFRONT Game Client WARFRONT Launcher Final Closed Beta instructions Important: Special Closed Beta participant rewards will also be distributed using the email address you registered with, so please make sure you've registered with a valid email you can access.   Closed Beta: 3 October 2026 — 19:00 GMT+0 We're almost there. 7 days. Angels vs Demons. See you on the battlefield.
    • No problem — it will decrypt AA (any chronicles). Text telegram
    • As the title says, we are an International group of players that currently play on Exiliumworld for arround 5 years now and we plan to keep on playing here long term now on. Exiliumworld its a server created on Fafurion client, with new skills added for each class and a completely different gameplay. All classes are good and do great damage, there are new exciting features and party compositions that are incredibly great to be played.   While most of us are Romanians, we also have people from different countrys so English is the main language we use on PvP/TW/Sieges or whenever objective pops on. Our  community runs on Discord, we try to keep it very simple in terms of rules : We dont flame each other, we try to respect each member of this group and overall we mentain a good atmosphere inside the group by always laughing, being positive in any situation and helping each other out with whatever it's needed.   If you also wish to be a part  of our community and play on a server that is opened for over a decade and continues running smooth, always gets updates and fixes, contact me in private on Discord because i won't be active in here. About what classes you can play, we will discuss more details like that when we get in contact. Have a great day, guys and remember : Having a good, stable server and a group of players that respect you and help you whenever you are in need might be the perfect environment for you to grow as a player and also as human being!    CONTACT  DISCORD : pqtestpq_97112 (Me) ash3s8354 (Leader) xmariusx (Subleader)   Whoever you choose to talk to, you will meet a friendly person ready to answer your all questions about our group, server features or explain you all the insights of the server.  P.S. : Don't hesitate to contact us. We also recruit CPs or group of players, not only single players. Have a nice day!   #SABOTAGEclan  
    • Everyone offline so how can I buy it?  Can it Decript newest chronicles such as  Samurai Crow  or Essence??
  • 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..