Jump to content

Tvt Event Reworked. (.tvtjoin / .tvtleave / .tvtstatus)


Recommended Posts

This event is bugged. Player can be registered twice in different teams. Use L2J Server HF5 release of TvT event. Most better.

Also, this code it's LMAO.

+   public static void waiter(int seconds)
+   {
+       try
+       {
+           Thread.sleep(seconds * 1000);
+       }
+       catch (InterruptedException e)
+       {
+           e.printStackTrace();
+       }
+   }

 

Edited by Rootware
Link to comment
Share on other sites

  • 2 weeks later...
On 9/11/2017 at 3:37 PM, Rootware said:

This event is bugged. Player can be registered twice in different teams. Use L2J Server HF5 release of TvT event. Most better.

I haven't hear for this bug, but it's a old TvT event. Yes, there are some bugs and bad/useless style methods, but I updated this for me. Many things has be changed. Like, dual box, players can not hit same team players, different join method, force sit before event start and when is ended and other things.

Link to comment
Share on other sites

The main change what you must apply -> drop waiter() method with sleep function and use this:

ThreadPool.scheduleAtFixedRate(this, 1000, 1000);

Choose the better pathway.

Link to comment
Share on other sites

On 23.09.2017 at 9:56 PM, 'Baggos' said:

I haven't hear for this bug, but it's a old TvT event. Yes, there are some bugs and bad/useless style methods, but I updated this for me. Many things has be changed. Like, dual box, players can not hit same team players, different join method, force sit before event start and when is ended and other things.

you will share it? updates?

Link to comment
Share on other sites

  • 2 months later...
26 minutes ago, PaRaNoiC* said:

hello anyone can help me to fix this error? wtf

http://prntscr.com/hlr8ni

 

Try to change Character to Creature and i think its L2PetInstance and L2Summon

 

 

Edited by Zacapa
Link to comment
Share on other sites

  • 11 months later...
  • 2 weeks later...
On 7/6/2017 at 6:33 PM, 'Baggos' said:

 

Which acis revision you use?

 

For latest rev must be like this:


// leave party
if (playerInstance.getParty() != null)
playerInstance.getParty().removePartyMember(playerInstance, MessageType.EXPELLED);

also 

import net.sf.l2j.gameserver.model.group.Party.MessageType;

has to be imported on TvTEvent.java in order this to work..

 

Btw Baggos, maybe you can share with the community an updated version?

im trying to resolve issues with this code

but somehow i get this..

 

Also this after a couple of time.. 

 

WARNING: Monster: callSkill() failed on skill id: 4065
java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.Monster cannot be cast to net.sf.l2j.gameserver.model.actor.instance.Player
 

that refers to Heal.java as  @Reborn12 said.

 

EDIT:  Well i finaly managed to fix the whole event... Now its fully working on Acis rev 374.

Edited by StaticX
Link to comment
Share on other sites

  • 3 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now



  • Posts

    • L2 Insignia High Five 20x MID SERVER FOCUSED ON OLYMPIAD | PVP | AUTOFARM       OPEN BETA TEST SERVER 3 MAY 2024   GRAND OPENING 10 MAY 2024    Rates: 📜 XP/SP 20x | Spoil 15x | Drop 10x | Adena 10x 📜     Server Features: 🔥 No Olf-T Shirt, No big over-enchant, No over-power Donate 🔥 🔥 VIP Gold Color Chat, Unique Olympiad Extra Points Engine, GvG Event 🔥 🔥 Auto-Farm, LoA and DV scheduled PvP Zone, Calendar Daily Reward 🔥 🔥 Castle Instance, Solo Instance, PvP Solo Rift, Dress me system, Adena Boxes 🔥        Website: https://www.l2insignia.com  Discord: https://discord.com/invite/yEgsrHn2hQ      
    • I am selling the essence project which includes versions 388 and 439 that have been running for over 2 years or (447 as custom PVP like Pride). I have a test server for you to test them out. If you are really interested in it then contact my seller at discord: kiwi7106. Price: 4000 Euro P/s: This is a project that I have spent a lot of money and time developing, so if you are not interested in it, please get out of this topic, thank you. P/s 2: If you find the price too expensive, it's best to skip this article and find another project and don't comment negatively on my topic, thank you.
    • Someone ask me for this, it should work on any client that has Kamael race, preview:     Installation - there are two ways to install depending on how you want to use it:   Method 1: If you want to completely replace the original, do:   Copy all lines from your armorgrp to Notepad++, press Ctrl+H, check the "match whole word" option and replace:   kamael.Mkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_MKamael_m001_w_ad00   Then replace:   MKamael.Mkamael_m000_t00_w   by:   AvengersKamaelWings.MKamael_m001_t00_w   Now repeat the same process with the female, replace:   kamael.Fkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_FKamael_m001_w_ad00   Then replace:   FKamael.Fkamael_m000_t00_w   by:   AvengersKamaelWings.FKamael_m001_t00_w   You're done, paste everything back into File Edit and save!   Method 2: If you only want to replace in specific sets, execute the above process only on the armorgrp of those sets.   Repack by: AvengersTeamBr Password: LadrãoDeFrango      
  • Topics

×
×
  • Create New...