ELSE - multi-class ControlClick bot

12/06/2007 08:29 biertje!#16
hiya what i mean to say is that click aint a control click therefore it will move themouse pointer.

Code:
;#######################
MouseGetPos, xpos, ypos,,,3
click %randx2%, %randy%
MouseMove, xpos, ypos , 0
;#######################
next; included the ctrl down too reduce time for ctrl being down
Code:
;#######################
MouseGetPos, xpos, ypos,,,3
send  ^{Click %randx2%, %randy%}
MouseMove, xpos, ypos , 0
;#######################

Yes it still moved but back where it came from.

Yes you can use winkill, but these three nnbuttons are

(controlclick) option, exit , ok within CO. just like sv

greetz
12/06/2007 09:06 evanxxxm#17
thekiller99@
to understand this better, i will explain my program frame.
PHP Code:
ColorSearch generate an output mouse position outX and outY
then my program will click outX 
and outY by a controlclick function 
so that means, as soon as someone create something by detecting memory and output it in INI. my bot will changed to:
PHP Code:
Read INI file for outX and outY
then my program will click outX 
and outY by a controlclick function 
it will take me like 10mins to edit it. no testing, no research needed, my whole bot is written mainly for the wait of the INI file

i cant tell u when someone can fullfill my request.
but i can say, the moment i received it, it will be out in Bot section quick.

thats the reason why i release this beta out, to attract people to help me. think about how many people will use this bot if it can minimized/background. or people that doesnt like to share fame, they can use my codes whatever purpose they want

purplehaze@
making dll files is impossible for me at this moment too
waiting for a tutorial in the underground section

pietjepuck@
thank you, encouragement helps me lighten up my spirit too

ViktorWood@
thank you, if u have download it, feel free to give back some feedbacks too. welcome for criticism and merits
i cant say its 100% bug free, but i have used this bot for a while already, level up 2 levels from 117-119 on my 2rb archer this week @_@

biertje!@
that is not controlclick, the only reason its there is because this is beta, and try to make some jump movement while not monster found.
i cant find a solution with controlclick that can jump yet.
if i cant find a solution, the minimized mode will be all controlclicks that without jumping.
12/06/2007 14:57 lafa#18
Omg man thats great till now i used SV but it was like freezing after an hour.
from now on Ill use your bot. Great job!

just a question does it picks elite\sup meteor\dragonball?

Oh, and about the DC blue\red and all those things we can use Cotobo and load your bot on the client thats not a problem.
12/06/2007 15:02 purplehaze#19
PHP Code:
    1. Read main character X,Y coordinates in game
    2. Read HP value
    3. Read mobs X
,Y location
    4. Read low dura 
Btw, Ive been thinking about this , I think reading X,Y coords arnt hard to find with like CheatEngine, HP value well more difficult but also possible.
Dura well I cant seem to find it but it must be there!
If someone knows these adresses then i dont think its hard to make a siimple program to write them to a .ini

Mobs on the otherhand.. I dont think thats possible to read their X,Y location.
Maybe it would be better to put like "Edit boxes" where you fill in the monster name (just like SV :p) I think that should be possible and scan it for the name.
*Dont know if this all makes sense :p*
12/06/2007 17:13 HackforLive#20
NICE good job! Can i use thu=i is mine hack pack i will give u the credit
12/06/2007 18:52 Heddskott#21
Very nice! I would like to see more about "Random typing messaging" when you bot. It may be hard to implent it but a try would fit.

Just simply when someone write to you, you'll get a answer from a wordlist or something.
12/06/2007 19:14 evanxxxm#22
lafa@
it picks up purple color items like Mets/DBs
thats why i included a dds file for u guys to replace the color of gems
and if u want more, like super/elite items, u have to find the dds urself and edit it

purplehaze@
dont know how to use cheatengine, i might download it later and see
actually the mob X,Y location is quite possible, whatever u see on the screen, there is a unique id for everything, even same monster, different id.
i am planning to learn how to detect other players' location in the screen first

HackforLive@
again, all my programs are open source
feel free to customize, edit it, punch it, torture it whatever ways u want
just inform me before hand is enough already

Heddskott@
then again, to read what people type u...thats memory reading
i wish i have deep knowledge at that
however i dont think its a good idea, if i keep adding this and that, it will just make the program loads each loop longer and more chance to crash in the middle
and also, whats wrong with letting people u know BOT. just because u reply something, but u still look like BOTTING, doesnt mean people are stupid enough to not notice
12/06/2007 19:44 lordzex#23
nice work u always make me impresive by ur works
12/06/2007 19:54 Huseby#24
wow this looks answome, any futured versions? :D
12/07/2007 00:25 evanxxxm#25
lordzex@
seems like many people interested in my controlclick programs, that can work minimized
thank you

