Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 2
Posts: 39
Join Date: Sep 2008
10-24-2008
Quote:
Originally Posted by OddZor
I'm talking morally not legally. If you go and decompile someones work and post it for everyone without even asking for permission you're an ass wipe, no question about it.
All i can say is You ARE COMPLETELY right,
His first bot, Who cares if it sucks he put alot of effort into it.
You people who say he should get better and he stinks, doesnt give him the reason to try to get better and better, you are just making it worse...
Anywho
Good job on your first bot, Keep making it better and tweaking it
And HOw would you feelif someone posted your source code on your Post???
and talkd shit about your work ??
SetPrivilege ("SeDebugPrivilege", 1)
;Get the PID & Handle
Global $wowPID = WinGetProcess("World of Warcraft")
Global $Handle = _OpenProcess($wowPID, $WMRPROCESS_VM_READ)
;Read an INT from 0x0127BFFC, add 0x30 -
;Read an INT from this value and add 0x28 -
;This should be the playerbase
$playerBase = _ReadProcess($Handle, (_ReadProcess($Handle, 0x0127BFFC, "int")+0x30), "int")+0x28
;Add 0x7D0 to the playerBase and read a float value from it for the x-coordinate.
$x=_readProcess($Handle, ($playerBase+0x7D0), "float")
Read player_base, add 8 to it, then read that address for the player struct. you can read health/mana and a lot other stuff to make the bot a lot smarter, even in autoit.
Hell, it's so damn easy I didn't even try if it would work, and btw Robs code does it wrong, it wont help any1 in this thread as they can't tell the difference between the working and the wrong code, nor do they know what a pointer is, so it's quite pointless(pointer?pointless? woho! a funny word game ) to post this stuff in here.
@hackingmac if you don't want to mess with memory reading take a look at PixelSearch and PixelChecksum, along time back I had an autoit bot based on pixel reading, it checked it's health and mana to know if it was time to rest or heal, it spammed TAB while walking around to target enemy units, then it started to spamm spells on that unit, for a meele class you could add a check for the out of range error message with some pixels or pull with a ranged weapon. Still you could code a much better bot by reading information out of WoWs memory, but judging form your source code you should first learn about basical programm flow controlling mechanism.
Learn how to use If claues, loops and switches, it's very important to do so when you want to programm a bot, because a bot needs to decide on data it reads in whatever manner out of the target programm, if your bot doesn't decide a thing it's not a bot.
(X.x) This was Bunny. He was killed by crazy horse,
(> <)(\_/) but he forgot to take his scalp with him.