@BugSICK is this already answered? if not here is what you need to do:
Open your iteminfo.lua/lub and find that custom item that you are working on. If you're just copying of an existing item just look at the Example itemid 18613, look for its ClassNum and change it to what it is in the accessoryid.lub. Below is an example of what i'm talking about.
[18613] = {
unidentifiedDisplayName = "Unidentified Hat",
unidentifiedResourceName = "ĸ",
unidentifiedDescriptionName = { "Can be identified by using a ^990099Magnifier^000000." },
identifiedDisplayName = "Black Musang Hat",
identifiedResourceName = "Èæ¹«»ó¸ðÀÚ",
identifiedDescriptionName = {
"A headgear worn by a teacher of a fighting order.",
"These Warriors in Black tend to be Esoteric Combat Specialists.",
"________________________",
"INT +2, DEX +2, AGI +1",
"________________________",
"^0000CCType:^000000 Headgear",
"^0000CCDefense:^000000 3",
"^0000CCPosition:^000000 Upper",
"^0000CCWeight:^000000 40",
"^0000CCRefinable:^000000 Yes",
"________________________",
"^0000CCRequirement:^000000 None"
},
slotCount = 1,
ClassNum = 771 <-----
},
Or if what you're trying to do is add a new custom item then you will need to open accname.lub, accessoryid.lub, iteminfo.lua/lub.
Make sure your custom map bmp is in correct size which 512x512. So if you're custom map minimap is somehow much more bigger than that pixel size please re-adjust it using photoshop or gimp and save it again as .bmp and 24bits.
@Akkarin sorry if i didn't post the solution but the error comes from a modified @command which i inserted on atcommand.cpp. there's nothing wrong with rathena master file.