Problem with fstream

09/24/2014 18:59 ιllυѕιve#1
Hey there guys
So i am trying to make a pattern scanner for S4League
It's a dll and i want it to create a file and put the address that it obtained in a txt file
But it does not work , it doesn't create any txt file

Source code :

Header.h

Functions.h

Source.cpp


Why am i doing this in a dll and not in a exe (console based app ) ?
Because The scan method seems to not work in a console based app

I would appreciate if someone could show me how to do the scanning in a console

But first , i'm looking forward to make it output to the txt file :c
09/24/2014 19:13 Omdi#2
Code:
myfile.open ("addys.txt", std::ofstream::out);
The file will be created in the injected executable's path (S4 League path):)
09/24/2014 19:20 ιllυѕιve#3
Quote:
Originally Posted by Omdihar View Post
Code:
myfile.open ("addys.txt", std::ofstream::out);
The file will be created in the injected executable's path (S4 League path):)
Thank you very much , didn't think of that lol.
So now if anyone is willing to show me the right way of pattern scanning in a console based app , i would be really thankfull :)
09/24/2014 19:37 Omdi#4
Quote:
Originally Posted by ιllυѕιve View Post
Thank you very much , didn't think of that lol.
So now if anyone is willing to show me the right way of pattern scanning in a console based app , i would be really thankfull :)
[Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...]

These two functions should do it :)