Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ButtonConstants.au3>
- #include <EditConstants.au3>
- #include <GUIConstantsEx.au3>
- #include <WindowsConstants.au3>
- #include <BotTibia.au3>
- #include <Timers.au3>
- #Region ### START Koda GUI section ### Form=
- $Form1 = GUICreate("SlimeTrainer", 245, 179, 903, 365)
- $Button1 = GUICtrlCreateButton("Spell Caster", 16, 16, 89, 17)
- $Button2 = GUICtrlCreateButton("Anti Idle", 16, 48, 89, 17)
- $Button3 = GUICtrlCreateButton("Auto Attack", 16, 80, 89, 17)
- $Button4 = GUICtrlCreateButton("Auto Fishing", 16, 112, 89, 17)
- $Button5 = GUICtrlCreateButton("Eat Food", 16, 144, 89, 17)
- $Button6 = GUICtrlCreateButton("Stop", 139, 17, 89, 17)
- $Button7 = GUICtrlCreateButton("Stop", 139, 49, 89, 17)
- $Button8 = GUICtrlCreateButton("Stop", 139, 81, 89, 17)
- $Button9 = GUICtrlCreateButton("Stop", 139, 113, 89, 17)
- $Button10 = GUICtrlCreateButton("Stop", 139, 145, 89, 17)
- GUISetState(@SW_SHOW)
- #EndRegion ### END Koda GUI section ###
- While 1
- $nMsg = GUIGetMsg()
- Switch $nMsg
- Case $GUI_EVENT_CLOSE
- Exit
- case $Button1
- guictrlsetstate($Button1,$gui_disable)
- guictrlsetstate($Button6,$gui_enable)
- $id1 = _Timer_SetTimer($form1,500,"spell")
- case $Button2
- guictrlsetstate($Button2, 128)
- guictrlsetstate($Button7,64)
- $id2 = _Timer_SetTimer($form1,220000,"afk")
- case $Button3
- guictrlsetstate($Button3, 128)
- guictrlsetstate($Button8,64)
- $id3 = _Timer_SetTimer($form1,5000,"attack")
- case $Button5
- guictrlsetstate($Button5, 128)
- guictrlsetstate($Button10,64)
- $id5 = _Timer_SetTimer($form1,360000,"food")
- EndSwitch
- WEnd
- func spell($1,$2,$3,$4)
- if PixelGetColor (3174, 260) = 0x7260FF then
- controlsend("Medivia","","","{f1}")
- controlsend("Medivia","","","{enter}")
- EndIf
- EndFunc
- func attack ($1,$2,$3,$4)
- if PixelGetColor (2276,484) <> 0x490000 Then
- MouseMove (2304,457)
- MouseClick ("right")
- EndIf
- EndFunc
- func food ($1,$2,$3,$4)
- MouseMove (3027, 525)
- MouseClick ("right")
- MouseClick ("right")
- MouseClick ("right")
- EndFunc
- func afk($1,$2,$3,$4)
- controlsend("Medivia","","","{ctrldown}{down}{ctrlup}")
- Sleep (1000)
- controlsend("Medivia","","","{ctrldown}{up}{ctrlup}")
- Sleep (1000)
- controlsend("Medivia","","","{ctrldown}{down}{ctrlup}")
- Sleep (1000)
- controlsend("Medivia","","","{ctrldown}{up}{ctrlup}")
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement