NANORAY Posted March 29, 2018 Group: Members Topic Count: 95 Topics Per Day: 0.02 Content Count: 210 Reputation: 3 Joined: 12/20/11 Last Seen: March 1, 2019 Share Posted March 29, 2018 having a problem adding custom item/duplicate in iteminfo.lua (zackdreaver folder). when adding/duplicating item it cause this error: i guess there is other lua file that all custom items/duplicate items must be put there? @zackdreaver Quote Link to comment Share on other sites More sharing options...
2 Akkarin Posted March 29, 2018 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: Tuesday at 10:17 AM Share Posted March 29, 2018 For goodness sake you guys, it's an encoding issue. Set your editor's encoding correctly and it'll resolve your issue. You don't need VS2017 to open a .lub and if it's jargen then it's still compiled. The item shows it's not a compiled lub, thus, encoding issue. I stopped using Notepad++ when VS Code was released. It has this handy "encoding switch" feature that actually tells you that you need to change your encoding for the file to be read and saved correctly. Stop giving rubbish advice after i've already said what's wrong. Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted March 29, 2018 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 6 hours ago Share Posted March 29, 2018 2 hours ago, NANORAY said: having a problem adding custom item/duplicate in iteminfo.lua (zackdreaver folder). when adding/duplicating item it cause this error: i guess there is other lua file that all custom items/duplicate items must be put there? @zackdreaver i think there is an error format in the item costume on iteminfo.lua show us your item duplicate in here Quote Link to comment Share on other sites More sharing options...
0 NANORAY Posted March 29, 2018 Group: Members Topic Count: 95 Topics Per Day: 0.02 Content Count: 210 Reputation: 3 Joined: 12/20/11 Last Seen: March 1, 2019 Author Share Posted March 29, 2018 1 hour ago, melv0 said: i think there is an error format in the item costume on iteminfo.lua show us your item duplicate in here [40000] = { unidentifiedDisplayName = "Hat", unidentifiedResourceName = "캡", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Costume Beginner Cap", identifiedResourceName = "비기너마크", identifiedDescriptionName = { "A costume awarded to adventurer who barely start his adventure.", "HIT +30", "MaxHP +1000", "MaxSP +200", "Reduces variable cast time by 10%.", "Increase restoration amount of Novice Potion by 50%.", "Increase healing power by 150%.", "Every 10 base level increment:", "HIT -3", "Increases variable cast time by 1%", "MaxHP -100, MaxSP -20", "Healing power -10%,", "Increase healing received and restoration items by 10%.", "^FF0000Cannot be traded.^000000", "Costume:^6666CC Headgear^000000", "Location:^6666CC Lower^000000", "Weight:^006600 0^000000", "Level Requirement:^006600 1^000000", "Jobs:^6666CC All^000000" }, slotCount = 0, ClassNum = 1348 }, using custom iteminfo. Quote Link to comment Share on other sites More sharing options...
0 Akkarin Posted March 29, 2018 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: Tuesday at 10:17 AM Share Posted March 29, 2018 Your file is encoded incorrectly. There are numerous guides on the forums on how to resolve this issue. Quote Link to comment Share on other sites More sharing options...
0 NANORAY Posted March 29, 2018 Group: Members Topic Count: 95 Topics Per Day: 0.02 Content Count: 210 Reputation: 3 Joined: 12/20/11 Last Seen: March 1, 2019 Author Share Posted March 29, 2018 Just now, Akkarin said: Your file is encoded incorrectly. There are numerous guides on the forums on how to resolve this issue. im sorry but how to resolve this? Quote Link to comment Share on other sites More sharing options...
0 Akkarin Posted March 29, 2018 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: Tuesday at 10:17 AM Share Posted March 29, 2018 Just now, NANORAY said: im sorry but how to resolve this? 1 minute ago, Akkarin said: There are numerous guides on the forums on how to resolve this issue. 1 Quote Link to comment Share on other sites More sharing options...
-1 llchrisll Posted March 29, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted March 29, 2018 (edited) I first encountered that problem too, when i was trying to add an custom item myself. Weird problem tho: Without any changes to the original itemInfo.lua file it works fine, but after adding an item it shows many lines where strings are not closed correctly. What I mean are the " at the end of a line. I manually corrected it and it worked fine afterwards. I don't know the exact number of lines anymore, but it should be around 100-200 lines or like that. Most lines were an ?, instead of ?", like these: Before the changes, theis weird boxes were black, now they are grey. I hope my information helps. Regards, Chris Edited March 29, 2018 by llchrisll Quote Link to comment Share on other sites More sharing options...
-1 Poring King Posted March 29, 2018 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted March 29, 2018 (edited) Its simple miss coded on luafiles in system info or There is 2 kind of error when it comes to lua files in system folder 1.if you are using the iteminfo.lua you can change the data inside using notepad without any error 2. if you are using iteminfo.lub files this is kinda a bit different from iteminfo.lua. here you cant edit the data inside using just a notepad or notepad ++ . you will encounter error like that if you are using notepad ++ . kindly use VS2017 for editing lub files to avoid error . There is a threand in our forums i think the author is @Anacondaqq its a guide of what component you should install in your VS to avoid the whole program witch is high amount of GB. Edited March 29, 2018 by Poring King VB into VS Quote Link to comment Share on other sites More sharing options...
Question
NANORAY
having a problem adding custom item/duplicate in iteminfo.lua (zackdreaver folder). when adding/duplicating item it cause this error:
i guess there is other lua file that all custom items/duplicate items must be put there? @zackdreaver
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.