DBDEXPLOIT (02-01-2020),dreiker (11-12-2017),Moritzvon (11-13-2017),OriginAIO (11-12-2017),phaibooty (08-09-2018),RHmixar (08-04-2018),sharljimhtsin (11-13-2017),smokersix (11-12-2017),tual666 (04-26-2019),woshiyizi0800 (11-26-2017)
This is a fast loot script based on the one that "lefkas" posted before, but improved.
it may work for all resolutions and only on pubg, I couldn't test if someone get a problem feel free to ask me help.
Tutorial:
1 - Install AHK
2 - Create a AHK document
3 - take the code in this topic and put inside of the document
4 - save and open.
How to change hotkey?
1 - press ctrl + F
2 - insert "Change your hotkey here"
3 - you will see something like this:
Change "V" to whatever key you want, you can find a list in google. search for "ahk keylist" (I'm not allowed to post links)Code:~V:: ; Change your hotkey here
example (changed to T):
------------------------------------------------------------Code:~T:: ; Change your hotkey here
Script Code[FAST LOOT]:
known bugs:Code:#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #SingleInstance force ;It allows to run only one at the same time. SetTitleMatchMode, 2 ;Matching for window title. #ifwinactive, PLAYERUNKNOWN'S BATTLEGROUNDS ;Active only when in PUBG. activeMonitorInfo(X, Y, Width, Height) ; Get current resolution ;##################### ;# Fast Loot # ;##################### ~V:: ; Change your hotkey here if (isMouseShown() == true) { ScreenRatio := ((Width/Height) - 0.6) ModResX := (Width/1680) * ScreenRatio ModResY := (Height/1050) * ScreenRatio MouseClickDrag, Left, 88 * ModResX, 156*ModResY, 831* ModResX, 300*ModResY , 0 Sleep 1 MouseClickDrag, Left, 91* ModResX, 214*ModResY, 831* ModResX, 300*ModResY , 0 Sleep 1 MouseClickDrag, Left, 165* ModResX, 293*ModResY, 831* ModResX, 300*ModResY , 0 Sleep 1 MouseClickDrag, Left, 164* ModResX, 401*ModResY, 831* ModResX, 300*ModResY , 0 Sleep 1 } Sleep 15 return isMouseShown() { StructSize := A_PtrSize + 16 VarSetCapacity(InfoStruct, StructSize) NumPut(StructSize, InfoStruct) DllCall("GetCursorInfo", UInt, &InfoStruct) Result := NumGet(InfoStruct, 8) if Result > 1 Return true else Return false } ;########################## ;# Get Resolution # ;########################## activeMonitorInfo( ByRef X, ByRef Y, ByRef Width, ByRef Height ) { ; Retrieves the size of the monitor, the mouse is on CoordMode, Mouse, Screen MouseGetPos, mouseX , mouseY SysGet, monCount, MonitorCount Loop %monCount% { SysGet, curMon, Monitor, %a_index% if ( mouseX >= curMonLeft and mouseX <= curMonRight and mouseY >= curMonTop and mouseY <= curMonBottom ) { X := curMonTop y := curMonLeft Height := curMonBottom - curMonTop Width := curMonRight - curMonLeft return } } }
- sometimes mouse pointer appears in your screen ( for now just press esc to fix)
video:
https:/tu.be/e9lt_tlvpls
Last edited by ninjaman4bit; 11-12-2017 at 01:32 PM.
DBDEXPLOIT (02-01-2020),dreiker (11-12-2017),Moritzvon (11-13-2017),OriginAIO (11-12-2017),phaibooty (08-09-2018),RHmixar (08-04-2018),sharljimhtsin (11-13-2017),smokersix (11-12-2017),tual666 (04-26-2019),woshiyizi0800 (11-26-2017)
So this is just to pick up everything laying on the Ground near to you?
What if i only need specific things?
I'll help you later, I can't fix now. just wait
- - - Updated - - -
I can create a version for specific things, but this one is more like to places when you jump with other people and you need to pick up items faster.
- - - Updated - - -
I'll be right back in some hours to fix it
actac120 (11-12-2017)
did not work, gave this error.
https://prntscr.com/h9fz4t
this work brutal fine but only pick down items and necesary items :O for my work fine thx for this release
If i press V i switch between first and third person mode. Then i changed ahk to G and this also doesn't work.
Doesn't work on 1920*1080, seems to pickup third item and below.
hi there should be a space between this symbol ";" and the "#NoEnv".
like this:
just try to copy and paste the code againCode:#NoEnv ;Recommended for performance and compatibility with future AutoHotkey releases.
- - - Updated - - -
Code Updated, try this one and tell me if it works:
- - - Updated - - -Code:#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #SingleInstance force ;It allows to run only one at the same time. SetTitleMatchMode, 2 ;Matching for window title. #ifwinactive, PLAYERUNKNOWN'S BATTLEGROUNDS ;Active only when in PUBG. activeMonitorInfo(X, Y, Width, Height) ; Get current resolution ;##################### ;# Fast Loot # ;##################### ~V:: ; Change your hotkey here if (isMouseShown() == true) { ScreenRatio := ((Width/Height) - 0.6) ModResX := (Width/1680) * ScreenRatio ModResY := (Height/1050) * ScreenRatio MouseClickDrag, Left, 88 * ModResX, 156*ModResY, 831* ModResX, 300*ModResY , 0 Sleep 1 MouseClickDrag, Left, 91* ModResX, 214*ModResY, 831* ModResX, 300*ModResY , 0 Sleep 1 MouseClickDrag, Left, 165* ModResX, 293*ModResY, 831* ModResX, 300*ModResY , 0 Sleep 1 MouseClickDrag, Left, 164* ModResX, 401*ModResY, 831* ModResX, 300*ModResY , 0 Sleep 1 } Sleep 15 return isMouseShown() { StructSize := A_PtrSize + 16 VarSetCapacity(InfoStruct, StructSize) NumPut(StructSize, InfoStruct) DllCall("GetCursorInfo", UInt, &InfoStruct) Result := NumGet(InfoStruct, 8) if Result > 1 Return true else Return false } ;########################## ;# Get Resolution # ;########################## activeMonitorInfo( ByRef X, ByRef Y, ByRef Width, ByRef Height ) { ; Retrieves the size of the monitor, the mouse is on CoordMode, Mouse, Screen MouseGetPos, mouseX , mouseY SysGet, monCount, MonitorCount Loop %monCount% { SysGet, curMon, Monitor, %a_index% if ( mouseX >= curMonLeft and mouseX <= curMonRight and mouseY >= curMonTop and mouseY <= curMonBottom ) { X := curMonTop y := curMonLeft Height := curMonBottom - curMonTop Width := curMonRight - curMonLeft return } } }
yeah you need to change the key, in my case I tought that change the third person key was better, because V is easier to use for me.
- - - Updated - - -
pls try now and tell me if it work (new code)
- - - Updated - - -
oh maybe is your screen resolution, the code wasn't working good for all resolutions. try now I changed the code. if it still doesn't work I'll need to do it different in an not automatic way.