Jump to content

wongerlt

Members
  • Posts

    553
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by wongerlt

  1. try add after first line cd /your_path_/to_start.sh/ example: cd /root/gameserver/ if not work try add full path to all files example: /root/gameserver/log/java0.log.0 all where u see
  2. paste here ur start.sh
  3. maybe on l2character.java try find public final void stopAllEffects() and add this code if(effect.getSkill().isToggle()) continue; after this if (effect != null) { i not tested so it can not work :D
  4. stackOrder="(make highter number on cov)" stackType="BLABLA"
  5. ha. frozen have this event. :P
  6. Then it custom on IL java. Need to destroy fort gates, kill 4 "Captains" npc, then capture flag with "seal of ruler" and fort is ur. So its almost same like castle siege?
  7. Hello, Maybe someone have all fortress npc spawnlist x,y,z and npc id for interlude? Extracted many projects but can't find :D
  8. write here or on pm server web where u see it.
  9. i dont know what mean this options, but try to google it. set JAVA_OPTS=%JAVA_OPTS% -Xmn512m // try make -Xmn2096m set JAVA_OPTS=%JAVA_OPTS% -Xms2096m set JAVA_OPTS=%JAVA_OPTS% -Xmx2096m try increase and test. And how much rams ur pc have?
  10. how u start server? what file open? put it here.
  11. on start server .bat file, edit it with notepad, and copy here.
  12. Do you see it on any server? who are now online Because on java server i not see any packet about item reuse time.
  13. not possible
  14. 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()))
  15. 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"); } }
  16. 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.
  17. to create party with target Party(Player leader, Player target, LootRule lootRule) to add player to already exists party: addPartyMember(Player player)
  18. or just try optimize ur html file. example, delete all spaces, lines and etc. put here ur html
  19. then debug packets , and check that client get it or no. if no then try find where cheking size
  20. 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?
  21. not possible on this files
  22. 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.
  23. delete from droplist where mobid not in ('1234','4321,'....',....)
  24. if (Config.BOG_STACKABLE) player.destroyItem("Consume", spb.getObjectId(), 1, trainer, true); else player.destroyItem("Consume", spb, trainer, true);
×
×
  • 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