alyskullz Posted July 14, 2019 Share Posted July 14, 2019 As far as I can see, the only problem I'm having with my custom character mod is the message that states <eof> needed. I'm not sure how to fix that, though. If someone could help out, that would be amazing! Marian the Princess.zip log.txt Link to comment Share on other sites More sharing options...
Ultroman Posted July 14, 2019 Share Posted July 14, 2019 You have an extra "end". If you use Notepad++ and set the Language to Lua, it can show you the start / end of a function or brace / parenthesis, if you place the text-cursor on the start or end of it. In this case, I've set the cursor at the end of line 40. In addition to it showing that the two parentheses surrounding "marian" match, it also shows a red line on the left, where we can see that the function is closed by the "end" on line 50, so the "end" on line 51 is redundant. Link to comment Share on other sites More sharing options...
alyskullz Posted July 14, 2019 Author Share Posted July 14, 2019 Seems easy enough, thank you! So I fixed that, but it says that there's a scripting error. Again, I don't know how to fix it log.txt Marian the Princess.zip Link to comment Share on other sites More sharing options...
Ultroman Posted July 14, 2019 Share Posted July 14, 2019 You're missing a comma at the end of line 56. Link to comment Share on other sites More sharing options...
alyskullz Posted July 14, 2019 Author Share Posted July 14, 2019 Alright, so I added the comma but this message still pops up. Anything else I missed? [00:00:18]: scripts/mods.lua(253,1) Disabling Marian the Princess because it had an error. Link to comment Share on other sites More sharing options...
Ultroman Posted July 14, 2019 Share Posted July 14, 2019 That always pops up the first time you start the game after your mod crashed it. Link to comment Share on other sites More sharing options...
alyskullz Posted July 14, 2019 Author Share Posted July 14, 2019 Alright, it also says [00:17:03]: scripts/frontend.lua(773,1) SCRIPT ERROR! Showing error screen (I didn't see it the first time) Link to comment Share on other sites More sharing options...
Ultroman Posted July 14, 2019 Share Posted July 14, 2019 Please post your log. I need the rest of the stacktrace. Also your newest code. Link to comment Share on other sites More sharing options...
alyskullz Posted July 14, 2019 Author Share Posted July 14, 2019 Marian the Princess.zip log.txt Link to comment Share on other sites More sharing options...
Ultroman Posted July 14, 2019 Share Posted July 14, 2019 The mod works fine for me. How do you get it to crash? I have to announce the absolute hilarity that you've made a cigarette prefab, but made it a hat xD I'm guessing you just haven't finished it yet. Link to comment Share on other sites More sharing options...
alyskullz Posted July 15, 2019 Author Share Posted July 15, 2019 It seems like there's something with the modmain somewhere, this message popped up. My friend and I tried the mod and we both had the crash ...teamapps/common/dont_starve/data/../mods/Marian the Princess/modmain.lua:98: unexpected symbol near '=' Marian the Princess.zip log.txt Link to comment Share on other sites More sharing options...
Ultroman Posted July 15, 2019 Share Posted July 15, 2019 Once again, it's an extra something. The brace on line 66 should be removed, but not the comma. Link to comment Share on other sites More sharing options...
alyskullz Posted July 15, 2019 Author Share Posted July 15, 2019 Thanks for the help! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.