Very nice Apoc . The main form for your app (the one that pops up after you choose grinder) is that injected WinForms? or external? Not .NET at all?
Very nice Apoc . The main form for your app (the one that pops up after you choose grinder) is that injected WinForms? or external? Not .NET at all?
The entire bot is injected. So yes, the WinForms are 'injected'. Running in it's own GUI thread though.
Oh true I wasn't paying attention to the first form and assumed it was some out of process form for choosing instance to inject into or w/e. I've got a similar situation atm injecting and using WinForms as main GUI. Do you get any conflicts with the Application class causing any issues to the WoW process?
Nope. Just don't use Application.Exit or Environment.Exit, and there are no issues.
There are only 2 'special cases' you need to take care of when injecting.
The first being the following:
Windows XP has issues with setting up visual styles and CTR from an injected process. No idea why, but the above fixes numerous issues on XP.Code:[STAThread] private static void Main() { if (!WoW.Utilities.IsWindowsXp) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); } Application.Run(new FormMain()); }
The other is the use of 'group' controls. Mainly tab controls. They seem to have issues with XP as well. (Though; I haven't seen any reported lately, so it may have been some old code of mine acting up a while ago.)
Cool. I'm running Win 7 and hadn't noticed any issues, although I had those two lines of code anyway (basically just copied the Main from a default new Win Forms project, and it includes those by default).
Would you mind saying some words about how your GUI communicates with the botcode and vice-versa? I am doing almost the same (well, its in C++ and I inject wxWidgets) and my current code feels fugly.The entire bot is injected. So yes, the WinForms are 'injected'. Running in it's own GUI thread though.
Hey, it compiles! Ship it!
The GUI doesn't do anything that calls into WoW directly.
OK, well that's a lie, but it's some very minor things that can't be corrupted, or run into race conditions. (Simple mem reads are hardly an issue)
Since the Grind GUI is actually in a DLL, we can't use the built in Settings stuff. So I had to write my own wrapper for a settings class to make it a bit less retarded.
Other than that, it's really nothing special. Our targeting system just fills a static list of strings that we read into the GUI every second. Everything else is well... simple really. (The Areas tab code is a mess atm, but it's not exactly on my list of shit to clean.)
Very nice apoc, i love the movement you have on it.
The jumping around the mob like a regular druid, incombat [I do that on my own guy].
And the walking and avoiding the obstacles as well as the detection you did to see whether or not stuff was jumpable like that tree root that was in the ground instead of just pathing around it.
Makes it very human like
I was actually surprised to see that too, haha
indeed very nice apoc, i almost suspected you for playing yourself and that the app just logged everything you did
I take hacking to new levels.
MW2 version of my OOP hacks, it streams from the game window to my off-screen window @ 60fps and draws my esp there (With only a 5-10% CPU overhead on an older Core 2 duo). But I still have the ability to manipulate the game in terms of having things like an aimbot etc.
None of them of course detected by Punkbuster, Xray, VAC2, etc. etc.
First time I've seen it done so far..
After some work and thousands of compile warnings YAGB is startable under linux right now.
ptrace() FTW!
Sorry, its fixed now , delete this post please admin?
Last edited by WannaBeProgrammer; 02-07-2010 at 07:37 PM. Reason: delete?
My first wow memory reading program!
Don't mind the Info labels down there, it doesn't update when switching from Players to NPC yet:<
Moar stuff to be added soon! Like, not just displaying NPCS or Players only!:]
Made with C++ / QT
Last edited by Kokoskewl; 02-07-2010 at 10:26 PM.
Ohh nice kokoskewl, i might go ninja your idea with showing them in a treeview