Jump to content

vampir

Legendary Member
  • Posts

    1,899
  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    0%

Everything posted by vampir

  1. for pk status just copy what i wrote for you but with pk, like private int pkStatus = 0, getPkStatus, and setPkStatus, there you need to change getPvpKills() to getPkKills(), later just add setPkStatus to enterworld and method which is increasing pk points and its done. You can make a lot of things with that like for example players can join olympiad only if they have 2 status or more or enter custom farm zone with 3 status or using bsoe only if they have 3 status, just use your imagination and brain which is most important :)
  2. no idea but with changed code wont happend for sure :)
  3. in olympiad.properties in AltOlyRestrictedItems, add at the end 2001, so players wont be able to use it at olympiad
  4. add this in l2pcinstance private int status = 0; public int getPvPStatus(){ return status; } public void setPvPStatus(){ for(int i = 5000;i>=100;i-=100) if(getPvpKills()>i&&getPvpKills()<(i+101)){ status = i/100; break; } } i think it should work well but i didnt test it also in useItem after if (item.isEquipable()) { add: if(_itemId == itemid &&activeChar.getPvPStatus()<3) break; and in increasepvpkills in l2pcinstnace add setPvPStatus() and in enterworld, write activeChar.setPvPStatus() Edit: sorry for double post, didnt see it..
  5. ok i will write it for you.. just tell me id of that armor parts
  6. so 1. wrong section and coz i dont want to get -1 karma: make new int and name it status, set it to 0 create method getstatus and setstatus in setstatus make something like: if(activeChar.getPvpKills>100&&activeChar.getPvpKills<201) status = 1 else if(activeChar.getPvpKills>200&&activeChar.getPvpKills<301) status = 2 etc in useItem add something like if(_itemid == idofapella && activeChar.getstatus<3){ activeChar.sendMessage("You have got too low status); return; } i dont really remember methods like sethp setmdef or something so look for it in the source Edit: :S i would forget, in increasepvpkills write setstatus() and also in enterworld :)
  7. you will need to change this code: + int num = Math.round(Rnd.get(_notInfected.size()-1)); + L2PcInstance infectFirst = ((L2PcInstance[])getAllNotInfected())[num]; + infectPlayer(infectFirst); to soemthing like: for(int i = 0;i<_notInfected.size();i+=2){ infectPlayer(((L2PcInstance[])getAllNotInfected())[i]); } test it and let me know, i didnt test it
  8. You will need to know java well, belive me :P
  9. 1. dont make double posts 2. Write exactly what u want 3. if u want me to recommend you good freya pack then: l2jserver.com
  10. i dont know if images in server files like crest would work but renaming voiced command for sure
  11. you could have those images in server same as crests so players wont have them in their client, but i dont think that it would change a thing As i can see from their code, they have check: IF "HTML.CONTAINS #$CAPTCHA" == TRUE you could change $captcha in your code to what ever you want just to players dont know it, if they cant check whats there then i think it should work.
  12. there isnt much difference between those 2 images i think, what exactly do you want to change? to make something like if you didnt enter the correct code in 1 minute then you can not do it anymore and u are jailed or something like you have only got 1 chanse to type correct code or what else?
  13. simple code, try to share something bigger next time :)
  14. Wrong section and stupid question, just tell exactly what do you need
  15. 1. Just create custom npc which will give weapon for something, there are a lot of custom gm shops so just change it a little bit. for rest just look at fall harvest event
  16. in skillhandlers/StealMoney.java after this: L2Object firstTarget = target; add: if(player.isInsideZone(ZONE_PEACE)) return;
  17. it would be: if (!player.isInsideZone(ZONE_PEACE)) i dont know, try it
  18. do it by yourself
  19. thx for that share but anyway if ppl wont share 100 times same pvp color system, now they will share custom commands with everything :P
  20. it would make every player hero..
  21. yeah you can make that or sethero in enterworld as i said since its kinda same
×
×
  • 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