name console command = crash

Posts 1–5 of 5 · Page 1 of 1
name console command = crash
Hello

Im trying to send the command "name anything" to the alteriwnet console but every time it results in a crash. It seems like all the commands except the name command works any idea why? I need this command to work becuse i am working on a name stealer which do work but i have to type the command in console manually to refresh the name.

this is the SendCommandToConsole im using:

Code:
void (__cdecl *SendCommandToConsole)(int a1,int a2,char *cvar)=(void (__cdecl *)(int,int,char *))0x0446DD0;

Thank you, and im sorry for my bad engelish
I readed somewhere that you have to disable the Cheat Write Protected to make the SendCommandToConsole function works.
Quote Originally Posted by user590177 View Post
I readed somewhere that you have to disable the Cheat Write Protected to make the SendCommandToConsole function works.
Thanks i will take a look at that

Edit:
I dont think it is that beacuse i can use the command if i type it directly in the console but if i Send it the game crashes


Edit2:
I solved it

Code:
SendCommandToConsole(1,1, "name anything")

Thank you Play&Win you got me thinking in the right direction. Expect a namestealer & changer in a couple of days
Quote Originally Posted by winberg View Post
Thanks i will take a look at that

Edit:
I dont think it is that beacuse i can use the command if i type it directly in the console but if i Send it the game crashes


Edit2:
I solved it, instead of

Code:
SendCommandToConsole(1,1, "name anything")
use this

Code:
SendCommandToConsole(1,1, "say_console name anything");
Thank you Play&Win you got me thinking in the right direction. Expect a namestealer & changer in a couple of days
Glad to helped you. But when I mean that you have to patch the cheat write protected, I mean that you shud do it to send commands from ur DLL or app to the console. Anyways I'm here to help
that is what i am doing but the command wasent cheat, write protected the command just caused the game to crash
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us