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

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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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