Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Credits

  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. Also, don't loop all players, use ZoneManager to get only the players of RandomZone. Take a look at grand boss script, even Baium. It's using zone to broadcast various things.
  2. We are not here 24/7 for you. It's not our fault your logic, deduction is equal to 0. Dont you fcking see you are under L2JModSettings and not under npcs? That's why you have an error. Open your eyes and use your brain. Its like, you have a ready good proper method, lines and you should copy paste them, yet you do something other and you wonder why you have an error. God. And why there is a bracket after that line? You are facking things up by your own stupidity sorry to say that. Everything is correct, you add your 1 line code and you break everything... You should think what you are doing and think why things are not working, why it show error rather than spamming with silly mistakes. I see that you are not learning after all this time and you can't think logically.
  3. What? Config can't be final if that's what you mean. You have bunch of configs, look how they are done and do the same. Kara gave you ready code. God. If you want only one color aka blue or red, boolean (true, false) config is ok.
  4. I invite you to check some other code countdown, like Duel, Olympiad, Derby or so. It's using a countdown to display time left.
  5. Everything :D
  6. Oh my goodness.. I simply fixed, showed you how the method should looks like. Don't act like 5y old kid. I told you which line you must find and what to add. Don't expect me to copy even sb.append lol, get real dude. Get you shit together or don't mod the core. Find all occuriences or that amount calculation, formation and simply add that godamn getBonus check.
  7. God, did I told you to paste that line into getBonus method?? Open NpcViewMod, find the line I mentioned (min and max) and add the mul..
  8. You can't create method like that, you have to put a variable declaration there. Look on the previous method. public static float getBonus(BonusType type) What you want to do, is to create one more the same method, which is pointless. --- amountFormat.format(min) this line is responsible for the amount display of min drop. So, all you have to do, is to mul it with getBonus check, the same with max obviously. amountFormat.format(min * activeChar.getBonus(BonusType.DROP) something like that. I just hope that the default switch from the getBonus method is returning 1.
  9. Method is plain wrong. Don't create it. Simply add that getBonus check to the calculation - where it display the actual droprate.
  10. Check the item grp file, most likely there is info about the effect.
  11. Looking on that code the rate is hard-coded, 500%. So, you can create a getter method to return the data exact code, almost, and include it in the droplist.
  12. The method you have to debug is sendNpcDropList. No idea, not a H5 user. You have to find that config and include it in the calculation. Maybe check the item itemhandler, potentially the config you are looking for is there, as you have to set the rune rate.
  13. Find code of community board responsible for the display, check the code if it's missing the rune rate or not. Most likely it's missing it.
  14. Not really. He said that your core missed the instance type - if that would be the case, you would NOT even spawn such npc. Plus, it reminds me stupid config of frozen.. Anyway.
  15. And what does spawnlist have to do with that, nothing. It's some custom crap, for sure bit vanilla pack. First, I would check the spawn admin command what a stupid crap is added there - why it's not saving the spawn.
  16. No.. Again, check the npc instance type - npc xml. If it's custom instance, not a Merchant, and if it misses that super line, sell won't work.
  17. It's showing 6/10 because the siege date has already been set, previously? Perhaps.
  18. There isn't, there is only player.teleToLocation :(
  19. ThreadPool is not using getInstance() anymore - remove it. Simple search over eclipse with ThreadPool would give you an solution.
  20. wow, unequip item, set enchant and equip it again. What a trash code. Try to understand the enchant method.
  21. God. He just told you that the pack uses sql, not xml.
  22. Share section, Google search.
  23. Go to sources, find the bypass, copy, paste under new if, edit conditions (enchant level).
  24. Use the bump button next time.
  25. There is one more 4shared link, which contains sources.
×
×
  • Create New...