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.


×
×
  • Create New...