blert2112 / mobs_water

9 stars 12 forks source link

Cannot open mobs_water/mobs_crocs\SETTINGS.txt #1

Closed Routhinator closed 9 years ago

Routhinator commented 9 years ago

It seems that there is a Windows/Linux filesystem misnomer here, as the mod is explicitly trying to set a filepath with a backslash, which is not how Linux or Mac view the world.

2015-07-26 12:08:44: ERROR[main]: ========== ERROR FROM LUA ===========
2015-07-26 12:08:44: ERROR[main]: Failed to load and run script from 
2015-07-26 12:08:44: ERROR[main]: /home/minetest/minetest/bin/../games/tekkest/mods/mobs_water/mobs_crocs/init.lua:
2015-07-26 12:08:44: ERROR[main]: cannot open /home/minetest/minetest/bin/../games/tekkest/mods/mobs_water/mobs_crocs\SETTINGS.txt: No such file or directory
2015-07-26 12:08:44: ERROR[main]: stack traceback:
2015-07-26 12:08:44: ERROR[main]:   [C]: in function 'dofile'
2015-07-26 12:08:44: ERROR[main]:   ...bin/../games/tekkest/mods/mobs_water/mobs_crocs/init.lua:22: in main chunk
2015-07-26 12:08:44: ERROR[main]: ======= END OF ERROR FROM LUA ========
2015-07-26 12:08:44: ERROR[main]: Server: Failed to load and run /home/minetest/minetest/bin/../games/tekkest/mods/mobs_water/mobs_crocs/init.lua
2015-07-26 12:08:44: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/minetest/minetest/bin/../games/tekkest/mods/mobs_water/mobs_crocs/init.lua
2015-07-26 12:08:44: ERROR[main]: Error from Lua:
2015-07-26 12:08:44: ERROR[main]: cannot open /home/minetest/minetest/bin/../games/tekkest/mods/mobs_water/mobs_crocs\SETTINGS.txt: No such file or directory
2015-07-26 12:08:44: ERROR[main]: stack traceback:
2015-07-26 12:08:44: ERROR[main]:   [C]: in function 'dofile'
2015-07-26 12:08:44: ERROR[main]:   ...bin/../games/tekkest/mods/mobs_water/mobs_crocs/init.lua:22: in main chunk
blert2112 commented 9 years ago

Actually, LUA doesn't care if you use a "/" or "\" regardless of OS. This was a case of a typo on my part. should be fixed now.

Routhinator commented 9 years ago

Confirmed fixed. Thanks.