Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. Check l2jserver timeline for the fix.
  2. Well, you can do it with switch, like (some old code) Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 198) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -4530,6 +4531,8 @@ if (isMounted()) stopFeed(); + spreeKills = 0; + synchronized (this) { if (isFakeDeath()) @@ -4788,8 +4803,59 @@ * Increase the pvp kills count and send the info to the player * */ + private int spreeKills = 0; + public void increasePvpKills() { + spreeKills++; + + switch(spreeKills) + { + case 1: + //add skill code and w/e + break; + + case 2: + //add skill code and w/e + break; + + case 3: + //add skill code and w/e + break; + default: + ; + } // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); Well, it's good to put some sendMessage() so you can see if the code is working or not :P
  3. Devlin sux, everyone knows that.. :P
  4. Try adding the code @ rewardSkill() method, before if (Config.AUTO_LEARN_SKILLS) Also, how could that work while you put your code @ doPickupItem() method which has nothing to do with that case :happyforever:
  5. When you reach the desired lvl, does you get the msg ? Or nothing from the code is working ? sendMessage("Make sure you reach your level first. " +Config.LEVEL_TO_REWARD+ " .");
  6. http://www.maxcheaters.com/topic/180045-l2fow-pack/
  7. Already shared.. Just "adapted" to frozen ?
  8. "String value required, but not specified" :D
  9. So you did something wrong.
  10. Changeset 327 GrandBossManager, Misc GrandBossManager - Edit GrandBossManager to use a singleton, to fit with overall project writing style. - "Allowed players" system : - Move the initialization AFTER zones loading (it wasn't making any errors, but the system wasn't working). - Reworked it to simply use .add(, instead to set it using a temporary List. - Use an index system based on zoneId to avoid to search/retrieve current L2GrandBoss zone info on every SQL raw (it's doable since we order the query by ZONE and not by PLAYER anymore). Misc - Fix 2 NPEs on 2 quests, due to Trove drop (Trove was handling null by returning 0, while Java Map simply send null). Ty Root for fix. - Fix a NPE on itemid 8811. Ty sahar for report. - Add skill names on scheme buffer, using kdDer64 buffer graphic style. Also edit the extends in order to be invul. Ty sahar for patch. - Added few missing restock delays on Interlude spellbooks. Ty rebelstrik for report. - Move setPledgeClass() call leading to rank miscalculation for heroes on player restore, ty sahar. - Some Hasha TODO list : - Drop L2Skill._displayId, getter/setter. Replaced by getId(). - getAvailableHenna() is edited from array to List. Drop external null checks, as it is empty at worst. - Rename few packets typos, such as ware*H*ouse / withdraw*AL* - Drop DoorTable.putDoor(), single use. - Edited TaskSevenSignsUpdate _log definition (task system needs to be edited anyway).
  11. Download l2encded, paste the files into your system folder and run "patcher" :) http://www.4shared.com/rar/ICmhuXTmce/l2endec.html But there may be an error when you open your l2 ann the GG is not killed, it's caused by nwindow.dll (so switch it later with any). Btw, why don't you simply download the system from any l2 server? :P Also, what you mean saying
  12. lol, its amazing. You should hide it for some post count. Good job :)
  13. On aCis it's EffectZone.xml , so check if you have such zone, I guess there should be.
  14. http://www.maxcheaters.com/topic/178644-help-how-to-make-gk-ask-for-another-item/?p=2362210
  15. Take clean one and patch it on your own :P There was a topic with all patched and non systems somewhere..
  16. Nice idea, gg :P Like you mentioned, you have to add some IP restriction.
  17. Neither do I :troll:
  18. You see what happens with ppl who stick with Tk.. Beware yourself :troll:
  19. Kinda invalid, since you can take the pure base and add your custom crap :P
  20. Da fqk, indeed they are amazing.. :o xdem as always is right.. :P
  21. I could do that, but I'm way too lazy to make it happen :troll:
  22. Its caused cuz of shitty code of npc crest addon. Set the config to true and its gonna be fine. NpcCrest or w/e the name of config is.
  23. Bcs he gave you part of the code and not full.. :troll:
  24. Probably true and hes so unskilled. So, beware.
×
×
  • 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