Jump to content

Versus

Legendary Member
  • Posts

    3,947
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Versus

  1. I never copied anything from your server, never played your server, never heard of your server. Thanks for all your comments, i love you all 8)
  2. Sure! Just the Config.java is not the same with gracia, so you can't apply the patch. All the other besides the Config are the same for IL.
  3. Thanks guys, i really appreciate your words. It's made in gracia l2jserver core but it will work on any other client.
  4. I made this while i was bored, i haven't tested it, so if anyone can test it and reply would be really helpful. What it does is rewarding players with levels from their pvps amount. I used levels from 85 to 100 but of course you can & should change them. Idea=> you can increase the maximum level, allow the players to level up till 85 with mobs and then from 85 to 100 with this system. Index: I:/workspace/L2_GameServer/java/config/pvp.properties =================================================================== --- I:/workspace/L2_GameServer/java/config/pvp.properties (revision 3645) +++ I:/workspace/L2_GameServer/java/config/pvp.properties (working copy) @@ -57,4 +57,39 @@ # Length one stays in PvP mode after hitting a purple player (in ms) # Default: 60000 -PvPVsPvPTime = 60000 \ No newline at end of file +PvPVsPvPTime = 60000 + +# Allow pvp level system, a system which awards players with levels from their pvps +# system is auto enabled only after level 85 & 100% +AllowPvPLevelSystem = false + +# Ammount for 1st level +PvPLevelAmmount1 = 300 +# Ammount for 2nd level +PvPLevelAmmount2 = 400 +# Ammount for 3nd level +PvPLevelAmmount3 = 500 +# Ammount for 4th level +PvPLevelAmmount4 = 600 +# Ammount for 5th level +PvPLevelAmmount5 = 700 +# Ammount for 6th level +PvPLevelAmmount6 = 800 +# Ammount for 7th level +PvPLevelAmmount7 = 900 +# Ammount for 8th level +PvPLevelAmmount8 = 1000 +# Ammount for 9th level +PvPLevelAmmount9 = 1100 +# Ammount for 10th level +PvPLevelAmmount10 = 1200 +# Ammount for 11th level +PvPLevelAmmount11 = 1300 +# Ammount for 12th level +PvPLevelAmmount12 = 1400 +# Ammount for 13th level +PvPLevelAmmount13 = 1500 +# Ammount for 14th level +PvPLevelAmmount14 = 1600 +# Ammount for 15th level +PvPLevelAmmount15 = 2000 \ No newline at end of file Index: I:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- I:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 3645) +++ I:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -5656,6 +5656,96 @@ } /** + * PvP counts as xp after level 85. + * + */ + public void increaseLevelFromPvPs(int pvpKills) + { + if (getLevel() <= 85) + return; + { + if (Config.ALLOW_PVP_LEVEL_SYSTEM && getLevel() >= 86 && getLevel() < 101) + { + if ((getLevel() == 86 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT1)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT2))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT1 +" pvps and leveled up!"); + } + else if ((getLevel() == 87 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT2)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT3))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT2 +" pvps and leveled up!"); + } + else if ((getLevel() == 88 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT3)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT4))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT3 +" pvps and leveled up!"); + } + else if ((getLevel() == 89 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT4)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT5))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT4 +" pvps and leveled up!"); + } + else if ((getLevel() == 90 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT5)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT6))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT5 +" pvps and leveled up!"); + } + else if ((getLevel() == 91 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT6)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT7))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT6 +" pvps and leveled up!"); + } + else if ((getLevel() == 92 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT7)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT8))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT7 +" pvps and leveled up!"); + } + else if ((getLevel() == 93 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT8)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT9))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT8 +" pvps and leveled up!"); + } + else if ((getLevel() == 94 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT9)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT10))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT9 +" pvps and leveled up!"); + } + else if ((getLevel() == 95 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT10)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT11))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT10 +" pvps and leveled up!"); + } + else if ((getLevel() == 96 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT11)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT12))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT11 +" pvps and leveled up!"); + } + else if ((getLevel() == 97 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT12)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT13))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT12 +" pvps and leveled up!"); + } + else if ((getLevel() == 98 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT13)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT14))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT13 +" pvps and leveled up!"); + } + else if ((getLevel() == 99 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT14)) && (pvpKills < (Config.PVP_LEVEL_AMMOUNT15))) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT14 +" pvps and leveled up!"); + } + else if (getLevel() == 100 && pvpKills >= (Config.PVP_LEVEL_AMMOUNT15)) + { + addExpAndSp(Experience.LEVEL[getLevel() + 1], 0); + sendMessage("You reached " + Config.PVP_LEVEL_AMMOUNT15 +" pvps and leveled up!"); + } + } + } + } + + /** * Increase the pvp kills count and send the info to the player * */ @@ -5664,6 +5754,9 @@ // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); + increaseLevelFromPvPs(getPvpKills()); + broadcastUserInfo(); + // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); sendPacket(new ExBrExtraUserInfo(this)); Index: I:/workspace/L2_GameServer/java/net/sf/l2j/Config.java =================================================================== --- I:/workspace/L2_GameServer/java/net/sf/l2j/Config.java (revision 3645) +++ I:/workspace/L2_GameServer/java/net/sf/l2j/Config.java (working copy) @@ -793,6 +793,24 @@ public static String DATAPACK_VERSION; public static int PVP_NORMAL_TIME; public static int PVP_PVP_TIME; + public static boolean ALLOW_PVP_LEVEL_SYSTEM; + public static int PVP_LEVEL_AMMOUNT1; + public static int PVP_LEVEL_AMMOUNT2; + public static int PVP_LEVEL_AMMOUNT3; + public static int PVP_LEVEL_AMMOUNT4; + public static int PVP_LEVEL_AMMOUNT5; + public static int PVP_LEVEL_AMMOUNT6; + public static int PVP_LEVEL_AMMOUNT7; + public static int PVP_LEVEL_AMMOUNT8; + public static int PVP_LEVEL_AMMOUNT9; + public static int PVP_LEVEL_AMMOUNT10; + public static int PVP_LEVEL_AMMOUNT11; + public static int PVP_LEVEL_AMMOUNT12; + public static int PVP_LEVEL_AMMOUNT13; + public static int PVP_LEVEL_AMMOUNT14; + public static int PVP_LEVEL_AMMOUNT15; public static enum IdFactoryType { Compaction, @@ -2454,6 +2472,24 @@ else if (pName.equalsIgnoreCase("PvPVsNormalTime")) PVP_NORMAL_TIME = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("PvPVsPvPTime")) PVP_PVP_TIME = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("AllowPvPLevelSystem")) ALLOW_PVP_LEVEL_SYSTEM = Boolean.parseBoolean(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount1")) PVP_LEVEL_AMMOUNT1 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount2")) PVP_LEVEL_AMMOUNT2 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount3")) PVP_LEVEL_AMMOUNT3 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount4")) PVP_LEVEL_AMMOUNT4 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount5")) PVP_LEVEL_AMMOUNT5 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount6")) PVP_LEVEL_AMMOUNT6 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount7")) PVP_LEVEL_AMMOUNT7 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount8")) PVP_LEVEL_AMMOUNT8 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount9")) PVP_LEVEL_AMMOUNT9 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount10")) PVP_LEVEL_AMMOUNT10 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount11")) PVP_LEVEL_AMMOUNT11 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount12")) PVP_LEVEL_AMMOUNT12 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount13")) PVP_LEVEL_AMMOUNT13 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount14")) PVP_LEVEL_AMMOUNT14 = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("PvPLevelAmmount15")) PVP_LEVEL_AMMOUNT15 = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("GlobalChat")) DEFAULT_GLOBAL_CHAT = pValue; else if (pName.equalsIgnoreCase("TradeChat")) DEFAULT_TRADE_CHAT = pValue; else if (pName.equalsIgnoreCase("GMAdminMenuStyle")) GM_ADMIN_MENU_STYLE = pValue; Note: lvl 101 means 100 & 100% With the following you can stop people from receiving exp & sp after lvl 85. Index: I:/workspace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/L2Attackable.java =================================================================== --- I:/workspace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/L2Attackable.java (revision 4250) +++ I:/workspace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/L2Attackable.java (working copy) @@ -704,7 +704,7 @@ } // Distribute the Exp and SP between the L2PcInstance and its L2Summon - if (!attacker.isDead()) + if (!attacker.isDead() && attacker.getLevel() <= 85) { long addexp = Math.round(attacker.calcStat(Stats.EXPSP_RATE, exp, null, null)); int addsp = (int)attacker.calcStat(Stats.EXPSP_RATE, sp, null, null);
  5. sxetiko reply m
  6. Ti lete oti dn uparxoun bugs lol? ola ta paixnidia exoun bugs, arkei na exeis ligi fantasia.... episis ola ta paixnidia exoun hacks arkei na exeis tin gnwsi, opote auto dn stekei ka8olou. Psifisa: Γιατι ξερεις πως δεν προκειτε να "κλεισει" p pali dn stekei gt p 3ereis mporei na xreokopisei i NcSoft k na anagkastei na kleisei ^^
  7. 5o epal esu se poio sxoleio pas?
  8. otan mpeis k kouniseis se petaei h otan pas na mpeis?
  9. nai gmst.. to sxoleio m einai mesa sta kaminia k pane polloi 8erissanoi (opws k egw).. tin 1h mera p pigame se auto to sxoleio dimiourgi8ike fasaria amesws. Apo krhth eisai?
  10. Ta 2 simantikotera etoimata mas: dn exoume arketes ai8ouses me apotelesma ka8e mera na kanoume 4wra k otan feugoume na erxontai ma8ites tis 1hs k na kanoun 3wra.... to sxoleio exei xwro gia alles ai8ouses alla edw k 2 xronia dn tis exoun balei. mas stelnoun se alla sxoleia p dia8etoun ergasthria, to ena apo auta einai to 3o lukeio, emeis exoume "vendetta" me tin perioxi auti (alikarnasos gia osous 3eroun apo hrakleio) me apotelesma na peftei ksilo k polla paidia na mi mporoun na pane ekei.
  11. Blepoume elliniki tileorasi, tpt dn einai ali8ino. Gia auto egw exw stamatisei na blepw ka8e mlkia p probaloun k blepw apokleistika k mono tainies. Parte to xampari dn a3izei tpt k kaneis tous!
  12. Afou o NeoEllinas gennietai tempelis oloi eseis p eiste KATA ths katalipsis p bre8ikate? :P Egw eimai uper tis katalipsis k apo xtes to bradu girisa prin apo misi wra ;)
  13. re paidia auta einai idiotropes t ka8e server (h blakeies twn admin as to parei o ka8enas opws 8elei) 8imamai TG c3 kaname /target k to name enos npc, dn to 8imamai twra.. k itan ekei mia aorati gk.. p tis milouses k se pigaine kateu8eian core room :O
  14. This topic has been moved to Junkyard Posts (Hidden). [iurl]http://www.maxcheaters.com/forum/index.php?topic=96330.0[/iurl]
  15. This topic has been moved to Junkyard Posts (Hidden). [iurl]http://www.maxcheaters.com/forum/index.php?topic=96328.0[/iurl]
  16. This topic has been moved to Junkyard Posts (Hidden). [iurl]http://www.maxcheaters.com/forum/index.php?topic=96326.0[/iurl]
  17. dn malwnoume re, apla anarwtiemai p briskei to asteio :S
  18. me poia akribws gelas? gt egw dn blepw pou8ena to asteio.
  19. Egw pigainw epal eidikotita pliroforikis k skopeuw na perasw se kapio TEI. Eidh exw mixanaki to opoio agorasa me ka8ara dika m lefta k to sintirw me dika m lefta. Poios s leei oti perimenw kapios na me sintirei sto mellon? an itan etsi dn 8a pigaina ka8olou sxoleio. Telos pantwn o ka8enas kanei oti 8elei gia ti zwi t, egw mporei na 8elw na perasw kapou alla 8a 3erw oti 8a exw zisei k ti zwi m.. dn mporousa na antista8w k na min apantisw! Kaneis katalipsi gia na eisai magkas?????????? Auto 1h fora to akouw sti zwi m!!!! Twra an merikoi einai uper k to mono p kanoun einai na pigainoun 5 lepta sto sxoleio k meta na feugoun gia na pane na liwsoun sto pc tote auto to katakrinw k egw! Mia katalipsi 8elei atoma, xwris atoma dn ginetai katalipsi!
  20. Oloi oi komple3ikoi edw mazeutikan.. dld m les re aderfe p kaneis 200 wres idietera ma8imata oti se xalaei p kapioi kleinoun to sxoleio? isa isa p 8a proxwriseis mprosta me ta idietera.. k nai etsi einai APODEDIGMENA! eimai sigouros oti osoi einai kata, einai eite epeidi oi goneis tous, tous fouskwnoun ta miala eite epeidi dn kanoun tpt allo para na diabazoun. Auto dn simainei oti eimai enantion opoiou diabazei, pros 8eou... alla akoma k otan diabaza sto gimnasio panta uper imoun. Dn lew oti i koinwnia dn einai zoriki alla oxi epeidi 8a xaseis 1-2 ebdomades apo to sxoleio 8a pa8eis k kati, min akouw oti na nai re paidia! Auto einai oso paralogo oso to aitima me tis stroggiles tiropites.
  21. kante katalipsi mwre, siga to 8ema.... olo k kapio problima 8a exete sto sxoleio sas, e3alou twra einai i panelladiki!!!
  22. An breis estw k enan edw stin ellada na oploforei me adeia oti 8es apo emena... emeis stin oikogeneia m exoume 3 alla edw stin kriti einai pio pl ws e8imo, gia gamous, panigiria ktlp.
  23. The site is actually working, i'm recommending that since i've tried it.
  24. This topic has been moved to Off-Topics. [iurl]http://www.maxcheaters.com/forum/index.php?topic=96293.0[/iurl]
×
×
  • 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