-
Originally Posted by
Sharps
Still getting the error. Why did you move from ahk to autoit btw ?
Your game is open when you are trying to start the script, correct? That is what other guy said his issue was from my understanding.
I am more familiar with autoit, I only edited the other autohotkey script because it was already done and there is no sense reinventing the wheel.
I couldn't stand how slow it was, or how sloppy the code looked so after I spent hours fixing it up I figured I may as well share it.
-
I tried doing this a while back with ahk, the performance was more or less alright but still not enough to feel great. Also hated the part where items closest to the top left corner would get picked up first.
Here it is if anyone's interested.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey re - Pastebin.com
-
Post Thanks / Like - 2 Thanks
wannac,
miracle1 (2 members gave Thanks to Sharps for this useful post)
-
Active Member
Originally Posted by
Sharps
Thank you,it work great for me.not feel much different from hud plugin,only downside is one color for item filter
-
You could replace the return under "if ErrorLevel" with another pixelsearch command with another color, not sure how much that would impact the performance.
-
Active Member
Originally Posted by
Sharps
This one works better than OP's
-
Originally Posted by
miracle1
This one works better than OP's
Does not work at all for me for some reason, coding looks fine and all but does nothing ingame.
Like i said this is why I went with autoit because AHK is a pain in my ass
Edit: It will attempt to click on an item if the game window is not active, if the window is active it does nothing.
I assume this is a color issue, as I said earlier it changes when the game is active or not.. however using the active hex code does not seem to work either.
If I can get it working smoothly I can just add it in to the autopot script.
Also, that script requires you to hold down a hotkey for looting, mine is automatic, although the one above could be edited to work the same way depending on what people prefer.
Last edited by naut333; 07-30-2018 at 04:07 PM.
-
Active Member
Originally Posted by
naut333
Does not work at all for me for some reason, coding looks fine and all but does nothing ingame.
Like i said this is why I went with autoit because AHK is a pain in my ass

Tried with wisdom scroll, both works w/o any problem.
Code:
Show # $Currency->Scroll->Portal %RF1 %H2 %TB-Currency-T8
Class Currency
BaseType "Scroll of Wisdom"
SetFontSize 38
SetTextColor 1 202 1 255 # TEXTCOLOR: Currency Cosmetic 2
SetBorderColor 0 0 0 255 # BORDERCOLOR: Wisdom
SetBackgroundColor 0 0 0 255 # BACKGROUND: Neutral T2
-
Why would you want automatic looting ? Item drops mid boss fight and you rush to pick it up in the middle of the fight ? OG Pickit had a hotkey too.
-
Originally Posted by
Sharps
Why would you want automatic looting ? Item drops mid boss fight and you rush to pick it up in the middle of the fight ? OG Pickit had a hotkey too.
I prefer saving myself the effort and it doesn't really bother me during fights, but that is just me personally. To each their own, no need to be hostile about it.
Original post edited with a new version with a few improvements.
Source code edited.
F6 - Pause will no longer create a messagebox. Will now silently pause, upon pressing F6 again the script will unpause. This is much more convenient then the original code.
F8 - ini will now properly update with 0x in front of the hex value, user no longer needs to edit this themselves. Now works as intended.
Delays increased to be less "spammy", again this can be edited under clickspeed in the ini file.
Removed x86 and x64 downloads and combined them into one.
Added a hotkey version as it seemed that was desired. With this version you need to press/hold spacebar to loot.
Last edited by naut333; 07-30-2018 at 04:35 PM.
-
Member
Holy shit, works great! Changed my filter and it works perfect man. Again thank you Naut.
-
Combined the autoloot and hotkey versions into one script.
By default Press/Hold Spacebar to loot.
If you wish to enable autolooting, press Ctrl+Spacebar. You can press Ctrl + Spacebar again to disable autolooting and revert to Press/Hold mode.
-
Member
Thanks for the work! Autoloot is the only thing I need in the game, gonna try it. the only question - can I rebind the key? I use space already ingame.
-
Member
Ok, not working for me. I changed BG, BG and border, all colors. Followed the instruction - nothing. the mouse just moves into a random place.
Also the app crashes with ctrl=space (autoloot) each time, both 32 and 64bit. game in FS-windowed, tried just windowed.
-
Originally Posted by
aka1g
Ok, not working for me. I changed BG, BG and border, all colors. Followed the instruction - nothing. the mouse just moves into a random place.
Also the app crashes with ctrl=space (autoloot) each time, both 32 and 64bit. game in FS-windowed, tried just windowed.
You must have made an error when getting your hex color code, make sure to follow the instructions exactly, specifically that the window cannot be maximized when you get the color code.
There is no reason ctrl-space should be crashing your app unless conflicting with something completely unrelated to this script. The code is in the second post, you are welcome to change the hotkey if you wish.. but sorry I will not get into doing requests like that for people as it will never end if I start.
-
Member
can someone share usable filter for this awesome tool?