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

Echoes

New member
Messages
68
Points
0
Age
33
Github
Maxitotito
Emulator
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

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

error probably said what you missing

"


or

Code:
'
 
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.

 
Last edited by a moderator:
you added a >>> , <<<< to close the last one before adding?  

Code:
[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
  } <<< 
 
Back
Top