huseby@
no future versions until someone can make a program that can output memory readings in INI file
12/07/2007 13:09 soymadmax#26
Do u think would be fast enough for each click?

open ini file with third program
writing coords
closing ini file

open ini file with your program
reading coords
move char

And maybe u still having mobs problem, probably knowing where they are is harder than reading some memory address.

Anyway im reading now about vb functions which can read memory. Im so noob in vb now, lost all my skills, but ill tell u if i get anything valuable from it.

Regards
12/07/2007 14:40 a1blaster#27
Retitled: ELSE - multi-class ControlClick bot
Per evanxxxm request. :)

#Moved! :p
12/07/2007 14:53 MushyPeas#28
I haven't tried anything from this link but I thought it might be interesting / useful to you evan [Only registered and activated users can see links. Click Here To Register...]
Quote:
Code:
; Get the index of the currently playing track from winamp.

AutoTrim, Off

WinGet, hwndWinAMP, ID, ahk_class Winamp v1.x
if hwndWinAMP =
{
   MsgBox Winamp does not appear to be running.
   Exit
}

; 0x0400 = WM_USER  0x7D = IPC_GETLISTPOS
SendMessage, 0x0400, 0, 0x7D, , ahk_id %hwndWinAMP%
if ErrorLevel = FAIL
{
   MsgBox SendMessage failed.
   Exit
}

; Otherwise, the answer is stored in ErrorLevel.
; Now tell Winamp to give us a pointer to the string of the track
; whose index we have to provide. The pointer is valid inside winamp's
; memory space.  0xD4 = IPC_GETPLAYLISTTITLE. Answer is again stored
; in ErrorLevel.
SendMessage, 0x0400, %ErrorLevel%, 0xD4, , ahk_class Winamp v1.x
if ErrorLevel = FAIL
{
   MsgBox SendMessage failed.
   Exit
}

; Store the address in a new var.
lpszTitle = %ErrorLevel%

; Get the Process ID of WinAMP.  It will be stored in the output-parameter PID.
DllCall("GetWindowThreadProcessId", "int", hwndWinAMP, "UInt *", PID, "UInt")
if (ErrorLevel or !PID)
{
   MsgBox GetWindowThreadProcessId failed.
   Exit
}

; Open the process so we can to stuff with it.
; The call will return a process handle.
ProcessHandle := DllCall("OpenProcess", "int", 24, "char", 0, "UInt", PID, "UInt")
if (ErrorLevel or !ProcessHandle)
{
   MsgBox OpenProcess failed.
   Exit
}

; Now we have the pointer stored in lpszTitle. To proceed we have to
; use ReadProcessMemory and read starting at the returned address.
; We have to read byte after byte until we encounter a "00" byte (string ends).

; clear the variable that will hold the track's name
teststr =
Loop
{
   ; Read from WinAMP's memory. Value will be copied into the string buffer, which
   ; must contain exactly one character because ReadProcessMemory won't terminate
   ; the string, only overwrite its contents.
   Output := "x"  ; Put exactly one character in as a placeholder.
   tempVar := DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", lpszTitle, "str", Output, "Uint", 1, "Uint *", 0)
   ; Error checking - i.e. no permission for reading from the process's memory
   if (ErrorLevel or !tempVar)
   {
      DllCall("CloseHandle", "int", ProcessHandle)
      MsgBox ReadProcessMemory failed.
      Exit
   }

   ; If the value of the byte read is zero we are at the end of the string.
   ; So quit the loop!
   if Output =
      break

   ; Append the character to our teststr variable that will hold the whole title string
   teststr = %teststr%%Output%

   ; Increment address by one to obtain next byte
   lpszTitle++
}

DllCall("CloseHandle", "int", ProcessHandle)  ; ErrorLevel and return value are not checked.

; Display our track's title
MsgBox The track title is:`n%teststr%
12/07/2007 16:08 IAmHawtness#29
I was too lazy to read through all the post so I don't know if this has been posted.

But.. If you want to make a bot that dcs you without closing the co window, couldn't you just use the /break command so disconnect yourself?
12/07/2007 16:26 bombica23#30
can it be run not activated window???