TalkingOutdatedFast Loot [ALL RESOLUTIONS][FASTER]

Posts 115 of 137 · Page 1 of 10
Fast Loot [ALL RESOLUTIONS][FASTER]
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:
Code:
~V:: ; Change your hotkey here
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)
example (changed to T):
Code:
~T:: ; Change your hotkey here
------------------------------------------------------------
Script Code[FAST LOOT]:

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
			}
		}
}
known bugs:

- sometimes mouse pointer appears in your screen ( for now just press esc to fix)


video:
nice. i will try it.
so thank
Quote Originally Posted by actac120 View Post
nice. i will try it.
so thank
ok, tell me if it worked
Quote Originally Posted by ninjaman4bit View Post
ok, tell me if it worked
i dont know how but it's not work with me. i had changed V to T and in game when i put T, it's not work..
Quote Originally Posted by actac120 View Post
i dont know how but it's not work with me. i had changed V to T and in game when i put T, it's not work..
I'll help you later, I can't fix now. just wait

- - - Updated - - -

Quote Originally Posted by xGreeD View Post
So this is just to pick up everything laying on the Ground near to you?

What if i only need specific things?
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 - - -

Quote Originally Posted by junkush View Post
Not working with 1920*1080
I'll be right back in some hours to fix it
So this is just to pick up everything laying on the Ground near to you?

What if i only need specific things?
Not working with 1920*1080
Quote Originally Posted by dreiker View Post
did not work, gave this error.
http://prntscr.com/h9fz4t
hi there should be a space between this symbol ";" and the "#NoEnv".
like this:
Code:
#NoEnv  ;Recommended for performance and compatibility with future AutoHotkey releases.
just try to copy and paste the code again

- - - Updated - - -

Quote Originally Posted by MasterDMFourr View Post
Doesn't work on 1920*1080, seems to pickup third item and below.
Code Updated, try this one and tell me if it works:

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
			}
		}
}
- - - Updated - - -

Quote Originally Posted by hackyoshi View Post
u neeed change the key ...
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 - - -

Quote Originally Posted by junkush View Post
Not working with 1920*1080
pls try now and tell me if it work (new code)

- - - Updated - - -

Quote Originally Posted by UnDeRc0vEr View Post
I already wrote that i changed the key. But it is still the same
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.
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.
Quote Originally Posted by UnDeRc0vEr View Post
If i press V i switch between first and third person mode. Then i changed ahk to G and this also doesn't work.
u neeed change the key ...
Doesn't work on 1920*1080, seems to pickup third item and below.
Quote Originally Posted by hackyoshi View Post
u neeed change the key ...
I already wrote that i changed the key. But it is still the same
Posts 115 of 137 · Page 1 of 10
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?