TRY GO TO NEXT PAGE OF CODING
[[[[
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t pRunConsoleCommand = (RunConsoleCommand_t)0x485E10;
Thank me
[[[
Originally Posted by ultahackers
TRY GO TO NEXT PAGE OF CODING
[[[[
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t pRunConsoleCommand = (RunConsoleCommand_t)0x485E10;
Thank me
[[[
This works, but you have to call it from within a thread from the game. The simplest way to do this would be to hook a DirectX function and call it from there.
I'm not going to tell you/show you how to do it because there are WELL over 9000 tutorials/example source on this site and google.
You need a girlfriend..
Originally Posted by whit
You need a girlfriend..
Hehe nice.. but still u need stop being a nig
@Apoc91
Nice of you to explain that to him, when I first came on here no one mentioned that to me and I spent over 1 week trying to work out why my converted function wasn't working, At the time I thought they only hooked DX9 function for menus ect.. I know better now
Originally Posted by Departure
@Apoc91
Nice of you to explain that to him, when I first came on here no one mentioned that to me and I spent over 1 week trying to work out why my converted function wasn't working, At the time I thought they only hooked DX9 function for menus ect.. I know better now
I try to be helpful lol. The way I see it, we were all starting out at some point and that little extra help is the difference in someone taking the time to learn and someone just thinking it's an impossible feat. It always discouraged me when I first started programming when I'd ask questions and the only responses I'd get where "Lol noob, that's so easy". It wasn't the fact that I wouldn't google it was just that I needed a little more explanation.
Originally Posted by Apoc91
I try to be helpful lol. The way I see it, we were all starting out at some point and that little extra help is the difference in someone taking the time to learn and someone just thinking it's an impossible feat. It always discouraged me when I first started programming when I'd ask questions and the only responses I'd get where "Lol noob, that's so easy". It wasn't the fact that I wouldn't google it was just that I needed a little more explanation.
Well if you stay around here long enough you will find out who the leechers are..OP is one of them
Originally Posted by whit
Well if you stay around here long enough you will find out who the leechers are..OP is one of them
Yeah, it was pretty obvious :P ; But I didn't give him any source and just gave him a informative tip to get him on his way, the rest is up to him lol. (Although, given the fact he didn't already google around for anything, I'd doubt my tip will be followed)
Originally Posted by Apoc91
Yeah, it was pretty obvious :P ; But I didn't give him any source and just gave him a informative tip to get him on his way, the rest is up to him lol. (Although, given the fact he didn't already google around for anything, I'd doubt my tip will be followed)
Thats the problem today no one uses google..Or MSDN..
Originally Posted by whit
Well if you stay around here long enough you will find out who the leechers are..OP is one of them
Thats the problem today no one uses google..Or MSDN..
There's some things you just can't google, and really, after you get past the DLL injection, the MSDN isn't of much help either.
Google tends to bring up a lot of posts of people further saying "GOOGLE IT NOOB" then it turns into a never-ending chain of finding absolutely nothing. I personally find it's faster to ask a quick question on a forum of people that's already been there and done what I'm attempting -- granted, I don't ask directly HOW to do it, I may ask for some insight on where I could look or something.
Originally Posted by Apoc91
There's some things you just can't google, and really, after you get past the DLL injection, the MSDN isn't of much help either.
Google tends to bring up a lot of posts of people further saying "GOOGLE IT NOOB" then it turns into a never-ending chain of finding absolutely nothing. I personally find it's faster to ask a quick question on a forum of people that's already been there and done what I'm attempting -- granted, I don't ask directly HOW to do it, I may ask for some insight on where I could look or something.
I've never had that problem with Googling actually. What I need generally comes through 10 - 20 pages of research, plus more interesting information I wasn't aware of.
MSDN is very useful - you won't ever remember every WinAPI function and its parameters. Just make sure you use Google to search the MSDN, and not MSDN's Bing-powered search.
Originally Posted by freedompeace
I've never had that problem with Googling actually. What I need generally comes through 10 - 20 pages of research, plus more interesting information I wasn't aware of.
MSDN is very useful - you won't ever remember every WinAPI function and its parameters. Just make sure you use Google to search the MSDN, and not MSDN's Bing-powered search.
I see, I usually google and the first page, maybe page and a half will be nothing but responses about "just google it" then I start stumbling on some answers.
And, I know how to use the MSDN, I was just stating it's not needed much after you get past the DLL injection (Well, I haven't really needed it /shrug)