Like the idea of giving people who dont know about sigs etc. a little updater so they spam less asking for it if no one is on. XD
Like the idea of giving people who dont know about sigs etc. a little updater so they spam less asking for it if no one is on. XD
Nothing really special here.
It's a pvp 'tool' I wrote for my arena parter (spriest) who just can't be arsed to dispel magical CC of me. I play casually with him on live servers and don't need this crap when I'm playing with decent people on tournys.
When the user of this tool recieves a whisper containing a certain keyword - Dispel in this case - it will attempt to cast Dispel Magic on that person on the next free global cooldown (which is always within less than ~1.5 seconds seeing as it's evaluated every frame). The user is also alerted through a text message center screen. A colored line will be drawn from the user to the person who requested the dispel. The color of this line indicates the Line Of Sight status. This allows the tunnel visioning priest to adjust his position accordingly.
What is visible on this screenshot: Me whispering myself with the word Dispel, but instead of dispelling the following command got executed (testing purposes): /cast [target=nameoftheguywhowhispered] Fan of Knives
Oh and Player Name is obviously evaluated in the real version, I didn't want to black out the pretty font
See this as an advanced form of multi-boxing instead of cheating![]()
Last edited by Robske; 02-22-2010 at 08:18 PM.
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
"I cried a little earlier when I had to poop" - Sku
It's a good idea but.. Why not using AddonsChannel which wouldn't show/send any real whispers?
Last edited by DrakeFish; 02-22-2010 at 08:52 PM.
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
"I cried a little earlier when I had to poop" - Sku
That link could probly help you:
API SendAddonMessage - WoWWiki - Your guide to the World of Warcraft
I never used it since I'm not working on addons but it looks great.
Just fyi, your pattern scanner looks very slow. Mine suffered the same problem at first, however once I started caching large blocks of data rather than reading byte-by-byte is became a LOT faster.
ReadProcessMemory is a huge bottleneck. Check out my implementation in HadesMem if you want.
Haha that's pure winfail
https://i45.tinypic.com/157df7r.jpg
I do read byte-by-byte, what do you suggest me to do for it to be faster then?
Read bigger chunks of data and work on them.
I used to read 16kb + size of the pattern.
My implementation is just a translation of BlackMagic's FindPattern from C# to C++, and I increased the chunksize from 1kb bytes to 16kb.
Maybe Cypher's implementation is better, don't know how he did it, just take a look at his thread.
Hey, it compiles! Ship it!