Code: Select all
goblins.tool_attach(self, goblins.comp.default.sword_bronze)
It's probably also worth looking at items.lua line 96:
Code: Select all
local tool_table = string.split(tool, ":")
Code: Select all
goblins.tool_attach(self, goblins.comp.default.sword_bronze)
Code: Select all
local tool_table = string.split(tool, ":")
Hi jlamothe,jlamothe wrote: ↑Tue Oct 03, 2023 23:57
It's probably also worth looking at items.lua line 96:to ensure that the value of tool is actually a string.Code: Select all
local tool_table = string.split(tool, ":")
First of all thanks for this mod.FreeLikeGNU wrote: ↑Fri Aug 23, 2024 05:19
- Update 2024/08/22: Fixed crashing for Mineclonia game support!
Are they actually appearing there? I've cleaned up the spawning def (lots of unused commented stuff) regardless.
Thank you for catching this! It should be fixed now.
I just met him, but didn’t have time to take a screenshot, he was killed :(
Code: Select all
local min_height = tonumber( mcl_vars.mg_overworld_min ) -- they should be found to the depths of the overworld, MC2 and Mineclonia also differ in this :P
local max_height = -10
Always this error:FreeLikeGNU wrote: ↑Mon Sep 02, 2024 21:14Latest update allows Goblins to learn about and accept food from (probably) any food or farming mod such as TenPlus1's Farming Redo. If you are near a goblin when you eat something, it may become curious and accept it as a gift. Maybe it will give you something back if you are kind and persistent with gifts! Other goblins from the same territory will want the newly discovered food as well. This will make it easier to befriend a large number of them!
Everything seems to be fine now
Code: Select all
mc2_compat.lua
Code: Select all
get_game_info
Code: Select all
2024-09-07 20:07:45: ERROR[Main]: ModError: Failed to load and run script from /var/games/minetest-server/.minetest/mods/goblins/init.lua:
2024-09-07 20:07:45: ERROR[Main]: ...es/minetest-server/.minetest/mods/goblins/mc2_compat.lua:163: attempt to call field 'get_game_info' (a nil value)
2024-09-07 20:07:45: ERROR[Main]: stack traceback:
2024-09-07 20:07:45: ERROR[Main]: ...es/minetest-server/.minetest/mods/goblins/mc2_compat.lua:163: in function 'spawn'
2024-09-07 20:07:45: ERROR[Main]: ...mes/minetest-server/.minetest/mods/goblins/utilities.lua:100: in function 'generate'
2024-09-07 20:07:45: ERROR[Main]: /var/games/minetest-server/.minetest/mods/goblins/init.lua:137: in main chunk
Code: Select all
get_game_info
Code: Select all
minetest.log("action", "[HUTSON] The setting 'default_game' is: " .. minetest.settings:get("default_game"))
2024-09-07 20:51:54: ACTION[Main]: [HUTSON] The setting 'default_game' is: mineclone2
Code: Select all
ModError: Failed to load and run script from /home/adikalon/.minetest/mods/goblins/init.lua:
/home/adikalon/.minetest/mods/goblins/content.lua:14: attempt to index field 'comp' (a nil value)
stack traceback:
/home/adikalon/.minetest/mods/goblins/content.lua:14: in main chunk
[C]: in function 'dofile'
/home/adikalon/.minetest/mods/goblins/init.lua:117: in main chunk
Подробности в debug.txt.
Users browsing this forum: Google [Bot] and 1 guest