Jump to content
  • 0

[Help] Reward pvp and hero every week


Question

7 answers to this question

Recommended Posts

  • 0
Posted

3 simple steps

 

 

1) Go to com.l2jserver.gameserver.model.actor.instance.L2Pcinstance.java

 

2) Search for

 

public void increasePvpKills()
   {
       // Add karma to attacker and increase its PK counter
       setPvpKills(getPvpKills() + 1);

 

3)after it,add this lines

 

+    

   + // Give x y for a pvp kill

   + addItem("Loot", 57(item id), 1(item count), this, true);

   + sendMessage("You won a PVP Coin for a pvp kill!");

 

PS: Dont forgot to edit the id and the count before compile ;)

 

  • 0
Posted

3 simple steps

 

 

1) Go to com.l2jserver.gameserver.model.actor.instance.L2Pcinstance.java

 

2) Search for

 

public void increasePvpKills()
    {
        // Add karma to attacker and increase its PK counter
        setPvpKills(getPvpKills() + 1);

 

3)after it,add this lines

 

PS: Dont forgot to edit the id and the count before compile ;)

 

 

Nice , do you know what i must change for hero every week?

  • 0
Posted

Check at configs,you can find it in there.

Sorry , but i can't understand what i must change

 

Is this ?

 

# Olympiad Competition Period, Default 6 hours.

# (If set different, should be increment by 10mins)

# Default: 21600000

AltOlyCPeriod = 21600000

 

or

 

# Olympiad Validation Period, Default 24 Hours.

# Default: 86400000

AltOlyVPeriod = 86400000

 

  • 0
Posted

Sorry , but i can't understand what i must change

 

Is this ?

 

# Olympiad Competition Period, Default 6 hours.

# (If set different, should be increment by 10mins)

# Default: 21600000

AltOlyCPeriod = 21600000

 

or

 

# Olympiad Validation Period, Default 24 Hours.

# Default: 86400000

AltOlyVPeriod = 86400000

 

 

86400000 = 24 hours = 1 day.

86400000 x 7 = 604800000 = 1 week.

 

=> AltOlyVPeriod = 604800000

