Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/14/16 in all areas

  1. I just recheck the following files if they are correct. I dont have accessoryid.lua and accname.lua, so i tried to decompile it with the Microsoft Visual Studio, so the korean letters will change into numbers or words and I refer to this guide. https://rathena.org/wiki/Custom_Items#Structure data\luafiles514\lua files\datainfo\accessoryid.lub data\luafiles514\lua files\datainfo\accname.lub so thank you for this @mrmagic Just recheck, if the error gives you the sprites or textures, check the data/textures and data/sprite of your grf and put the following sprites in ur error like this. Also recheck the following if you put the right name, view id of the following: - idnum2itemdesctable.txt This file contains the description of your item, when it is right-clicked. The syntax for an item is: ItemID# Item Description Line 1 Item Description Line 2 # - idnum2itemresnametable.txt This file sets the inventory and drop-sprite for an the item. Item is defined as follows: ItemID#SpriteName# - itemslotcounttable.txt The SpriteName is the name of the files in collection and item folders inside texture and the ones inside sprite folder. If you want to use the look of an another item, search for it's id and copy the sprite name from there. ItemID#NumberOfSlots# Also put the custom item in /System/ItemInfo.lua [<item id>] = { unidentifiedDisplayName = <item name to show when not magnified>, unidentifiedResourceName = <file name prefix used for all the images and drop sprite when not magnified>, unidentifiedDescriptionName = { <comma separated list of strings>,<to get multiple lines>,<in item description> }, identifiedDisplayName = <item name to show when magnified>, identifiedResourceName = <file name prefix used for all the images and drop sprite when magnified>, identifiedDescriptionName = { <same format as unidentifiedDescriptionName but for magnified items> }, slotCount = <number of slots>, ClassNum = <View ID - yes the same one that was there item_db> }, Dont forget these: data\luafiles514\lua files\datainfo\accessoryid.lub eg: ACCESSORY_PINKBUNNY_HAIRBAND = 663, ACCESSORY_GREENBUNNY_HAIRBAND = 664, ACCESSORY_<ITEM NAME> = <665> //This should be in number order data\luafiles514\lua files\datainfo\accname.lub eg: [ACCESSORY_IDs.ACCESSORY_PINKBUNNY_HAIRBAND] = "_ÇÎÅ©Åä³¢¸Ó¸®¶ì", [ACCESSORY_IDs.ACCESSORY_GREENBUNNY_HAIRBAND] = "_±×¸°Åä³¢¸Ó¸®¶ì", [ACCESSORY_IDs.ACCESSORY_ITEM NAME] = "add the sprite of the item"
    1 point
×
×
  • Create New...