Jump to content

criss22

Members
  • Posts

    515
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by criss22

  1. i`m back here...so. How i can DISABLE geodata? when i have this: # ================================================================= # Geodata # ================================================================= # 1) GeoData are now !MANDATORY! to start a server due to following reasons: # * Future usage for doors and admin fences # * Future usage for new npc spawn manager # 2) Because of real-time performance aCis is using geodata files only in # diagonal L2D format now (using filename e.g. 22_16.l2d). # Standard geodata formats L2J (22_16.l2j) or L2OFF (22_16_conv.dat) are no # longer supported. # 3) L2D geodata can be obtained by conversion of existing L2J or L2OFF geodata. # Launch "GeoDataConverter.bat/sh" and follow instructions to start the conversion. # Specifies the path to geodata files. For example, when using geodata files located # at different folder/harddrive ("C:/Program Files/Lineage II/system/geodata/"), default: ./data/geodata/ GeoDataPath = ./data/geodata/ # Player coordinates synchronization, default: 2 # 1 - partial synchronization Client --> Server ; don't use it with geodata # 2 - partial synchronization Server --> Client ; use this setting with geodata # -1 - Old system: will synchronize Z only CoordSynchronize = 2 # ================================================================= # Path checking # ================================================================= # Line of sight start at X percent of the character height, default: 75 PartOfCharacterHeight = 75 # Maximum height of an obstacle, which can exceed the line of sight, default: 32 MaxObstacleHeight = 32 # ================================================================= # Path finding # ================================================================= # When line of movement check fails, the pathfinding algoritm is performed to look for # an alternative path (e.g. walk around obstacle), default: true PathFinding = true # Pathfinding array buffers configuration, default: 100x6;128x6;192x6;256x4;320x4;384x4;500x2 PathFindBuffers = 100x6;128x6;192x6;256x4;320x4;384x4;500x2 # Base path weight, when moving from one node to another on axis direction, default: 10 BaseWeight = 10 # Path weight, when moving from one node to another on diagonal direction, default: BaseWeight * sqrt(2) = 14 DiagonalWeight = 14 # When movement flags of target node is blocked to any direction, multiply movement weight by this multiplier. # This causes pathfinding algorithm to avoid path construction exactly near an obstacle, default: 10 ObstacleMultiplier = 10 # Weight of the heuristic algorithm, which is giving estimated cost from node to target, default: 20 # For proper function must be higher than BaseWeight and/or DiagonalWeight. HeuristicWeight = 20 # Maximum number of generated nodes per one path-finding process, default 3500 MaxIterations = 3500 # Path debug function, FOR DEBUG PURPOSES ONLY! # Adena = Nodes known to path-find algorithm (amount show node cost * 10) # Antidote = constructed path (amount show node cost * 10) # Blue Potion = begining of the path # Green Potion = node removed by LOS post-filter # Red Potion = actual waypoints DebugPath = False # Write invalid nodes into geo_bugs.txt, FOR DEBUG PURPOSES ONLY! DebugGeoNode = False # ================================================================= # Geodata files # ================================================================= # The world contains 176 regions (11 x 16), each region has own geodata file. # Geodata files are loaded according to the list below. # 16_10: load region (geodata options are enabled) # Server will not start, until all enabled regions are loaded properly. # #16_10: skip region (geodata options are disabled) # Disabled regions will be considered as in "everything-allowed" mode. # Monster aggression/attacks/spellcast/movement will pass though walls and other obstacles, no pathfinding will be used. # Some regions are not supported by L2 client. 16_10 16_11 16_12 #16_13 - not supported by L2 client #16_14 - not supported by L2 client #16_15 - not supported by L2 client #16_16 - not supported by L2 client #16_17 - not supported by L2 client #16_18 - not supported by L2 client 16_19 16_20 16_21 16_22 16_23 16_24 16_25 17_10 17_11 17_12 #17_13 - not supported by L2 client #17_14 - not supported by L2 client #17_15 - not supported by L2 client #17_16 - not supported by L2 client #17_17 - not supported by L2 client 17_18 17_19 17_20 17_21 17_22 17_23 17_24 17_25 18_10 18_11 18_12 18_13 18_14 #18_15 - not supported by L2 client #18_16 - not supported by L2 client 18_17 18_18 18_19 18_20 18_21 18_22 18_23 18_24 18_25 19_10 19_11 #19_12 - not supported by L2 client 19_13 19_14 19_15 19_16 19_17 19_18 19_19 19_20 19_21 19_22 19_23 19_24 19_25 20_10 20_11 #20_12 - not supported by L2 client 20_13 20_14 20_15 20_16 20_17 20_18 20_19 20_20 20_21 20_22 20_23 20_24 20_25 #21_10 - not supported by L2 client #21_11 - not supported by L2 client #21_12 - not supported by L2 client 21_13 21_14 21_15 21_16 21_17 21_18 21_19 21_20 21_21 21_22 21_23 21_24 21_25 #22_10 - not supported by L2 client #22_11 - not supported by L2 client #22_12 - not supported by L2 client 22_13 22_14 22_15 22_16 22_17 22_18 22_19 22_20 22_21 22_22 22_23 22_24 22_25 23_10 23_11 23_12 23_13 23_14 23_15 23_16 23_17 23_18 23_19 23_20 23_21 23_22 23_23 23_24 23_25 24_10 24_11 24_12 24_13 24_14 24_15 24_16 24_17 24_18 24_19 24_20 24_21 24_22 24_23 24_24 24_25 25_10 25_11 25_12 #25_13 - not supported by L2 client 25_14 25_15 25_16 25_17 25_18 25_19 25_20 25_21 #25_22 - not supported by L2 client #25_23 - not supported by L2 client #25_24 - not supported by L2 client #25_25 - not supported by L2 client #26_10 - not supported by L2 client 26_11 26_12 #26_13 - not supported by L2 client 26_14 26_15 26_16 #26_17 - not supported by L2 client #26_18 - not supported by L2 client #26_19 - not supported by L2 client #26_20 - not supported by L2 client #26_21 - not supported by L2 client #26_22 - not supported by L2 client #26_23 - not supported by L2 client #26_24 - not supported by L2 client #26_25 - not supported by L2 client
  2. Hi there...i get some errors in gs...first is that. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further detail how i can solve?
  3. Lock this topic pls. I delete pack ! But thx for answers
  4. and yes..i have 4 GB of Ram...i set 2 gb
  5. # ================================================================= # Geodata # ================================================================= # 1) GeoData are now !MANDATORY! to start a server due to following reasons: # * Future usage for doors and admin fences # * Future usage for new npc spawn manager # 2) Because of real-time performance aCis is using geodata files only in # diagonal L2D format now (using filename e.g. 22_16.l2d). # Standard geodata formats L2J (22_16.l2j) or L2OFF (22_16_conv.dat) are no # longer supported. # 3) L2D geodata can be obtained by conversion of existing L2J or L2OFF geodata. # Launch "GeoDataConverter.bat/sh" and follow instructions to start the conversion. # Specifies the path to geodata files. For example, when using geodata files located # at different folder/harddrive ("C:/Program Files/Lineage II/system/geodata/"), default: ./data/geodata/ GeoDataPath = ./data/geodata/ # Player coordinates synchronization, default: 2 # 1 - partial synchronization Client --> Server ; don't use it with geodata # 2 - partial synchronization Server --> Client ; use this setting with geodata # -1 - Old system: will synchronize Z only CoordSynchronize = 2 # ================================================================= # Path checking # ================================================================= # Line of sight start at X percent of the character height, default: 75 PartOfCharacterHeight = 75 # Maximum height of an obstacle, which can exceed the line of sight, default: 32 MaxObstacleHeight = 32 # ================================================================= # Path finding # ================================================================= # When line of movement check fails, the pathfinding algoritm is performed to look for # an alternative path (e.g. walk around obstacle), default: true PathFinding = true # Pathfinding array buffers configuration, default: 100x6;128x6;192x6;256x4;320x4;384x4;500x2 PathFindBuffers = 100x6;128x6;192x6;256x4;320x4;384x4;500x2 # Base path weight, when moving from one node to another on axis direction, default: 10 BaseWeight = 10 # Path weight, when moving from one node to another on diagonal direction, default: BaseWeight * sqrt(2) = 14 DiagonalWeight = 14 # When movement flags of target node is blocked to any direction, multiply movement weight by this multiplier. # This causes pathfinding algorithm to avoid path construction exactly near an obstacle, default: 10 ObstacleMultiplier = 10 # Weight of the heuristic algorithm, which is giving estimated cost from node to target, default: 20 # For proper function must be higher than BaseWeight and/or DiagonalWeight. HeuristicWeight = 20 # Maximum number of generated nodes per one path-finding process, default 3500 MaxIterations = 3500 # Path debug function, FOR DEBUG PURPOSES ONLY! # Adena = Nodes known to path-find algorithm (amount show node cost * 10) # Antidote = constructed path (amount show node cost * 10) # Blue Potion = begining of the path # Green Potion = node removed by LOS post-filter # Red Potion = actual waypoints DebugPath = False # Write invalid nodes into geo_bugs.txt, FOR DEBUG PURPOSES ONLY! DebugGeoNode = False
  6. Dear..i put your geoengine.properties and i tell you..no work :)
  7. When i start gamesever, i get this error; GeoEngine: Initializing... Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at net.sf.l2j.gameserver.geoengine.geodata.BlockComplex.<init>(BlockComp lex.java:45) at net.sf.l2j.gameserver.geoengine.GeoEngine.loadGeoBlocks(GeoEngine.jav a:180) at net.sf.l2j.gameserver.geoengine.GeoEngine.<init>(GeoEngine.java:103) at net.sf.l2j.gameserver.geoengine.GeoEngine$SingletonHolder.<clinit>(Ge oEngine.java:1238) at net.sf.l2j.gameserver.geoengine.GeoEngine.getInstance(GeoEngine.java: 73) at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:216) at net.sf.l2j.gameserver.GameServer.main(GameServer.java:387) I have java 8.131 installed (and maybe this is reason for aCis..) no work Java 8.131. i set Variable tu -Xmx1024m and gameserver.bat -Xmx512m. Need another version of java? Or how i can turn off Geodata? i use Acis project.
  8. Frozen i use
  9. help me somebody with that?
  10. All NPC's is WORKING !
  11. cuz it`s custom server and custom stats...
  12. Hello cheaters, first of all i want to know, how i put for exemple 1.000.000 p atk on mobs when now default is 99.999?
  13. Hey..it`s working....special THX all. now..i can't see Delete button (is black) and pages (Still black icon) i get error in Gameserver about HTM. here it`s code: ====================== WARN missing html page <html> ======================= <html> <body> <title>Inventory : %PLAYER_NAME%</title> <center> <table width=270> <tr> %PAGES% </tr> </table> </center> <br> <table width=270> %ITEMS% </table> </body> </html> I make HTM file in `data/htm/admin` folder
  14. the Problem is this line sbItems.append("<tr><td><img src=\"" + items[i].getItem().getIcon() + "\" width=32 height=32></td>");
  15. Every changed i make...no work...
  16. I have already added this , i just cant find the code to add in L2Item.java (the geticon() method).
  17. i don't understand..i must add structure with icons in java?
  18. Hello guys, I found a code for l2jserver (to see players inventory items and delete them) and I addapted it to L2jFrozen..So far so good, it's working perfectly but I cant figure out 1 line. In-game i can use the commands and everything but I can't see the icons.I have installed Icon Parser for interlude but still.. Code: /* * Copyright (C) 2004-2014 L2J DataPack * * This file is part of L2J DataPack. * * L2J DataPack is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * L2J DataPack is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package com.l2jfrozen.gameserver.handler.admincommandhandlers; import com.l2jfrozen.gameserver.cache.HtmCache; import com.l2jfrozen.gameserver.handler.IAdminCommandHandler; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.L2Character; import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jfrozen.gameserver.util.Util; /** * This class handles following admin commands: * <ul> * <li>show_ivetory</li> * <li>delete_item</li> * </ul> * @author Zealar */ public class AdminInventory implements IAdminCommandHandler { private static final String[] ADMIN_COMMANDS = { "admin_show_inventory", "admin_delete_item" }; @Override public boolean useAdminCommand(String command, L2PcInstance activeChar) { if ((activeChar.getTarget() == null)) { activeChar.sendMessage("Select a target"); return false; } if (!(activeChar.getTarget() instanceof L2Character)) { activeChar.sendMessage("Target need to be player"); return false; } L2PcInstance player = activeChar.getTarget().getActingPlayer(); if (command.startsWith(ADMIN_COMMANDS[0])) { if (command.length() > ADMIN_COMMANDS[0].length()) { String com = command.substring(ADMIN_COMMANDS[0].length() + 1); if (Util.isAlphaNumeric(com)) { showItemsPage(activeChar, Integer.parseInt(com)); } } else { showItemsPage(activeChar, 0); } } else if (command.contains(ADMIN_COMMANDS[1])) { String val = command.substring(ADMIN_COMMANDS[1].length() + 1); player.destroyItem("GM Destroy", Integer.parseInt(val), player.getInventory().getItemByObjectId(Integer.parseInt(val)).getCount(), null, true); showItemsPage(activeChar, 0); } return true; } private void showItemsPage(L2PcInstance activeChar, int page) { final L2PcInstance target = activeChar.getTarget().getActingPlayer(); final L2ItemInstance[] items = target.getInventory().getItems(); int maxItemsPerPage = 10; int maxPages = items.length / maxItemsPerPage; if (items.length > (maxItemsPerPage * maxPages)) { maxPages++; } if (page > maxPages) { page = maxPages; } int itemsStart = maxItemsPerPage * page; int itemsEnd = items.length; if ((itemsEnd - itemsStart) > maxItemsPerPage) { itemsEnd = itemsStart + maxItemsPerPage; } final NpcHtmlMessage adminReply = new NpcHtmlMessage(itemsEnd); adminReply.setFile(HtmCache.getInstance().getHtm("data/html/admin/inventory.htm")); adminReply.replace("%PLAYER_NAME%", target.getName()); StringBuilder sbPages = new StringBuilder(); for (int x = 0; x < maxPages; x++) { int pagenr = x + 1; sbPages.append("<td><button value=\"" + String.valueOf(pagenr) + "\" action=\"bypass -h admin_show_inventory " + String.valueOf(x) + "\" width=20 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\"></td>"); } adminReply.replace("%PAGES%", sbPages.toString()); StringBuilder sbItems = new StringBuilder(); for (int i = itemsStart; i < itemsEnd; i++) { sbItems.append("<tr><td><img src=\"" + items[i].getItem().getIcon() + "\" width=32 height=32></td>"); sbItems.append("<td width=60>" + items[i].getName() + "</td>"); sbItems.append("<td><button action=\"bypass -h admin_delete_item " + String.valueOf(items[i].getObjectId()) + "\" width=16 height=16 back=\"L2UI_ct1.Button_DF_Delete\" fore=\"L2UI_ct1.Button_DF_Delete\">" + "</td></tr>"); } adminReply.replace("%ITEMS%", sbItems.toString()); activeChar.sendPacket(adminReply); } @Override public String[] getAdminCommandList() { return ADMIN_COMMANDS; } } FIrst error is that i changed this : if (Util.isDigit(com)) to this : if (Util.isAlphaNumeric(com)) And i can't see the number of items in inventory And the other one is here,
×
×
  • 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