Jump to content
  • 0

problem with L2 Tournament for JFrozen rev 1132


Question

Posted

hi guys! i added the l2tournament https://maxcheaters.com/topic/239719-l2jfrozen-tournament/ for Jfrozen. But i have some errors in the code.

 

The first error its in the line 

Broadcast.gameAnnounceToOnlinePlayers

https://imgur.com/a/filt11H


The second error its in ArenaTask.java with the Player

							if (player.isOnline() == 1 && !player.isInArenaEvent() && !player.isArenaAttack())
							{
								if (player.isArena1x1())
									Arena1x1.getInstance().remove(player);
								if (player.isArena3x3())
									Arena3x3.getInstance().remove(player);
								if (player.isArena5x5())
									Arena5x5.getInstance().remove(player);
								if (player.isArena9x9())
									Arena9x9.getInstance().remove(player);
								
								player.setArenaProtection(false);

 

 

 

https://imgur.com/joN1bIJ


i hope anyone can help me. Thanks!


 

11 answers to this question

Recommended Posts

  • 0
Posted
2 hours ago, heladito said:

hi guys! i added the l2tournament https://maxcheaters.com/topic/239719-l2jfrozen-tournament/ for Jfrozen. But i have some errors in the code.

 

The first error its in the line 

Broadcast.gameAnnounceToOnlinePlayers

https://imgur.com/a/filt11H


The second error its in ArenaTask.java with the Player

							if (player.isOnline() == 1 && !player.isInArenaEvent() && !player.isArenaAttack())
							{
								if (player.isArena1x1())
									Arena1x1.getInstance().remove(player);
								if (player.isArena3x3())
									Arena3x3.getInstance().remove(player);
								if (player.isArena5x5())
									Arena5x5.getInstance().remove(player);
								if (player.isArena9x9())
									Arena9x9.getInstance().remove(player);
								
								player.setArenaProtection(false);

 

 

 

https://imgur.com/joN1bIJ


i hope anyone can help me. Thanks!


 

You can pm Java developer @Zake to fix it with price.

  • 0
Posted (edited)
3 hours ago, heladito said:

thanks but i dont have money.

 

Anyone can help me or guide me to fix it? please.

it is a very simple fix you can ask him .
 

image.png

Edited by xRelic
  • 0
Posted
On 11/30/2021 at 2:01 AM, heladito said:

hi guys! i added the l2tournament https://maxcheaters.com/topic/239719-l2jfrozen-tournament/ for Jfrozen. But i have some errors in the code.

 

The first error its in the line 

Broadcast.gameAnnounceToOnlinePlayers

https://imgur.com/a/filt11H


The second error its in ArenaTask.java with the Player

							if (player.isOnline() == 1 && !player.isInArenaEvent() && !player.isArenaAttack())
							{
								if (player.isArena1x1())
									Arena1x1.getInstance().remove(player);
								if (player.isArena3x3())
									Arena3x3.getInstance().remove(player);
								if (player.isArena5x5())
									Arena5x5.getInstance().remove(player);
								if (player.isArena9x9())
									Arena9x9.getInstance().remove(player);
								
								player.setArenaProtection(false);

 

 

 

https://imgur.com/joN1bIJ


i hope anyone can help me. Thanks!


 

1st error means that the method isn't implemented. Just searched in l2jfrozen's svn, you can use Announcements.getInstance().announceToAll() instead.

 

2nd error means that you should not use this code. A quick fix would be to move this eye bleeding for loop inside the Runnable task.

  • Like 1
  • 0
Posted
15 hours ago, Zake said:

1st error means that the method isn't implemented. Just searched in l2jfrozen's svn, you can use Announcements.getInstance().announceToAll() instead.

 

2nd error means that you should not use this code. A quick fix would be to move this eye bleeding for loop inside the Runnable task.

hi zake! thanks for help me. So, u say dont add this code? and the fix for second error?

 

  • 0
Posted
1 hour ago, heladito said:

hi zake! thanks for help me. So, u say dont add this code? and the fix for second error?

 

I mean that it's poorly written. I gave you a quickfix for both errors above

  • 0
Posted
2 hours ago, Zake said:

I mean that it's poorly written. I gave you a quickfix for both errors above

where is the second fix? only gave me the fix for announce, right?

Guest
This topic is now closed to further replies.


  • Posts

    • Vesper Noble heavy set (RAR) 1800 att - 150e Eternal Core Dualsword +6 300 att 130e Ring of Baium 130e AQ ring 100e Antharas Earring 200e   Paypal payments only DM in discord narttu123
    • L2REBORN x10 - 1gb - 4.2$ l2reborn x1 ( signature ) - 1kk - 1.3$ LU4 - 1kk - 2.3$ MASTERWORRK - 1kk - 3.8kk  discord - adver745645
    • Hello, Skill Activation: The activation options from the Alt+K window work perfectly. However, when activating them from the skill bar, there is still a delay of approximately 1 second. I need to remove that delay
    • --- Interlude Faction/GvE PvP grand opening 2025-11-15 19:00 GMT+2 ---   Gameplay: Chronicle: Interlude Type: Faction/GvE (Angels vs Nature vs Demons) GM Shop: B-S grade Buff slots: 20+4 Starting level: 74 + rebirth system   New Features: Client: Modern interface based on Essence Balance: New class skills for better balance Achievement Rewards: Daily, Weekly, One-time TOP rankings: PvP, Event PvP, Map PvP, Clan PvP, Event MvP, Map MvP Zones: 70 different PvP zones,  18 different events (8 map events | 10 main events) 12 Grand/raid bosses. Castle siege Olympiad Clan Hall challenge Custom Enchant System: Dynamic success chance (greater enchant level or item grade less enchanting success chance) Enchant rate: Blessed scrolls dynamic from 100% to 25%. Crystal Scrolls: 100%; Max enchant weapon +12 Max enchant armor +8 Safe point enchant system Extra Features: PvP items with level upgrade Weapon/Armor upgrade (from B grade to S) system Attributes system   Website: https://l2cygnus.com Community: Discord Facebook: https://www.facebook.com/l2cygnus Youtube:   
  • Topics

×
×
  • Create New...

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