Guest
This topic is now closed to further replies.


  • Posts

    • Digital subscriptions without overpaying Watch YouTube and Netflix with no limits! Listen to music on Spotify or YouTube Music in perfect quality! Our online store offers: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, email services (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPNs (Outline, WireGuard, others), VDS/RDP servers Promo code: AUGUST2025 (10% Discount) Payment: Bank cards · Cryptocurrency · Other popular methods How to buy: ➡ Online Store: Click ➡ Telegram Bot: Click (ENGLISH Version: Click) Other services: ➡ SMM Panel: Click Product Range: ➡ Youtube Premium Music Family Account ON YOUR ACCOUNT | 1 month | YouTube without ads | Price from: $4 ➡ Youtube Premium Music Personal Account ON YOUR ACCOUNT | 1 month | YouTube without ads | Price from: $3.8 ➡ Spotify Premium Family Member Link Account for 1 month ON YOUR ACCOUNT | Working in any countries | Price from: $1.9 ➡ Spotify Premium Individual Personal Plan for 1 month ON YOUR ACCOUNT | Available in all countries | Price from: $2.49 ➡ Spotify Premium Family Account for 1 month ON YOUR ACCOUNT | Working in any countries | Price from: $3.75 ➡ Netflix Premium 1 month Brute account for any country, renewable after expiration | Price from: $8 Loyal customers get additional discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also contact us to: — Discuss bulk purchases — Propose a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — your store for digital goods and premium subscriptions Dear friends, we would like to present the new products we have recently added to our store. Available for purchase right now: ➡ Instagram Aged Meta-Verified Account with Active Blue Checkmark | Subscription already paid for 1 month in advance + account is ID-verified | Price from: $69 ➡ Example: https://www.instagram.com/rizkyaryaanugraha7/ ➡ Facebook Aged Meta-Verified Account with Active Blue Checkmark | Subscription already paid for 1 month in advance + account is ID-verified | Price from: $69 ➡ Example: https://www.facebook.com/profile.php?id=61556579278469 Key features: ➡ All accounts range from 2010 to 2023 (Instagram accounts usually up to 2020) ➡ Accounts come with full access to email (Rambler, Firstmail, Gmail), login, and password ➡ Facebook accounts also come with active Cookies (in JSON format) ➡ It is prohibited to change the nickname or avatar after purchase — otherwise, you risk losing the blue checkmark. It cannot be restored. We create accounts to order in any quantity within 24 hours (usually verification is faster). We can also verify your personal account with a blue badge (price and conditions discussed separately). Please contact us via the details below. Contacts: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store You can also use these contacts to: — get consultation for bulk purchases — establish a partnership (current partners: https://socnet.bgng.io/partners ) — become our supplier Our online store assortment includes: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, email accounts (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPN (Outline, WireGuard, others), VDS/RDP servers Promo code: AUGUST2025 (10% Discount) Payment: bank cards · cryptocurrency · other popular methods How to buy: ➡ Online Store: Click ➡ Telegram Bot: Click Other services: ➡ SMM Panel: Click - promotion for your social media accounts. Use our SMM Panel to boost: Facebook, Instagram, Telegram, Spotify, Soundcloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, Website traffic, TikTok, Trust Pilot, Apple Music, Tripadvisor, Snapchat, and other digital platforms. Get $1 for your first SMM Panel trial: Just create a ticket with the subject “Get Trial Bonus” on our website (Support) Loyal customers get additional discounts and promo codes! ➡ Telegram Channel: https://t.me/accsforyou_shop SocNet — digital goods and premium subscriptions store
    • Digital subscriptions without overpaying Watch YouTube and Netflix with no limits! Listen to music on Spotify or YouTube Music in perfect quality! Our online store offers: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, email services (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPNs (Outline, WireGuard, others), VDS/RDP servers Promo code: AUGUST2025 (10% Discount) Payment: Bank cards · Cryptocurrency · Other popular methods How to buy: ➡ Online Store: Click ➡ Telegram Bot: Click (ENGLISH Version: Click) Other services: ➡ SMM Panel: Click Product Range: ➡ Youtube Premium Music Family Account ON YOUR ACCOUNT | 1 month | YouTube without ads | Price from: $4 ➡ Youtube Premium Music Personal Account ON YOUR ACCOUNT | 1 month | YouTube without ads | Price from: $3.8 ➡ Spotify Premium Family Member Link Account for 1 month ON YOUR ACCOUNT | Working in any countries | Price from: $1.9 ➡ Spotify Premium Individual Personal Plan for 1 month ON YOUR ACCOUNT | Available in all countries | Price from: $2.49 ➡ Spotify Premium Family Account for 1 month ON YOUR ACCOUNT | Working in any countries | Price from: $3.75 ➡ Netflix Premium 1 month Brute account for any country, renewable after expiration | Price from: $8 Loyal customers get additional discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also contact us to: — Discuss bulk purchases — Propose a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — your store for digital goods and premium subscriptions Dear friends, we would like to present the new products we have recently added to our store. Available for purchase right now: ➡ Instagram Aged Meta-Verified Account with Active Blue Checkmark | Subscription already paid for 1 month in advance + account is ID-verified | Price from: $69 ➡ Example: https://www.instagram.com/rizkyaryaanugraha7/ ➡ Facebook Aged Meta-Verified Account with Active Blue Checkmark | Subscription already paid for 1 month in advance + account is ID-verified | Price from: $69 ➡ Example: https://www.facebook.com/profile.php?id=61556579278469 Key features: ➡ All accounts range from 2010 to 2023 (Instagram accounts usually up to 2020) ➡ Accounts come with full access to email (Rambler, Firstmail, Gmail), login, and password ➡ Facebook accounts also come with active Cookies (in JSON format) ➡ It is prohibited to change the nickname or avatar after purchase — otherwise, you risk losing the blue checkmark. It cannot be restored. We create accounts to order in any quantity within 24 hours (usually verification is faster). We can also verify your personal account with a blue badge (price and conditions discussed separately). Please contact us via the details below. Contacts: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store You can also use these contacts to: — get consultation for bulk purchases — establish a partnership (current partners: https://socnet.bgng.io/partners ) — become our supplier Our online store assortment includes: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, email accounts (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPN (Outline, WireGuard, others), VDS/RDP servers Promo code: AUGUST2025 (10% Discount) Payment: bank cards · cryptocurrency · other popular methods How to buy: ➡ Online Store: Click ➡ Telegram Bot: Click Other services: ➡ SMM Panel: Click - promotion for your social media accounts. Use our SMM Panel to boost: Facebook, Instagram, Telegram, Spotify, Soundcloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, Website traffic, TikTok, Trust Pilot, Apple Music, Tripadvisor, Snapchat, and other digital platforms. Get $1 for your first SMM Panel trial: Just create a ticket with the subject “Get Trial Bonus” on our website (Support) Loyal customers get additional discounts and promo codes! ➡ Telegram Channel: https://t.me/accsforyou_shop SocNet — digital goods and premium subscriptions 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