Search found 129 matches
- Mon Oct 21, 2013 15:22
- Forum: WIP Mods
- Topic: meta data help
- Replies: 54
- Views: 9139
- Sat Oct 19, 2013 23:33
- Forum: WIP Mods
- Topic: meta data help
- Replies: 54
- Views: 9139
- Sat Oct 19, 2013 19:18
- Forum: WIP Mods
- Topic: meta data help
- Replies: 54
- Views: 9139
- Sat Oct 19, 2013 11:25
- Forum: WIP Mods
- Topic: meta data help
- Replies: 54
- Views: 9139
I tried my code as single mod, so put this code in a init.lua in a new folder within the mod directory. It was for testing purpose and not to show you an entire ready-to-use function. Also, as i mentioned, this was only a testcode and was done with the unified_inventory:small_bag just to have an ite...
- Fri Oct 18, 2013 19:11
- Forum: WIP Mods
- Topic: meta data help
- Replies: 54
- Views: 9139
Im sorry, but im afraid that i am right. The inventory you were trying to access is not within the players object reference. Try this code, it worked local. As i said, better read through the lines carefully: --[[ Code example to show how to erase the bag from the bag slot of the unified inventory ]...
- Fri Oct 18, 2013 16:05
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 573081
- Fri Oct 18, 2013 16:03
- Forum: WIP Mods
- Topic: meta data help
- Replies: 54
- Views: 9139
And thats what i meant by my previous post. You are currently working on the 'bagcontents' itself and want to delete the bag as a item from the inventory slot shown in the unified inventory when clicking on the Bag icon in the bottom. While your metadata code works well, since you are in the correct...
- Thu Oct 17, 2013 21:25
- Forum: WIP Mods
- Topic: meta data help
- Replies: 54
- Views: 9139
Im sorry, my bad. Got the wrong case. Anyway, i read a bit through the unified inventory and stumbled over something. You tried to access the inventory list bag1 from the player inventory. But it seems the bags themself are not stored as bag1 bag2 bagn [..] but within the inventory list '<player nam...
- Thu Oct 17, 2013 17:32
- Forum: WIP Mods
- Topic: meta data help
- Replies: 54
- Views: 9139
I suggest that you set some debug info. Like what name is printing 'suitcase_name'. It might be possible that you are even getting a nil value here, if your bag has more than one inventory slot and you didn't put the item in the first index. Since thats the only indexing your asking for in your code.
- Wed Oct 16, 2013 16:54
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 573081
- Mon Oct 14, 2013 23:35
- Forum: Problems
- Topic: Error Ocurrede in server
- Replies: 7
- Views: 948
Github link to API doc
allow_metadata_inventory_put = func(pos, listname, index, stack, player),
^ Called when a player wants to put something into the inventory
^ Return value: number of items allowed to put
^ Return value: -1: Allow and don't modify item count in inventory
allow_metadata_inventory_put = func(pos, listname, index, stack, player),
^ Called when a player wants to put something into the inventory
^ Return value: number of items allowed to put
^ Return value: -1: Allow and don't modify item count in inventory
- Sun Oct 13, 2013 18:13
- Forum: Servers
- Topic: PVP Server reccomendation
- Replies: 3
- Views: 1215
- Sat Oct 12, 2013 20:47
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 573081
Hey guys, i totally stuck on this problem and finally decided to ask here in the forum. Its about this: I wanted to create a furnace which is not working with ABMs too make sure that server lags are causing to much of time loss as well as having a furnace which is capable of working even when the ch...
- Sat Oct 12, 2013 10:55
- Forum: Mod Releases
- Topic: [MOD] voltbuild, a fork of itest [voltbuild]
- Replies: 77
- Views: 24430
Great work up to now, even though i had some problems with a slightly older version of yours getting to work. Maybe im a bit too used to technic for that. Anyway i like that this mod nearly has no dependencies and just include them as optional. But i didn't get to test something and would like to kn...
- Mon Oct 07, 2013 18:06
- Forum: Problems
- Topic: Help, Minetest Error Message
- Replies: 12
- Views: 2967
- Mon Oct 07, 2013 17:39
- Forum: Mod Releases
- Topic: [Mod] Technic [0.4.16-dev] [technic]
- Replies: 1612
- Views: 644953
jeffrash, please check our server topic. trukoil and several other members mentioned that the conversion works, but: a) Is not shown with any values within the switching station b) MV battery boxes are not charging and not charging contents in it So if you just want to use for example the workshop o...
- Sat Oct 05, 2013 19:17
- Forum: Problems
- Topic: Help, Minetest Error Message
- Replies: 12
- Views: 2967
- Sun Sep 29, 2013 09:40
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 573081
- Sun Sep 29, 2013 06:22
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 573081
- Sat Sep 28, 2013 15:13
- Forum: Servers
- Topic: Server help
- Replies: 3
- Views: 878
You know, it would help to start reading: Forums thread about server creation I also suggest to read through the wiki and through the forum. There are tons of topics about this. And always opening a new one is about of head pain cause it just shows that another newbie wants only to set up his own se...
- Sat Sep 28, 2013 12:37
- Forum: Problems
- Topic: Wierd behaviour of water
- Replies: 5
- Views: 1105
- Sat Sep 28, 2013 01:03
- Forum: Mod Releases
- Topic: [Mod] Advanced area protection [areas]
- Replies: 218
- Views: 130739
A few things i would like to mention too: ( i didn't take a closer look into your code ) Keep in mind what TNT and Technic stuff does. On landrush we fixed already problems with TNT (somehow) and the screwdriver which had a really annoying security issue. But still the problem with constructers rema...
- Thu Sep 26, 2013 00:35
- Forum: Mod Releases
- Topic: [Mod] Land Rush [landrush]
- Replies: 48
- Views: 30040
First suggestions:
Did you installed the money2 mod?
Did you tried to
Did the rest of the mod loaded as expected?
Instead of just saying 'It doesn't work', better supply as much
information as possible. Just saying
Did you installed the money2 mod?
Did you tried to
Code: Select all
/giveme landrush:sale_block
Instead of just saying 'It doesn't work', better supply as much
information as possible. Just saying
- Wed Sep 25, 2013 19:11
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 573081
- Tue Sep 24, 2013 19:51
- Forum: Modding Discussion
- Topic: Post your modding questions here
- Replies: 4208
- Views: 573081
Hey everybody, a little question, since i couldn't find anything related to that. Is it possible to run Lua Code Ingame with the minetest namespace? Like opening a formspec, type in your code and execute it. It would increase the development of formspec design for example a bit ( at least for me ). ...