ModError: Failed to load and run script from /home/example/.minetest/mods/minigames/init.lua:
/home/example.minetest/mods/minigames/init.lua:1: attempt to index global 'arena_lib' (a nil value)
stack traceback:
/home/noah/.minetest/mods/minigames/init.lua:1: in main chunk
Siehe debug.txt fΓΌr Details.ModError: Failed to load and run script from /home/example/.minetest/mods/minigames/init.lua:
ModError: Failed to load and run script from /home/example/.minetest/mods/minigames/init.lua:
/home/example.minetest/mods/minigames/init.lua:1: attempt to index global 'arena_lib' (a nil value)
stack traceback:
/home/noah/.minetest/mods/minigames/init.lua:1: in main chunk
Siehe debug.txt fΓΌr Details.ModError: Failed to load and run script from /home/example/.minetest/mods/minigames/init.lua:
2021-01-08 14:01:19: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod '*builtin*' in callback environment_Step(): ...test_5/minetest/bin/../builtin/game/forceloading.lua:17: attempt to perform arithmetic on field 'x' (a nil value)
2021-01-08 14:01:19: ERROR[Main]: stack traceback:
2021-01-08 14:01:19: ERROR[Main]: ...test_5/minetest/bin/../builtin/game/forceloading.lua:17: in function 'get_blockpos'
2021-01-08 14:01:19: ERROR[Main]: ...test_5/minetest/bin/../builtin/game/forceloading.lua:40: in function 'forceload_block'
2021-01-08 14:01:19: ERROR[Main]: ...test/bin/../mods/block_league/bl_modes/game_main.lua:88: in function 'load_ball'
2021-01-08 14:01:19: ERROR[Main]: ...test/bin/../mods/block_league/bl_modes/game_main.lua:79: in function 'round_start'
2021-01-08 14:01:19: ERROR[Main]: ...test/bin/../mods/block_league/bl_modes/game_main.lua:48: in function 'display_and_start_countdown'
2021-01-08 14:01:19: ERROR[Main]: ...test/bin/../mods/block_league/bl_modes/game_main.lua:45: in function 'func'
2021-01-08 14:01:19: ERROR[Main]: .../minetest_5/minetest/bin/../builtin/common/after.lua:20: in function '?'
2021-01-08 14:01:19: ERROR[Main]: ...minetest_5/minetest/bin/../builtin/game/register.lua:433: in function <...minetest_5/minetest/bin/../builtin/game/register.lua:417>
2021-01-08 14:01:19: ERROR[Main]: stack traceback:
I have installed all depencies and lua jit. Is this my fault or a fault of the mod?
I won't update my mods on the forum anymore. Check them out on ContentDB instead!
Arena_lib is a library for Minetest working as a core for any arena mini-game you have in mind.
It comes with an arena manager and a signs system. The latter creates a bridge inside your own server between the hub and your actual mod (deathmatch, capture the flag, assault, you name it). In other words, you don't have to do the boring job and you can focus exclusively on your minigame.
License: GPL 3
Mod dependencies: default, signs_lib, (optional) hub manager
Known conflicts: anything overriding the default respawn behaviour, such as Beds
to start: have an arena constructed
1) type /[your_mod_name] create [your_arena_name]
2) type /[your_mod_name] edit [your_arena_name]
3) you are given several edit tools
4) use the tool that looks like a sign.
5) you are given a sign. Place it.
6) use the tool that looks like a sign with a [+] on the sign you placed
7)use the [back] tool
7.5) do whatever else you need to to set up the arena, like spawners...
8)use the [enable_arena] tool
9)enjoy
to start: have an arena constructed
1) type /[your_mod_name] create [your_arena_name]
2) type /[your_mod_name] edit [your_arena_name]
3) you are given several edit tools
4) use the tool that looks like a sign.
5) you are given a sign. Place it.
6) use the tool that looks like a sign with a [+] on the sign you placed
7)use the [back] tool
7.5) do whatever else you need to to set up the arena, like spawners...
8)use the [enable_arena] tool
9)enjoy
to set spawners, use the spawners item in the main section of the editor. You will be given a spawner + item. go to each spawner location and use the plus spawner item. To start over, you can use the clear all spawners item. when finished, press back and enable
I won't update my mods on the forum anymore. Check them out on ContentDB instead!
Arena_lib is a library for Minetest working as a core for any arena mini-game you have in mind.
It comes with an arena manager and a signs system. The latter creates a bridge inside your own server between the hub and your actual mod (deathmatch, capture the flag, assault, you name it). In other words, you don't have to do the boring job and you can focus exclusively on your minigame.
License: GPL 3
Mod dependencies: default, signs_lib, (optional) hub manager
Known conflicts: anything overriding the default respawn behaviour, such as Beds
A few mods using arena_lib Murder by Giov4 Skywars by Giov4
How to set and get Team or TeamID. I've sea the source of block_legue but it haven't help me.(Why? I programm now Mesewars(like eggwars(like bedwars)))