Jump to content

melron

Legendary Member
  • Posts

    1,399
  • Credits

  • Joined

  • Last visited

  • Days Won

    28
  • Feedback

    0%

Everything posted by melron

  1. Y it can be in 1. Also you dont have to check about zone since this code is located at onEnter. I didnt get what this guy us trying to do. He is teleporting the player when he is entering in that zone? Also after the teleport code should be a return statement ( or if else) because: OnEnter -> teleport -> onExit -> and after that setIsInsideZone is taking place. That means the player is somewhere else with that zoneId
  2. @Override protected void onEnter(Creature character) { if (character instanceof Player) { ThreadPool.schedule(() -> ((Player) character).teleToLocation(83597, 147888, -3405, 0), 1000 * 300); ThreadPool.schedule(() -> ((Player) character).sendMessage("Evento Finalizado!"), 1000 * 300); if (_counterTask == null) _counterTask = startCounter(); } character.setInsideZone(ZoneId.PEACE, true); }
  3. I can see the logic there. A site with name Maxcheaters is selling bot protection while all exploit sections are dead. The 90% of the community is from the l2 while the 90% of that community is now out. There are really about 20 members who posting there and a few randoms that creating account just to ask for help about 1 thing. The owner visiting his site only to enable ads in these terrible banners and answering to Skype only to check PSC validation. It's not our fault. I am really thankful to this forum because I worked for many members for free but not really for free. I didn't ask for money but I earned knowledge. When I became l2jdev I had more than 200 PM's for free codes (root , can confirm that) and I was ok with that, but after some time I said alright, enough. It's getting boring the whole thing especially if you have a 'role' there (like daily cleaning the responsible section) without any single reason . Any mod here,have daily jobs to do based on their position. Why? They won't win something except the fame. Ppl like root, Sweets,elfo,xdem who have a good knowledge they don't care about that. That's why I said "I doubt they will accept it". I fully agree with you .
  4. Personally, I can't find a reason for anyone to apply something like that for any position, because you are supposed to know the members who are capable for these positions. Anyway there are a few members that they are really capable but I doubt they will accept it
  5. About the 2nd ask public final static String retrieveIcon(int... values) Can do that. He just have to separate the values retrieveIcon(5,8,10,4,3)
  6. The answer is your question. 2 same armor sets. The 2nd is the same as the first, but with that effect So, When the player enchant the first set up to +6 then, the set is replaced with the 2nd one (with the effect)
  7. I could just say array[2] = 3rd element. But I preferred to explain it a bit.. Maybe that guy, one day will be better than us :D
  8. The first element of an array is accessible by the value 0. The 2nd element has the position 1.. the 3rd element 2.... array[0] = first element ... array[2] = 3rd element. The code is hardcoded. Rework it
  9. You didn't get my point :D I'm not saying smt about Sweets
  10. "add me on Skype" post is coming from a guy that have the same bugged files
  11. If you cant speak english, theres a greek section for any kind of help.
  12. you confused me. you have a method with name canUseItem. You are checking if the item id is equal to ex. 7575 (db) and if yes & is equipped you returning false ? it means you cant use that? so you cant even unequip it? you have to edit your method and check only the item id. so.. public boolean canUseItem(PlayerEventInfo player, ItemData item) { if(!item.isEquipped()) return item.getItemId() == _bowItemId; return super.canUseItem(player, item); }
  13. can you be more descriptive? give us examples or atleast give some code to help you
  14. Similar to oly restrictions. 2 things you should care about. 1st) check the type while entering at the event or teleporting? idk, and unequip it 2nd) when useItem will launch
  15. The structure is bad, but you can check the method onExit if the same skill type exists and if yes, simply don't remove the invul
  16. Το έμαθε ο Γιάννης ρε? :D edit: αχ και να σε έπιανε... Χαχαχα
  17. tipota den einai asximo kai tipota den einai wraio. einai kathara thema goustou kai thema organoshs. exoun petuxei poloi servers me to 'palio klasiko vote system' pou anefere o kara kai exoun apotuxei alloi tosoi me api . to thema einai na eisai eksupnos kai na to ftiakseis swsta. An pame me vash to ti einai swsto, den tha eprepe kan na anoiksei server me frozen. parola auta omws to frozen exei istoria kai exoun vgalei spitia eksetias tou... P.s ennoeite oti den kalh idea eidika gia enan arxario na valei to palio style etsi? den to sizitame...
  18. Read again... Should be located at attackable
  19. https://pastebin.com/XahC0b9d Take a look there. im using acis bookmarks code as a base to generate pages
  20. About the code is the correct one and it's working just read the lines and put some logic there. When the time will come to equip the weapon, it will first check if exists in the inventory. There are two reasons if it doesn't work for you. 1) you didn't add it properly 2) a kind of problem in your thread pool?
  21. The "I need help NOW" person Hi Kara, I'd like to add you as a contact. Kara: hello. Person: man i have problem to my server my vote is not giving item but the site is on and my server is on and when player vote not giving reward please help me my tv is x.xxx.xxx.xx i dont know wat i do and i lost many many peopleS and i have 25 on now from 35 please ago before and i have bug in vote system for items giving the npc Kara: Yoho , relax dude, What chronicle do you have and where is it based? Person: in my house is my server and i and my brother we are gms and good gms not giving items but i have bug my vote dont give items and players are lefting from my server and i dont know wat i do plz man plz Kara: lol... Kara: Well, i will charge you 10-15E for that fix . Do you agree? Person: I HAVE PROBLEM WITH MY VOTE IT HAVE BUG AND PEOPLES LEFT PLZ COME AND FIX IT PLZ I CAN GIVE YOU MONEY FROM DONATE PLZ COME WITH TEAMWIEER AND FIX IT PLZ MY BROTHER IS GOOD GM AND KNOW ALL GM COMMANDS BUT BUG IN VOTE NPC I DONT DID ANY WRONG COMMAND I DONT KNOW Kara:
×
×
  • Create New...