Jump to content
  • 0

[Help]Same IP


Question

Posted

Hello MxC Members , as the topic says i need a java code that will deny the start of olympiad game with same ip !!

 

i have tried this sollution ->  http://www.maxcheaters.com/forum/index.php?topic=46252.0

 

 

but it end match and get points !!!

 

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 ή να αναγκαστούν να παίξουν τον αγώνα!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...