Car4057 Posted November 5, 2018 Share Posted November 5, 2018 The mod I created is crashing, the client_log file says " [string "../mods/Benim Mod/modinfo.lua"]:1: unexpected symbol near 'ï' " What does that mean? How can I solve this issue? I already searched some files if there is that ï symbol but sadly no luck about that. Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/ Share on other sites More sharing options...
K1NGT1GER609 Posted November 7, 2018 Share Posted November 7, 2018 Well uploading the modinfo.lua file would help a bit more than trying to guess the problem but ill guess. From the error it sounds like the string for a line was broken in syntax at the first or next line (that isn't a note) after the first line. So the error would look like this: icon_atlas = "modicon.xml icon = "modicon.tex" instead of: icon_atlas = "modicon.xml" --the right way icon = "modicon.tex" but that just the example. Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/#findComment-1111214 Share on other sites More sharing options...
Car4057 Posted November 8, 2018 Author Share Posted November 8, 2018 (edited) Here is the modinfo.lua file name = "Benim Mod" description = "Mod" author = "NAVY" version = "1.103" api_version = 10 dont_starve_compatible = false reign_of_giants_compatible = false dst_compatible = true restart_required = false icon = "modiconicebox.tex" icon_atlas = "modiconicebox.xml" forumthread = "" I just use the icebox mod icon for placeholder as I'm the only one using the tweaks I made. Other than that idk what's wrong. Edited November 8, 2018 by Car4057 Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/#findComment-1111771 Share on other sites More sharing options...
K1NGT1GER609 Posted November 9, 2018 Share Posted November 9, 2018 I'm not seeing any syntax errors from what you posted (besides that idk what restart_required line), and according to the api version that's don't starve together. Are you trying to convert it to don't starve? Or are you posting in the wrong forums section? Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/#findComment-1112452 Share on other sites More sharing options...
Car4057 Posted November 9, 2018 Author Share Posted November 9, 2018 I'm not trying to convert or anything at all, it's a DST mod and want to leave it that way. Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/#findComment-1112831 Share on other sites More sharing options...
BraveChicken Posted November 9, 2018 Share Posted November 9, 2018 If you're working on a DST mod, then you might want to ask for help over here >> DST Mods and Tools As this is the forum section for the single-player version. Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/#findComment-1112887 Share on other sites More sharing options...
K1NGT1GER609 Posted November 9, 2018 Share Posted November 9, 2018 K, well the next step is to upload your mod to zip file and maybe I (or another modder) can see what the real problem is, otherwise I'm stabbing in the dark. If I can't solve it then its advised to ask in the link that bravechicken posted, as the single player coding is different (even some cases a huge difference) from multiplayer. Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/#findComment-1113047 Share on other sites More sharing options...
debugman18 Posted November 10, 2018 Share Posted November 10, 2018 Can you upload your entire log please? Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/#findComment-1113080 Share on other sites More sharing options...
Car4057 Posted November 11, 2018 Author Share Posted November 11, 2018 (edited) Here it is. Should I make another thread on DST section. I didn't realize I made this thread on single player section. It was supposed to be a very simple tweak for me but oh well. client_log.txt modmain.lua Edited November 11, 2018 by Car4057 Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/#findComment-1114030 Share on other sites More sharing options...
K1NGT1GER609 Posted November 11, 2018 Share Posted November 11, 2018 (edited) Yeah...its probably good to make a thread on the DST section, as for what you gave me the game is mainly complaining that a lot of variables are undeclared or arithmetic errors but nothing about this 'ï' error. This modmain is missing a lot of basic referencing and "starting code" for a lack of better words like "local TUNING = GLOBAL.TUNING" or "local multiplayer_armor_durability_modifier = 1" and such. While you make a thread on the DST forums read this link (https://forums.kleientertainment.com/forums/topic/73967-how-to-ask-help-for-modding-include-tutorials/) as modders don't like to keep guessing what your trying to do (and neither do computer science majors). So be as detailed as you possible can, as for me I can't see what your doing as the modmain has multiple references and will require a lot of different starting code, as it is it wont run at all. Edited November 11, 2018 by K1NGT1GER609 Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/#findComment-1114221 Share on other sites More sharing options...
Car4057 Posted November 11, 2018 Author Share Posted November 11, 2018 I understand, I'll check it out there. Thank you for explaining. Link to comment https://forums.kleientertainment.com/forums/topic/98029-unexpected-symbol/#findComment-1114271 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now