rodin

Auto-pot for Quicksilver Flasks

Recommended Posts

immo    216

And you entered that value (0x2A3D63) into the script at the correct location?!  So line 6 of the script should look like the following for you:

_outOfTown = 0x2A3D63                         ; In order to get your correct Pixelcolor please press F5

after you edited the script correctly you saved & restarted it and pressed F9 to start it?!

And still the script tries to use flasks in town?

Share this post


Link to post
Share on other sites
benis    2

And you entered that value (0x2A3D63) into the script at the correct location?!  So line 6 of the script should look like the following for you:

_outOfTown = 0x2A3D63                         ; In order to get your correct Pixelcolor please press F5

after you edited the script correctly you saved & restarted it and pressed F9 to start it?!

And still the script tries to use flasks in town?

 

I got the wrong line. Now everything seems to be working. Thank you!

  • Upvote 1

Share this post


Link to post
Share on other sites
immo    216

Now everything seems to be working. Thank you!

 

Finally!! Thank you so much!

 

Exactly this issue already had ~5 people and each time I've posted exactly this (obviously working) solution - at last one has managed to put them into practice.

 

If you permanently have the feeling that you are talking against a wall, suxx...
 
No offense benis, but thanks again for simply being clever after failing! ;)

Share this post


Link to post
Share on other sites
stef    26

So if my maurauder don't use any aura (Blood Magic enabled) I cannot use that script? :(

why is that? its a script for the quicksilver flask (faster running), has nothing to do with char type or aura :mrgreen:

Share this post


Link to post
Share on other sites
Sicnarf    0

why is that? its a script for the quicksilver flask (faster running), has nothing to do with char type or aura :mrgreen:

 

In the step, it asks us to use an image searcher to find an aura so the program knows that we are in town instead of in a field. That's why he's talking about hatred everywhere in his original post.

Share this post


Link to post
Share on other sites
7heend    1

script already checks if the char is inside a town or not!

 

Everything what been told in this thread, i've been done, but nothing helps, script keeps spamming flasks in town. Library, same colors as @benis.

 

Color is

_outOfTown = 0x2A3D63  

Share this post


Link to post
Share on other sites
immo    216

windowed mode 800x600?

to be 100% sure please post your complete script here again... (please use code & spoiler tags :D)

Share this post


Link to post
Share on other sites
7heend    1

Sorry for delayed answer.


; User Config
_name_poe_win = Path of Exile ; Name of the window when you run game exe
_qsDuration = 7 ; enter your Quicksilver Flask duration !in seconds!
_firstQuicksilver = 3 ; inGame Hotkey for your first Quicksilver Flask
_secondQuicksilver = 4 ; inGame Hotkey for your second Quicksilver Flask
_thirdQuicksilver = 5 ; inGame Hotkey for your third Quicksilver Flask
_outOfTown = 0x2A3D63 ; In order to get your correct Pixelcolor please press F5
; !!! before pressing F5 make sure your character is currently not in any town! (you must be able to use a skill) !!!
 
; some needed calculations
_qsDurationTrue := (_qsDuration * 1000) + 250
 
; introduction
TrayTip, QS-Script loaded!, Options:`n> F8: Get the needed Pixelcolor!`n> F9: Start the Script (if already configured correctly)! , 2, 2
Pause On
 
; Main loop for activating the Quicksilver Flask
loop
{
 
IfWinActive, %_name_poe_win%
{
PixelSearch, Px, Py, 655, 582, 655, 582, %_outOfTown%, 0, Fast
If Errorlevel = 1
Sleep 100
Else
{
PixelSearch, Px, Py, 5, 25, 210, 60, 0xEFFF10, 0, Fast
If Errorlevel = 0
Sleep 100
Else
{
Send {%_firstQuicksilver%}
Sleep %_qsDurationTrue%
PixelSearch, Px, Py, 655, 582, 655, 582, %_outOfTown%, 0, Fast
If Errorlevel = 0
{
Send {%_secondQuicksilver%}
Sleep %_qsDurationTrue%
PixelSearch, Px, Py, 655, 582, 655, 582, %_outOfTown%, 0, Fast
If Errorlevel = 0
{
Send {%_thirdQuicksilver%}
Sleep %_qsDurationTrue%
 
}
}
else
{
sleep 100
}
}
}
    }
}
 
; get the needed pixel color for checking if in town or not
F8::
WinActivate, %_name_poe_win%
PixelGetColor, color, 655, 582
_outOfTown = %color%
TrayTip, Individual Pixelcolor found!, Define ''_outOfTown'' by using this color:`n`n                >>               %color%               <<`n`nBut for this time you can simply press F9 to start the script... , 10, 1
return
 
; Simple Pause/Unpause Function
F9::
if A_IsPaused
{
Pause off
TrayTip, QS-Script unpaused!, 1, 2
}
else
{
TrayTip, QS-Script paused!, Press F9 to resume... , 1, 2
Pause On
}
return
 
; Exitfunction
F10::
TrayTip, , terminating QS-Script! , 2.5
sleep 3000
ExitApp
return 

 

Share this post


Link to post
Share on other sites
7heend    1

And it's windowed, yes.

 

mhmm what pixelcolor do you get in town and what color when in the City of Sarn?

 

Same color for town & library -

0x2A3D63
Edited by 7heend

Share this post


Link to post
Share on other sites
immo    216

