Jump to content

Recommended Posts

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

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 by spideswine

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.

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 by Eusong

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 by spideswine

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...