Results 1 to 3 of 3
  1. #1
    Silent's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    2,421
    Reputation
    692
    Thanks
    5,206

    sendToConsole/ShowConsole/Sv_Gamesends.....

    just posted thease on another thread so i thought i would allso put in the place where im soposted to

    Show the console:
    Code:
    void cEngine::ShowDevConsole(){
    	if (DisableShowConsole){//check if it == true
    		DisableShowConsole = !DisableShowConsole;//Makes it so you can only show console once incase a bug causes you to call function more then once
    
    		((int(__cdecl*)())OFFS_ShowDevConsole)();//calling show console function within game
    
    		MSG Message;//this loop prevents menu from closing and crashing game
    		while (GetMessage(&Message, 0, 0, 0)){
    			TranslateMessage(&Message);
    			DispatchMessage(&Message);
    		}
    	}
    }
    Print to console:
    Code:
    void cEngine::PrintToConsole(const char* Text){
    	((void(__cdecl*)(const char*))OFFS_PrintToConsole)(Text);
    }
    SV_GameSendServerCommand:
    Code:
    void cEngine::Sv_GameSendServerCommand(int Client, char* Command){
    	((int(__cdecl*)(int Client, int commandType, char* Command))OFFS_PrintToConsole)(Client, 0, Command);
    }
    Cbuf_AddText:
    Code:
    void cEngine::Cbuf_AddText(char* Command){
    	((int(__cdecl*)(int Client, char* Command))OFFS_Cbuf_AddText)(0, Command);
    }
    sv_gmasendservercommand can click clients with r and then client number example Sv_GameSendServerCommand(ClientNumber, 0, "r \"HaHa Get l33t hacked\"");

    Force start game is xpartygo with a few nops then send xpartygo to console i think(im proberly wrong)

    Forcehost is party_minplayers (console command)

    Change team is console command

    18 lobby is party_maxplayers 18

    kick is above

    extras
    text screen cmd: "c \"text on screen text\"" you can allso use materials


    Addressess:
    #define OFFS_ShowDevConsole 0x5CB490
    #define OFFS_PrintToConsole 0x5CB600
    #define OFFS_Sv_GameSendServerCommand 0x5882D0
    #define OFFS_Cbuf_AddText 0x563BA0

    Credits eithan as i found everything on this list(well the addresses i found and i just rember commands and stuff from other cods)

    EDIT: this took a hole 10 minutes of my day(I dident mind doing it since i gotta get needles today )

    Game cheating scripting language: MPGH thread here





     






     

    Member - 01/31/2015
    Premium - 09/12/2016
    Call of Duty minion - 11/05/2016
    BattleOn minion - 02/28/2017
    Battlefield minion - 5/30/2017






  2. The Following 4 Users Say Thank You to Silent For This Useful Post:

    Kid a (05-19-2016),Tiiiiimooo (05-20-2016),xmitti (12-10-2016),Zmain09 (05-26-2016)

  3. #2
    Zmain09's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Well, that's cool !

    Now, just missing how to send commands from external !

  4. #3
    Threadstarter
    Away until the 11th of June.
    Premium Member
    Minionforce
    Silent's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    2,421
    Reputation
    692
    Thanks
    5,206
    Quote Originally Posted by Zmain09 View Post
    Well, that's cool !

    Now, just missing how to send commands from external !
    There is a console somewhere you can download it's coded in c# so it's external

    Game cheating scripting language: MPGH thread here





     






     

    Member - 01/31/2015
    Premium - 09/12/2016
    Call of Duty minion - 11/05/2016
    BattleOn minion - 02/28/2017
    Battlefield minion - 5/30/2017