16
The Lounge / Re: Post A Picture Of You!!
« on: Saturday, April 05, 2014, 10:03:58 AM »
2008 Army pic. Oh look at that kid 

And somewhat now:


And somewhat now:

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
; This script can be found here:
; [url]https://www.pathofexile.com/forum/view-thread/594346[/url]
; If you have any questions or comments please post them there as well. If you think you can help
; improve this project. I am looking for contributors. So Pm me if you think you can help.
;
;
; If you have a issue please post what version you are using.
; Reason being is that something that might be a issue might already be fixed.
; Version: 1.2d
;
;
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Persistent ; Stay open in background
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
StringCaseSense, On ; Match strings with case.
; Options
; Base item level display.
DisplayBaseLevel = 1 ; Enabled by default change to 0 to disable
; Pixels mouse must move to auto-dismiss tooltip
MouseMoveThreshold := 40
;How many ticks to wait before removing tooltip. 1 tick = 100ms. Example, 50 ticks = 5secends, 75 Ticks = 7.5Secends
ToolTipTimeoutTicks := 50
; Font size for the tooltip, leave empty for default
FontSize := 12
; Menu tooltip
Menu, tray, Tip, Path of Exile Itemlevel and DPS Display
; Create font for later use
FixedFont := CreateFont()
; Creates a font for later use
CreateFont()
{
global FontSize
Options :=
If (!(FontSize = ""))
{
Options = s%FontSize%
}
Gui Font, %Options%, Courier New
Gui Font, %Options%, Consolas
Gui Add, Text, HwndHidden,
SendMessage, 0x31,,,, ahk_id %Hidden%
return ErrorLevel
}
; Sets the font for a created ahk tooltip
SetFont(Font)
{
SendMessage, 0x30, Font, 1,, ahk_class tooltips_class32 ahk_exe autohotkey.exe
}
; Parse elemental damage
ParseDamage(String, DmgType, ByRef DmgLo, ByRef DmgHi)
{
IfInString, String, %DmgType% Damage
{
IfInString, String, Converted to or IfInString, String, taken as
Return
IfNotInString, String, increased
{
StringSplit, Arr, String, %A_Space%
StringSplit, Arr, Arr2, -
DmgLo := Arr1
DmgHi := Arr2
}
}
}
; Added fuction for reading itemlist.txt added fuction by kongyuyu
if DisplayBaseLevel = 1
{
ItemListArray = 0
Loop, Read, %A_WorkingDir%\ItemList.txt ; This loop retrieves each line from the file, one at a time.
{
ItemListArray += 1 ; Keep track of how many items are in the array.
StringSplit, NameLevel, A_LoopReadLine, |,
Array%ItemListArray%1 := NameLevel1 ; Store this line in the next array element.
Array%ItemListArray%2 := NameLevel2
}
}
;;;Function that check item name against the array
;;;Then add base lvl to the ItemName
CheckBaseLevel(ByRef ItemName)
{
Global
Loop %ItemListArray%
{
element := Array%A_Index%1
IfInString, ItemName, %element%
{
BaseLevel := " " + Array%A_Index%2
StringRight, BaseLevel, BaseLevel, 3
ItemName := ItemName . "Base lvl: " . BaseLevel . "`n"
}
}
}
; Parse clipboard content for item level and dps
ParseClipBoardChanges()
{
NameIsDone := False
ItemName :=
ItemLevel := -1
IsWeapon := False
PhysLo := 0
PhysHi := 0
Quality := 0
AttackSpeed := 0
PhysMult := 0
ChaoLo := 0
ChaoHi := 0
ColdLo := 0
ColdHi := 0
FireLo := 0
FireHi := 0
LighLo := 0
LighHi := 0
Loop, Parse, Clipboard, `n, `r
{
; Clipboard must have "Rarity:" in the first line
If A_Index = 1
{
IfNotInString, A_LoopField, Rarity:
{
Exit
}
Else
{
Continue
}
}
; Get name
If Not NameIsDone
{
If A_LoopField = --------
{
NameIsDone := True
}
Else
{
ItemName := ItemName . A_LoopField . "`n" ; Add a line of name
CheckBaseLevel(ItemName) ; Checking for base item level.
}
Continue
}
; Get item level
IfInString, A_LoopField, Itemlevel:
{
StringSplit, ItemLevelArray, A_LoopField, %A_Space%
ItemLevel := ItemLevelArray2
Continue
}
; Get quality
IfInString, A_LoopField, Quality:
{
StringSplit, Arr, A_LoopField, %A_Space%, +`%
Quality := Arr2
Continue
}
; Get total physical damage
IfInString, A_LoopField, Physical Damage:
{
IsWeapon = True
StringSplit, Arr, A_LoopField, %A_Space%
StringSplit, Arr, Arr3, -
PhysLo := Arr1
PhysHi := Arr2
Continue
}
;Fix for Elemental damage only weapons. Like the Oro's Sacrifice
IfInString, A_LoopField, Elemental Damage:
{
IsWeapon = True
Continue
}
; These only make sense for weapons
If IsWeapon
{
; Get attack speed
IfInString, A_LoopField, Attacks per Second:
{
StringSplit, Arr, A_LoopField, %A_Space%
AttackSpeed := Arr4
Continue
}
; Get percentage physical damage increase
IfInString, A_LoopField, increased Physical Damage
{
StringSplit, Arr, A_LoopField, %A_Space%, `%
PhysMult := Arr1
Continue
}
;Lines to skip fix for converted type damage. Like the Voltaxic Rift
IfInString, A_LoopField, Converted to
Goto, SkipDamageParse
IfInString, A_LoopField, can Shock
Goto, SkipDamageParse
; Parse elemental damage
ParseDamage(A_LoopField, "Chaos", ChaoLo, ChaoHi)
ParseDamage(A_LoopField, "Cold", ColdLo, ColdHi)
ParseDamage(A_LoopField, "Fire", FireLo, FireHi)
ParseDamage(A_LoopField, "Lightning", LighLo, LighHi)
SkipDamageParse:
}
}
If ItemLevel = -1 ; Something without an itemlevel
{
Exit
}
; Get position of mouse cursor
global X
global Y
MouseGetPos, X, Y
; All items should show name and item level
; Pad to 3 places
ItemLevel := " " + ItemLevel
StringRight, ItemLevel, ItemLevel, 3
TT = %ItemName%Item lvl: %ItemLevel%
; DPS calculations
If IsWeapon {
SetFormat, FloatFast, 5.1
PhysDps := ((PhysLo + PhysHi) / 2) * AttackSpeed
EleDps := ((ChaoLo + ChaoHi + ColdLo + ColdHi + FireLo + FireHi + LighLo + LighHi) / 2) * AttackSpeed
TotalDps := PhysDps + EleDps
TT = %TT%`nPhys DPS: %PhysDps%`nElem DPS: %EleDps%`nTotal DPS: %TotalDps%
; Only show Q20 values if item is not Q20
If Quality < 20
{
TotalPhysMult := (PhysMult + Quality + 100) / 100
BasePhysDps := PhysDps / TotalPhysMult
Q20Dps := BasePhysDps * ((PhysMult + 120) / 100) + EleDps
TT = %TT%`nQ20 DPS: %Q20Dps%
}
}
; Replaces Clipboard with tooltip data
StringReplace, clipboard, TT, `n, %A_SPACE% , All
; Show tooltip, with fixed width font
ToolTip, %TT%, X + 35, Y + 35
global FixedFont
SetFont(FixedFont)
; Set up count variable and start timer for tooltip timeout
global ToolTipTimeout := 0
SetTimer, ToolTipTimer, 100
}
; Tick every 100 ms
; Remove tooltip if mouse is moved or 5 seconds pass
ToolTipTimer:
ToolTipTimeout += 1
MouseGetPos, CurrX, CurrY
MouseMoved := (CurrX - X)**2 + (CurrY - Y)**2 > MouseMoveThreshold**2
If (MouseMoved or ToolTipTimeout >= ToolTipTimeoutTicks)
{
SetTimer, ToolTipTimer, Off
ToolTip
}
return
OnClipBoardChange:
ParseClipBoardChanges()
#NoEnv
#SingleInstance Force
SetKeyDelay 0, 50, Play
SetMouseDelay, 50, Play
#IfWinActive ahk_class Hitman Absolution
F4:: ;Restart level
BlockInput, On
Sleep 10
Send {Esc}
Sleep 700
MouseClick, Left, 237, 361
MouseClick, Left, 237, 361
Sleep 100
MouseClick, Left, 1310, 650
MouseClick, Left, 1310, 650
Sleep 10
BlockInput, Off
return
#IfWinActive ahk_class ArmA 3
?:: ;
Send {w down}
return
#IfWinActive, Path of Exile
?:: ;out of sync
BlockInput, On
Sleep 10
Send {Enter}/oos{Enter}
BlockInput, Off
return
F1:: ;Itemlevel
BlockInput, On
Sleep 10
Send {Enter}/itemlevel{Enter}
BlockInput, Off
return
F2:: ;remaining mobs
BlockInput, On
Sleep 10
Send {Enter}/remaining{Enter}
BlockInput, Off
return
F3:: ;Teleport
BlockInput, On
Send i
sleep 10
Random x, 1290, 1310
Random y, 810, 830
MouseClick, Right, x, y
sleep 10
Send i
BlockInput, Off
return
F9:: ;logout
Send {Esc}
sleep 10
Random x2, 930, 980
Random y2, 445, 455
MouseClick, Left, x2, y2
return
F7:: ;piety farm macro
BlockInput, On
Send {Enter}
Sleep 20
Send +5
Sleep 20
Send Hello and welcome to piety runs!
Sleep 20
Send {Enter}{Enter}
Sleep 50
Send Rules of the run:
Sleep 20
Send {Enter}{Enter}
Sleep 50
Send 1. Join my tp AFTER I give permission
Sleep 20
Send {Enter}{Enter}
Sleep 50
Send 2. Don't ninja loot any rares TY
Sleep 20
Send {Enter}
BlockInput, Off
return
F5:: ;Tradespam, put your spammessage ready like this "$want to sell shit for jeesus buy now" and press the key
i:= 1
Loop
{
Send {Enter}{Enter}
Sleep 1500
Send /trade %i%
i++
Sleep 400
Send {Enter}{Enter}
Sleep 150
Send {Up}{Up}
Sleep 550
if (i > 20)
{
Send {Enter}
break
}
}
return
F6:: ; stop ya spams
Reload
return
F10:: ;swap rares OFF
BlockInput, On
Random q, 1340, 1350 ;weapon place
Random v, 210, 220
MouseClick, Left, q, v
Sleep 400
Random q, 200, 210
Random v, 580, 590
MouseClick, Left, q, v
Sleep 200
Random q, 1584, 1599 ;hat place
Random v, 160, 170
MouseClick, Left, q, v
Sleep 200
Random q, 280, 288
Random v, 625, 635
MouseClick, Left, q, v
Sleep 200
Random q, 1480, 1485
Random v, 310, 320 ;ring place
MouseClick, Left, q, v
Sleep 200
Random q, 90, 95
Random v, 540, 550
MouseClick, Left, q, v
Sleep 200
Random q, 1480, 1485 ;ring place
Random v, 310, 320
MouseClick, Left, q, v
Sleep 200
Random q, 1450, 1465
Random v, 380, 390 ;gloves place
MouseClick, Left, q, v
Sleep 200
Random q, 274, 285
Random v, 740, 760
MouseClick, Left, q, v
Sleep 200
Random q, 1700, 1712
Random v, 380, 390 ;boots place
MouseClick, Left, q, v
Sleep 200
Random q, 380, 390
Random v, 726, 733
MouseClick, Left, q, v
;boots gemswap
Sleep 200
Random q, 354, 357
Random v, 708, 712
MouseClick, Right, q, v
Sleep 200
Random q, 197, 200
Random v, 710, 713
MouseClick, Left, q, v
Sleep 200
Random q, 406, 409
Random v, 708, 712
MouseClick, Right, q, v
Sleep 200
Random q, 147, 150
Random v, 710, 713
MouseClick, Left, q, v
Sleep 200
Random q, 354, 357
Random v, 765, 767
MouseClick, Right, q, v
Sleep 200
Random q, 197, 200
Random v, 765, 767
MouseClick, Left, q, v
Sleep 200
Random q, 406, 409
Random v, 765, 767
MouseClick, Right, q, v
Sleep 200
Random q, 142, 145
Random v, 765, 767
MouseClick, Left, q, v
;gloves gemswap
Sleep 200
Random q, 247, 250
Random v, 710, 713
MouseClick, Right, q, v
Sleep 200
Random q, 40, 42
Random v, 765, 767
MouseClick, Left, q, v
Sleep 200
Random q, 300, 303
Random v, 710, 713
MouseClick, Right, q, v
Sleep 200
Random q, 40, 42
Random v, 710, 713
MouseClick, Left, q, v
Sleep 200
Random q, 250, 254
Random v, 765, 767
MouseClick, Right, q, v
Sleep 200
Random q, 89, 93
Random v, 710, 713
MouseClick, Left, q, v
Sleep 200
Random q, 300, 303
Random v, 765, 767
MouseClick, Right, q, v
Sleep 200
Random q, 89, 93
Random v, 765, 767
MouseClick, Left, q, v
;weapon gems
Sleep 200
Random q, 199, 203
Random v, 525, 530
MouseClick, Right, q, v
Sleep 200
Random q, 40, 42
Random v, 660, 665
MouseClick, Left, q, v
Sleep 200
Random q, 199, 203
Random v, 580, 585
MouseClick, Right, q, v
Sleep 200
Random q, 40, 42
Random v, 607, 610
MouseClick, Left, q, v
Sleep 200
Random q, 199, 203
Random v, 630, 633
MouseClick, Right, q, v
Sleep 200
Random q, 40, 42
Random v, 550, 555
MouseClick, Left, q, v
;helmet gems
Sleep 200
Random q, 250, 255
Random v, 607, 610
MouseClick, Right, q, v
Sleep 200
Random q, 140, 142
Random v, 607, 610
MouseClick, Left, q, v
Sleep 200
Random q, 300, 304
Random v, 607, 610
MouseClick, Right, q, v
Sleep 200
Random q, 93, 97
Random v, 607, 610
MouseClick, Left, q, v
Sleep 200
Random q, 300, 304
Random v, 667, 670
MouseClick, Right, q, v
Sleep 200
Random q, 143, 146
Random v, 667, 670
MouseClick, Left, q, v
Sleep 200
Random q, 250, 255
Random v, 667, 670
MouseClick, Right, q, v
Sleep 200
Random q, 93, 97
Random v, 667, 670
MouseClick, Left, q, v
;---
Sleep 200
MouseClick, Left
Sleep 200
Random q, 1584, 1599 ;hat place
Random v, 160, 170
MouseClick, Left, q, v
Sleep 200
Random q, 40, 42
Random v, 660, 665
MouseClick, Left, q, v
Sleep 200
BlockInput, On
Random q, 1340, 1350 ;weapon place
Random v, 210, 220
MouseClick, Left, q, v
Sleep 200
Random q, 40, 42
Random v, 765, 767
MouseClick, Left, q, v
Sleep 200
Random q, 1450, 1465
Random v, 380, 390 ;gloves place
MouseClick, Left, q, v
Sleep 200
Random q, 197, 200
Random v, 710, 713
MouseClick, Left, q, v
Sleep 200
Random q, 1700, 1712
Random v, 380, 390 ;boots place
MouseClick, Left, q, v
BlockInput, Off
return
F11:: ;MF GEAR ON
Sleep 200
BlockInput, On
Random q, 1340, 1350 ;weapon place
Random v, 210, 220
MouseClick, Left, q, v
Sleep 200
Random q, 40, 42
Random v, 600, 605
MouseClick, Left, q, v
Sleep 200
Random q, 1584, 1599 ;hat place
Random v, 160, 170
MouseClick, Left, q, v
Sleep 200
Random q, 118, 123
Random v, 630, 636
MouseClick, Left, q, v
Sleep 200
Random q, 1450, 1465
Random v, 380, 390 ;gloves place
MouseClick, Left, q, v
Sleep 200
Random q, 64, 67
Random v, 737, 747
MouseClick, Left, q, v
Sleep 200
Random q, 1700, 1712
Random v, 380, 390 ;boots place
MouseClick, Left, q, v
Sleep 200
Random q, 164, 167
Random v, 737, 747
MouseClick, Left, q, v
Sleep 200
Random q, 1480, 1485
Random v, 310, 320 ;ring place
MouseClick, Left, q, v
Sleep 200
Random q, 90, 95
Random v, 540, 550
MouseClick, Left, q, v
Sleep 200
Random q, 1480, 1485 ;ring place
Random v, 310, 320
MouseClick, Left, q, v
;--helmet gems
Sleep 200
Random q, 140, 142
Random v, 607, 610
MouseClick, Right, q, v
Sleep 200
Random q, 250, 255
Random v, 607, 610
MouseClick, Left, q, v
Sleep 200
Random q, 93, 97
Random v, 607, 610
MouseClick, Right, q, v
Sleep 200
Random q, 300, 304
Random v, 607, 610
MouseClick, Left, q, v
Sleep 200
Random q, 143, 146
Random v, 667, 670
MouseClick, Right, q, v
Sleep 200
Random q, 300, 304
Random v, 667, 670
MouseClick, Left, q, v
Sleep 200
Random q, 93, 97
Random v, 667, 670
MouseClick, Right, q, v
Sleep 200
Random q, 250, 255
Random v, 667, 670
MouseClick, Left, q, v
; Weapon gems
Sleep 200
Random q, 40, 42
Random v, 660, 665
MouseClick, Right, q, v
Sleep 200
Random q, 199, 203
Random v, 525, 530
MouseClick, Left, q, v
Sleep 200
Random q, 40, 42
Random v, 607, 610
MouseClick, Right, q, v
Sleep 200
Random q, 199, 203
Random v, 580, 585
MouseClick, Left, q, v
Sleep 200
Random q, 40, 42
Random v, 550, 555
MouseClick, Right, q, v
Sleep 200
Random q, 199, 203
Random v, 630, 633
MouseClick, Left, q, v
;gloves gemswap
Sleep 200
Random q, 40, 42
Random v, 765, 767
MouseClick, Right, q, v
Sleep 200
Random q, 247, 250
Random v, 710, 713
MouseClick, Left, q, v
Sleep 200
Random q, 40, 42
Random v, 710, 713
MouseClick, Right, q, v
Sleep 200
Random q, 300, 303
Random v, 710, 713
MouseClick, Left, q, v
Sleep 200
Random q, 89, 93
Random v, 710, 713
MouseClick, Right, q, v
Sleep 200
Random q, 250, 254
Random v, 765, 767
MouseClick, Left, q, v
Sleep 200
Random q, 89, 93
Random v, 765, 767
MouseClick, Right, q, v
Sleep 200
Random q, 300, 303
Random v, 765, 767
MouseClick, Left, q, v
;boots gemswap
Sleep 200
Random q, 197, 200
Random v, 710, 713
MouseClick, Right, q, v
Sleep 200
Random q, 354, 357
Random v, 708, 712
MouseClick, Left, q, v
Sleep 200
Random q, 147, 150
Random v, 710, 713
MouseClick, Right, q, v
Sleep 200
Random q, 406, 409
Random v, 708, 712
MouseClick, Left, q, v
Sleep 200
Random q, 197, 200
Random v, 765, 767
MouseClick, Right, q, v
Sleep 200
Random q, 354, 357
Random v, 765, 767
MouseClick, Left, q, v
Sleep 200
Random q, 142, 145
Random v, 765, 767
MouseClick, Right, q, v
Sleep 200
Random q, 406, 409
Random v, 765, 767
MouseClick, Left, q, v
Sleep 200
Random q, 200, 210
Random v, 580, 590
MouseClick, Left, q, v
Sleep 200
Random q, 1340, 1350 ;weapon place
Random v, 210, 220
MouseClick, Left, q, v
Sleep 200
Random q, 280, 288
Random v, 625, 635
MouseClick, Left, q, v
Sleep 200
Random q, 1584, 1599 ;hat place
Random v, 160, 170
MouseClick, Left, q, v
Sleep 200
Random q, 274, 285
Random v, 740, 760
MouseClick, Left, q, v
Sleep 200
Random q, 1450, 1465
Random v, 380, 390 ;gloves place
MouseClick, Left, q, v
Sleep 200
Random q, 380, 390
Random v, 726, 733
MouseClick, Left, q, v
Sleep 200
Random q, 1700, 1712
Random v, 380, 390 ;boots place
MouseClick, Left, q, v
BlockInput, Off
return
Could be GPU or CPU overheating, faulty RAM or failing hard drive.Still bad.
First things I would do is update DirectX:
http://www.microsoft.com/download/en/details.aspx?id=35
Then see if things work better. If not, update GPU drivers: http://support.amd.com/us/gpudownload/windows/Pages/auto_detect.aspx
Still bad? Go into the Assist folder and delete the ArmyOps.ini after closing Assist.
If things are still bad, come back and we can help test individual parts.