Jump to content

^Wyatt

Members
  • Posts

    1,418
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by ^Wyatt

  1. Take care coz you won't get hp if you are hitting players. You must create a check like.. if (absorbDamage > 0 && activeChar != null && activeChar.getPvpFlag() > 0 && activeChar.getTarget() != null && !(activeChar.getTarget() instanceof L2PcInstance) && !(activeChar.getTarget() instanceof L2Summon)) { absorbDamage = 0; }
  2. If you just only need custom npcs and so, it's way easier to save your custom_npc things and reinstall bd, then add your custom tables.
  3. @author why u say that the error is fixed and then u ask to me if I want you to post the error, I say yes and you post your bd? where is the error ;(
  4. He said "that error is fixed" :?
  5. Ofc post the error..
  6. Why de hell do you open a new topic for the same problem? //ontopic Give a list of which tables are you emptying, please.
  7. latest h5: If you're using unstable... just move to stable if you don't wanna be here 24/7 requesting help coz of strange bugs.
  8. about skill drain... which pack are u using? because here it is com.l2jserver.gameserver.model.skills.l2skills.L2SkillDrain, you could simply add a check there, i'll check the rest after eating ;D
  9. Do u really need someone to list the tables for you? ffs Just take a look at the name of the tables and you'll get the logic needed to do it. Btw when starting a topic asking for help, is so hard to say which pack and chronicle are u talking about? It's so sad, just 5% of people here do it. Where are you getting the errors? In gameserver console or in mysql?
  10. Sorry I didn't realize about the help section of L2OFF :P Moving it right now...
  11. Dev help, you posted it in shares or in general discussion, now it's moved.
  12. Don't remember but... some months ago I had it somewhere... I think in voterewards and so... were using that method, but who cares if now can't be used anymore. Locked.
  13. @Elfo It was working, I had it in some codes since l2jhidden and ofc tested, now it's not working anymore, eclipse marks it with red line He is using the getAllPlayersArray() in that screen he posted.
  14. Could you please, post, for once, in the correct section? :rage: Moving it...
  15. as sweets said remove the {} just use L2World.getInstance().getAllPlayersArray() just.. package handlers.admincommandhandlers; import com.l2jserver.gameserver.handler.IAdminCommandHandler; import com.l2jserver.gameserver.model.L2World; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.network.serverpackets.SocialAction; public class AdminMassHero implements IAdminCommandHandler { @Override public String[] getAdminCommandList() { return ADMIN_COMMANDS; } @Override public boolean useAdminCommand(String command, L2PcInstance activeChar) { if (activeChar == null) { return false; } if (command.startsWith("admin_masshero")) { for (L2PcInstance player : L2World.getInstance().getAllPlayersArray()) { if (!player.isHero() || !player.isInOlympiadMode()) { player.setHero(true); player.sendMessage("Admin is rewarding all online players with Hero Status."); player.broadcastPacket(new SocialAction(player.getObjectId(), 16)); player.broadcastUserInfo(); } player = null; } } return true; } private static String[] ADMIN_COMMANDS = { "admin_masshero" }; } Nope, it gets all player values, at least since few months it was doing so, if it's not changed. edit: yep it was changed, but like 1-2months ago it was working Q_Q 2pages for this stupid code :rage:
  16. Dafuq bro, you created it inside com.l2jserver.gameserver.handler and it must be in DATAPACK package handlers.admincommandhandlers; jesus christ :rage:
  17. Jesus, just remove that check, you could put your cursor over the line and see that Eclipse offers you to solve the problem automatically, or just CTRL + S ffs.
  18. soz, he is missing one ")" and the word "new" I forgot it ;D
  19. You're missing one ")"... you could do it with L2World.getInstance().getAllPlayersArray() too...
  20. Then I have no clue how IL works but the logic says that should be that boolean :rage:
  21. You focus too much on creating effects and the quality of the image,composition,etc is so low, just an advice. P.S: the first sign effect hurts fking eyes with that movement :rage:
  22. game/data/doors.xml default_status="close" to "open" if you're using h5...
  23. The only difference is, probably, player.setIsHero() that's changed to player.setHero() and the AdminCommandHandler line that must be placed inside MasterHandler, u serious? q.q Well and L2World.getInstance().getAllPlayers() to L2World.getInstance().getAllPlayers().values(L2PcInstance[0])
  24. But whatever, the topic has been deleted by error, so it's fine.
  25. Isn't always client-side if is it L2OFF? O.o
×
×
  • 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