[Mod] Circular saw in inventory [invsaw][git]

cheapie
Member
 
Posts: 311
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

[Mod] Circular saw in inventory [invsaw][git]

by cheapie » Tue May 24, 2016 20:02

Image

Description:
This mod adds a button in unified_inventory that opens a formspec that works exactly like the moreblocks circular saw. It requires that either the server is in creative mode, you have the "creative" priv, or you have one or more circular saws (moreblocks:circular_saw) in your inventory.

License:
Contains large amounts of code based on Calinou's moreblocks mod, and a texture based on some textures from the same mod.
Code - zlib
Textures - CC BY-SA 3.0 Unported

Dependencies: moreblocks,unified_inventory

Download: ZIP or Git
 

User avatar
azekill_DIABLO
Member
 
Posts: 7459
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

Gundul
Member
 
Posts: 358
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

Re: [Mod] Circular saw in inventory [invsaw][git]

by Gundul » Sat May 28, 2016 13:19

Cool mod and my players like it, too.


This morning I got the following error

Code: Select all
2016-05-28 08:53:04: WARNING[Server]: Undeclared global variable "pos" accessed at /home/mars/.minetest/mods/invsaw/init.lua:139
2016-05-28 08:53:05: WARNING[Main]: [xban] Unable to save database: Write failed
2016-05-28 08:53:05: ACTION[Main]: [fishing] Server shuts down. saving trophies table
2016-05-28 08:53:05: ERROR[Main]: ServerError: Lua: Runtime error from mod '??' in callback detached_inventory_OnTake(): Invalid position (expected table got nil).
2016-05-28 08:53:05: ERROR[Main]: stack traceback:
2016-05-28 08:53:05: ERROR[Main]:    [C]: in function 'get_meta'
2016-05-28 08:53:05: ERROR[Main]:    /home/mars/.minetest/mods/moreblocks/circular_saw.lua:119: in function 'reset'
2016-05-28 08:53:05: ERROR[Main]:    /home/mars/.minetest/mods/invsaw/init.lua:139: in function </home/mars/.minetest/mods/invsaw/init.lua:129>



Any idea what could that be. It happened in the middle of the game. (running minetest 0.4.14 stable)
 

cheapie
Member
 
Posts: 311
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

Re: [Mod] Circular saw in inventory [invsaw][git]

by cheapie » Sat May 28, 2016 13:26

Gundul wrote:Cool mod and my players like it, too.


This morning I got the following error

Any idea what could that be. It happened in the middle of the game. (running minetest 0.4.14 stable)


I think I see what's causing that. I think it should be fixed now (download links will automatically update). Go ahead and redownload, and it should work properly now.
 

wilkgr76
Member
 
Posts: 831
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
 


Return to WIP Mods



Who is online

Users browsing this forum: gpcf, runs and 5 guests