Again, this is another one of my snippets, that I use and isn't mine. :P
So firstly, we define out functions:
Bingo, now just send it a name, either in hex or normal letters: (Hex below)Code:int SendCommandToConsole( char* Cmd ) { DWORD dwFunc = 0x004C1030; __asm { push Cmd; push 0; call dwFunc; } return 0; } bool ChangeName(char* Name) { char buf[100]; sprintf_s(buf, "userinfo \"\\name\\%s\"", Name); if(SendCommandToConsole(buf)) SendCommandToConsole("rate 20000"); return TRUE; }
Yadda yadda yadda. You might need these also:Code:char Name[] = {\x11\x12\x13\x0A\x0A\x1F\x1F\x13\x0A"}; ChangeName(Name);
Have fun.Code:// \x Followed by byte to indicate Letter, Number Or Other [31 MAX] // 30 - 39 :: Ranges from 0 to 9 // 41 - 5A :: Ranges from A to Z // 61 - 7A :: Ranges form a to z // 11 - 1F :: Shows HIDDEN Name // 00 :: Unknown Player :: 0A :: Go Down A Line :: 0D :: Move back to First Position
Credits: Origional person who I saw with this code: BaberZz
Last edited by Kenshin13; 09-29-2012 at 05:04 PM.
Your going ham Now i dont get why its only inside a server ... And not outside of a server ...
Where are the credits?
Yes I'm annoying.. but that's because someone worked hard to find this stuff... And, no offense, it wasn't you Am I right @intervention61?
CoD Minion from 09/19/2012 to 01/10/2013
Excatly, thanks for letting me know. This guy's leeching goes on and on lol
also OP btw
that will crash. Don't dereference. Use this.Code:bool ChangeName(char* Name) { char buf[100]; sprintf_s(buf, "userinfo \"\\name\\%s\"", *Name); if(SendCommandToConsole(buf)) SendCommandToConsole("rate 20000"); return TRUE; }
Code:sprintf_s(buf, "userinfo \"\\name\\%s\"", Name);
Last edited by intervention61; 09-29-2012 at 10:26 AM.
"Joker: why the hakcer are steaklign us name it´s the greatest asshole and motherfucker and i fuck him or her mother"
Kenshin13 (09-29-2012)
Kenshin13 (09-29-2012)
Oops.....my bad bro...... Major props for this
I need to stop forgetting my credits....Like you -InSaNe-
:troll:
Jorndel (09-29-2012)