SetConsoleVariable

Posts 19 of 9 · Page 1 of 1
SetConsoleVariable
Code:
void* vCall;
void _cdecl SetConsoleVariable(const char* sVar) {
	vCall = (void*)4781200;

	_asm {
		push 0
		push sVar
		push 8111088
		call vCall
		add esp, 0xC
	}
}
thanks can i ask were u got that address or is it static cuz ill make a sig scan for it and put it in my logger

how to use this

Code:
 SetConsoleVariable("WalkVel",10000);
Quote Originally Posted by DisOwned View Post
thanks can i ask were u got that address or is it static cuz ill make a sig scan for it and put it in my logger

how to use this

Code:
 SetConsoleVariable("WalkVel",10000);
uwotm8? the OP post code only takes a single arguement in the form of a const char* IE: "SetConsoleVariable(const char* sVar)"

if your code would work it would need to be "SetConsoleVariable(const char* sVar, int value)"
Then it'd have to be used.



( ͡° ͜ʖ ͡°)
Quote Originally Posted by DisOwned View Post
thanks can i ask were u got that address or is it static cuz ill make a sig scan for it and put it in my logger

how to use this

Code:
 SetConsoleVariable("WalkVel",10000);
Just use sprintf ....
This is as asm c&p from engine.exe...
If you know here the function is, they cant secure it against people who can read asm lol..
Quote Originally Posted by Ch40zz-C0d3r View Post
This is as asm c&p from engine.exe...
If you know here the function is, they cant secure it against people who can read asm lol..
haha you my friend are correct. But come on, people here are clueless. It's fun to mess with em.

Quote Originally Posted by Ch40zz-C0d3r View Post
Just use sprintf ....
Why do more work than you have to? o.o
Quote Originally Posted by J View Post


haha you my friend are correct. But come on, people here are clueless. It's fun to mess with em.



Why do more work than you have to? o.o
Well, In my hack I used that method for speedhack so I could make a slider and modify speed with 2 lines of code
Is simplier than hardcoding the speed for a slider
I thougt he wants to use that too =D
i copy in2 cplus+ and it no work?
Quote Originally Posted by ac1d_buRn View Post
i copy in2 cplus+ and it no work?
u wot m8 /2short
Posts 19 of 9 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?