Jump to content
  • 0

olympaid problem l2jfrozen interlude


paulos13

Question

hi pedes 3eri kanis pos 8a ala3o sto oly ta seconds pou mpenis dld otan dilonoun i ali gia na pe3oun match tous vgazi 45 seconds pos 8a to ala3o: kai kt alo pos 8a valw max sta pts pou nikai i xani kapios  thx

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

loipon sto arxeio model/entity/OlympiadGameTask.java

vres afto:

//Waiting for teleport to arena
			for(int i = 45; i > 10; i -= 5)
			{
				switch(i)
				{
					case 45:
					case 30:
					case 15:
						_game.sendMessageToPlayers(false, i);
						break;
				}
				try
				{
					Thread.sleep(5000);
				}
				catch(InterruptedException e)
				{
					if(Config.ENABLE_ALL_EXCEPTIONS)
						e.printStackTrace();
				}
				//if(!proverkaDoTeleporta())
				if(!checkStatus())
					return;
			}

terma panw exei ta cases

case 45

case30 kai

case 15

an 8eleis na valeis parapanw seconds

8a prepei na valeis ena extra case

kai na to kaneis etsi:

//Waiting for teleport to arena
			for(int i = 60; i > 10; i -= 5)
			{
				switch(i)
				{
					case 60:
					case 45:
					case 30:
					case 15:
						_game.sendMessageToPlayers(false, i);
						break;
				}
				try
				{
					Thread.sleep(5000);
				}
				catch(InterruptedException e)
				{
					if(Config.ENABLE_ALL_EXCEPTIONS)
						e.printStackTrace();
				}
				//if(!proverkaDoTeleporta())
				if(!checkStatus())
					return;
			}

 

Link to comment
Share on other sites

  • 0

loipon sto arxeio model/entity/OlympiadGameTask.java

vres afto:

//Waiting for teleport to arena
			for(int i = 45; i > 10; i -= 5)
			{
				switch(i)
				{
					case 45:
					case 30:
					case 15:
						_game.sendMessageToPlayers(false, i);
						break;
				}
				try
				{
					Thread.sleep(5000);
				}
				catch(InterruptedException e)
				{
					if(Config.ENABLE_ALL_EXCEPTIONS)
						e.printStackTrace();
				}
				//if(!proverkaDoTeleporta())
				if(!checkStatus())
					return;
			}

terma panw exei ta cases

case 45

case30 kai

case 15

an 8eleis na valeis parapanw seconds

8a prepei na valeis ena extra case

kai na to kaneis etsi:

//Waiting for teleport to arena
			for(int i = 60; i > 10; i -= 5)
			{
				switch(i)
				{
					case 60:
					case 45:
					case 30:
					case 15:
						_game.sendMessageToPlayers(false, i);
						break;
				}
				try
				{
					Thread.sleep(5000);
				}
				catch(InterruptedException e)
				{
					if(Config.ENABLE_ALL_EXCEPTIONS)
						e.printStackTrace();
				}
				//if(!proverkaDoTeleporta())
				if(!checkStatus())
					return;
			}

 

 

oreos

Link to comment
Share on other sites

  • 0

dokimase to etsi:

if(_game != null)
	{
		if(_game._playerOne != null && _game._playerTwo != null)
		{	
			for(int i = 1; i > 0; i--)
			{
				_game.sendMessageToPlayers(false, i);
				try
				{
					Thread.sleep(1000);
				}
				catch(InterruptedException e)
				{
					if(Config.ENABLE_ALL_EXCEPTIONS)
						e.printStackTrace();
				}
			}

			//Checking for openents and teleporting to arena
			if(!checkStatus())
				return;
			//_game.removals();
			//_game.portPlayersToArena();
			_game.portPlayersToArena();
			_game.removals();
			try
			{
				Thread.sleep(5000);
			}..........

oi telitses shmainei pws exei kai sunexeia to code mhn tis valeis apla to ekana etsi gia na katalaveis pws na to kaneis :P

Link to comment
Share on other sites

  • 0

edw sta case ti akrivos vazo?>>>>>> //Waiting for teleport to arena

for(int i = 45; i > 10; i -= 5)

{

switch(i)

{

case 45:

case 30:

case 15:

_game.sendMessageToPlayers(false, i);

break;

}

try

{

Thread.sleep(5000);

}

catch(InterruptedException e)

{

if(Config.ENABLE_ALL_EXCEPTIONS)

e.printStackTrace();

}

//if(!proverkaDoTeleporta())

if(!checkStatus())

return;

}                               

Link to comment
Share on other sites

  • 0

kane delete afta

for(int i = 45; i > 10; i -= 5)
			{
				switch(i)
				{
					case 45:
					case 30:
					case 15:
						_game.sendMessageToPlayers(false, i);
						break;
				}
				try
				{
					Thread.sleep(5000);
				}
				catch(InterruptedException e)
				{
					if(Config.ENABLE_ALL_EXCEPTIONS)
						e.printStackTrace();
				}
				//if(!proverkaDoTeleporta())
				if(!checkStatus())
					return;
			}
			for(int i = 5; i > 0; i--)

kai vale afto: for(int i = 1; i > 0; i--)

logika 8a sou doulepsei

Link to comment
Share on other sites

  • 0

- for(int i = 60; i > 10; i -= 5)

+ for(int i = 5; i > 3; i -= 1)

{

switch(i)

{

- case 60:

- case 45:

- case 30:

+ case 5:

+ case 4:

+ case 2:

 

Βάλτο 5 δευτερόλεπτα. Το 1 τώρα δε στέκει.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
    • we sell website templates, make websites to order. Great selection at very good prices. My contacts discord : advert1231 telegram : https://t.me/ggwpins  
  • Topics

×
×
  • Create New...