Jump to content

Code: "locate A Monster". Anyone Help Me!


Recommended Posts

change the cursor to a sword to attack it will then double click simple as that

u wanted to talk about LXY, right? yes, it's simple

but i want to ask about some bot can locate monster, it dun need move mouse include: Srobot all version.

I want to know: how it can do that

Link to comment
Share on other sites

i havent really used any SRObots but what u mean how does it locate a monster? do they have boxes around them saying theres a monster there or does it just attack cuz then that would probaly mean it is way advanced and cant explain in simple terms how exactly it does it, its kinda like Counter strike hacks

Link to comment
Share on other sites

iSROBOT simply attacks, but iSROBOT injects itself and its "silk.dll" into the game and hooks alot of different addresses waiting for those hooks to turn on then responds to it accordingly. I don't think autoit can do this, so (he) will need a different way to detect if they're is a monster either attack-able or attacking the player. ;P

(by the way, GG gets disabled by iSROBOT so its possible *somehow*)

Link to comment
Share on other sites

my bot :think:

I for one, am not going to run any executable files from people I dont know.

Post the source.

AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)
Link to comment
Share on other sites

my bot :think:

Look, if you run this foo's executable, then you deserve to have your account, computer and whatever else hacked into oblivion.

nhd...post the source and we'll compile it ourselves.

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Link to comment
Share on other sites

sleep(1000)
Func _check()
$coord = PixelSearch(146,132,179,135,0x5a555a)

if not @error Then
            send("{F1}")
            sleep(10000)
        EndIf
EndFunc
$i=0
$a=0
$b=0
while $i<100
    $x = 460
$y = 150
$toado = PixelSearch(202,104,875,565,0x00FF00);<===color of moster's name(here is green)
if not @error Then
    For $a=0 To 100
        for $b=0 to 30
            if hex(PixelGetColor($toado[0]+$a,$toado[1]+$b),6)="00FF00" Then
                    _MouseMovePlus(($toado[0]+$a+20)*(65535/@DesktopWidth), ($toado[1]+$b+30)*(65535/@DesktopHeight),1)
                    MouseClick("left")
                send("{F2}")
                $i=$i+1
                sleep(1000)
                $c = PixelSearch(457,149,471,151,0xffffff)
                if not @error Then
                    if hex(PixelGetColor($c[0],$c[1]),6)="ffffff" then
                        while hex(PixelGetColor($x,$y),6)="ffffff"
                            $c = PixelSearch(457,149,471,151,0xffffff)
                            if not @error then 
                                $x = $c[0]
                                $y = $c[1]
                            EndIf
                        WEnd
                    EndIf
                EndIf
                _check()
            EndIf
        Next
    Next
EndIf
Send("{F3}")
sleep(1000)
WEnd

Func _MouseMovePlus($X, $Y,$absolute = 0)
        Local $MOUSEEVENTF_MOVE = 1
    Local $MOUSEEVENTF_ABSOLUTE = 32768
    DllCall("user32.dll", "none", "mouse_event", _
            "long",  $MOUSEEVENTF_MOVE + ($absolute*$MOUSEEVENTF_ABSOLUTE),  "long",  $X,   "long",  $Y,    "long", 0,  "long",  0)
        EndFunc

Edited by nhd1986
Link to comment
Share on other sites

  • 2 weeks later...

sleep(1000)
Func _check()
$coord = PixelSearch(146,132,179,135,0x5a555a)

if not @error Then
            send("{F1}")
            sleep(10000)
        EndIf
EndFunc
$i=0
$a=0
$b=0
while $i<100
    $x = 460
$y = 150
$toado = PixelSearch(202,104,875,565,0x00FF00);<===color of moster's name(here is green)
if not @error Then
    For $a=0 To 100
        for $b=0 to 30
            if hex(PixelGetColor($toado[0]+$a,$toado[1]+$b),6)="00FF00" Then
                    _MouseMovePlus(($toado[0]+$a+20)*(65535/@DesktopWidth), ($toado[1]+$b+30)*(65535/@DesktopHeight),1)
                    MouseClick("left")
                send("{F2}")
                $i=$i+1
                sleep(1000)
                $c = PixelSearch(457,149,471,151,0xffffff)
                if not @error Then
                    if hex(PixelGetColor($c[0],$c[1]),6)="ffffff" then
                        while hex(PixelGetColor($x,$y),6)="ffffff"
                            $c = PixelSearch(457,149,471,151,0xffffff)
                            if not @error then 
                                $x = $c[0]
                                $y = $c[1]
                            EndIf
                        WEnd
                    EndIf
                EndIf
                _check()
            EndIf
        Next
    Next
EndIf
Send("{F3}")
sleep(1000)
WEnd

Func _MouseMovePlus($X, $Y,$absolute = 0)
        Local $MOUSEEVENTF_MOVE = 1
    Local $MOUSEEVENTF_ABSOLUTE = 32768
    DllCall("user32.dll", "none", "mouse_event", _
            "long",  $MOUSEEVENTF_MOVE + ($absolute*$MOUSEEVENTF_ABSOLUTE),  "long",  $X,   "long",  $Y,    "long", 0,  "long",  0)
        EndFunc
does pixelgetcolor work for you ingame coz mine only returns none. somehow i think gameguard blocks pixelgetcolor. i cant ever seem to get any color no matter how or whatever color i click in SRO. everything returns 0<<===signifies black or simply nothing. =( can someone confirm is pixelsearch and pixelgetcolor works in SRO ingame?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...