Eusong Posted November 23, 2017 Share Posted November 23, 2017 This has to be the weirdest error I've ever seen. I attached the whole of the log to this post. client_log.txt Link to comment Share on other sites More sharing options...
Eusong Posted November 23, 2017 Author Share Posted November 23, 2017 I've successfully narrowed the problem down to the attached prefab, but that's all I can figure out. tornadospawner.lua Link to comment Share on other sites More sharing options...
Eusong Posted November 29, 2017 Author Share Posted November 29, 2017 bump... Link to comment Share on other sites More sharing options...
spideswine Posted November 29, 2017 Share Posted November 29, 2017 gonna need a bit more help here. The entire mod would help, also the entire log file. Link to comment Share on other sites More sharing options...
Eusong Posted December 3, 2017 Author Share Posted December 3, 2017 On 11/29/2017 at 3:52 PM, spideswine said: gonna need a bit more help here. The entire mod would help, also the entire log file. I attached the entire log to the original post. Here's the mod file. modinfo.lua modmain.lua modworldgenmain.lua vacuum.lua gianttornado.lua tornadospawner.lua Link to comment Share on other sites More sharing options...
spideswine Posted December 3, 2017 Share Posted December 3, 2017 (edited) Can you put your mod is a zip file and upload that? Thing is the client log refers to this line local filepath = string.gsub(filepath, "^/", "") So the file path might be the problem, hence I want to see exactly how the mod is layed out. Edited December 3, 2017 by spideswine Link to comment Share on other sites More sharing options...
Eusong Posted December 3, 2017 Author Share Posted December 3, 2017 Tornados.zip Link to comment Share on other sites More sharing options...
spideswine Posted December 3, 2017 Share Posted December 3, 2017 Well I see from the screenshot that it crashes in the loading screen, however for me the mod loads fine, so is there anything else I need to do to reproduce the crash? Aside from that, the fact that I see "filepath" in the crash description and that your mod folder has an exclamation point in it makes me suspicious, so maybe try renaming it to just tornadosunfinished and see if that helps. Link to comment Share on other sites More sharing options...
Eusong Posted December 4, 2017 Author Share Posted December 4, 2017 (edited) It worked fine for you because I commented out part of the modmain to prevent tornado spawners from spawning. I'll try your suggestion of taking out the exclamation point. edit- I'm still getting the same error. Edited December 4, 2017 by Eusong Link to comment Share on other sites More sharing options...
spideswine Posted December 4, 2017 Share Posted December 4, 2017 (edited) So anyway I've looked through your code, and through tumbleweedspawner(which I suppose works in a similar fashion) you have: return Prefab("tornadospawner", create_spawner, prefabs) whereas tumbleweedspawner has return Prefab("tumbleweedspawner", fn, nil, prefabs) so maybe try: return Prefab("tornadospawner", create_spawner,nil, prefabs) (I'm talking about the last line in tornadospawner.lua) Edited December 4, 2017 by spideswine Link to comment Share on other sites More sharing options...
Eusong Posted December 5, 2017 Author Share Posted December 5, 2017 It works! Thank you so much! I cannot express how happy I am. Link to comment 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