Jump to content
  • 0
Echoes

Adding new lines to iteminfo.lua makes client unable to read it

Question

As title says, when I try to add new item descriptions using itemInfo.lua and try to run my client, I am getting the error stated in the image.

Everytime I try to run the client again, it says another line is the problem.

 

This only happens when I try to add new lines to the itemInfo.lua file, if nothing changes, there is no error.

 

Help please :D

error iteminfo.PNG

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

error said you did syntax error. lua is code and you must follow rules of this language.

error probably said what you missing

"

or

'

 

Share this post


Link to post
Share on other sites
  • 0

The thing is I just copied other item description and just changed its ID, that's why I find this weird.

Am using your Translation by the way.

 

__

Will try to fix those unstated " and will comment if it fixed the error.

 

__

Okay, it is fixed now, thank you @4144.

Edited by Echoes

Share this post


Link to post
Share on other sites
  • 0

you added a >>> , <<<< to close the last one before adding?  

 

[49982] = {
        unidentifiedDisplayName = "Example",
        unidentifiedResourceName = "Example",
        unidentifiedDescriptionName = {
            "Unidentified item, can be identified with [Magnifier]."
        },
        identifiedDisplayName = "Example",
        identifiedResourceName = "Example",
        identifiedDescriptionName = {
            "Description not set...",
            "Class :^777777 Armor^000000",
            "Weight :^777777 0^000000",
            "Applicable Job :^777777 Every Job^000000"
        },
        slotCount = 0,
        ClassNum = 0
    },  <<<<<<
    [49985] = {
        unidentifiedDisplayName = "Example",
        unidentifiedResourceName = "Example",
        unidentifiedDescriptionName = {
            "Unidentified item, can be identified with [Magnifier]."
        },
        identifiedDisplayName = "Example",
        identifiedResourceName = "Example",
        identifiedDescriptionName = {
            "Description not set...",
            "Class :^777777 Armor^000000",
            "Weight :^777777 0^000000",
            "Applicable Job :^777777 Every Job^000000"
        },
        slotCount = 0,
        ClassNum = 0
  } <<< 

 

Share this post


Link to post
Share on other sites
  • 0
7 hours ago, rolandiex said:

you added a >>> , <<<< to close the last one before adding?  

That wasn't the error, it is fixed now.

 

Thank you anyways.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.