Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Path of Exile: Chicken Script (Don't Die in Hardcore/Invasion) Any Resolution - 03.04.2014


  • Please log in to reply
53 replies to this topic
Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

Chicken Script 2.0 (03.04.2014)

Works with any Resolution

 

Any Resolution Chicken Script (HP Based | Updated 03.04.2014)

 

Any Resolution Chicken Script (Shield Based | Updated 03.04.2014)

 

Includes F1 Instant Logout + Ctrl-X /oos + Alt-C /itemlevel

#IfWinActive, Path of Exile
menu, tray, add 
menu, tray, add, Windowed (Borders), Border
menu, tray, add, Windowed (Borderless), Borderless
Menu, Tray, Tip, PoE Chicken Script v2.0`nMade by Sanctus
Menu, Tray, Icon, Images\ChickenOff.ico
;i = bordertop+bottom, j = borderleft+right, l=bordertop, k=borderleft
toggle = 0
IniRead, i, borderonoff.ini, border, i
IniRead, j, borderonoff.ini, border, j
IniRead, k, borderonoff.ini, border, k
IniRead, l, borderonoff.ini, border, l
return

F1::
WinGetPos,,, w, h, A
SendInput, 1112345
SendInput, {Esc}
MouseClick, Left, % Round(962 / (1920 / (w - i))) + l, % Round(432 / (1080 / (h - j))) + k, Fast
return

F4::
WinGetPos,,, w, h, A
HX := % Round(127 / (1920 / (w - i))) + l
HY := % Round(983 / (1080 / (h - j))) + k
CX := % Round(16 / (1920 / (w - i))) + l
CY := % Round(882 / (1080 / (h - j))) + k
PixelGetColor, hpcolor , %HX%, %HY%
PixelGetColor, hpcolorrgb , %HX%, %HY%, RGB
PixelGetColor, chaticon , %CX%, %CY% 
PixelGetColor, chaticonrgb , %CX%, %CY%, RGB
OBX := % Round(4 / (1920 / (w - i))) + l
OBY := % Round(873 / (1080 / (h - j))) + k
OBXX := % Round(25 / (1920 / (w - i))) + l
OBYY := % Round(894 / (1080 / (h - j))) + k
DHX := % Round(60 / (1920 / (w - i))) + l
DHY := % Round(872 / (1080 / (h - j))) + k
DHXX := % Round(170 / (1920 / (w - i))) + l
DHYY := % Round(972 / (1080 / (h - j))) + k
HQX := % Round(60 / (1920 / (w - i))) + l
HQY := % Round(872 / (1080 / (h - j))) + k
HQXX := % Round(170 / (1920 / (w - i))) + l
HQYY := % Round(991 / (1080 / (h - j))) + k

gui, new
gui, Default
gui, +LastFound +LabelMyGui
gui, add, groupbox, w205 h100, Colors found:
gui, add, text, yp+25 xp+10, ChatIcon Color:
gui, add, Progress, xp+80 yp-5 w100 h20 c%chaticonrgb%,100
gui, add, text, yp+25 xp-80, HP Color:
gui, add, Progress, xp+80 yp-5 w100 h20 c%hpcolorrgb%,100
gui, add, button, xp-80 yp+25 w25 h25 gDone, OK
gui, show,, Chicken Script Activated
Menu, Tray, Icon, Images\ChickenOn.ico
Loop {
IfWinActive, Path of Exile
{
	;Find the Orange chat Icon (makes sure you are on a character)
	PixelSearch, FoundoX, FoundoY, %OBX%, %OBY%, %OBXX%, %OBYY%, %chaticon%, 10, Fast
	if ErrorLevel = 0
	{
		;Just under 50% start drinking pots
		PixelSearch, FoundhX, FoundhY, %DHX%, %DHY%, %DHXX%, %DHYY%, %hpcolor%, 10, Fast
		if ErrorLevel = 1
		{
			SendInput, 12345
		}
		;If HP goes to 35%~ or below quit
		PixelSearch, FoundhX, FoundhY, %HQX%, %HQY%, %HQXX%, %HQYY%, %hpcolor%, 10, Fast
		if ErrorLevel = 1
		{
			SendInput, 1112345
			SendInput, {Esc}
			MouseClick, Left, % Round(962 / (1920 / (w - i))) + l, % Round(432 / (1080 / (h - j))) + k
		}
	}
}
Sleep, 100
}
return

Border:
MsgBox, Windowed (Borders all around)
;For Windowed (with Borders all round)
i = 16
j = 38
l = 8
k = 30
IniWrite, %i%, borderonoff.ini, border, i
IniWrite, %j%, borderonoff.ini, border, j
IniWrite, %l%, borderonoff.ini, border, l
IniWrite, %k%, borderonoff.ini, border, k
return

Borderless:
MsgBox, Borderless (No Borders)
;For Fullscreen Borderless
i = 0
j = 0
l = 0
k = 0
IniWrite, %i%, borderonoff.ini, border, i
IniWrite, %j%, borderonoff.ini, border, j
IniWrite, %l%, borderonoff.ini, border, l
IniWrite, %k%, borderonoff.ini, border, k
return

Done:
gui,submit,nohide
gui, destroy
return

^x::
SendInput, {Enter}
sleep, 20
SendInput, {/}oos
SendInput, {Enter}
return

!c::
MouseClick, Left
SendInput, {Enter}
SendInput, {/}itemlevel
SendInput, {Enter}
Sleep, 100
MouseClick, Left
return

F7::Reload
F8::ExitApp 

How to Setup:

First time you turn it on you need to go to the bottom of the right corner and right click the .ahk icon

Turn on Windowed (Borders)

or Turn on Windowed (Borderless)

 

Default is Windowed (Borderless) if you download the .rar file

 

Wj4GyuG.png

 

IF YOU DONT GET COLORS SIMILAR TO THIS SOMETHING IS WRONG

djhHMvz.png

If running shield character(and shield script) then color should be light blue at shield color

RdFhEPI.png

This popup indicates the script is ON

 

At anytime you can F7 to Reload the script (turns off ChickenScript)

F8 To Crash

F1 to Instantly Logout

F4 to turn on Chicken Script

Ctrl+X to /oos

Alt+C to /itemlevel

 

You only need to set it up once, it will remember your settings next time you turn it on.

 

  

Older Version (HP / Shield)

Spoiler

Heed the warnings above. ;) Have fun.


Check out ALL My Scripts  ;)


toddlepop12
  • Members
  • 7 posts
  • Last active: Mar 03 2016 01:04 PM
  • Joined: 23 Feb 2013
Did you make it yet? The chicken that is

Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

Did you make it yet? The chicken that is

It is well on its way, I was looking into making the script look at the hp text number and if hp got below 30% of that number it quit the game.. but it bugs out a lot and is not safe enough for use.

 

Finished the script, warning it does not make you invincible, there are mobs that can 2 shot you, even reflect mobs who can instant kill you in some situations grin.png best is to focus on getting all hp nodes you can while leveling to 60+


Check out ALL My Scripts  ;)


toddlepop12
  • Members
  • 7 posts
  • Last active: Mar 03 2016 01:04 PM
  • Joined: 23 Feb 2013
It says.line 1 file etc then

F1::
F1^ ERRor
Missing seperator character after key word

toddlepop12
  • Members
  • 7 posts
  • Last active: Mar 03 2016 01:04 PM
  • Joined: 23 Feb 2013

when i start the script it doesnt work i tested it on a level 1 and then it just dies it doesnt shut off at 30 percent or below



toddlepop12
  • Members
  • 7 posts
  • Last active: Mar 03 2016 01:04 PM
  • Joined: 23 Feb 2013

check your inbox plz



Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

when i start the script it doesnt work i tested it on a level 1 and then it just dies it doesnt shut off at 30 percent or below

Just rechecked the code and its working fine..

You need to make sure you have 1920x1080 resolution in game (also requires windowed fullscreen)

(F1 still works in fullscreen 1920x1080)

 

It says.line 1 file etc then

F1::
F1^ ERRor
Missing seperator character after key word

Sorry don't understand what this means :) copy-paste code into notepad save as 'name'.ahk and run script


Check out ALL My Scripts  ;)


toddlepop12
  • Members
  • 7 posts
  • Last active: Mar 03 2016 01:04 PM
  • Joined: 23 Feb 2013

i did but the f4 doesnt work



toddlepop12
  • Members
  • 7 posts
  • Last active: Mar 03 2016 01:04 PM
  • Joined: 23 Feb 2013

check you inbox btw please



benny108
  • Members
  • 1 posts
  • Last active: Mar 12 2013 10:44 PM
  • Joined: 12 Mar 2013

Hi. just wondering how can i change the values of chickenscript to work when below 40% hp?



Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

Hi. just wondering how can i change the values of chickenscript to work when below 40% hp?

 

At the moment the chicken script works as follows:

When you press F4 it saves the color values of certain locations (chat button), (health pool), (health pool2)

So you need to be full hp when you press F4

 

if you want to change it you need to change these lines.

PixelGetColor, color1 , 127, 983
PixelGetColor, color3 , 86, 948
PixelSearch, FoundhX, FoundhY, 60, 940, 170, 960, %color3%, 5, Fast
PixelSearch, FoundhX, FoundhY, 60, 1000, 170, 1020, %color1%, 5, Fast

 

BTW You can always find the newest update of my script on my site http://tus.web1337.net/ahk.php (temporary domain)

 

All-In-One Script has all the goodies ;)

 

To use the chicken script you need to have a good character before hand (Lots of HP/Armour/Resist).


Check out ALL My Scripts  ;)


MasterFocus
  • Moderators
  • 4323 posts
  • Last active: Jan 28 2016 01:38 AM
  • Joined: 08 Apr 2009

Does chicken even works?

I thought they had already done something about it (your character stays connected for a few more seconds, exactly to avoid this).

I may be mistaken though. Anyway, if it works, don't count on it working forever...


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Antonio França -- git.io -- github.com -- ahk4.net -- sites.google.com -- ahkscript.org

Member of the AHK community since 08/Apr/2009. Moderator since mid-2012.


Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

Does chicken even works?

I thought they had already done something about it (your character stays connected for a few more seconds, exactly to avoid this).

I may be mistaken though. Anyway, if it works, don't count on it working forever...

 

I will keep it updated as I can, for now it works.

GGG wont/haven't put a log out timer, because the game has a lot of desyncs and bugs.

There are a lot more things friendlier to the community they could do to stop this script.

I don't think they will do anything against it for this moment,

GGG is a very nice company they are really listening and reacting to their community.

 

One thing I cannot stress enough and I keep repeating is that even though you use the Chicken Script, it doesn't make you invincible. You need a correctly built character (HP / Resistance / Armour / Evasion).

The script always tries to save you with the stuff you have but it can only be as strong as your character is.

 

BTW if your looking for more POE scripts check my site: http://tus.web1337.net/ahk.php it has more scripts and is constantly being updated.

 

I recommend using All-In-One script has cool features such as:

  • F1 to 'instantly' leave (Useful)
  • Chicken Script
  • /oos writer to Resync the game (extremely useful)
  • /itemlevel writer to get a items item level (useful for sellers)
  • Alt + v to Use Wisdom scroll on hovered over item (Useful)
  • Alt + b to make a portal (Useful)

Check out ALL My Scripts  ;)


Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

Hi. just wondering how can i change the values of chickenscript to work when below 40% hp?

PixelSearch, FoundhX, FoundhY, 60, 872, 170, 991, %color1%, 5, Fast

this is the code for exactly 40% (if it goes to 40% or under it will kick you out)

If you dont want the script to use pots for you to try to save you before you get to 40% or under delete this line:

PixelSearch, FoundhX, FoundhY, 60, 872, 170, 991, %color3%, 5, Fast
		if ErrorLevel = 1
		{
			SendInput, 12345
		}

Just updated my script to at 50% it starts to drink pots, at 40% it logs out.


Check out ALL My Scripts  ;)


iDontNeedNoName
  • Members
  • 1 posts
  • Last active: Mar 15 2013 10:41 PM
  • Joined: 15 Mar 2013

EDIT : Nevermind my question I just got it 5 minutes after asking. For those wondering it uses all pots before logging out. Keep scripting !

 

Hello,

 

I like to write my own scripts, despite this being pretty easy I have a question for you regarding how you did it.

 

I was wondering what the point of this line is in the logout part of the script.

SendInput, 1112345

Thanks !