Jump to content

Recommended Posts

Posted

Maybe something like this is already shared, but I don't care, I just decided to try to make something useful for this scene lol.

 

It's a very basic system, which will reward players with specific items when they won a PvP. You can define items id, the chance, the min and max ammount (chooses randomly) and the minimum required level & ammount of pvps in the database, table pvp_rewards.

 

Made for Epilogue, L2J.

 

http://www.4shared.com/file/dDi-GEHI/pvp_rewards_v1.html

 

ps. apply the patch manually, there might be some issues with it, because my L2J core has some modifications so the lines won't pass.

  • 3 weeks later...
Posted

very pro code thnx

i have 1 question.

the pvpkills from table what does if i put "1"

it gives every 1 pvp the reward?

if i put 10 every 10 pvp? thats what i didnt understand

if this correct its the best pvp code i've seen xD gratz one more time!

 

ps: you deserve karma.!

 

i tested and it needs a bit modification in database Fields max min needs minAmmount  and maxAmmount also pvpRequired

with test i answered my question so if i put 1 pvp every 2 pvps ill get reward... so 0 its for every pvp

everything else working perfecto!!

good job

Posted

no lol I don't deserve anything, this is work for like 20 minutes

 

i have 1 question.

the pvpkills from table what does if i put "1"

it gives every 1 pvp the reward?

if i put 10 every 10 pvp? thats what i didnt understand

if this correct its the best pvp code i've seen xD gratz one more time!

not yet, but I'll make it

 

//ok here it is

edited main class: http://pastebin.com/2aGG68Ww

edited SQL file: http://pastebin.com/xk3dBKqF

 

and a little explanation

- chance - 100% ~ 100000, 1% ~ 1000

- rewardAfter - for example if you put 10 here, it'll give this reward after every 10 pvps, on 10, 20, 30, 40,... and so on

- pvpsRequired - the minimal ammount of player's PvP points to receive this reward

 

 

Posted
- chance - 100% ~ 100000, 1% ~ 1000

also that worked from the reverce side

so when i puted 5000 that took me long time to figure out... it was 95%

and when i puted 100000 it was 0% so for items i wanted i put 1 so they was 100% if this correct and also i am to try the new code its any of those changed?

 

no lol I don't deserve anything, this is work for like 20 minutes

for this its the first code that is not overloading npcinstance as eko said

none posted something like this here.. no more tell ;)

 

well this is i thing wrong to many keys for same opts

better like that PRIMARY KEY (`id`)

 

Posted

hnoke I would like to tell us how on a certain amount of PvP's example on 1k PvP's to learn PvP Skills such as Blssed the Body on 2k to learn Body of Avatar , on 3k death whisper and e.t.c do you know do you have any idea about this ? TY

  • 1 year later...
Posted

ok guys i have some errors aplying this code.... at l2pcinstance

 

"PvPRewardsTable cannot be resolved

Lol dude. It's 2 year old share :P

 

Anyway, it's a nice share, but it could be done through configs or xml too.

  • 1 month later...
Posted

ok guys i have some errors aplying this code.... at l2pcinstance

 

"PvPRewardsTable cannot be resolved

 

me too! what could it be?

 

[javac] C:\Archivos de programa\eclipse-SDK-3.5-win32\workspace\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:5689: error: cannot find symbol
    [javac] 			PvPRewardsTable.getInstance().rewardLastHit(this, (L2PcInstance)target);
    [javac] 			^
    [javac]   symbol:   variable PvPRewardsTable
    [javac]   location: class L2PcInstance
    [javac] 1 error

Posted

If this one works its special!!! but do u know to use it ?? huh  xd maybe can work for Interlude?? if u make  some changes??

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

    • NEW SEASON START 23.01.2026 Get ready for the ultimate High Five adventure on L2Exoplanet.net!   • The last two previous Seasons are now merged into the Core Server. • The Core Server remains our main long-term world. • All future Seasonal Servers will be merged into Core after they end. • No characters or items will be lost – everything stays safe!     GRAND OPENING:  23.01.2026 at 20:00 GMT+1 BETA TEST:    16.01.2026    Client: High Five Rates: x10   Website: https://l2exoplanet.net Facebook: https://www.facebook.com/L2-Exoplanet-106811564103836 Discord: https://discord.gg/4fzhW7ZSPc         Game Rates    Experience: x10  Skill Points: x10  Adena: x5  Drop: x8  Spoil: x8  Quest: x5  Raid Boss Drop: x5  Fame: x2  Epaulette: x8  Manor: x8      Safe Enchant: +3  Maximum Enchant: +16  Normal Scroll Chance: 60%  Blessed Scroll Chance: 63%  Attribute Stone Chance: 50%  Attribute Crystal Chance: 30%      Game Settings    Multibox - 3 game clients per HWID  Autoloot  Autolearn Skills Auto Farm  NPC Buffer   Buff Slots (24+4/12)  Buff Duration (2h)  Olympiad Period 7days (new heroes appear every monday)  Seven Signs Period  Class Transfer for Adena  Max Sub-Class 3  Sub-Class Max Level 85  Essence Interface  Champions System  Vote Reward System  Dayli Reward System  PC Points Reward (500PC = 1 Donate Coin)      Epic Bosses Respawn Times     Queen Ant:  24 Hours +/- 4 Hours   Beleth: 3 Days +/- 8 Hours   Baium: 3 Days +/- 8 Hours   Antharas: 4 Days +/- 8 Hours   Valakas:  5 Days +/- 8 Hours     Instance Info     Normal Freya = 6 Players   Hard Freya = 12 Players   Frintezza = 6 Players   Zaken 83 Day = 6 Players   Zaken 60 Day = 6 Players   Zaken Nightly = 9 Players   Tiat = 6 Players   Beleth = 12 Players
    • when did i say something about mobius files besides what i've said on this post? or you're "calling me out" for saying this when someone says mobius is a better interlude alternative than acis? lol  
    • Spreading FUD disguised as "experience," mocking the project publicly, then acting shocked when called out. That's the conduct.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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