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)
1. Anything, including a game server or its mods, that is being run with more than normal user-level privileges is a potential attack vector. If you run something that faces the public Internet, even if the service is considered "private", all data associated with the service, including plug-ins/add-ons should be owned by a normal user who doesn't have the ability to become the administrator, and it should run as that user if possible (with Minetest and Linux, this is of course quite trivial).
2. There are a few mods out there that need to write to or create files in their respective directories on occasion, and that can't happen if they're stored in a directory that's owned by the administrator.
I want bigger bags to cost a LOT more. Having to craft 1 big bag takes time and resources. Then you can feel good that you have a big bag while people who play less don't make one.
cornernote wrote:I want bigger bags to cost a LOT more. Having to craft 1 big bag takes time and resources. Then you can feel good that you have a big bag while people who play less don't make one.
I agree it shall cost more. But not in manner creatin all the time same items. Its annoyin just.
Use somethin more valuable and rarer than just wood.
uday6341 wrote:Hey dude, the mod seems to have an unsatisfied dependency which is "inventory_plus" is missing. wut i do i want this mod real bad.
Simple, what thats saying is you dont have inventory_plus mod installed, its telling you this mod has a dependency of another mod in this case inventory_plus. All you need to do is install the inventory_plus mod and then this mod will work, if you know a bit about coding you can change the dependency but easy way is to use the inventory_plus with this mod.
Running @1.19 MHz, 128 bytes of RAM and interchangeable 4kb ROM carts!
since this is a simple mod that I've been using on my worlds, I figured I'd pick this one up.
I've forked it at https://github.com/andersje/minetest-bags -- and preliminarily replaced the wood which is necessary for small bags with wool.
Suggestions welcome. Prestibags does look hella cool, tho.
I don't always test my code, but when I do, I test it in production.
I made minimal changes in the code for making trolleys. They have 32 slots. The trolleys are crafted with a stick middle/top row and 6 large bags under it (hoarders must pay a price).
I also tried to make the trolley texture in line with Tonyka's textures of the small, medium and large bag.
The changes and additions gain the same License as this mod. All credits for Cornernote and Tonyka.
would you like to commit this code to the git repo? I'd happily take a pull request, or if you just want to send me diffs, I can incorporate them. I like the idea of trolleys for complete hoarders ;)