that's the problem... this normaly should be two different colors! try another location like city of Sarn please

Share this post


Link to post
Share on other sites
immo    216

So, you don't know what's the problem?

 

I think i have fixed it... 

In some VMwares is the position of the checked pixelcolor different then without the use of VMware. Thats why the original Script checked the wrong location for the wrong pixelcolor! ;) For all users who previously encountered the problem that the script could not distinguish between Town and Map, this "VMware-Edition" should fix all Errors!

 

;   ,----------------------------.
;  | PoE AutoQuicksilver by immo! |
;   `----------------------------´
;
; This script can be found here:
; https://exiled-bot.net/community/index.php/topic/1344-auto-pot-for-quicksilver-flasks/#entry8831
; If you have any questions or comments please post them there as well. I wont do any support via PM! Use the Thread.
; If you think you can help improve this project - I am looking for contributors! So PM me if you think you can help.
;
; Version: v1.7f (VMware_only)
; !USE THIS VERSION ONLY WHEN GETTING THE SAME PIXELCOLOR AT ALL LOCATIONS (TOWN/MAP)!
;
; In some VMwares is the position of the checked pixelcolor different then without the use of VMware. Thats why the
; original Script checked the wrong location for the wrong pixelcolor! ;)
; For all users who previously encountered the problem that the script could not distinguish between Town and Map, this
; "VMware-Edition" should fix all Errors!

; User Config

_name_poe_win = Path of Exile		; Name of the window when you run game exe
_qsDuration = 6				; enter your Quicksilver Flask duration !in seconds!
_firstQuicksilver = 4				; inGame Hotkey for your first Quicksilver Flask
_secondQuicksilver = 5			; inGame Hotkey for your second Quicksilver Flask
_outOfTown = 0x015C93			; In order to get your correct Pixelcolor please press F5
							; !!! before pressing F5 make sure your character is currently not in any town! (you must be able to use a skill) !!!

; some needed calculations
_qsDurationTrue := (_qsDuration * 1000) + 250

; introduction
TrayTip, QS-Script loaded!, Options:`n> F8: Get the needed Pixelcolor!`n> F9: Start the Script (if already configured correctly)!`n> F10: Quits the script! , 2, 2
Pause On

; Main loop for activating the Quicksilver Flask (VMware only EDITION!)
loop
{

	IfWinActive %_name_poe_win% ahk_class Direct3DWindowClass
	{
		PixelSearch, Px, Py, 656, 563, 656, 563, %_outOfTown%, 0, Fast
		If Errorlevel = 1
			Sleep 100
		Else
		{
			PixelSearch, Px, Py, 5, 25, 340, 60, 0x58AD2C, 0, Fast
			If Errorlevel = 0
				Sleep 100
			Else
			{
				SendMode Input
				IfWinActive %_name_poe_win% ahk_class Direct3DWindowClass
				SendInput {NumpadEnter}/oos{NumpadEnter}
				Send {Raw}%_firstQuicksilver%
				Sleep %_qsDurationTrue%
				PixelSearch, Px, Py, 656, 563, 656, 563, %_outOfTown%, 0, Fast
				If Errorlevel = 0
				{
					IfWinActive %_name_poe_win% ahk_class Direct3DWindowClass
					SendInput {NumpadEnter}/oos{NumpadEnter}
					Send {Raw}%_secondQuicksilver%
					Sleep %_qsDurationTrue%
				}
				else
				{
					sleep 100
				}
			}
		}
	}
	else
	{
		TrayTip, PoE is not your active window!, This Spam continues until you switch to PoE... , 1, 2
	}

}

; get the needed pixel color for checking if in town or not! VMware only EDITION!
F8::
	WinActivate, %_name_poe_win%
	PixelGetColor, color, 656, 563
	_outOfTown = %color%
	TrayTip, Individual Pixelcolor found!, Define ''_outOfTown'' by using this color:`n`n                >>               %color%               <<`n`nBut for this time you can simply press F9 to start the script... , 10, 1
return

; Simple Pause/Unpause Function
F9::
	if A_IsPaused
	{
		Pause off
		TrayTip, QS-Script unpaused!, ,1, 2
	}
	else
	{
		TrayTip, QS-Script paused!, Press F9 to resume... , 1, 2
		Pause On
	}
return

; Exitfunction
F10::
	TrayTip, , terminating QS-Script! , 2.5
	sleep 3000
	ExitApp
return  

 

The script works exactly the same way as the original does! So you still need to reveal the needed pixelcolor outside of a town, Just that you now should get two different pixelcolors :P

Hope this will fix all existing errors with my script for you & for the others who had this problem. If so let me know!

 

Btw. Since when always having a QuicksilverFlask up, you'll get desynct even faster, thats why i also added the continuous sending of the "/oos" command! Just in case you're wondering where the /oos comes from when pressing up in the Chatwindow ;)

Edited by immo
  • Upvote 1

Share this post


Link to post
Share on other sites
immo    216

so,.no auras no working script?

 

mine is working without any auras (and of course it's working if you have any auras too)

Share this post


Link to post
Share on other sites
immo    216

Currently I am reworking the Quicksilver script from scratch. The past has taught me that different systems exhibit different pixelcolor locations.Thats why i am looking for someone who would like to help me testing the new script a bit. That is why I am looking for someone to help me a little while to test the script. I hope therefore to be able to eliminate these problems in advance.

 

If anyone is interested drop me a PM!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now