

-----------------------
I'm getting the same type of error across multiple mods


For the first one, try game.surfaces['nauvis']jugglebubbles wrote:I'm brand new to this game but not lua, what steps do I need to take to update broken mods? I've already checked out the game.on_ now = script.on_ thing but I'm still getting some erros
-----------------------
I'm getting the same type of error across multiple mods
Thanks a ton! I think I found a fix for the first one but using what you've shown me for the second one I was able to fix quite a few error related to missing underscores and I've learned what that error message means now. Thanks a lot!daniel34 wrote: For the first one, try game.surfaces['nauvis']
For the second one, try defines.events.on_entity_died
game.surfaces['nauvis'] won't work because it's trying to index 'game'daniel34 wrote:For the first one, try game.surfaces['nauvis']jugglebubbles wrote:I'm brand new to this game but not lua, what steps do I need to take to update broken mods? I've already checked out the game.on_ now = script.on_ thing but I'm still getting some erros
-----------------------
I'm getting the same type of error across multiple mods
For the second one, try defines.events.on_entity_died
I know it works, having just tried it in 0.12.26.Austin5003 wrote:game.surfaces['nauvis'] won't work because it's trying to index 'game'daniel34 wrote:For the first one, try game.surfaces['nauvis']jugglebubbles wrote:I'm brand new to this game but not lua, what steps do I need to take to update broken mods? I've already checked out the game.on_ now = script.on_ thing but I'm still getting some erros
-----------------------
I'm getting the same type of error across multiple mods
For the second one, try defines.events.on_entity_died