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

    • That's exactly how it’s designed — everything important is handled on the API server side, for example, processing requests to the game server. Each website has its own token/key for authentication; without it, there will be no interaction with the game server. Some data can be stored both on my side and on the server side to avoid making frequent requests to the server, which is logical.   Yes, there’s a lot of old, unused code that just needs to be cleaned up. It was used before, but after major rewrites it was left lying around. It doesn’t interfere with anything — it’s just there and doesn’t affect the system's operation.   Beaver meme kurwa is my favorite. Unfortunately, you don't know Russian — otherwise, you would’ve spotted even more Easter eggs. 😂   I said it’s been installed over 250 times on different domains. You can join my Telegram, there are almost 200 people there — and those are just the ones who entered the chat — and we’ll have a good laugh together at your doubts! 😂😂😂
    • Discord : utchiha_market Telegram : https://t.me/utchiha_market Auto Buy Store : https://utchihamkt.mysellauth.com/ Join our server for more products : https://discord.gg/qtkJASMbKV https://campsite.bio/utchihaamkt  
    • Discord : utchiha_market Telegram : https://t.me/utchiha_market Auto Buy Store : https://utchihamkt.mysellauth.com/ Join our server for more products : https://discord.gg/qtkJASMbKV https://campsite.bio/utchihaamkt  
    • i saw somewhere that: $var = (int) $_POST['some_id'] ?? string::error_class('text'); it was when i gave up and deleted the sources let him, he does not even understand what cross site or mitm means   still waiting for any client of yours so i can play with them     DUDE IM GONNA CALL YOU BoberKurwa FROM NOW ON!! rename your account aswell! BoberKurwa!   Note: what happend to your chatgpt answers boberkurwa did your subscription of $12.5/$20 ended?   it is PSR12 standard
    • if i was you i would check first argentinian developer team to learn and contribute then start my own project privatly and then practice in free coding for my self, then you would be ready to learn standards and code out of nothing, and if you fail means you are in good path, if you win you are in for higher level, whatever you do be persistent and focused, thats what i did when i had time.
  • Topics

×
×
  • Create New...