Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir C:\Users\Matthew\Desktop\POEHUD2\PoEHUD-x64\plugins\Sessionstatistics-master  ; Ensures a consistent starting directory.
  5. SetFormat, Float, 3.1
  6.  
  7.  
  8. Gui, Name: New
  9. Gui, Font, s12 cFFFFFF, Arial
  10. Gui, Color, #000000
  11. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Exalted.PNG
  12. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\Divine.PNG
  13. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Regret.PNG
  14. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Gemcutters.PNG
  15. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\2q1colc.PNG
  16. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Regal.PNG
  17. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Vaal.PNG
  18. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Scouring.PNG
  19. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Cartographers.PNG
  20. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Blessed.PNG
  21.  
  22.  
  23. Gui, Add, Text,ym y20 w90 vExaltedControl,
  24. Gui, Add, Text, y+30 w90 vDivineControl,
  25. Gui, Add, Text, y+30 w90 vRegretControl,
  26. Gui, Add, Text, y+30 w90 vGcpControl,
  27. Gui, Add, Text, y+30 w90 vChaosControl
  28. Gui, Add, Text, y+30 w90 vRegalControl,
  29. Gui, Add, Text, y+30 w90 vVaalControl,
  30. Gui, Add, Text, y+30 w90 vScourControl,
  31. Gui, Add, Text, y+30 w90 vCartographersControl
  32. Gui, Add, Text, y+30 w90 vBlessedControl
  33.  
  34.  
  35.  
  36. Gui, Add, Pic,x+15 ym, C:\Users\Matthew\Desktop\ahk\Alchemy.PNG
  37. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Fusing.PNG
  38. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Chance.PNG
  39. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Chromatics.PNG
  40. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Alteration.PNG
  41. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\Jewellers.PNG
  42. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Augmentation.PNG
  43. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Blacksmiths.PNG
  44. Gui, Add, Pic,, C:\Users\Matthew\Desktop\ahk\Transmute.PNG
  45. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\Armourers.PNG
  46.  
  47.  
  48. Gui, Add, Text,ym+12  w90ym vAlchemyControl
  49. Gui, Add, Text, y+30 w90 vFusingControl
  50. Gui, Add, Text, y+30 w90 vChanceControl
  51. Gui, Add, Text, y+30 w90 vChromaticControl
  52. Gui, Add, Text, y+30 w90 vAltControl
  53. Gui, Add, Text, y+30 w90 vJewControl
  54. Gui, Add, Text, y+30 w90 vAugControl
  55. Gui, Add, Text, y+30 w90 vBlacksmithControl
  56. Gui, Add, Text, y+30 w90 vTransmuteControl
  57. Gui, Add, Text, y+30 w90 vArmourersControl,
  58.  
  59. Gui, Add, Pic, ym+4 w38 h38, C:\Users\Matthew\Desktop\ahk\Wisdom.PNG
  60. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\Portal.PNG
  61. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\coin.PNG
  62. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\belt.PNG
  63. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\boots.PNG
  64. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\key.PNG
  65. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\jew2.PNG
  66. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\chrom2.PNG
  67. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\spm.PNG
  68. Gui, Add, Pic, w38 h38, C:\Users\Matthew\Desktop\ahk\ssm.PNG
  69.  
  70. Gui, Add, Text, ym+14 w90 vWisdomControl
  71. Gui, Add, Text, y+30 w90 vPortalControl
  72. Gui, Add, Text, y+30 w90 vCoinControl
  73. Gui, Add, Text, y+30 w90 vBeltControl
  74. Gui, Add, Text, y+30 w90 vBootControl
  75. Gui, Add, Text, y+25 w90 vKeyControl
  76. Gui, Add, Text, y+30 w90 vJewRecipeControl
  77. Gui, Add, Text, y+30 w90 vChromaticRecipeControl
  78. Gui, Add, Text, y+30 w90 vShapedPoolControl
  79. Gui, Add, Text, y+30 w90 vShapedStrandControl
  80.  
  81. Gui, Add, Text, ym+12 w250 vMonstersControl
  82. Gui, Add, Text, y+30 w250 vCW
  83. Gui, Add, Text, y+30 w250 vCPM
  84. Gui, Show, W700 H510 X1920 Y1
  85.  
  86. Loop
  87. {
  88. cW = 0,
  89.  
  90. FileReadLine, shapedPoolCount, C:\Users\Matthew\Desktop\POEHUD2\PoEHUD-x64\plugins\DropStatistics\backup2.json, 5
  91. StringSplit, sShapedPoolCount, shapedPoolCount, `:, `,
  92. GuiControl,, ShapedPoolControl, %sShapedPoolCount2%
  93. cW += (1 * sShapedPoolCount2)
  94.  
  95. FileReadLine, shapedStrandCount, C:\Users\Matthew\Desktop\POEHUD2\PoEHUD-x64\plugins\DropStatistics\backup2.json, 6
  96. StringSplit, sShapedStrandCount, shapedStrandCount, `:, `,
  97. GuiControl,, ShapedStrandControl, %sShapedStrandCount2%
  98. cW += (3 * sShapedStrandCount2)
  99.  
  100. FileReadLine, ancientReliquaryKeyCount, C:\Users\Matthew\Desktop\POEHUD2\PoEHUD-x64\plugins\DropStatistics\backup2.json, 7
  101. StringSplit, sAncientReliquaryKeyCount, ancientReliquaryKeyCount, `:, `,
  102. GuiControl,, KeyControl, %sAncientReliquaryKeyCount2%
  103. cW += (80 * sAncientReliquaryKeyCount2)
  104.  
  105. FileReadLine, chromeRecipeCount, C:\Users\Matthew\Desktop\POEHUD2\PoEHUD-x64\plugins\DropStatistics\backup2.json, 13
  106. StringSplit, sChromeRecipeCount, chromeRecipeCount, `:, `,
  107. GuiControl,, ChromaticRecipeControl, %sChromeRecipeCount2%
  108. cW += (.1111 * sChromeRecipeCount2)
  109.  
  110. FileReadLine, jewRecipeCount, C:\Users\Matthew\Desktop\POEHUD2\PoEHUD-x64\plugins\DropStatistics\backup2.json, 12
  111. StringSplit, sJewRecipeCount, jewRecipeCount, `:, `,
  112. GuiControl,, JewRecipeControl, %sJewRecipeCount2%
  113. jewRecipeWorth := (sJewRecipeCount2 * .624)
  114. cW += jewRecipeWorth
  115.  
  116. FileReadLine, killCount, backup.json, 3
  117. StringSplit, sKillCount, killCount, `:, `,
  118. GuiControl,, MonstersControl, Monsters Killed: %sKillCount2%
  119.  
  120. FileReadLine, armourersCount, backup.json, 5
  121. StringSplit, sArmourersCount, armourersCount, 's, `:
  122. StringSplit, ssArmourersCount, sArmourersCount2, `:, `,
  123. armourersWorth := (.0082 * ssArmourersCount2)
  124. GuiControl,, ArmourersControl, %ssArmourersCount2%
  125. cW += armourersWorth
  126.  
  127. FileReadLine, blacksmithsCount, backup.json, 6
  128. StringSplit, sBlacksmithsCount, blacksmithsCount, `:, `,
  129. GuiControl,, BlacksmithControl, %sBlacksmithsCount2%
  130. cW += (.0154 * sBlacksmithsCount2)
  131.  
  132. FileReadLine, blessedCount, backup.json, 7
  133. StringSplit, sBlessedCount, blessedCount, `:, `,
  134. GuiControl,, BlessedControl, %sBlessedCount2%
  135. cW += (.2564 * sBlessedCount2)
  136.  
  137. FileReadLine, cartographersCount, backup.json, 8
  138. StringSplit, sCartographersCount, cartographersCount, `:, `,
  139. GuiControl,, CartographersControl, %sCartographersCount2%
  140. cW += (.5 * sCartographersCount2)
  141.  
  142. FileReadLine, chaosCount, backup.json, 9
  143. StringSplit, sChaosCount, chaosCount, `:, `,
  144. GuiControl,, ChaosControl, %sChaosCount2%
  145. cW += sChaosCount2
  146.  
  147. FileReadLine, chromaticsCount, backup.json, 10
  148. StringSplit, sChromaticsCount, chromaticsCount, `:, `,
  149. GuiControl,, ChromaticControl, %sChromaticsCount2%
  150. cW += (.1111 * sChromaticsCount2)
  151.  
  152. FileReadLine, divineCount, backup.json, 11
  153. StringSplit, sDivineCount, divineCount, `:, `,
  154. GuiControl,, DivineControl, %sDivineCount2%
  155. cW += (13.8 * sDivineCount2)
  156.  
  157. FileReadLine, exaltCount, backup.json, 12
  158. StringSplit, sExaltCount, exaltCount, `:, `,
  159. GuiControl,, ExaltedControl, %sExaltCount2%
  160. cW += (93 * sExaltCount2)
  161.  
  162. FileReadLine, gcpCount, backup.json, 13
  163. StringSplit, sGcpCount, gcpCount, `:, `,
  164. GuiControl,, GcpControl, %sGcpCount2%
  165. cW += (.9091 * sGcpCount2)
  166.  
  167. FileReadLine, jewCount, backup.json, 14
  168. StringSplit, sJewCount, jewCount, `:, `,
  169. GuiControl,, JewControl, %sJewCount2%
  170. cW += (.0780 * sJewCount2)
  171.  
  172. FileReadLine, alchCount, backup.json, 15
  173. StringSplit, sAlchCount, alchCount, `:, `,
  174. GuiControl,, AlchemyControl, %sAlchCount2%
  175. cW += (.295 * sAlchCount2)
  176.  
  177. FileReadLine, altCount, backup.json, 16
  178. StringSplit, sAltCount, altCount, `:, `,
  179. GuiControl,, AltControl, %sAltCount2%
  180. cW += (.10 * sAltCount2)
  181.  
  182. FileReadLine, augCount, backup.json, 17
  183. StringSplit, sAugCount, augCount, `:, `,
  184. GuiControl,, AugControl, %sAugCount2%
  185. cW += (.02 * sAugCount2)
  186.  
  187. FileReadLine, chanceCount, backup.json, 18
  188. StringSplit, sChanceCount, chanceCount, `:, `,
  189. GuiControl,, ChanceControl, %sChanceCount2%
  190. cW += (.22 * sChanceCount2)
  191.  
  192. FileReadLine, fuseCount, backup.json, 19
  193. StringSplit, sFuseCount, fuseCount, `:, `,
  194. GuiControl,, FusingControl, %sFuseCount2%
  195. cW += (.3236 * sFuseCount2)
  196.  
  197. FileReadLine, regretCount, backup.json, 20
  198. StringSplit, sRegretCount, regretCount, `:, `,
  199. GuiControl,, RegretControl, %sRegretCount2%
  200. cW += (1.2 * sRegretCount2)
  201.  
  202. FileReadLine, scourCount, backup.json, 21
  203. StringSplit, sScourCount, scourCount, `:, `,
  204. GuiControl,, scourControl, %sScourCount2%
  205. cW += (.7143 * sScourCount2)
  206.  
  207. FileReadLine, transmuteCount, backup.json, 22
  208. StringSplit, sTransmuteCount, transmuteCount, `:, `,
  209. transmuteWorth := (.0135 * sTransmuteCount2)
  210. GuiControl,, TransmuteControl, %sTransmuteCount2%
  211. cW += transmuteWorth
  212.  
  213. FileReadLine, regalCount, backup.json, 23
  214. StringSplit, sRegalCount, regalCount, `:, `,
  215. GuiControl,, RegalControl, %sRegalCount2%
  216. cW += (.833 * sRegalCount2)
  217.  
  218. FileReadLine, vaalCount, backup.json, 24
  219. StringSplit, sVaalCount, vaalCount, `:, `,
  220. GuiControl,, VaalControl, %sVaalCount2%
  221. cW += (.8 * ssVaalCount)
  222.  
  223. FileReadLine, wisdomCount, backup.json, 25
  224. StringSplit, sWisdomCount, wisdomCount, `:, `,
  225. GuiControl,, WisdomControl, %sWisdomCount2%
  226. cW += (.0037 * sWisdomCount2)
  227.  
  228. FileReadLine, portalCount, backup.json, 26
  229. StringSplit, sPortalCount, portalCount, `:, `,
  230. GuiControl,, PortalControl, %sPortalCount2%
  231. cW += (.0125 * sPortalCount2)
  232.  
  233. FileReadLine, coinCount, C:\Users\Matthew\Desktop\POEHUD2\PoEHUD-x64\plugins\DropStatistics\backup.json, 35
  234. StringSplit, sCoinCount, coinCount, `:, `,
  235. GuiControl,, CoinControl, %sCoinCount2%
  236. cW += (.1 * sCoinCount2)
  237.  
  238. FileReadLine, beltCount, C:\Users\Matthew\Desktop\POEHUD2\PoEHUD-x64\plugins\DropStatistics\backup2.json, 3
  239. StringSplit, sBeltCount, beltCount, `:, `,
  240. GuiControl,, BeltControl, %sBeltCount2%
  241.  
  242. FileReadLine, bootCount, C:\Users\Matthew\Desktop\POEHUD2\PoEHUD-x64\plugins\DropStatistics\backup2.json, 4
  243. StringSplit, sBootCount, bootCount, `:, `,
  244. GuiControl,, bootControl, %sBootCount2%
  245.  
  246. FileReadLine, uniqueCount, backup.json, 25
  247. StringSplit, sUniqueCount, uniqueCount, `:, `,
  248.  
  249. GuiControl,, CW, Value of Drops: %cW%c
  250. Sleep, 1000
  251. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement