capturetheflag icon indicating copy to clipboard operation
capturetheflag copied to clipboard

Problem when creating and joining a singleplayer world

Open SuddenSFD opened this issue 1 year ago • 7 comments

Hi yall, i've been trying to start making a map on CTF, the thing is, i can't even join the world. I create a new world as usual, i try to join it, the game freezes for a second, and then it shuts down. error

The error says "ModError: Failed to load and run script from C:\Users\me\Documents\Otro\minetest-5.6.1-win32\bin..\games\capturetheflag\mods\ctf\ctf_modebase\init.lua: not enough memory Check debug.txt for details." EDIT: I enabled Low-RAM mode, and it actually tried to load, however, another error appears... image

"ModError: Failed to load and run script from C:\Users\me\Documents\Otro\minetest-5.6.1-win32\bin..\games\capturetheflag\mods\ctf\ctf_modebase\init.lua: .....\games\capturetheflag\mods\ctf\ctf_modebase/player.lua:222: attempt to call field 'register_on_item_pickup' (a nil value) stack traceback: .....\games\capturetheflag\mods\ctf\ctf_modebase/player.lua:222: in main chunk [C]: in function 'dofile' ...2\bin..\games\capturetheflag\mods\ctf\ctf_core\init.lua:18: in function 'include_files' ...n..\games\capturetheflag\mods\ctf\ctf_modebase\init.lua:48: in main chunk Check debug.txt for details." any idea?

SuddenSFD avatar Jan 12 '24 13:01 SuddenSFD

The game may require a more recent version of Minetest, I'll look at fixing the requirements...

LoneWolfHT avatar Jan 13 '24 07:01 LoneWolfHT

The game may require a more recent version of Minetest, I'll look at fixing the requirements...

Maybe it has to do with me running Windows 7?

SuddenSFD avatar Jan 13 '24 18:01 SuddenSFD

Maybe it has to do with me running Windows 7?

It seems unlikely in this case. Whatever your OS, if you have got a specific Minetest client installed properly, then it would stay irrelevant for the most part as this seems either a code or client issue. Now, what I think LV is referring to is that there were some additions to the game (probably the superior item swapping commit?) that utilised methods/functions available in clients above a certain version; meaning that the "requirements" may be 5.7+ clients.

I've not looked at the code for the changes and the MT changelog in detail but that's what I take away from your issue and what LandarVargan said.

Now, if Windows 7 limits what version of Minetest you can install, then that would bring about a hurdle in your progress towards making your map :thinking:

src4026 avatar Jan 13 '24 19:01 src4026

Then it's my client, 5.6, i can't seem to get working 5.7 or 5.8, i may try some workarounds, but i'm going to try and install minetest on a newer machine. Thanks.

SuddenSFD avatar Jan 15 '24 15:01 SuddenSFD

However, it may be something related to Irrlitchmt, i'm going to try a few things

SuddenSFD avatar Jan 15 '24 15:01 SuddenSFD

Then it's my client, 5.6, i can't seem to get working 5.7 or 5.8, i may try some workarounds, but i'm going to try and install minetest on a newer machine. Thanks.

Not having the low ram version set is probably the issue, make sure you set it when trying with 5.8/5.7

LoneWolfHT avatar Jan 16 '24 02:01 LoneWolfHT

@SuddenSFD Was your issue fixed when trying low ram mode?

farooqkz avatar Apr 07 '24 13:04 farooqkz