Jump to content

melron

Legendary Member
  • Posts

    1,403
  • Credits

  • Joined

  • Last visited

  • Days Won

    32
  • Feedback

    0%

Everything posted by melron

  1. This is happening because the hwid method returns null. After the first register (and storing the null hwid) the server checks the hwid of the 2nd player if exists in the stored hwids and this is gonna return true. Fix the hwid or disable it. (Search where you are storing the hwid in oly)
  2. Store the MS when the char is completing the q and check if 12 passed when the char is requesting a new one... if (player.getQEndTime(601) + TimeUnit.HOURS.toMillis(12) < System.currentTimeMillis()) .... // 12 hours passed else .... // Not passed
  3. Not my words. Credits Trance
  4. 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
  5. @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); }
  6. 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 .
  7. 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
  8. Χρόνια πολλά
  9. 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)
  10. 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)
  11. 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
  12. 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
  13. You didn't get my point :D I'm not saying smt about Sweets
  14. "add me on Skype" post is coming from a guy that have the same bugged files
  15. If you cant speak english, theres a greek section for any kind of help.
  16. 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); }
  17. can you be more descriptive? give us examples or atleast give some code to help you
  18. 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
  19. 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
  20. Το έμαθε ο Γιάννης ρε? :D edit: αχ και να σε έπιανε... Χαχαχα
  21. are you retard or what?
  22. 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...
×
×
  • Create New...