Have a problem with autopotion ?

11/29/2008 13:16 qq11ww22#1
hi i have a problem witrh autopotion how to in use the autopotion can somebody halp me pls ??
11/29/2008 14:03 mahakida#2
The autopot its a bullshit
11/29/2008 15:17 qq11ww22#3
but i m muss me heal self

my autopotion dont going can somebody help me pls :(

#merged
11/30/2008 17:34 g859#4
First, download AutoHotKey.

Next, save this as Autopot.ahk in Notepad:

Code:
#SingleInstance force
#Persistent

IniRead, pctHP, autopot.ini, Threshold, health, 50
IniRead, pctMP, autopot.ini, Threshold, mana, 50
IniRead, pctVG, autopot.ini, Threshold, vigor, 25
IniRead, keyHP, autopot.ini, Hotkey, health, 9
IniRead, keyMP, autopot.ini, Hotkey, mana, 0
IniRead, keyVG, autopot.ini, Hotkey, vigor, 8
IniRead, keyST, autopot.ini, Hotkey, status, X
IniRead, keyOP, autopot.ini, Hotkey, options, ^``
IniRead, delay, autopot.ini, Delay, delay, 1

Menu, Tray, NoStandard
Menu, Tray, Add, Options, Gui
Menu, Tray, Default, Options
Menu, Tray, Add, About, About
Menu, Tray, Add
Menu, Tray, Add, Exit, Quit
Menu, Tray, Click, 2
Menu, Tray, Tip, AutoPot
IfExist, autopot.ini
    Goto, Init

Gui:
If delay >= 1000 
{
    delay := delay / 1000
}
Gui, +AlwaysOnTop
Gui, Add, GroupBox, w136 h70, Health
Gui, Add, Text, Section xp+8 yp+15, Hotkey:
Gui, Add, Hotkey, ys-3 w73 vkeyHP, %keyHP%
Gui, Add, Slider, xs h20 TickInterval10 vpctHP, %pctHP%
Gui, Add, GroupBox, xp-8 yp+32 w136 h70, Mana
Gui, Add, Text, Section xp+8 yp+15, Hotkey:
Gui, Add, Hotkey, ys-3 w73 vkeyMP, %keyMP%
Gui, Add, Slider, xs h20 TickInterval10 vpctMP, %pctMP%
Gui, Add, GroupBox, xp-8 yp+32 w136 h70, Vigor
Gui, Add, Text, Section xp+8 yp+15, Hotkey:
Gui, Add, Hotkey, ys-3 w73 vkeyVG, %keyVG%
Gui, Add, Slider, xs h20 TickInterval10 vpctVG, %pctVG%
Gui, Add, GroupBox, xp-8 yp+32 w136 h39, Status
Gui, Add, Text, Section xp+8 yp+15, Hotkey:
Gui, Add, Hotkey, ys-3 w73 vkeyST, %keyST%
Gui, Add, GroupBox, xp-55 yp+28 w136 h39, Options
Gui, Add, Text, Section xp+8 yp+15, Hotkey:
Gui, Add, Hotkey, ys-3 w73 vkeyOP, %keyOP%
Gui, Add, Edit, xp-47 yp+34 vdelay, 1
Gui, Add, UpDown, Range-0-10, %delay%
Gui, Add, Text, xp+36 yp+3, s Delay
Gui, Add, Button, xp+47 yp-5, Apply
Gui, Show,, Options
Return

GuiClose:
ExitApp
Return

GuiSize:
IfEqual, A_EventInfo, 1
    Gui, Destroy
Return

ButtonApply:
Gui, Submit
Gui, Destroy
IniWrite, %pctHP%, autopot.ini, Threshold, health
IniWrite, %pctMP%, autopot.ini, Threshold, mana
IniWrite, %pctVG%, autopot.ini, Threshold, vigor
IniWrite, %keyHP%, autopot.ini, Hotkey, health
IniWrite, %keyMP%, autopot.ini, Hotkey, mana
IniWrite, %keyVG%, autopot.ini, Hotkey, vigor
IniWrite, %keyST%, autopot.ini, Hotkey, status
IniWrite, %keyOP%, autopot.ini, Hotkey, options
IniWrite, %delay%, autopot.ini, Delay, delay
Hotkey, %keyOP%, Options
FileSetAttrib, +H+T, autopot.ini
Goto, Init
Return

Options:
Goto, Gui
Return

about:
MsgBox, 32, About AutoPot, Brought to you by Cruor.
Return

Quit:
ExitApp
Return

Init:
delay := 1000 * delay
crdHP := 84 + 120 * (pctHP/100)
crdMP := 84 + 120 * (pctMP/100)
crdVG := 84 + 120 * (pctVG/100)
Transform, crdHP, Round, crdHP
Transform, crdMP, Round, crdMP
Transform, crdVG, Round, crdVG

hpColor = 0x6F030D,0x6C030E,0x6B030E,0x6A040F,0x68040F,0x66040E
mpColor = 0x0F1C4C,0x112055,0x101E4F,0x101E4E,0x102051,0x0F1D4C,0x101F4F,0x0F1D4A,0x101F4E,0x112052,0x101E4D,0x0F1E4B

SetKeyDelay, 100

Goto, Main
Return

Main:
Loop
{
    WinGetActiveTitle, wndTitle
    IfEqual, wndTitle, SRO_Client
    {
        PixelGetColor,boolIG,172,23,rgb
	PixelGetColor,boolIG2,173,25,rgb
        If (boolIG = 0xFFD953 || boolIG2 = 0xFFD953)
        {
	    PixelGetColor,boolHP,crdHP,32,rgb
            PixelGetColor,boolMP,crdMP,48,rgb
            PixelGetColor,boolHV,crdVG,32,rgb
            PixelGetColor,boolMV,crdVG,48,rgb
            if boolHV not in %hpColor%
                Send %keyVG%
            if boolMV not in %mpColor%
                Send %keyVG%
            if boolHP not in %hpColor%
                Send %keyHP%
            if boolMP not in %mpColor%
                Send %keyMP%
            PixelGetColor,boolST1,218,59,rgb
            PixelGetColor,boolST2,218,60,rgb
            PixelGetColor,boolST3,218,61,rgb
            if (boolST1 = 0x84E7FF && boolST2 = 0x00CEFF && boolST3 = 0x000000)
                Send %keyST%
        }
    }
    Sleep delay
}
Return
Double Click on the Autopot.ahk and you're good to go!

Credits for the Autopot go to Cruor.
11/30/2008 19:57 qq11ww22#5
i have download this but i donīt understand how to inuse thet wht open wht save and and and have u a torturial ^^
11/30/2008 20:12 g859#6
Step 1:
[Only registered and activated users can see links. Click Here To Register...]

Step 2:
[Only registered and activated users can see links. Click Here To Register...]

Step 3:
[Only registered and activated users can see links. Click Here To Register...]

Step 4:
[Only registered and activated users can see links. Click Here To Register...]
12/04/2008 18:04 qq11ww22#7
thx g859^^ itīs perfect
12/05/2008 05:34 g859#8
Anytime!
12/07/2008 14:22 half113#9
whear can i get auto hotkey link or something pleas
12/07/2008 14:23 half113#10
Quote:
Originally Posted by half113 View Post
whear can i get auto hotkey link or something pleas
ohh got it already