errr.. depends how you define a loop.. you could just write the loop in assembly instead, but honestly I can't think of a way to do that.. think about how you as a human would try to solve a proble...
Type: Posts; User: RobotGymnast
errr.. depends how you define a loop.. you could just write the loop in assembly instead, but honestly I can't think of a way to do that.. think about how you as a human would try to solve a proble...
thanks, I got it.. I essentially used that.. my code is
// check if a window is the one you're looking for
BOOL CALLBACK checkWindow(HWND hwnd,LPARAM param)
{
// where to copy the window...
I'm trying to get the process name of a window that changes, but always contains a certain substring.. is there any way to do this without knowing the process and only knowing part of the window?...
the space thing is working fine, but thanks for the suggestion
yeah it is.. but actually I'm trying to get a specific number of statements, so scanf works better.
in general though, yeah getline would be better.
thanks
oh I'm using it in C++.. whoops.
yeah I sort of figured it out.. the MSDN entries on scanf hurt my head T_T.
I think I got it though.. using stuff like either
scanf("%s %s %s",...);
or...
How do you get user input including white space? say, using scanf?
Oh and I can't get scanf_s to work.. it never reads properly.. weird.
And is there a way to only read a certain number of...
I don't care all too much about encapsulation.. I've never encountered very many reasons to use it.. if I run into problems, I will
I use keys in outter code (it's not shown here, but I do)
yeah I got it.. just make test an array and it works fine
I'm having problem with a char array.. here's my code.. nice and simple (I took out the unnecessary stuff), but this only gives a popup saying "a".. I've tried various other things, and keys[0] never...
got it. repetetive file plus bad code. sorry
Neither fread nor fseek in my code advance the cursor position the file, whether I opened it as r or r+, and I (obviously) require the cursor to change to read past the first few bytes.
FILE*...
hmm.. interesting. I sort of meant this game in particular, but it's not really fun to hack anyway (hacking's more recreational for me.. I only do stuff without security, e.g. offline games).
...
I generally use CE, but it's just weird because that game has hack-protection.. nowadays it's done by searching for the byte signatures of old hacks
weird.. because I know some of these hacks usually needed a register change or breakpoint in the code.. not just on and off values... I wonder where he got these values
I know, it's really horrible code.. it's one of the only publicly available DLL source codes for that game though.. it's outdated now anyway, I just keep it around as an example, but I haven't taken...
it wasn't code injection, it was just value editing.. here's the source code.. it's somewhat messy (you should've seen it before I cleaned it up)
#include <windows.h>
#define KLIPPETYK ...
(I was just using it as an example because that's where I've seen it.. I'm not really using it for anything, I'm more just trying to do random stuff that's a bit more low-level, because it's new to...
err wow that's strange.. I've seen, especially in game hacking DLLs, people implement hacks that require flag changes.. the weird part was they were doing some sort of weird XOR thing that I couldn't...
I understand that for the most part, but how do you only change them when execution hits a certain address, like in a multi-threaded application, how do you detect when execution has hit a certain...
I would like to know how have a DLL that will change flags/registers when execution hits a certain location. I can change values; that's easy enough. What about flags and registers only when...
ah.... well I think this convo's officially dead. *unsubscribe*
hmm? I swear I tried them and they were annoying.. whatev I'll give it a shot. thanks.
STL string...? whatev I'm sticking to char*.. it works fine for me