-
Публикаций
731 -
Зарегистрирован
-
Посещение
-
Победитель дней
1 -
Отзывы
0%
Весь контент Saick
-
Больше мороки поменять ид чем 3 числа всего делов на 1 минуту
-
Переделаю мультиселы под ид больше 65к токо нужны исходники Я себе сделал вот пример конфига # Максимальное число ид итомов MaxIdMultiSell = 500000
-
L2PkInstance.java закинуть в папку java\net\sf\l2j\gameserver\model\actor\instance\ 92146.htm в data/html/pk/ залить нпц в базу INSERT INTO `npc` VALUES ('92146', '30425', 'ElFrancy', '1', 'PK Manager', '1', 'NPC.a_common_peopleA_FHuman', '8.00', '21.50', '70', 'female', 'L2Pk', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '132', 'NULL', '0', '1', '0', 'LAST_HIT', '0', '0', '0', 'fighter'); Ну а теперь конфиги Открыть файл Config.java //Pk public static int PKS_ITEM_ID; public static int PRICE_PK; етот код вставить после //NICKNAMES public static String NOT_ALLOWED_NICKS; public static List<String> LIST_NOT_ALLOWED_NICKS = new FastList(); public static final String SAICK_CONFIG_FILE = "./config/saick.cfg"; Ето вставить после public static String ANNOUNCE_FILE = "./config/announce.cfg"; //Saick try { Properties saickSettings = new Properties(); InputStream is = new FileInputStream(new File(SAICK_CONFIG_FILE)); saickSettings.load(is); is.close(); /** pk**/ PKS_ITEM_ID = Integer.parseInt(saickSettings.getProperty("PksItemId", "4037")); PRICE_PK = Integer.parseInt(saickSettings.getProperty("PricePk", "500")); /** pk**/ } catch (Exception e) { e.printStackTrace(); throw new Error("Failed to Load "+SAICK_CONFIG_FILE+" File."); } //Saick end ето перед //WEB try { Properties webSettings = new Properties(); InputStream is = new FileInputStream(new File(WEB_FILE)); webSettings.load(is); is.close(); WEB_SERVER_ENABLE = Boolean.valueOf(webSettings.getProperty("EnableWebServer", "true")); WEB_SERVER_PORT = Integer.parseInt(webSettings.getProperty("WebServerPort", "7778")); WEB_SERVER_ROOT = webSettings.getProperty("WebServerRoot", "./data/webserver"); USE_FILE_CACHE = Boolean.valueOf(webSettings.getProperty("useFileCache", "true")); RRD_ENABLED = Boolean.valueOf(webSettings.getProperty("UseRRD", "True")); RRD_EXTENDED = Boolean.valueOf(webSettings.getProperty("UseExtendedRRD", "False")); RRD_GRAPH_AA = Boolean.valueOf(webSettings.getProperty("GraphAntiAliasing", "False")); RRD_PATH = webSettings.getProperty("RRDPath", "./config/"); RRD_GRAPH_PATH = webSettings.getProperty("GraphPath", "./data/webserver/"); RRD_REDRAW_TIME = Long.parseLong(webSettings.getProperty("GraphRedrawDelay", "300")); RRD_UPDATE_TIME = Long.parseLong(webSettings.getProperty("UpdateDelay", "30")); RRD_GRAPH_FORMAT = webSettings.getProperty("GraphFormat", "png"); RRD_GRAPH_HEIGHT = Integer.parseInt(webSettings.getProperty("GraphHeight", "378")); RRD_GRAPH_WIDTH = Integer.parseInt(webSettings.getProperty("GraphWidth", "580")); } catch(Exception e) { e.printStackTrace(); throw new Error("Failed to Load " + WEB_FILE + " File."); } в папке config создать файл saick.cfg и вписать в него # ----------------------------------------- # ПК менеджер # ----------------------------------------- # Итем для снятия пк PksItemId = 4037 # Цена снятия пк PricePk = 500 #-----------------------------------------------#
-
выложу с подробным описанием и сделаю чтобы можно было выбирать
-
# ----------------------------------------- # ПК менеджер # ----------------------------------------- # Итем для снятия пк PksItemId = 4037 # Цена снятия пк PricePk = 500 #-----------------------------------------------#
-
L2PkInstance.rar под eon конфиги пропишыте сами ща времини нет ето закинуть в data/html/pk/92146.htm
-
Например ид 5000.htm то чтоб открыть файл 5000-1.htm(например страничка брони) нужно прописать chat 1"
-
config\protected\mmocore.properties
-
# -------------------------- # Food Packets Protections - # -------------------------- # Interval - interval in gameserver ticks (1 tick = 100ms) in which only one request is allowed # LogFlooding - whether flooding should be logged (only first occurrence of flooding and total count of flood requests is logged) # PunishmentLimit - if number of requests within single interval exceeds specified number then the specified punishment is applied (0 = disables punishment feature) # PunishmentType - type of the punishment ('none', 'kick', 'ban'), valid only if PunishmentLimit is greater than 0 # Flood protection method: check if in given FLOOD_PROTECTION_INTERVAL # more then PUNISHMENT_LIMIT actions are performed: if this condition has been verified # apply PUNISHMENT_TYPE for PUNISHMENT_TIME minutes DisableOpCodesFloodProtector=false FloodPacketProtectionInterval=1 LogPacketFlooding=false PacketFloodingPunishmentLimit=20 PacketFloodingPunishmentType=kick
-
bypass -h npc_%objectId%_Chat 1 Ред:етот тег означает что откроется хтмл файл с названием "5000-ГРИН.htm" ГРИН:отвечает за под категорию которую откроет например 5000-1.htm
-
custom.AugmentShop.AugmentShop етого в ядре нету ))
-
http://www.google.com.ua/search?sourceid=c...440&bih=742 Google спасёт мир))0
-
Да ток я не проверял я только запуск проверил