Page 1 of 1

animalpack swap error

Posted: Sat Jan 16, 2016 11:35
by brder
ERROR[EmergeThread0]: MOBF: failed to swap old conf file to new one

i saw this in debug txt when i play with animalspack 2.5.0
and there is no animal i the world

Re: animalpack swap error

Posted: Wed Jan 20, 2016 19:26
by Gael de Sailly
I've searched in the code and I haven't found what is precisely this error message. I haven't tested the new version of animals modpack yet.

There is a file called debug.txt in MT's files in which you can find the error logs. That must help us understanding the problem. If the file is too big, remove it and launch Minetest again with animal_modpack. So you will find a new debug.txt with only the informations we need.

Or you can try other mobs mods like Mobs Redo, that is much lighter.

Re: animalpack swap error

Posted: Thu Jan 21, 2016 08:02
by brder
Gael de Sailly thanks for attention. Like you said i download the Mobs Redo, when i try to run this mod i saw this error lines in debug.txt

Can you help me about that

2016-01-21 09:52:03: ERROR[main]: ========== ERROR FROM LUA ===========
2016-01-21 09:52:03: ERROR[main]: Failed to load and run script from
2016-01-21 09:52:03: ERROR[main]: C:\games\Minetest\bin\..\mods\mobsmaster\init.lua:
2016-01-21 09:52:03: ERROR[main]: C:\games\Minetest\bin\..\mods\mobsmaster\init.lua:5: attempt to concatenate local 'path' (a nil value)
2016-01-21 09:52:03: ERROR[main]: stack traceback:
2016-01-21 09:52:03: ERROR[main]: C:\games\Minetest\bin\..\mods\mobsmaster\init.lua:5: in main chunk
2016-01-21 09:52:03: ERROR[main]: ======= END OF ERROR FROM LUA ========
2016-01-21 09:52:03: ERROR[main]: Server: Failed to load and run C:\games\Minetest\bin\..\mods\mobsmaster\init.lua
2016-01-21 09:52:03: ERROR[main]: ModError: ModError: Failed to load and run C:\games\Minetest\bin\..\mods\mobsmaster\init.lua
2016-01-21 09:52:03: ERROR[main]: Error from Lua:
2016-01-21 09:52:03: ERROR[main]: C:\games\Minetest\bin\..\mods\mobsmaster\init.lua:5: attempt to concatenate local 'path' (a nil value)
2016-01-21 09:52:03: ERROR[main]: stack traceback:
2016-01-21 09:52:03: ERROR[main]: C:\games\Minetest\bin\..\mods\mobsmaster\init.lua:5: in main chunk

Re: animalpack swap error

Posted: Thu Jan 21, 2016 12:40
by KCoombes
You need to change the folder name to 'mobs' (remove -'master') for all mods you install.

Re: animalpack swap error

Posted: Thu Jan 21, 2016 15:27
by Gael de Sailly
We need to improve the mods system. That's a very recurrent mistake.

Re: animalpack swap error

Posted: Thu Jan 21, 2016 17:59
by KCoombes
I still wondering why the -master is doubled in the file system after unpacking the .zip.

Re: animalpack swap error

Posted: Thu Jan 21, 2016 18:41
by brder
It worked thank you so much bro

Re: animalpack swap error

Posted: Wed Oct 03, 2018 04:18
by Sheriff
Gael de Sailly wrote:We need to improve the mods system. That's a very recurrent mistake.
I know that this is a very old thread, but I just have to say that these have been my thoughts for years on this subject. Whose idea was it to have everyone name their zips and the folder in the zip differently than the folder should be named when it ends up in the mods folder? Whatever problem this idea was trying to solve probably caused far less pain, over-all, than this approach has caused so many people over the years. Does someone consider this the best practice? If so, why? Hopefully, we can figure out where this came from and can stop encouraging mod developers to do it.

Re: animalpack swap error

Posted: Wed Oct 03, 2018 08:33
by Chiantos
Deleted message