Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;___________________
- ; [Opcje]
- ;___________________
- StartAfk=F8
- ExitApp=F9
- ;____________________
- Hotkey,%StartAfk%,Start
- Hotkey,%ExitApp%,Exit
- Return
- ;____________________
- Start:
- WinMove, Minecraft, , , , 1280, 720
- loop{
- reJoin() ;Wbijanie na serwer;\; Komendy
- Command("heal") ;\
- Command("freeturbo") ;
- Command("repair") ;/
- Command("bloki") ;/
- Block() ;Wymiana eme
- Command("bloki") ;/
- Blockk() ;Wymiana zlota
- InventoryChecking() ;Sprawdza Eq
- Command("sellall")
- Command("cx")
- Write("OlaZp0rnOla69 to Generalnie dobra jest - TAG TOP 1 <3 <3 <3")
- Dig(7) ;Ilosc Okrążeń na stoniarce
- }
- Return
- ;____________________
- Exit:
- ExitApp
- Return
- ;____________________
- Command(string){
- SendInput {T}
- Wait(200)
- Send /%string%
- Wait(600)
- SendInput {Enter}
- Wait(600)
- }
- Write(string){
- SendInput {T}
- Wait(200)
- Send OlaZp0rnOla69 to Generalnie dobra jest - TAG TOP 1 <3 <3 <3
- Wait(600)
- SendInput {Enter}
- Wait(600)
- }
- reJoin(){
- SendInput {T}
- Wait(100)
- setMPos(500, 420)
- SendInput {LButton}
- Wait(500)
- SendInput {Enter}
- Wait(200)
- }
- Eat(int){
- SendInput {2}
- loop, %int%{
- SendInput {RButton down}
- Wait(1600)
- SendInput {RButton up}
- Wait(200)
- }
- SendInput {1}
- }
- Dig(int){
- SendInput {LButton down}
- Move(int)
- SendInput {LButton up}
- }
- Move(int){
- loop, %int%{
- Press("D", 10)
- Press("S", 2)
- Press("A", 10)
- Press("W", 2)
- }
- }
- Block(){
- x := 503
- y := 385
- l := -4
- i := 0
- SendInput {b}
- loop, 4{ ;TODO liczba paskow
- if(i = 9){
- i := 2
- l++
- }
- Wait(300)
- setMPos(x +36*i, y + 35*l)
- DropGold()
- i++
- }
- SendInput {j}
- Wait(500)
- }
- Blockk(){
- x := 503
- y := 385
- l := -4
- i := 4
- SendInput {n}
- loop, 2{ ;TODO liczba paskow
- if(i = 9){
- i := 2
- l++
- }
- Wait(400)
- setMPos(x +36*i, y + 35*l)
- DropGold()
- i++
- }
- SendInput {}
- Wait(1000)
- }
- InventoryChecking(){
- x := 503
- y := 385
- l := 0
- i := 0
- SendInput {e}
- loop, 36{ ;TODO liczba paskow
- if(i = 9){
- i := 0
- l++
- }
- Wait(200)
- setMPos(x +36*i, y + 35*l)
- DropGold()
- i++
- }
- SendInput {e}
- Wait(100)
- }
- dropGold(){
- goldcolor := 0x808080
- color:= getColor()
- if(color = goldcolor){
- SendInput {LCtrl down}{Q}
- Wait(100)
- SendInput {LCtrl up}
- }
- }
- getColor(){
- MouseGetPos, X,Y
- PixelGetColor, color, %X%, %Y%
- return color
- }
- Press(charkey, dist){
- t := getTimeFromDis(dist)
- SendInput {%charkey% down}
- Wait(t)
- SendInput {%charkey% up}
- }
- getTimeFromDis(s){
- t:=0
- t:= s*235
- return t
- }
- setMPos(x, y){
- MouseMove,x,y
- }
- Wait(s){
- sleep, s
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement