-
Active Member
[Ez] PickItemPlugin
This plugin automatically picks nearby items, at a distance less than or equal to 15y (dist_Near), as long as you don't have the inventory open and your character's animation is equal to Idle (not moving, attacking etc). In addition, to avoid annoying loops, it will only try to pick up the item a limited number of times before discarding it.
In season it will not take Breaths or rare/magic/normal items if you have a pet and the altar completed. There is one exception: In Visions a will NEVER pick up rare/magic/normal items to focus on Legendaries, regardless of whether you're accompanied by a pet.
If you press F4 it will do 2 things: reset the number of attempts, and extend the distance to 55y (dist_Far). In this case, the plugin will ignore if the inventory is open. When there are no more items at that new distance, it will change to 15y (dist_Near) and will not work if inventory is open.
If you have the inventory open and press Control+F4, it will automatically throw some items on the ground to free up space so you can store more Legendaries. You will always get rid of the yellow ones and, in case you are playing in season and have the pet equipped (with the corresponding buff from the altar), or you are simply playing a vision, you will also throw the white and blue ones.

While you hold down the C key (KeyNoPick = Keys.C) it will not pick up items. It can be useful in visions with many goblins.
You can change the hotkeys that TH uses by default by editing config\hotkeys.xml
This plugin has been designed according to my own preferences and has only been tested with a screen resolution equal to 1920x1080 (and without Zoom). I will not make changes to its mode of operation, if you want to use it you must accept it as it is or make your own modifications.
It's automation, use it at your own risk.
Download => Plugins\Ez\PickItemPlugin.cs
Custom Code (PluginEnablerOrDisablerPlugin):
Code:
using SharpDX.DirectInput; // place at the beginning of the file
using System.Windows.Forms; // place at the beginning of the file
Hud.RunOnPlugin<Ez.PickItemPlugin>(plugin =>
{
plugin.Enabled = true;
plugin.dist_Near = 15; // pick auto
plugin.dist_Far = 55; // F4
plugin.KeyNoPick = Keys.C; // As long as you have this key pressed it will not pick up items // https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.keys
plugin.ToggleKeyEvent1 = Hud.Input.CreateKeyEvent(true, Key.F4, controlPressed: true, altPressed: false, shiftPressed: false); // Trhow
plugin.ToggleKeyEvent2 = Hud.Input.CreateKeyEvent(true, Key.F4, controlPressed: false, altPressed: false, shiftPressed: false); // Reset && Distance
} );
Last edited by EzGo; 06-07-2025 at 09:56 AM.
Reason: patched problem with Hud.Game.Me.Hero.Seasonal
-
Post Thanks / Like - 2 Thanks
-
Active Member
Updated: KeyNoPick added (default value Keys.C)
Last edited by EzGo; 02-16-2025 at 08:52 AM.
-
Post Thanks / Like - 1 Thanks
BeeAntOS (1 members gave Thanks to EzGo for this useful post)
-
Member
The mouse cursor keeps jumping back to the main display when attempting to pick items up. Is there a way to make it work on a secondary display?
-
Active Member
Originally Posted by
BombasticBoo
The mouse cursor keeps jumping back to the main display when attempting to pick items up. Is there a way to make it work on a secondary display?
I think it's already solved. Download the new file.
AlwaysActOne and RepairAndSalvagePlugin are also affected, both were updated.
Last edited by EzGo; 03-04-2025 at 02:39 AM.
-
Member
Greate plugin, im sorry to bother you. Could you please add a hotkey to only drop legendaries? for example Ctrl + F3
-
Member
hey, I was trying to use it but turbohud says can't read d3 memory. Could you sent me some link preferrably google drive link for turbohud version you are using, then I would use this plugin. Long time didn't play and was looking for thud with plugins.
Greetings
-
Member
i changed force move to 'space' when i move with space it won't pick how can i pick when i move with 'space'? the other plugin 'openandtake' don't have thie problem
Last edited by sedlick007; 05-08-2025 at 01:14 PM.
Reason: add somethings
-
Active Member
Originally Posted by
sandgrain2k
Greate plugin, im sorry to bother you. Could you please add a hotkey to only drop legendaries? for example Ctrl + F3
Aside from complicating the code, I don't think it's necessary: people tend to play seasons, and with a pet equipped and the corresponding altar nodes, the plugin pretty much rules out anything that isn't legendary. I also added the Ctrl + F4 hotkey combination to throw yellow, blue, and white.
Originally Posted by
sedlick007
i changed force move to 'space' when i move with space it won't pick how can i pick when i move with 'space'? the other plugin 'openandtake' don't have thie problem
I designed it that way on purpose. The PickItem plugin will only attempt to pick up items when your character's animation is "idle", this basically means that you are not moving or attacking. The purpose is that it doesn't interfere too much with what you're doing, that it doesn't hinder your actions. The idea is that if you want to pick up an item you stop near it for a very brief moment. ( .... yes, it requires some time to get used to).
You can remove this restriction by modifying line 171 and deleting the text I color red below, but I don't recommend it. In case you want to try it, I would advise you to significantly reduce the value of dist_Near.
Líne 171:
Code:
if (Hud.Game.CurrentRealTimeMilliseconds - MsPicked > 100 && !Hud.Input.IsKeyDown(KeyNoPick) && Hud.Window.IsForeground && Hud.Game.Me.AnimationState == AcdAnimationState.Idle && !Hud.Render.WorldMapUiElement.Visible)
Last edited by EzGo; 05-08-2025 at 06:16 PM.
-
Post Thanks / Like - 1 Thanks
sandgrain2k (1 members gave Thanks to EzGo for this useful post)
-
Member
A very useful plugin, can you add a hotkey switch that can control the transmission
-
Active Member
Hold C key => ignore near items, do not pick them up
or
assign dist_near the value 0 and you need to press F4 to pick up items that are at a distance less than dist_Far
-
Active Member
updated (Hud.Game.Me.Hero.Seasonal wrong)
-
Member
Does it not work on lightningmod 7.3? Even though I changed the cs file, it suddenly stopped working about 10 days ago.
-
Member
Originally Posted by
korqus
Does it not work on lightningmod 7.3? Even though I changed the cs file, it suddenly stopped working about 10 days ago.
The latest lightning mode now blocks all private plug-in... So anything we get from this forum won't work unless you pay...
-
Active Member
To get it working again in Lmod (paid, in the free version it is no longer possible), modify the following lines and change the word "PickItemPlugin" to any random word, the same one on both lines.
Line 12:
Code:
public class PickItemPlugin : BasePlugin, IItemPickedHandler, IAfterCollectHandler, INewAreaHandler, IKeyEventHandler
and Line 89
Code:
public PickItemPlugin()
In Turbo Hud Free it still works
-----
My motivation for creating and publishing these quality-of-life macros was to help make alternatives to LMOD like TurboHud Free more interesting and viable, as they don't include these kinds of features out of the box. I currently use TurboHud Free because I like the freedom of being able to configure and modify everything, plus it makes me nostalgic for the original program. Competition always benefits the end user: it motivates program authors to improve their programs and prevents them from gaining a dominant position that could tempt them to abuse it.
My opinion on LMOD is this: it's understandable that, if it offers a free version and macros are one of the incentives to pay, it has decided to block third-party macros. On the other hand, I would never agree to do the same with the paid version; it's a mistake to disadvantage paying customers and limit their freedom to use certain third-party plugins because they have similar functionality to an already included one.
The author of LMOD initially blocked the names of certain plugins, and days later, blocked the use of DLLImport in the free version, but without removing the initial block for paying users. This seems like a mistake to me. In any case, if you paid for LMOD, you only need to edit the file and change the name on two lines to any random name to avoid the block.
Link to TurboHud Free : TurboHUD Free
Last edited by EzGo; 06-21-2025 at 06:11 AM.
Reason: type
Inside us live two wolves in constant conflict. Which one will you feed today?
-
Post Thanks / Like - 2 Thanks
-
Member
Thanks for the reply. Is it possible to use the auto skill use feature in lightning mode in the free version you linked?