In this toturial you will learn how to inject some commands to the game Functions
1) how to inject Command to Game console ?
this code will do it (C++ & Assembly)
Explanation -
the next code will inject commands to console
for some commands you need to use the first Assembly code
for more commands the game will crash .. so you will need to use the Other ASM code
here a Example
SendToConsole("xpartygo",1);
and here a Other Example
SendToConsole("say \"Code By NieXrlaM X_X\"",0);
2) how to inject Text to Console Textbox ?
this code will do it (C++ & Assembly)
here a Example -
SendTextToConsole("\n Code By NieXrlaM X_X \n");
here what its does -
3) how to inject Text to Chat Display Function ?
this code will do it (C++ & Assembly)
here a Example -
SendTextToChat("^3Code By NieXrlaM X_X");
here what it does -
Enjoy !
(and sorry for my english)
1) how to inject Command to Game console ?
this code will do it (C++ & Assembly)
PHP Code:
void SendToConsole(char* Command,bool Cmd){
int ConsoleAddress = 0x4393E0;
int ConsoleOffset2 = 0x4F8120;
if(Cmd == 0){
_asm{
push Command
push 0
push 0
call [ConsoleAddress]
add esp,0x0c
}
}
else if(Cmd == 1){
_asm{
push Command
push 0
call [ConsoleOffset2]
add esp,0x8
}
}
}
Explanation -
the next code will inject commands to console
for some commands you need to use the first Assembly code
for more commands the game will crash .. so you will need to use the Other ASM code
here a Example
SendToConsole("xpartygo",1);
and here a Other Example
SendToConsole("say \"Code By NieXrlaM X_X\"",0);
2) how to inject Text to Console Textbox ?
this code will do it (C++ & Assembly)
PHP Code:
void SendTextToConsole(char* Text){
int Address = 0x4D1D90;
_asm{
PUSH [Text]
CALL [Address]
add esp,0x04
}
}
here a Example -
SendTextToConsole("\n Code By NieXrlaM X_X \n");
here what its does -
3) how to inject Text to Chat Display Function ?
this code will do it (C++ & Assembly)
PHP Code:
void SendTextToChat(char* Text){
char* Types = "chat message";
int ChatOffset = 0x594830;
_asm{
push [Types]
push 0x3A83B201
push 0x96
push [Text]
push [Text]
mov esi,[Text]
mov ecx,esi
call [ChatOffset]
add esp,0x14
}
}
here a Example -
SendTextToChat("^3Code By NieXrlaM X_X");
here what it does -
Enjoy !
(and sorry for my english)
There are 10 types of people in the world, those who know binary code and those who not understand the joke ,,