Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include C:\Program Files (x86)\AC Tool\BOT MK FLORENSIA\UMoveWindow.inc
- //VARIABLES CODE
- Constants
- //Variabile per SHOWWINDOW
- i = 0
- //tempo per UMoveWindow
- WindowDelay = 2
- //Finestra di Florensia
- WindowName = Florensia ver2.02.00
- //Posizione Targhet (Membro 1)
- M1X = 35
- M1Y = 61
- //////////////////////////////////////////////////////////////////////////////////////
- //Posizione Skill Sword of Spirit in pixel /////////////////////
- Sword_of_SpiritX = 643 //COSA DA IMPOSTARE//
- Sword_of_SpiritY = 701 //COSA DA IMPOSTARE//
- //Posizione Skill Magic Boost in pixel /////////////////////
- Magic_BoostX = 565 //COSA DA IMPOSTARE//
- Magic_BoostY = 701 //COSA DA IMPOSTARE//
- //////////////////////////////////////////////////////////////////////////////////////
- // le coordinate X e Y degli HP MAX e degli MP MAX (Membro 1)
- HPmaxX = 206
- HPmaxY = 57
- MPmaxX = 206
- MPmaxY = 77
- // le coordinate X e Y degli HP 50% e degli MP 50% (Membro 1)
- HP50X = 146
- HP50Y = 65
- MP50X = 146
- MP50Y = 85
- //RGB degli HP MAX rispettivi a HPmaxX e HPmaxY (Membro 1)
- HPmaxRED = 175
- HPmaxGREEN = 71
- HPmaxBLUE = 96
- //RGB degli MP MAX rispettivi a MPmaxX e MPmaxY (Membro 1)
- MPmaxRED = 1
- MPmaxGREEN = 153
- MPmaxBLUE = 153
- //RGB degli HP 50% rispettivi a HP50X e HP50Y (Membro 1)
- HP50RED = 210
- HP50GREEN = 21
- HP50BLUE = 83
- //RGB degli MP 50% rispettivi a MP50X e MP50Y (Membro 1)
- MP50RED = 0
- MP50GREEN = 144
- MP50BLUE = 144
- //Risoluzione richiesta 1024 * 768 * 32
- WindowWidth = 1030
- WindowHeight = 797
- End
- //BUFF CODE
- //1 BUFF SWORD OF SPIRITS
- Procedure Sword_of_Spirits Every 5 min
- SetActiveWindow $windowname
- Keys {F2}
- MousePos $M1X, $M1Y
- Delay 100
- Leftclick
- Delay 100
- MousePos $Sword_of_SpiritX, $Sword_of_SpiritY
- Delay 250
- Rightclick
- Delay 2000
- Keys {F1}
- SetActiveWindow $windowname
- Delay 100
- End
- //2 BUFF MAGIC BOOST
- Procedure Magic_Boost Every 20 min
- SetActiveWindow $windowname
- Keys {F2}
- MousePos $M1X, $M1Y
- Delay 100
- Leftclick
- Delay 100
- MousePos $Magic_BoostX, $Magic_BoostY
- Delay 250
- Rightclick
- Delay 2000
- Keys {F1}
- SetActiveWindow $windowname
- Delay 100
- End
- //BEFORE START CODE
- ShowMessage i = Status, ok , Posizionamento Finestra, Premere ok e non toccare nulla.
- Delay 100
- Call MoveWindow $WindowName
- Delay 1000
- MousePos 958, 575//sposta mouse sul tasto ok
- ShowMessage i = Status, ok , Finestra Spostata a x:0,y:0: per un corretto funzionamento del bot non spostare la finestra
- SetActiveWindow $WindowName
- ShowMessage i = Status, ok , Controllo Risoluzione
- If {WindowHeight} = $WindowHeight
- If {WindowWidth} = $WindowWidth
- ShowMessage i = Status, ok , Hai la risoluzione giusta, Enjoy By Polpetta! :D
- Else
- ShowMessage i = Error, ok , La Risoluzione non è 1024 * 768 * 32 bot arrestato.
- Stop
- End
- Else
- ShowMessage i = Error, ok , La Risoluzione non è 1024 * 768 * 32 bot arrestato.
- Stop
- End
- SetActiveWindow $WindowName
- //MAIN CODE
- While 1 = 1
- ProcessMessages
- GetRed 577, 38 = 195 //controlla se ho un targhet dal bordino grigioazzurro
- GetRed 576, 52 = 155 //155 = MK
- Keys {ESC}
- delay 100
- Else
- Call startAttack //Richiama startAttack
- End
- else //Se non ho un targhet allora premo TAB
- Keys {TAB}
- Delay 100
- end
- End
- //EVENT CODE
- procedure startAttack
- while 1 = 1
- getred 406, 57 = 175 //finche la vita e' ancora rossa continua ad attaccare
- GetRed 576, 52 = 155 //155 = MK
- Keys {ESC}
- delay 100
- Else
- keys {SPACE}
- End
- Else
- keys {SPACE} //ultimo attacco per sicurezza
- delay 100
- break
- End
- //CREDO QUI
- End
- End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement