[Release] NaviBot

09/27/2014 18:46 .Cheshire#76
working at dFlyff :)
but could you also put the action slot skills (pressing button C) into your bot?
he just needs to press c once and then you could also put into the config the delay when he's using them (min. delay 20 secs (cooldown))
09/30/2014 23:58 cookie69#77
Quote:
Originally Posted by aunit97 View Post
working at dFlyff :)
but could you also put the action slot skills (pressing button C) into your bot?
he just needs to press c once and then you could also put into the config the delay when he's using them (min. delay 20 secs (cooldown))
I will try one day! I am lazy to upgrade the pixel bot even if it is not hard to do! Other people are welcome too as the source code is released ;)
10/12/2014 07:46 brean89#78
how to download?
12/03/2014 11:16 Voigt15#79
Thanks for the Bot it works great on FlyffEN. It isnÄt a fully autmated bot, but more: "I am in the rooom, dooing different stuff, but still can look at the screen regulary and take action bot".
12/03/2014 22:37 workzor#80
Can you make one for EquinoxFLyff ?
12/29/2014 21:25 ki.forum#81
Quote:
Originally Posted by cookie69 View Post
I will try one day! I am lazy to upgrade the pixel bot even if it is not hard to do! Other people are welcome too as the source code is released ;)
PMed some quesionts
01/03/2015 12:50 toadskin#82
Hello cookie69,

Could you add an option for healing ON/OFF, this level bot works well on

NVIDIA VGA Card , but when I use AMD VGA Card, the healing funtion keys:

2,3,4 are always working. I think it's a symptom of the color coding

(HP/MP/FP) is different between NVIDIA and AMD.

Thanks.
01/06/2015 03:57 ki.forum#83
not accurate on v18 interface. health bar is 90% translucent. pixel color always changes
02/14/2015 14:37 ✘Hades✘#84
Nice
02/15/2015 13:31 NooblordSwag#85
Any chance you'll release the source code?
02/18/2015 01:52 loneheart#86
When I turn on the bot it keeps saying "Searching" but never does anything. I followed all your instructions including 1028 with window mode.
09/09/2018 03:28 sonatta#87
hi im trying to make autopots for flyff using your dlcall with gg.dl, however im having error when i execute

sendKey($VK_F1)

can u help me

Quote:
#include <GUIConstantsEx.au3>
#include <Array.au3>
#include <WindowsConstants.au3>
#include <WinAPI.au3>
#include <GDIPlus.au3>
#include <IE.au3>
#include <EditConstants.au3>
#include <GUIEdit.au3>
#include <ScrollBarConstants.au3>

Global $Paused, $counter = 0
HotKeySet ("{HOME}", "Start")
HotKeySet("{PGUP}", "TogglePause")
HotKeySet ("{END}", "_Exit")
Opt("PixelCoordMode", 1)
Opt("MouseCoordMode", 1)

#region consts
;=================== !!do not modify please!! =================
Const $WMKEYDOWN = 0x100
Const $WMKEYUP = 0x101
Const $VK_F1 = 0x70
Const $VK_F2 = 0x71
Const $VK_F3 = 0x72
Const $VK_F4 = 0x73
Const $VK_F5 = 0x74
Const $VK_F6 = 0x75
Const $VK_F7 = 0x76
Const $VK_F8 = 0x77
Const $VK_F9 = 0x78
Const $VK_F10 = 0x79
Const $VK_C = 0x43
Const $VK_I = 0x49
Const $VK_W = 0x57
Const $VK_RIGHT = 0x27
Const $VK_LEFT = 0x25
Const $VK_UP = 0x26
Const $VK_DOWN = 0x28
Const $VK_ESCAPE = 0x1B
Const $VK_INSERT = 0x2D
;~ Const $WM_LBUTTONDOWN = 0x0201
;~ Const $WM_LBUTTONUP = 0x0202
Const $MK_LBUTTON = 0x0001
Const $MK_RBUTTON = 0x0002
;~ Const $WM_RBUTTONDOWN = 0x0204
;~ Const $WM_RBUTTONUP = 0x0205
;~ Const $WM_RBUTTONDBLCLK = 0x0206
Const $VK_SPACE = 0x20
Const $VK_PAUSE = 0x13

