Jump to content
  • 0

[Request]Olympiads Same IP


Question

Posted

Hey, i was wondering if anyone knows how to make it so that if 2 characters of the same IP want to participate in the olympiads, they cant so the same person doesnt have 2 heroes.

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

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


  • Posts

    • Dear friends! We are delighted to share with you two great news from the SocNet team! 1. Update of our SMM Panel! We have completely revised and updated the list of available services — now the panel includes only relevant, stable, and truly effective solutions. We highly recommend trying the updated service right now! ➡ A special offer for new clients: create a support ticket with the subject “Get Trial Balance” and receive $1 on your balance to test any services in our SMM panel. 2. Major update of our Telegram Stars Bot! We’ve done a lot of work and are happy to present an improved version of the SocNet Telegram Stars Bot, which we’ve been developing throughout the last month: ➡ Added payment support via Russian bank cards with automatic payment verification. ➡ Implemented automatic exchange rate adjustment — prices remain the lowest on the market, including Split. ➡ Added a unique “Gift Slots” game, where everyone can fairly win valuable prizes: Telegram Stars, Premium, gifts, balance in SOCNET.STORE, and much more from our partners. Thank you for staying with us! ✨ Join us — every week in our Telegram channel we hold giveaways of Telegram Stars and other prizes! Active SOCNET Store Links: Digital goods store (Website): Go Store Telegram bot: Go – easy access to the store via Telegram messenger. Telegram bot for purchasing Telegram Stars: Go – fast and convenient way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you with the current list of promotions and special offers for purchasing products and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website or Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — just post your username after registration on our website using the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear friends! We are delighted to share with you two great news from the SocNet team! 1. Update of our SMM Panel! We have completely revised and updated the list of available services — now the panel includes only relevant, stable, and truly effective solutions. We highly recommend trying the updated service right now! ➡ A special offer for new clients: create a support ticket with the subject “Get Trial Balance” and receive $1 on your balance to test any services in our SMM panel. 2. Major update of our Telegram Stars Bot! We’ve done a lot of work and are happy to present an improved version of the SocNet Telegram Stars Bot, which we’ve been developing throughout the last month: ➡ Added payment support via Russian bank cards with automatic payment verification. ➡ Implemented automatic exchange rate adjustment — prices remain the lowest on the market, including Split. ➡ Added a unique “Gift Slots” game, where everyone can fairly win valuable prizes: Telegram Stars, Premium, gifts, balance in SOCNET.STORE, and much more from our partners. Thank you for staying with us! ✨ Join us — every week in our Telegram channel we hold giveaways of Telegram Stars and other prizes! Active SOCNET Store Links: Digital goods store (Website): Go Store Telegram bot: Go – easy access to the store via Telegram messenger. Telegram bot for purchasing Telegram Stars: Go – fast and convenient way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you with the current list of promotions and special offers for purchasing products and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website or Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — just post your username after registration on our website using the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear friends! We are delighted to share with you two great news from the SocNet team! 1. Update of our SMM Panel! We have completely revised and updated the list of available services — now the panel includes only relevant, stable, and truly effective solutions. We highly recommend trying the updated service right now! ➡ A special offer for new clients: create a support ticket with the subject “Get Trial Balance” and receive $1 on your balance to test any services in our SMM panel. 2. Major update of our Telegram Stars Bot! We’ve done a lot of work and are happy to present an improved version of the SocNet Telegram Stars Bot, which we’ve been developing throughout the last month: ➡ Added payment support via Russian bank cards with automatic payment verification. ➡ Implemented automatic exchange rate adjustment — prices remain the lowest on the market, including Split. ➡ Added a unique “Gift Slots” game, where everyone can fairly win valuable prizes: Telegram Stars, Premium, gifts, balance in SOCNET.STORE, and much more from our partners. Thank you for staying with us! ✨ Join us — every week in our Telegram channel we hold giveaways of Telegram Stars and other prizes! Active SOCNET Store Links: Digital goods store (Website): Go Store Telegram bot: Go – easy access to the store via Telegram messenger. Telegram bot for purchasing Telegram Stars: Go – fast and convenient way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you with the current list of promotions and special offers for purchasing products and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website or Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — just post your username after registration on our website using the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear friends! We are delighted to share with you two great news from the SocNet team! 1. Update of our SMM Panel! We have completely revised and updated the list of available services — now the panel includes only relevant, stable, and truly effective solutions. We highly recommend trying the updated service right now! ➡ A special offer for new clients: create a support ticket with the subject “Get Trial Balance” and receive $1 on your balance to test any services in our SMM panel. 2. Major update of our Telegram Stars Bot! We’ve done a lot of work and are happy to present an improved version of the SocNet Telegram Stars Bot, which we’ve been developing throughout the last month: ➡ Added payment support via Russian bank cards with automatic payment verification. ➡ Implemented automatic exchange rate adjustment — prices remain the lowest on the market, including Split. ➡ Added a unique “Gift Slots” game, where everyone can fairly win valuable prizes: Telegram Stars, Premium, gifts, balance in SOCNET.STORE, and much more from our partners. Thank you for staying with us! ✨ Join us — every week in our Telegram channel we hold giveaways of Telegram Stars and other prizes! Active SOCNET Store Links: Digital goods store (Website): Go Store Telegram bot: Go – easy access to the store via Telegram messenger. Telegram bot for purchasing Telegram Stars: Go – fast and convenient way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you with the current list of promotions and special offers for purchasing products and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website or Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — just post your username after registration on our website using the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear friends! We are delighted to share with you two great news from the SocNet team! 1. Update of our SMM Panel! We have completely revised and updated the list of available services — now the panel includes only relevant, stable, and truly effective solutions. We highly recommend trying the updated service right now! ➡ A special offer for new clients: create a support ticket with the subject “Get Trial Balance” and receive $1 on your balance to test any services in our SMM panel. 2. Major update of our Telegram Stars Bot! We’ve done a lot of work and are happy to present an improved version of the SocNet Telegram Stars Bot, which we’ve been developing throughout the last month: ➡ Added payment support via Russian bank cards with automatic payment verification. ➡ Implemented automatic exchange rate adjustment — prices remain the lowest on the market, including Split. ➡ Added a unique “Gift Slots” game, where everyone can fairly win valuable prizes: Telegram Stars, Premium, gifts, balance in SOCNET.STORE, and much more from our partners. Thank you for staying with us! ✨ Join us — every week in our Telegram channel we hold giveaways of Telegram Stars and other prizes! Active SOCNET Store Links: Digital goods store (Website): Go Store Telegram bot: Go – easy access to the store via Telegram messenger. Telegram bot for purchasing Telegram Stars: Go – fast and convenient way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you with the current list of promotions and special offers for purchasing products and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website or Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — just post your username after registration on our website using the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

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