cornernote wrote:@Topywo, thanks for pointing that out... will fix the craft in the next update...
for now, here is a preview of what the next update will be
armor textures are kindly donated as GPL3 by Jordach
68 -- register armor
69 for material,name in pairs({wood="Wooden",iron="Iron",mese="Mese"}) do
70 -- craftitems
68 -- register armor
69 for material,name in pairs({wood="Wooden",steel_ingot="Iron",mese="Mese"}) do
70 -- craftitems
cornernote wrote:Those bag textures look great, thats just what i imagined they should look like. A sack and a backpack. Very nice work.
Can I ask what res they are?
Also, I committed the fix for the armor registration (and renamed it to Steel Armor, i think makes more sense). I was getting tired when I finished it up and just wanted to get it posted =)
cornernote wrote:@Topywo, thanks for pointing that out... will fix the craft in the next update...
for now, here is a preview of what the next update will be
armor textures are kindly donated as GPL3 by Jordach
Mito551 wrote:you really did manage to implement armor system without touching the source code???
mikey2020 wrote:how do you make the armor show and the crafting thing show at the same time?
17:49:00: ERROR[main]: ServerError: LuaError: error: /home/radek/.minetest/mods/minetest/bags/init.lua:79: attempt to call method 'get_size' (a nil value)
17:49:00: ERROR[main]: stack traceback:
17:49:00: ERROR[main]: InventoryMenu: The selected inventory location "current_player" doesn't exist
Ragnarok wrote:When I move back empty bag to the inventory Minetest crashes.Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
17:49:00: ERROR[main]: ServerError: LuaError: error: /home/radek/.minetest/mods/minetest/bags/init.lua:79: attempt to call method 'get_size' (a nil value)
17:49:00: ERROR[main]: stack traceback:
17:49:00: ERROR[main]: InventoryMenu: The selected inventory location "current_player" doesn't exist
Great mod by the way :)
18:23:20: ERROR[main]: ServerError: LuaError: error: /home/radek/.minetest/mods/minetest/bags/init.lua:79: attempt to call method 'get_size' (a nil value)
18:23:20: ERROR[main]: stack traceback:
18:23:20: ERROR[main]: InventoryMenu: The selected inventory location "current_player" doesn't exist
Ragnarok wrote:Almost helpedYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
18:23:20: ERROR[main]: ServerError: LuaError: error: /home/radek/.minetest/mods/minetest/bags/init.lua:79: attempt to call method 'get_size' (a nil value)
18:23:20: ERROR[main]: stack traceback:
18:23:20: ERROR[main]: InventoryMenu: The selected inventory location "current_player" doesn't exist
22:35:47: ERROR[main]: ========== ERROR FROM LUA ===========
22:35:47: ERROR[main]: Failed to load and run script from
22:35:47: ERROR[main]: /usr/share/minetest/games/minetest_game/mods/cornernote_bags/init.lua:
22:35:47: ERROR[main]: /usr/share/minetest/builtin/misc_register.lua:62: Name bags:small does not follow naming conventions: "modname:" or ":" prefix required
22:35:47: ERROR[main]: stack traceback:
22:35:47: ERROR[main]: [C]: in function 'error'
22:35:47: ERROR[main]: /usr/share/minetest/builtin/misc_register.lua:62: in function 'check_modname_prefix'
22:35:47: ERROR[main]: /usr/share/minetest/builtin/misc_register.lua:98: in function 'register_item'
22:35:47: ERROR[main]: /usr/share/minetest/builtin/misc_register.lua:205: in function 'register_tool'
22:35:47: ERROR[main]: ...st/games/minetest_game/mods/cornernote_bags/init.lua:97: in main chunk
22:35:47: ERROR[main]: =======END OF ERROR FROM LUA ========
22:35:47: ERROR[main]: Server: Failed to load and run /usr/share/minetest/games/minetest_game/mods/cornernote_bags/init.lua
22:35:47: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /usr/share/minetest/games/minetest_game/mods/cornernote_bags/init.lua
In thread 7facb57a0740:
/build/buildd/minetestc55-0.4.3/src/main.cpp:1741: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7facb57a0740:
#0 int main(int, char**)
(Leftover data: #1 Dedicated server branch)
(Leftover data: #2 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
Aborted (core dumped)
VanessaE wrote:Firstly, don't put mods in this directory unless you absolutely have to.
cornernote wrote:VanessaE wrote:Firstly, don't put mods in this directory unless you absolutely have to.
where should they be installed to? am i missing something?
~/.minstest/mods/minetest/
Users browsing this forum: No registered users and 51 guests