Jump to content

wongerlt

Members
  • Posts

    544
  • Credits

  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by wongerlt

  1. how u start server? what file open? put it here.
  2. on start server .bat file, edit it with notepad, and copy here.
  3. Do you see it on any server? who are now online Because on java server i not see any packet about item reuse time.
  4. not possible
  5. this: int clid = player.getClassId().getId(); if (clid == 97 || clid == 96 || clid == 13 || clid == 23) or import org.apache.commons.lang.ArrayUtils; // put it at all other imports.. int[] classes = {1,4,67,123,14,53,14,86,234,34,34,and etc....}; if(ArrayUtils.contains(classes, player.getClassId().getId()))
  6. package custom.potions; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.enums.PlayerAction; import com.l2jserver.gameserver.enums.Race; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.base.ClassId; import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jserver.gameserver.model.actor.instance.L2MerchantInstance; import ai.npc.AbstractNpcAI; public final class potions extends AbstractNpcAI { public potions(String name, String descr) { super(name, descr); addStartNpc(30165); addFirstTalkId(30165); } @Override public String onFirstTalk(L2Npc npc, L2PcInstance player) { if (player.getClassId() == 97) return "data/html/merchant/30165-50.htm"; else return "data/html/merchant/30165-3.htm"; } public static void main(String[] args) { new potions(-1, "potions", "custom"); } }
  7. public static void separateAndSend(final String html, final L2PcInstance acha) { if (html == null) return; if (html.length() < 4090) { acha.sendPacket(new ShowBoard(html, "101")); acha.sendPacket(new ShowBoard(null, "102")); acha.sendPacket(new ShowBoard(null, "103")); } else if (html.length() < 8180) { acha.sendPacket(new ShowBoard(html.substring(0, 4090), "101")); acha.sendPacket(new ShowBoard(html.substring(4090, html.length()), "102")); acha.sendPacket(new ShowBoard(null, "103")); } else if (html.length() < 12270) { acha.sendPacket(new ShowBoard(html.substring(0, 4090), "101")); acha.sendPacket(new ShowBoard(html.substring(4090, 8180), "102")); acha.sendPacket(new ShowBoard(html.substring(8180, html.length()), "103")); } } so max 12270 bytes on c6(maybe it just mistake in source), and on h5 i see 24540 bytes max.
  8. to create party with target Party(Player leader, Player target, LootRule lootRule) to add player to already exists party: addPartyMember(Player player)
  9. or just try optimize ur html file. example, delete all spaces, lines and etc. put here ur html
  10. then debug packets , and check that client get it or no. if no then try find where cheking size
  11. on server packets i think ShowBoard.java put here source of this file. on html message (dialog) max size 8kb because if it will be bigger then it can crash l2. on show board maybe same?
  12. not possible on this files
  13. DELETE FROM `droplist` WHERE `mobId` NOT IN ('123','456','789'); 123 and 456 and 789 is raid boss id as example, put all ur boss id.
  14. delete from droplist where mobid not in ('1234','4321,'....',....)
  15. if (Config.BOG_STACKABLE) player.destroyItem("Consume", spb.getObjectId(), 1, trainer, true); else player.destroyItem("Consume", spb, trainer, true);
  16. fix it because it crash l2 at start.
  17. your very narrow mindset. by you everything what u can bypass is shit ;) And im little updated it with new GG key.. so bypass it again :]
  18. same situation.
  19. then client side. try see system files, hennas.dat
  20. and what you see on char status? in str dex int and etc..?
  21. ha , wait another version of me shitty protection. All protections can be bypassed. So you can answer to me why it bad if it can protect from ~80%+ botters? it's anyway perform its function..
  22. what? why i need to sell it???
  23. Why not? its me first "protection" :D in future it will be better. and it protect 70% botters, so why not?
  24. You just copy/paste.... :D @Override public String onFirstTalk(L2Npc npc, L2PcInstance player) { if (player.getClassId() == 97) return "data/html/merchant/30165-50.htm"; else return "data/html/merchant/30165-3.htm"; } and u need regiser onfirsttalk to 30165 npc.
×
×
  • 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