[Mod] Minecraft like item drop/pick up [item_drop]
So how does one remove this mod? I tried deleting mod folder and restarting server (many times since removal of folder) and item drop still happens.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
-
- Member
- Posts: 14
- Joined: Mon Nov 05, 2012 13:52
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Done: https://github.com/PilzAdam/item_drop/c ... e8c999e255restcoser wrote:I changed the mod for me to have a gain of 0.4, seems much better, could it be modified in the original as well?
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
The globalstep function handles the pickup and the handle_node_drops() function does the drop.Mito551 wrote:excuse me, what part of code does the dig-drop part and what part does the pickup part?
Last edited by PilzAdam on Wed Apr 10, 2013 16:13, edited 1 time in total.
PilzAdam wrote:The globalstep function handles the pickup and the handle_node_drops() function does the drop.Mito551 wrote:excuse me, what part of code does the dig-drop part and what part does the pickup part?
thank you! so that means if i comment out the handle_node_drops() function, i will be picking up stuff which is on the floor already, but getting it directly in my inventory if i dig a node?
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Yes.Mito551 wrote:PilzAdam wrote:The globalstep function handles the pickup and the handle_node_drops() function does the drop.Mito551 wrote:excuse me, what part of code does the dig-drop part and what part does the pickup part?
thank you! so that means if i comment out the handle_node_drops() function, i will be picking up stuff which is on the floor already, but getting it directly in my inventory if i dig a node?
-
- Member
- Posts: 130
- Joined: Mon May 06, 2013 04:11
this does not work for somereason it doesn't load and now none of my mods in the folder are loading
nvm about me leaving minetest but i probably will for a while because i have nothing to do in this comunity becaise i can't make a server. my username is going to change i will make a new acount called stormchaser3000
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Can you give more information about the error? (http://forum.minetest.net/viewtopic.php?id=5073)ndjdjksisksk wrote:this does not work for somereason it doesn't load and now none of my mods in the folder are loading
Also make sure to rename the folder from "item_drop-master" (or whatever name github gave the file) to "item_drop".
-
- New member
- Posts: 2
- Joined: Wed Aug 07, 2013 13:51
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
viewtopic.php?id=6450wenLiangcan wrote:Failed to load and run under 0.4.7
http://i.imgur.com/491Jwx2.png?2
Rename the mod to "item_drop".
-
- New member
- Posts: 2
- Joined: Wed Aug 07, 2013 13:51
Thanks, it works now.PilzAdam wrote:viewtopic.php?id=6450wenLiangcan wrote:Failed to load and run under 0.4.7
Rename the mod to "item_drop".
- onpon4
- Member
- Posts: 518
- Joined: Thu Mar 21, 2013 01:54
- GitHub: onpon4
- In-game: diligentcircle
- Contact:
There's a typo in line 58 of init.lua:
It should be:
This causes the server to crash if it gets to that point.
Code: Select all
bject:get_luaentity().physical_state = true
Code: Select all
object:get_luaentity().physical_state = true
Last edited by onpon4 on Thu Sep 12, 2013 03:59, edited 1 time in total.
My website: https://onpon4.github.io
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Fixed.onpon4 wrote:There's a typo in line 58 of init.lua:
It should be:Code: Select all
bject:get_luaentity().physical_state = true
This causes the server to crash if it gets to that point.Code: Select all
object:get_luaentity().physical_state = true
- MirceaKitsune
- Member
- Posts: 937
- Joined: Sat May 21, 2011 22:31
- GitHub: MirceaKitsune
- IRC: Taoki
- In-game: MirceaKitsune
- Location: Romania, Bucharest
Re: [Mod] Minecraft like item drop/pick up [item_drop]
I checked out the latest GIT version, and found an obvious problem: You can no longer drop items, because they're picked back up immediately after leaving your inventory. Can some sort of cooldown be added, so items can only be picked up a second after their entity appears in-world?
Who is online
Users browsing this forum: Bing [Bot], Lars and 12 guests