Const $VK_KEY_0 = 0x30
Const $VK_KEY_1 = 0x31
Const $VK_KEY_2 = 0x32
Const $VK_KEY_3 = 0x33
Const $VK_KEY_4 = 0x34
Const $VK_KEY_5 = 0x35
Const $VK_KEY_6 = 0x36
Const $VK_KEY_7 = 0x37
Const $VK_KEY_8 = 0x38
Const $VK_KEY_9 = 0x39

;~ Const $WM_MOUSEMOVE = 0x0200

#endregion consts



While 1
Sleep(200)
WEnd

Func Start()
While 1

;--- HP
Local $whitebar = PixelGetColor( 942 , 596 )
Local $hp = PixelGetColor ( 800 , 630 )
If $whitebar = (0xEECB2E) And $hp <> (0xCC1E46) then
sendKey($VK_F1)
sleep (500)
Else
Sleep(100)

EndIf
WEnd
EndFunc

Func _Exit()
Exit
EndFunc









Func sendKeyEx($FKey)
If $FKey = "F1" Then
sendKey($VK_F1)
ElseIf $FKey = "F2" Then
sendKey($VK_F2)
ElseIf $FKey = "F3" Then
sendKey($VK_F3)
ElseIf $FKey = "F4" Then
sendKey($VK_F4)
ElseIf $FKey = "F5" Then
sendKey($VK_F5)
ElseIf $FKey = "F6" Then
sendKey($VK_F6)
ElseIf $FKey = "F7" Then
sendKey($VK_F7)
ElseIf $FKey = "F8" Then
sendKey($VK_F8)
ElseIf $FKey = "F9" Then
sendKey($VK_F9)
ElseIf $FKey = "F10" Then
sendKey($VK_F10)
Else
ConsoleWrite("Error with the F-key" & $FKey)
consoleAppend("Error with the F-key" & $FKey)
EndIf

EndFunc ;==>sendKeyEx






Func mouseRightDBLCLK()
; press mouse right button 2 times
DllCall('ggbp.dll', 'BOOL', 'ggPMA', 'HWND', $hwnd, 'UINT', $WM_RBUTTONDBLCLK, 'WPARAM', 0, 'LPARAM', 0)
EndFunc ;==>mouseRightDBLCLK


Func mouseLeftClick()
; press mouse left button
DllCall('ggbp.dll', 'long', 'ggPMA', 'long', $hwnd, 'long', $WM_LBUTTONDOWN, 'long', $MK_LBUTTON, 'long', 0)
Sleep(50)
DllCall('ggbp.dll', 'long', 'ggPMA', 'long', $hwnd, 'long', $WM_LBUTTONUP, 'long', 0, 'long', 0)
EndFunc ;==>mouseLeftClick


Func sendKey($key)
; send a message
DllCall('ggbp.dll', 'long', 'ggPMA', 'long', $hwnd, 'long', $WMKEYDOWN, 'long', $key, 'long', 0)
Sleep(50)
DllCall('ggbp.dll', 'long', 'ggPMA', 'long', $hwnd, 'long', $WMKEYUP, 'long', $key, 'long', 0)
EndFunc ;==>sendKey

; used to select a mob
; it simulates a mousemove() with motion
Func setCurPosEx($xPos, $yPos)
DllCall('ggbp.dll', "long", "ggSCP", "long", $xPos, "long", $yPos)
Sleep(50)
DllCall('ggbp.dll', "long", "ggSCP", "long", $xPos, "long", $yPos - 5)
Sleep(50)
DllCall('ggbp.dll', "long", "ggSCP", "long", $xPos, "long", $yPos - 10)
Sleep(50)
EndFunc ;==>setCurPosEx

Func setCurPos($xPos, $yPos)
DllCall('ggbp.dll', "long", "ggSCP", "long", $xPos, "long", $yPos)
EndFunc ;==>setCurPos
09/09/2018 23:33 cookie69#88
@[Only registered and activated users can see links. Click Here To Register...] Could you please close the thread. Regards.
09/10/2018 22:03 Nick#89
Quote:
Originally Posted by cookie69 View Post
@[Only registered and activated users can see links. Click Here To Register...] Could you please close the thread. Regards.
Sure!

#closed [as requested]