Jump to content
  • 0

problem with L2 Tournament for JFrozen rev 1132


heladito

Question

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!


 

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0
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.

Link to comment
Share on other sites

  • 0
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
Link to comment
Share on other sites

  • 0
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
Link to comment
Share on other sites

  • 0
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?

 

Link to comment
Share on other sites

  • 0
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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Good day everybody.   A credible team that SGuard represents is looking for a java developer.    The position is full time only i.e. your time is mostly dedicated within the team and team tasks.  All necessary tools are provided.  The team is consistent with > 6 team members and the team is looking to expand to meet various goals. A decent Lineage 2 Essense knowledge is needed.  Experience with l2r/l2p/l2s (not l2j or mobius) type of servers. The team is friendly and goal oriented, very active and resourceful.   Requirements are standard however strong java codding skill is necessary for the position.  Multi language is a plus but not necessary (English/Russian), any is accepted.   Terms and conditions including compensation are reasonable and considered to be up for the industry standards. Details are negotiable with suitable candidates.   You have to have either a public name that can be checked out or a strong reference from credible sources. You will need to have a headset and a mic just for the initial processing, there're no team meetings or conferences after that.   The team has decided it is in their best interest to not publish their information at this time. Details will be available only for suitable candidates.   If you think you're a good fit. Please contact me at:   skype: live:sguard.soft telegram: https://t.me/tech_support_s2    
    • SCAMMER Please do not get scammed! His Sellix Feedback is fake, his store opening date is manipulated by scripts. Daniele, the developer of Sellix confirmed this before suspending his account. You will receive a rar file with a doc that contains some random email and password and it won’t work. He won’t respond to your tickets either. I lost $120
    • Lineage II Interlude: Ember x3 The server offers a retail atmosphere with NPC buffs, low rates, and a bug-free environment. The auto-hunt feature transforms your game adventure by allowing you to easily accomplish challenges while managing the demands of a busy life.   Server Status: Online [Closed Beta Test] Official Opening: TBD Website: l2ember.online Community: Discord Channel   Key Features Our network infrastructure can support up to 5,000 simultaneous connections without compromising the quality of gameplay. The augmentation system follows the guidelines of the official server. Geodata operates smoothly and without issues. The game's data, which includes monster spawns, loot availability, and player skills, is working correctly. We are actively working on official-like quests and refining the game. Our AI is adequate and corresponds to the PTS server. Sieges are similar to the official server, without any lag or glitches. The Olympiad is fully functional and may be customized to the preferences of the players.   Rates EXP/SP (Regular Monsters): x3 EXP/SP (Raid Bosses): x2 EXP/SP (Quest): x1 Items Drop Rate: x2 Items Drop Rate (Raid Bosses): x2 Items Drop Rate (Quest): x2 Quest Items Reward Rate: x1 Quest Adena Reward Rate: x1 Adena Drop Rate: x2 Seal Stones Drop Rate: x2 Spoil Drop Rate: x2
    • I come here to show some of my work for any L2j version.   Base project for the work: L2jAcis 401   I will constantly update when I create more demonstration videos.   SellBuff System ( Online And Offline Mode ) : 50€  Payments: PayPal / Binance Videos:      NOTE: If I have broken any rules, please send me a PM.  
    • Are there any servers or customers using this at the moment? I'm interested but $300 is a lot (which I know that L2 related stuff is expensive anyway) so I'd like to test and experience the interface before making a decision
  • Topics

×
×
  • Create New...