Jump to content
  • 1

[SOLVED][Custom Item]Unknown Item


Question

Posted (edited)

Hi everyone!

I currently tried adding a custom item, almost everything worked fine(Followed the steps from Github). Unfortunately im have this "Unknown Item" trouble...
Also when I tried editing the iteminfo.lua it gives me an error unfinished string after adding the line for the info of the item.

Thanks in advance!

1111.png

Edited by Malice

13 answers to this question

Recommended Posts

  • 1
Posted

here's an example or layout

	[32166] = {
		unidentifiedDisplayName = "RWC 2010",
		unidentifiedResourceName = "at_rwc2010",
		unidentifiedDescriptionName = {
			"Unknown Item, can be identified by using a ^6A5ACDMagnifier^000000."
		},
		identifiedDisplayName = "RWC 2010",
		identifiedResourceName = "at_rwc2010",
		identifiedDescriptionName = {
			"A special cap with a neon sign above, dedicated to celebrating RWC 2010 in Indonesia.",
			"Class :^6A5ACD Headgear^000000",
			"Defense: ^0000FF1^000000",
			"Location: ^6A5ACD Upper^000000",
			"Weight: ^0EAA0B0^000000",
			"Jobs: ^6A5ACDAll classes^000000"
		},
		slotCount = 2,
		ClassNum = 2016
	},

you dont need to add anything on the idnum blah blah all was in one place now which is the ItemInfo.lua/lub

  • 0
Posted

I dont think that is the proper way to add custom items while you are using latest client im assuming you are using 2015+ clients because of the doram class.. so if yes check you RO/System/itemInfo.lua/lub

  • 0
Posted
On 2/17/2017 at 10:27 PM, Radian said:

I dont think that is the proper way to add custom items while you are using latest client im assuming you are using 2015+ clients because of the doram class.. so if yes check you RO/System/itemInfo.lua/lub

Hi @RadianI tried doing that editing iteminfo.lua inside my System folder. However after editing it. Its reading all the unquoted lines as unfinished string, when on the first place it is like that by default.

 

HOLY SH*T! Thank you so much @Radian! After all your enlightening words I realized how to use item converter! Its working now!

1111.png

  • 0
Posted
On 2/17/2017 at 10:34 PM, Malice said:

Hi @RadianI tried doing that editing iteminfo.lua inside my System folder. However after editing it. Its reading all the unquoted lines as unfinished string, when on the first place it is like that by default.

Hi Malice,

Would you mind to share the solution on how to edit the iteminfo.lua ? 

When im doing any change on my iteminfo.lua , it keeps on giving me this error 

 

    [502] = {
        unidentifiedDisplayName = "Orange Potion",
        unidentifiedResourceName = "주홍포션",
        unidentifiedDescriptionName = { "" },
        identifiedDisplayName = "Orange Potion",
        identifiedResourceName = "주홍포션",
        identifiedDescriptionName = {
            "A potion made from grinded Red and Yellow Herbs Add.",
            "^FFFFFF_^000000",
            "Class:^0000FF Restorative item^000000",
            "Heal:^006600 105 ~ 145^000000 HP",
            "Weight:^006600 10^000000"
        },
        slotCount = 0,
        ClassNum = 0
    },

 

image.png.ff2b580849b87401a738a3e658f87429.png

  • 0
Posted

@rmon - Hi. You're showing us the first entry of your iteminfo.lua, but according to the error box the mistake is at line 131949. 

Control + G to line 131949 and copy/paste the content of that particular item, then we're able to assist further.

  • 0
Posted
7 hours ago, Najara said:

@rmon - Hi. You're showing us the first entry of your iteminfo.lua, but according to the error box the mistake is at line 131949. 

Control + G to line 131949 and copy/paste the content of that particular item, then we're able to assist further.

Hi @Najara

actually, any line i edit, when i save it , its always giving me the same error 

  • 0
Posted (edited)
6 hours ago, rmon said:

Hi @Najara

actually, any line i edit, when i save it , its always giving me the same error 

Hmm, ok. Can you attach your whole lua please?

*edit* Also for future reference, maybe easier to make an own thread.

Edited by Najara
  • 0
Posted

Having same issue even after i undo the changes and re saving it get the error i tried to just change one name and it made that error apear 

 

Thanks that fixed the problem

  • 0
Posted
On 1/4/2018 at 11:41 PM, Archetype Saber said:

@Mystogan if you're using Notepad++ read this:
Dont open the iteminfo.lua using the notepad++ it will cause to an unknown error if you save the file via NP++
Try Editing and Saving using Microsoft Wordpad ( not notepad).

Thanks this one saved me too. ?

 

You may not see tht you can edit it with the wordpad but you gotta click "Open with"
image.png.45769d39fbfe5875f690c46a03e8afc1.png

And then a window will appear and you might think it's another dead end, but hey, click the More Apps option and scroll down to see Wordpad and you can start editing it with the Wordpad 

image.png.99484db41bd80e40678a74dbb1849e9e.png

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...