MT-CTF / capturetheflag

Capture the Flag game using the Minetest Voxel Engine
https://ctf.rubenwardy.com
81 stars 87 forks source link

Problem when creating and joining a singleplayer world #1262

Open SuddenSFD opened 6 months ago

SuddenSFD commented 6 months ago

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?

LoneWolfHT commented 6 months ago

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

SuddenSFD commented 6 months ago

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?

src4026 commented 6 months ago

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:

SuddenSFD commented 6 months ago

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 commented 6 months ago

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

LoneWolfHT commented 6 months ago

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

farooqkz commented 3 months ago

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