zackdreaver / ROenglishRE

An unofficial english translation project for Korea Ragnarok Online (kRO).
144 stars 173 forks source link

System/Iteminfo.lua #34

Closed TheDerpySupport closed 6 years ago

TheDerpySupport commented 6 years ago

When trying to add new lines such as a custom item you are met with a series of bad lines such as "'n‘?UŒ‚‚?yŒ???, (taken from line 133985) and will not allow you to log into the game.

zackdreaver commented 6 years ago

there is itemInfo.zip, use that one

TheDerpySupport commented 6 years ago

Still seems to throw the errors when I try to add anything new image

TheDerpySupport commented 6 years ago

I was trying to help someone add a new custom and any time I put


    [32100] = {
        unidentifiedDisplayName = "Wings",
        unidentifiedResourceName = "Arctic",
        unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
        identifiedDisplayName = "Arctic Wings",
        identifiedResourceName = "Arctic",
        identifiedDescriptionName = { "[Custom item]", },
        slotCount = 0,
        ClassNum = 1704
    },
``` into the iteminfo.lua it gives me the above error messages
zackdreaver commented 6 years ago

What's your text editor? might be encoding issue when saving the file, try to turn off auto detect encoding, if there any. It's best to automatically set it to ascii.

TheDerpySupport commented 6 years ago

I use Notepad++ and the encoding is default to UTF-8 but I have the option to set it to ANSI

zackdreaver commented 6 years ago

yes, set it to ascii first then open the vanilla one then check line 133985 are there any ??? characters The correct one should looks like this: 'n‘®«UŒ‚‚ðŒyŒ¸‚·‚é

TheDerpySupport commented 6 years ago

Yeah after correcting the encoder to ANSI i was able to properly view the files; Thanks for putting up with this lol First time i've ever had this happen when modifying files