Results 1 to 7 of 7
  1. #1
    mwxplayer's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    hax
    Posts
    584
    Reputation
    10
    Thanks
    2,663
    My Mood
    Doh

    Posting Shaders..

    How do you post shaders in chat (like NH9 did) ?..
    I tried one time.. like this
    Code:
    char*lal = "say %X",Shader;
    SendCommantoConsole(lal);
    but it just spammed X in the chat..

  2. #2
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,876
    My Mood
    Psychedelic
    Here's some nice code for you:


    Code:
    #define CHAT_INPUT DIRECT_CHAT_INPUT //Direct input to chat (Must be static)
    
    void ShowShaderInChat()
    {
       SimulateKeyPress(KEY_LOWERCASE_LETTER_T); //Open the chat
       SleepThread(2000); //Kill the thread for 2 seconds. Allows chat to open.
       char X[8], * ShowToChat = (char*)CHAT_INPUT; //Variable declaration, Gangsta style. :P
       sprintf(X, (char*)"\x5E\x02\xFF\xFF\xFF\xFF\xFF\xFF"); //Change this byte pattern for whatever shader you use. This is NH9's Magic Pattern
       for(int i=0; i<sizeof(X); i++)
          *ShowToChat[i] = X[i]; //Sends the pattern to the chat
       SleepThread(2000); //Kills the thread for 2 seconds to allow the shader to show.
       SimulateKeyPress(KEY_RETURN); //Presses enter and sends it to the server.
    }
    
    void __cdecl Main()
    {
       for( ; ; Sleep(250)) //Forever loop and sleep for 250ms
                   if(*IsInGame != 0 && (GetAsyncKeyState(VK_END)&1))
                                  ShowShaderInChat();
    }
    
    BOOL APIENTRY DllMain(HANDLE hDl, DWORD R, LPVOID lpv)
    {
      if(R == DLL_PROCESS_ATTACH) CreateThread(0, 0, &Main, 0, 0, 0);
      return 1;
    }
    Last edited by Kenshin13; 12-30-2012 at 04:59 PM.

  3. The Following User Says Thank You to Kenshin13 For This Useful Post:

    mwxplayer (12-30-2012)

  4. #3
    mwxplayer's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    hax
    Posts
    584
    Reputation
    10
    Thanks
    2,663
    My Mood
    Doh
    Quote Originally Posted by Kenshin13 View Post
    Here's some nice code for you:


    Code:
    #define CHAT_INPUT DIRECT_CHAT_INPUT
    
    void ShowShaderInChat()
    {
       SimulateKeyPress(KEY_LOWERCASE_LETTER_T); //Open the chat
       SleepThread(2000); //Kill the thread for 2 seconds. Allows chat to open.
       char X[8], * ShowToChat = (char*)CHAT_INPUT; //Variable declaration, Gangsta style. :P
       sprintf(X, (char*)"\x5E\x02\xFF\xFF\xFF\xFF\xFF\xFF"); //Change this byte pattern for whatever shader you use. This is NH9's Magic Pattern
       for(int i=0; i<8; i++)
          *ShowToChat[i] = X[i]; //Sends the pattern to the chat
       SleepThread(2000); //Kills the thread for 2 seconds to allow the shader to show.
       SimulateKeyPress(KEY_RETURN); //Presses enter and sends it to the server.
    }
    
    void __cdecl Main()
    {
       for( ; ; Sleep(250))
                   if(*IsInGame != 0 && (GetAsyncKeyState(VK_END)&1))
                                  ShowShaderInChat();
    }
    
    BOOL APIENTRY DllMain(HANDLE hDl, DWORD R, LPVOID lpv)
    {
      if(R == DLL_PROCESS_ATTACH) CreateThread(0, 0, &Main, 0, 0, 0);
      return 1;
    }
    lal.... Thanks.
    EDIT : and SimulateKeyPress is Defined as? also SendtoChat is SendCommanttoconsole? and there's nothing like DIRECT_CHAT_INPUT also its not sleepThread its Sleep.. Verify your code..
    Last edited by mwxplayer; 12-30-2012 at 11:26 AM.

  5. #4
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,876
    My Mood
    Psychedelic
    Quote Originally Posted by mwxplayer View Post
    lal.... Thanks.
    EDIT : and SimulateKeyPress is Defined as? also SendtoChat is SendCommanttoconsole? and there's nothing like DIRECT_CHAT_INPUT also its not sleepThread its Sleep.. Verify your code..
    ....I never posted it to be compiled as a copy and paste Learn to freaking code.
    SimulateKeyPress is not a function, I put it so you know what you need to do. And DIRECT_CHAT_INPUT is the offset to the chat. Find it yourself.

  6. The Following User Says Thank You to Kenshin13 For This Useful Post:

    Barkley7 (12-30-2012)

  7. #5
    Barkley7's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    At my House?
    Posts
    178
    Reputation
    10
    Thanks
    26
    My Mood
    Blah
    Yah bitch find it yourself!

  8. The Following User Says Thank You to Barkley7 For This Useful Post:

    Kenshin13 (12-30-2012)

  9. #6
    mwxplayer's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    hax
    Posts
    584
    Reputation
    10
    Thanks
    2,663
    My Mood
    Doh
    Quote Originally Posted by Barkley7 View Post
    Yah bitch find it yourself!
    .-. Does it matter's to do a useless post ?

    ---------- Post added at 12:01 AM ---------- Previous post was at 12:00 AM ----------

    Quote Originally Posted by Kenshin13 View Post
    ....I never posted it to be compiled as a copy and paste Learn to freaking code.
    SimulateKeyPress is not a function, I put it so you know what you need to do. And DIRECT_CHAT_INPUT is the offset to the chat. Find it yourself.
    and SendtoChat is? Just tell me what are they...
    Last edited by mwxplayer; 12-31-2012 at 03:45 AM.

  10. #7
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,876
    My Mood
    Psychedelic
    [QUOTE=mwxplayer;7220192].-. Does it matter's to do a useless post ? [COLOR="Silver"]

    I didn't use SendCommandToConsole. That was direct Copying to chat.

    Go Copy And Paste:

    Code:
    void SendCrashChat()
    {
    	BYTE* X = (BYTE*)"\x5E\x02\xFF\xFF\x0D\x5E\x02\xFF\xFF"; //0x0D Restarts the line. 0x0A Is the equivilent of "\n"
            int Shader = R_RegisterShader("compassping_player");
    	if(GetAsyncKeyState(VK_F10)&0x1)
    	{
     		for(int i=0; i<11; i++)
     			*(BYTE*)(0x00B3A284 + i) = *(X+i);
    	}
    }
    Now figure our how to print the shader. Might wanna put the first byte as 5E.
    Like this:
    Code:
    BYTE* Shift = (BYTE*)"\x5E";
    *(BYTE*)0x00B3A284  = Shift;
    *(int*)(0x00B3A284 + 1) = Shader;
    Last edited by Kenshin13; 12-31-2012 at 04:22 AM.

Similar Threads

  1. My Last Post
    By Flawless in forum Spammers Corner
    Replies: 15
    Last Post: 04-26-2009, 07:53 AM
  2. Post the scariest shit you have seen!
    By arunforce in forum General
    Replies: 26
    Last Post: 08-18-2007, 12:16 AM
  3. Can we post godmode for gunz
    By rock1988 in forum Gunz General
    Replies: 24
    Last Post: 02-09-2006, 11:51 PM
  4. Sugestion--Post Saved packets (WR)
    By wardo1926 in forum General Game Hacking
    Replies: 12
    Last Post: 01-03-2006, 11:41 AM
  5. Rules - Read Before Posting
    By Dave84311 in forum General Game Hacking
    Replies: 0
    Last Post: 12-31-2005, 12:13 PM