nhd1986 Posted April 27, 2006 Share Posted April 27, 2006 in a game, 2D or 3D, how can we write a code to locate a monster? i want to know about a gamebot, can anyone help me know about locating a monster in a gamebot Link to comment Share on other sites More sharing options...
bucky002 Posted April 27, 2006 Share Posted April 27, 2006 I can't help much because I don't knwo what game it is so take a look in the helpfile for these. PixelGetColor PixelSearch MouseClick That's all I can help. Link to comment Share on other sites More sharing options...
XxXFaNtA Posted April 27, 2006 Share Posted April 27, 2006 Has this Monster a specific color? What game are you talking about? /[center][/center] Link to comment Share on other sites More sharing options...
nhd1986 Posted April 28, 2006 Author Share Posted April 28, 2006 Silkroadonline, i knew a bot for this game , but i dun know how the bot can find monsters? Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 28, 2006 Share Posted April 28, 2006 what bot are you talking about SROBOT 1.6? or LXY or what, but the way they find it is when the hook is called to change the cursor to a sword to attack it will then double click simple as that, i unsure if autoit can do such a thing especialy since it has GG on it Link to comment Share on other sites More sharing options...
nhd1986 Posted April 28, 2006 Author Share Posted April 28, 2006 change the cursor to a sword to attack it will then double click simple as thatu wanted to talk about LXY, right? yes, it's simplebut 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 More sharing options...
Thatsgreat2345 Posted April 28, 2006 Share Posted April 28, 2006 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 More sharing options...
4gotn1 Posted April 28, 2006 Share Posted April 28, 2006 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 More sharing options...
nhd1986 Posted April 29, 2006 Author Share Posted April 29, 2006 thanks about it. but i wanted to ask about another way, a way which can be made by autoit as realizing change of the cursor(code?) Link to comment Share on other sites More sharing options...
nhd1986 Posted May 3, 2006 Author Share Posted May 3, 2006 (edited) my bot ShuiHuOnline.rarTHb.rar Edited May 31, 2006 by nhd1986 Link to comment Share on other sites More sharing options...
Simucal Posted May 3, 2006 Share Posted May 3, 2006 my bot 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 More sharing options...
Blue_Drache Posted May 3, 2006 Share Posted May 3, 2006 my bot 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 More sharing options...
nhd1986 Posted May 3, 2006 Author Share Posted May 3, 2006 (edited) expandcollapse popupsleep(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 May 3, 2006 by nhd1986 Link to comment Share on other sites More sharing options...
jay® Posted May 15, 2006 Share Posted May 15, 2006 expandcollapse popupsleep(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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now