Jump to content
  • 1

[SOLVED][Custom Item]Unknown Item


Malice

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   1
  • Joined:  02/02/17
  • Last Seen:  

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
Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

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

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  90
  • Topics Per Day:  0.02
  • Content Count:  361
  • Reputation:   18
  • Joined:  01/09/13
  • Last Seen:  

@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).

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   1
  • Joined:  02/02/17
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Your welcome! /gg

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  403
  • Reputation:   245
  • Joined:  12/17/11
  • Last Seen:  

@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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

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 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  403
  • Reputation:   245
  • Joined:  12/17/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

8 minutes ago, Najara said:

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

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

I am currently using iteminfo from https://github.com/zackdreaver/ROenglishRE/blob/master/System/itemInfo.lua

I am not having any issue in using it, but the moment i do any changes on that file that is the time it always gives me the same error.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   1
  • Joined:  05/05/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  04/24/18
  • Last Seen:  

@Archetype Saber how can i save it using microsoft wordpad? I am also facing this problems right now.

 

@Archetype Saber TIA! 

 

@Archetype Saber nevermind my stupidity, already did it. btw thanks for your info it really helped.

Edited by immortalis
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   1
  • Joined:  06/07/17
  • Last Seen:  

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

 

Link to comment
Share on other sites

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.

×
×
  • Create New...