Jump to content
  • 0

[Request]Olympiads Same IP


Question

3 answers to this question

Recommended Posts

  • 0
Posted

what pack do you use?

 

for l2jfree go to configs and open altsettings.properties

 

and find that thing!

 

# -----------------------------------------------------------------

#  Olympiad Config

# -----------------------------------------------------------------

 

# Olympiad Start Time in Military hours Default 6pm (18)

AltOlyStartTime = 18

 

# Olympiad Start Time for Min's, Default 00 so at the start of the hour.

AltOlyMin = 00

 

# Olympiad Compeition Period, Default 6 hours.

AltOlyCPeriod = 21600000

 

# Olympiad Battle Period, Default 6 minutes. (If set different, should be < AltOlyBWait)

AltOlyBattle = 360000

 

# Olympiad Battle Wait, Default 10 Minutes

AltOlyBWait = 600000

 

# Olympiad Inital Wait Period, Default 5 minutes

AltOlyPwait = 300000

 

# Olympiad Weekly Period, Default 1 week

AltOlyWperiod = 604800000

 

# Olympiad Validation Period, Default 24 Hours.

AltOlyVperiod = 86400000

 

# Olympiad allow matches from same ip

AltOlySameIp = False <<<---------------------------------- Make it True and you are ok!

 

# Classed Olympiad Settings

AltOlyClassedParticipants = 5

AltOlyBattleRewardItem = 6651

AltOlyClassedRewItemCount = 50

 

# NonClassed Olympiad Settings

AltOlyNonClassedParticipants = 9

AltOlyNonClassedRewardItem = 6651

AltOlyNonClassedRewItemCount = 30

 

# Olympiad Competition Rewards

# Minimum Points needed to to exchange nobless gate pass, Retail 50

AltOlyMinPointForExchange = 50

# ItemId for this Reward, Retail 6651(Gate Pass)

AltOlyCompRewItem = 6651

# Rate to exchange Points to Reward item, Retail 1 Point * 1000

AltOlyGPPerPoint = 1000

# Noblesse points awarded to Heros. Retail 300

AltOlyHeroPoints = 300

 

# Restrict same item in olympiad. ItemID's need to be separated whit comma (ex. 1,200,350)

AltOlyRestrictedItems = 0

 

# if true on a tie the total dmg = dmg - heal of oppenent

AltOlyMatchHealCounts = False

# if true, damage dealed by summons or to summons also counts

AltOlySummonDamageCounts = False

 

# remove all non self summonable cubics on oly

AltOlyRemoveCubics = False

  • 0
Posted

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"));

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.



  • Posts

    • Website: https://l2aurum.com/  Discord: https://discord.gg/l2aurum   Hello Everyone,  finally, the moment has arrived: I'm launching my own server, L2Aurum!   L2Aurum x300 Closed Beta Test - Start: 17.02.2025  [20:00 GMT+2] Grand Opening 21.02.2025 [20:00 GMT+2]     Experience Rates: x300 Skill Points Rates: x300 Adena Drop: x300 Premium Accounts: x2 Drop Rates: x1 Spoil Rates: x1 Quest Rates: x1 Only one account per player, no dualboxing allowed. Everything is earned through gameplay, no pay-to-win mechanics. No server wipes—your progress is permanent. Fair play is a priority, with no room for corruption. All players are treated equally, no special favors.     Buffs slots: 26+4, all buffs in NPC and Scheme System. Custom Armors: Aurum Apella Armor Custom Weapons: Aurum Weapon Custom Accessories: +300 P.Def & M.Def Tattoos: Mage & Fighter & Custom Shirts Custom Jewels: New Grand Bosses Auto Farm is FREE for everyone. Status Noblesse: Barakiel. Player Spawn Protection: 10 seconds. Geodata e Panthodes: ENABLED. All Commands are visible in .menu. System 2 Bishop Per Party: ENABLED. Boss Protect - Anti-Zerg: ENABLED.     Siege Duration: 2 hours (120 minutes). Siege Period: Every 7 days. Castle Reward: 100E Per Castle. Available Castles: Rune Aden Giran Giran Siege: Every Friday 20:00 GMT +2. Aden Siege: Every Saturday 20:00 GMT +2. Rune Siege: Every Sunday 20:00 GMT +2. Main Clan: 40 Members max. Royal Clan: 12 Members max. Knight Clan: 7 Members max. Alliance: You can have only 1.     Epic Boss Valakas: Monday 22:30 (GMT+2) Zaken: Tuesday | Thursday 22:30 (GMT+2) Queen Ant: Monday | Wednesday 22:30 (GMT+2) Baium: Friday 22:30 (GMT+2) Antharas: Saturday 22:30 (GMT+2) Orfen: Tuesday | Thursday | Saturday 18:30 (GMT+2) Core: Monday | Wednesday | Friday | Sunday 18:30 (GMT+2)   Raid Boss  Flame Of Splendor Barakiel Last Hit: Every Day Respawn 3-4 hours Ember: Every Day Respawn 3-4 hours Lilith: Every Day Respawn 3-4 hours Anakim: Every Day Respawn 3-4 hours Queen Shyeed: Every Day Respawn 3-4 hours Golkonda: Every Day Respawn 3-4 hours Shuriel: Every Day Respawn 3-4 hours Varka's Hero Shadith: Every Day Respawn 3-4 hours Ketra's Hero Hekaton: Every Day Respawn 3-4 hours Varka's Mos: Every Day Respawn 3-4 hours Chief Horus: Every Day Respawn 3-4 hours Ketra's Tayer: Every Day Respawn 3-4 hours Chief Brakki: Every Day Respawn 3-4 hours Sailren: Every Day Respawn 02:00   🥳🥳🥳🥳 I would like to chat personally with all of you over on our Discord and discuss any suggestions or feedback you might have.      Website: https://l2aurum.com/  Discord: https://discord.gg/l2aurum
    • DISCORD : https://discord.com/users/325653525793210378 utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt
    • DISCORD : https://discord.com/users/325653525793210378 utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt
    • DISCORD : https://discord.com/users/325653525793210378 utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt
    • DISCORD : https://discord.com/users/325653525793210378 utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt
  • Topics

×
×
  • Create New...