Jump to content

wongerlt

Members
  • Posts

    557
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by wongerlt

  1. use new hopzone api.. u will find it in account panel, url example: https://api.hopzone.net/lineage2/votes?token=
  2. good all working one idea, make this place http://prntscr.com/gx91zz save it, because after exit game it always hidden. Or make this like in orginal interface. in one window skills/char info/quests/action with tabs, because now is uncomfortable.
  3. Show damage on screen (at right side) and at sys message window. download: http://www19.zippyshare.com/v/mn5kPBsB/file.html put to system/ folder. It for interlude.
  4. any suggestion? how to solve this problem? http://prntscr.com/guvy5h phx opened with admin. But not see any process.
  5. 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
  6. paste here ur start.sh
  7. 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
  8. stackOrder="(make highter number on cov)" stackType="BLABLA"
  9. ha. frozen have this event. :P
  10. 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?
  11. Hello, Maybe someone have all fortress npc spawnlist x,y,z and npc id for interlude? Extracted many projects but can't find :D
  12. write here or on pm server web where u see it.
  13. 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?
  14. how u start server? what file open? put it here.
  15. on start server .bat file, edit it with notepad, and copy here.
  16. Do you see it on any server? who are now online Because on java server i not see any packet about item reuse time.
  17. not possible
  18. 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()))
  19. 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"); } }
  20. 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.
  21. to create party with target Party(Player leader, Player target, LootRule lootRule) to add player to already exists party: addPartyMember(Player player)
  22. or just try optimize ur html file. example, delete all spaces, lines and etc. put here ur html
  23. then debug packets , and check that client get it or no. if no then try find where cheking size
  24. 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?
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..