Jump to content
  • 0

[Help]Same IP


Question

3 answers to this question

Recommended Posts

  • 0
Posted

1. Είσαι σε ελληνικό Section.

 

2. Αυτό δεν σου κάνει;

Try to add this at your olympiad.java

 

if (_game._playerOneIp.equals(_game._playerTwoIp) && !Config.ALT_OLY_SAME_IP)
			{
				_log.warn("Match from same ip " + _game._playerOneName + " vs " + _game._playerTwoName);
				_sm = new SystemMessage(SystemMessageId.THE_GAME_ENDED_IN_A_TIE);
				broadcastMessage(_sm, true);
				try
				{
					_game._playerOne.sendMessage("Match suspected of Illegal Violation: GM informed");
					_game._playerTwo.sendMessage("Match suspected of Illegal Violation: GM informed");
				}
				catch (Exception e)
				{
					_log.error(e.getMessage(), e);
				}
			}

 

 

 

and at your config add these 2

 

 

 

public static boolean				ALT_OLY_SAME_IP;															// Olympiad allow Matches from same Ip

 

 

 

ALT_OLY_SAME_IP = Boolean.parseBoolean(altSettings.getProperty("AltOlySameIp", "true"));

  • 0
Posted

1. Είσαι σε ελληνικό Section.

 

2. Αυτό δεν σου κάνει;

 

dini ta points kai mpenoun kanonika , egw thelw otan leei in 120 seconds thelw an exoun idia ip na leei match aborted i na vgeni katefthian tie...

  • 0
Posted

dini ta points kai mpenoun kanonika , egw thelw otan leei in 120 seconds thelw an exoun idia ip na leei match aborted i na vgeni katefthian tie...

Τότε γιατί δεν το είπες από την αρχή;; Ζήτα από κάποιον να σου γράψει τον code δεν νομίζω να βρείς τέτειο έτοιμο! Αυτό είναι η καλήτερη λύση για το feed και για τα internet cafe αν παίζουν δύο άτομα μαζί και μπούν μεταξύ τους να μην περιμένουν την κανονική ώρα για tie ή να αναγκαστούν να παίξουν τον αγώνα!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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