Jump to content

cLereAt

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by cLereAt

  1. 1.  Структура
    2. Размещение вещей в Папке Данных
    2.1 idnum2itemdisplaynametable.txt
    2.2 idnum2itemdesctable.txt
    2.3 idnum2itemresnametable.txt
    2.4 itemslotcounttable.txt
    2.5 Файлы не определенных вещей
    3.  Клиент
    4. Просмотр IDs, получить кастомные вещи без Xray
    5.  Модификации
    5.1  Замена спрайтов
    5.2  Ограничение вещей
    5.3  Скрипты вещей
    5.4 Решение оружейных спрайтов (временно)

    Во-первых, давайте взглянем на item_db в db папке, и его структуру:

    ID,DBName,ScreenName,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,
    Refineable,View,{Script},{OnEquip_Script},{OnUnequip_Script}

    • ID: ID вещи
    • DB Name: Это первое имя DB имени. Когда вы используете @item, и вы знаете название вещи, но не ID - это имя вместо этого.
    • ScreenName: Это имя для просмотра на сервере.
    • Type: Назначение вещи.

    0 = Используемое : зелья
    2 = Используемое : остальное
    3 = Разное
    4 = Оружие
    5 = Доспех
    6 = Карта
    7 = Яйцо питомца
    8 = Экипировка питомца
    10 = Стрелы/Боеприпасы
    11 = Используемое : задержка (вещи со скриптом "питомец" или "itemskill")

    • Price: По умолчанию цена у НПС
    • Sell: Цена продажи в зени НПСу
    • Weight: Вес вещи * 10. Значит, она весит 0,1, для каждой, должны быть введены как 1.
    • ATK: В случае оружия - базовая атака.

    In RE enabled servers this field have a optional delimiter : to define this item's weaponMATK bonus, for example, 30:50 would mean the item gives 30 atk and 50 weaponMATK

    • DEF: Базовая защита для брони
    • Range: Maximum range in map cells a weapon allows to be the player apart from it's target.
    • Slot: Количество слотов для карт
    • Job: Профессия, доступная для этой вещи. Значения ниже могут объединять для одной вещи несколько проф., т.е. 0x2|0x4 -> 0x6 (Мечник+Маг)

    
    (S.) Novice		 (2^00): 0x00000001
    Swordman			(2^01): 0x00000002
    Mage				(2^02): 0x00000004
    Archer			  (2^03): 0x00000008
    Acolyte			 (2^04): 0x00000010
    Merchant			(2^05): 0x00000020
    Thief			   (2^06): 0x00000040
    Knight			  (2^07): 0x00000080
    Priest			  (2^08): 0x00000100
    Wizard			  (2^09): 0x00000200
    Blacksmith		  (2^10): 0x00000400
    Hunter			  (2^11): 0x00000800
    Assassin			(2^12): 0x00001000
    Unused			  (2^13): 0x00002000
    Crusader			(2^14): 0x00004000
    Monk				(2^15): 0x00008000
    Sage				(2^16): 0x00010000
    Rogue			   (2^17): 0x00020000
    Alchemist		   (2^18): 0x00040000
    Bard/Dancer		 (2^19): 0x00080000
    Unused			  (2^20): 0x00100000
    Taekwon			 (2^21): 0x00200000
    StarGladiator	   (2^22): 0x00400000
    Soul Linker		 (2^23): 0x00800000
    Gunslinger		  (2^24): 0x01000000
    Ninja			   (2^25): 0x02000000
    All Classes			   : 0xFFFFFFFF
    Every Job Except Novice   : 0xFFFFFFFE
    

    • Upper: Указывает, будет ли предмет использован обычным, ребенком или возрожденным классом. Значения ниже могут быть объединены, т.е. 1 | 4 -> 5 (Обычный + Бэбик)

    1 = Normal
    2 = Reborn Classes (High Wizards, Champions etc.)
    4 = Baby Classes
    

    • Gender: Половые ограничение для предмета.

    0 = Female
    1 = Male
    2 = No restriction (both)

    • Loc: Определяет вещь: ботинки, аксессуар, доспех. Значения ниже могут быть объединены, т.е. 136 будет означать как аксессуар слоты (типичное значение для аксессуаров).

    (2^0) 001 = Lower headgear
    (2^1) 002 = Right hand
    (2^2) 004 = Mantle
    (2^3) 008 = Accessory 1
    (2^4) 016 = Armor
    (2^5) 032 = Left hand
    (2^6) 064 = Shoes
    (2^7) 128 = Accessory 2
    (2^8) 256 = Upper headgear
    (2^9) 512 = Middle headgear
    (2^15) 32768 = Arrow (arrow-type items only)

    • wLV: Weapon level of an item (1-4), other items 0.
    • eLV: Минимальный базовый уровень для использования.
    • Refineable: Whether the item is available for refining (1) or not (0).
    • View: Specifies the client-side look for the item.

    Типы оружия:

    1. Daggers
    2. One-Handed Swords
    3. Two-Handed Swords
    4. One-Handed Spears
    5. Two-Handed Spears
    6. One-Handed Axes
    7. Two-Handed Axes
    8. Maces
    9. (not used)
    10. Wand/Staff
    11. Bows/Crossbows
    12. Knuckle Weapons
    13. Musical Instruments
    14. Whips
    15. Books
    16. Katars
    17. Revolvers
    18. Rifles
    19. Shotguns
    20. Gatling guns
    21. Grenade launchers
    22. Fuuma shuriken

    Типы щитов:

    1. Guard, Novice Guard
    2. Buckler
    3. Shield, Holy Guard, Evangelist
    4. Mirror Shield

    Типы боеприпасов:

    1. Arrows
    2. Throw-able daggers
    3. Bullets
    4. Shells
    5. Grenades
    6. Shuriken
    7. Kunai

    Типы головных уборов. Пожалуйста, обратитесь к разделу Просмотр идентификаторов данного руководства.

    • {Script}: This is where you put your item bonus. Whether it's an usable item or an equip item, it will take effect according to the item type.
    • {OnEquip_Script}: This is where the bonus you want to be applied upon equipping goes. It will only execute as soon as you equip the item.
    • {OnUnequip_Script}: This is where the bonus you want to be applied upon unequipping goes. It will only execute as soon as you unequip the item.

    In the doc folder look for a text file called "item_bonus", it shows all the scripts items can have and how they work.

    Размещение вещей в Папке Данных

    После создания предмета, вставьте в конец файла item_db2.txt свой код, так что вы не столкнетесь с проблемами обновления SVN. Затем перейдите в папку данных и измените следующие файлы по-порядку.

    idnum2itemdisplaynametable.txt

    Этот файл содержит имена предметов, как показано внутри клиента. Каждый элемент, добавляется как:

    ​ItemID#ItemName#

    ItemID is the number from your ID column inside the item db. If your item name contains spaces, replace those with _ (underscore).

    Не удаляйте тему!

    Завершение следует...

    • Upvote 1
  2. RRBanner.png

    Описание: Скрипт, основанный на игре "Русская Рулетка"

    Обязательный файл:

    http://www.mediafire...ry9k4uolxlmj4kv

    Дополнительная информация:

    http://en.wikipedia....ussian_roulette

    Особенности:

    Версия 1.0

    • Простая настройка
    • Настраиваемые призы
    • Мультиплеер (минимум 2 игрока)
    • Защита от выхода

    Версия 2.0 (В Будущем)

    • Внутри игровая настройка админом

    Инструкция:

    1. Скачать скрипт и wav файл
    2. Установить скрипт, как обычно
    3. Положите файл ghost_revolver.wav в /data/wav
    4. Наслаждайтесь

    Revolver WAV.rar

    • Upvote 2
  3. Привет!

    Я решил поделиться своей последней разработкой в сообществе RO!

    Вот мой "eNPC" редактор скриптов разработанный на C++ с Qt Framework.

    icontemporaire2.png

    Превью

    previewob.jpg

    (Нажмите на картинку для лучшего качества)

    Особенности

    -Множество вкладок.

    -Авто-завершение

    Все команды скриптов, известные в script_commands.txt

    -Мгновенный доступ к руководству (

    превью)

    Нажмите F1, чтобы показать / скрыть часть script_commands.txt соответствующих команд под вашим курсором

    -Синтаксис

    Цвета подчеркивания будут настраиваться в будущем.

    - Header insertion (the standard header present in each eAthena script)

    - Font customization

    - Search (& Replace)

    - Color insertion (with or without a selection)

    - Current line highlighting

    - Line numbering

    - Multiline tab/untab

    - Much more...

    Bugs to FIX

    - Memory leak with tabs :/ (only a small part of memory is deallocated after closing a tab)

    - Optimizing memory usage (I've got a big thing to do and it will be rly, rly, rly better)

    - ??? (Feel free to tell me anything that seems suspicious to you ^_^).

    Wanted

    - Update of script_commands.txt (for the quick access to manual, press "F1") should be automatic... Currently, the file isn't "updatable" by user..

    - Customizable list for auto-completion

    - Lower times to open big scripts

    - Script validation (still thinking about writing it in C or C++...)

    - Multiline comment/uncomment

    - A black background (I know, scripting/developing is really nicer with a black background xD)

    Download

    http://www.megaupload.com/?d=VQQZUU5Q or http://depositfiles....files/mr1tphkbg

    I can compile it on Ubuntu if someone wants a Linux binary !

    I hope you'll give a feedback, french community is decreasing everyday and my work isn't really tested ^^. It could cheer me to keep the good work going ;P (I stopped working on eNPC few weeks ago...)

    Thank you.

    • Upvote 1
×
×
  • Create New...