animalpack swap error

Post Reply
brder
Member
Posts: 20
Joined: Sat Jan 16, 2016 11:19

animalpack swap error

by brder » Post

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

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: animalpack swap error

by Gael de Sailly » Post

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.
Just realize how bored we would be if the world was perfect.

brder
Member
Posts: 20
Joined: Sat Jan 16, 2016 11:19

Re: animalpack swap error

by brder » Post

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

KCoombes
Member
Posts: 427
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt
Location: SW Florida, USA

Re: animalpack swap error

by KCoombes » Post

You need to change the folder name to 'mobs' (remove -'master') for all mods you install.

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: animalpack swap error

by Gael de Sailly » Post

We need to improve the mods system. That's a very recurrent mistake.
Just realize how bored we would be if the world was perfect.

KCoombes
Member
Posts: 427
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt
Location: SW Florida, USA

Re: animalpack swap error

by KCoombes » Post

I still wondering why the -master is doubled in the file system after unpacking the .zip.

brder
Member
Posts: 20
Joined: Sat Jan 16, 2016 11:19

Re: animalpack swap error

by brder » Post

It worked thank you so much bro

Sheriff
Member
Posts: 84
Joined: Thu Nov 09, 2017 21:25

Re: animalpack swap error

by Sheriff » Post

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.

Chiantos
Member
Posts: 377
Joined: Sun Jan 15, 2017 09:04

Re: animalpack swap error

by Chiantos » Post

Deleted message

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests