Minetest_game: Error in init.lua while loading fireflies mod on minetest android build

Created on 10 Jun 2018  路  6Comments  路  Source: minetest/minetest_game

from debug.txt:

2018-06-11 00:12:34: [Main]: Automatically selecting world at [/storage/emulated/0/Minetest/worlds/singleplayerworld]
2018-06-11 00:12:34: ERROR[Main]: Subgame [] could not be found.
2018-06-11 00:12:40: WARNING[Main]: Irrlicht: Could not open file of texture: /storage/emulated/0/Minetest/textures/base/pack/server_flags_.png
2018-06-11 00:12:40: ERROR[Main]: ModError: Failed to load and run script from /storage/emulated/0/Minetest/games/minetest_game/mods/fireflies/init.lua:
2018-06-11 00:12:40: ERROR[Main]: ...Minetest/games/minetest_game/mods/fireflies/init.lua:263: attempt to call field 'get_decoration_id' (a nil value)
2018-06-11 00:12:40: ERROR[Main]: stack traceback:
2018-06-11 00:12:40: ERROR[Main]:   ...Minetest/games/minetest_game/mods/fireflies/init.lua:263: in main chunk
2018-06-11 00:12:40: ERROR[Main]: Check debug.txt for details.
2018-06-11 00:13:30: WARNING[Main]: Irrlicht: Could not open file of texture: /storage/emulated/0/Minetest/textures/base/pack/server_flags_.png

Minetest app version: 0.4.17.18
World created in 0.4.16
Android 7.0

Update: Backing up minetest data folder and clearing app data doesn't help much.

Not a bug

Most helpful comment

Noted. I recheck this evening. It seems i pushed the master branch ? I remembered i checkout the 0.4.17 tag and it was properly packaged. I will verify and change the android build model to change the way that MTG is added to ensure this will not happen in the future anymore

All 6 comments

I can confirm this too.

2018-06-11 06:33:32: ERROR[Main]: ModError: Failed to load and run script from /storage/emulated/0/Minetest/games/minetest_game/mods/fireflies/init.lua:
2018-06-11 06:33:32: ERROR[Main]: ...Minetest/games/minetest_game/mods/fireflies/init.lua:263: attempt to call field 'get_decoration_id' (a nil value)
2018-06-11 06:33:32: ERROR[Main]: stack traceback:
2018-06-11 06:33:32: ERROR[Main]:   ...Minetest/games/minetest_game/mods/fireflies/init.lua:263: in main chunk
2018-06-11 06:33:32: ERROR[Main]: Check debug.txt for details.

I played as singleplayer.

Fireflies is a 0.5.0 feature, and not playable in 0.4.x. Did fireflies get accidentally added to the 0.4.17.1 release or the android build?

attempt to call field 'get_decoration_id' (a nil value)
The 'decoration ID' feature is only in MTE 0.5dev, not in MTE 0.4.17. Fireflies mod is only in MTG 0.5dev, not in MTG 0.4.17. You must be using MTG 0.5dev. Wrong MTG version used for Android release? @nerzhul
So it's an Android build issue, not a MTG bug.

Noted. I recheck this evening. It seems i pushed the master branch ? I remembered i checkout the 0.4.17 tag and it was properly packaged. I will verify and change the android build model to change the way that MTG is added to ensure this will not happen in the future anymore

After updating minetest app this issue fixed by renaming Minetest folder in storage directory. After that you need to recreate folder and copy minetest.conf and other required files.

I also have this same UNRESOLVED issue with 0.4.17.1 - fresh install on debian 9 server system

git clone
git checkout 0.4.17.1

maybe you can have an own look at my compile script:
https://github.com/tverrbjelke/compile_minetest.git

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Fixer-007 picture Fixer-007  路  6Comments

Fixer-007 picture Fixer-007  路  6Comments

Wuzzy2 picture Wuzzy2  路  4Comments

paramat picture paramat  路  3Comments

cdqwertz picture cdqwertz  路  6Comments