Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    JusCaus's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    725
    Reputation
    23
    Thanks
    112
    My Mood
    Aggressive

    ingame msgbox problems.....

    I cant get this to work anymore....

    here is how i have it.....


    Code:
    #include <windows.h>
    #include "exports.h"
    void ShowMessage(char* string, DWORD CShell);
    Code:
    DWORD CShell          = (DWORD)GetModuleHandleA("CShell.dll");
        ShowMessage("JusCaus TEST!!",CShell); 
       
    	while(true)
    Code:
    return TRUE;
    }
    void ShowMessage(char* string, DWORD CShell)
    {
                    DWORD MsgBoxFunc = CShell +0xA4180;
                    __asm
    		{			push string;
    		        	push 0;
    	            	push 0x70;
                    	push 0x1C;
                    	call MsgBoxFunc;
    			       add esp, 16;
    		}
    }

    anyhelp?
    [IMG]https://i1132.photobucke*****m/albums/m571/JusCausGraphix.jpg[/IMG]

  2. The Following User Says Thank You to JusCaus For This Useful Post:

    BlackLite (07-07-2012)

  3. #2
    DaRk's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    MPGH
    Posts
    1,910
    Reputation
    119
    Thanks
    3,986
    My Mood
    Asleep
    i think it was 0x71 and 0x1D now

  4. The Following User Says Thank You to DaRk For This Useful Post:

    BlackLite (07-07-2012)

  5. #3
    JusCaus's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    725
    Reputation
    23
    Thanks
    112
    My Mood
    Aggressive
    ahhhhh i didnt check it in olly, i just used them from giniyats post... ill check it now....

    send error report with those....

    ---------- Post added at 11:29 PM ---------- Previous post was at 11:22 PM ----------

    10146FBC |. 6A 00 PUSH 0 ; |Arg3 = 00000000
    10146FBE |. 6A 71 PUSH 71 ; |Arg2 = 00000071
    10146FC0 |. 6A 1D PUSH 1D ; |Arg1 = 0000001D
    10146FC2 |. E8 B9D1F5FF CALL CShell_u.100A4180 ; \CShell_u.100A4180


    yep thats what it is but its not working for me....aghhh
    Last edited by JusCaus; 07-06-2012 at 11:23 PM.
    [IMG]https://i1132.photobucke*****m/albums/m571/JusCausGraphix.jpg[/IMG]

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

    BlackLite (07-07-2012)

  7. #4
    StupidFuck's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    A box. Wont you give me money to live?
    Posts
    2,168
    Reputation
    156
    Thanks
    4,850
    are you talking actually in game? Or just before the game starts?

  8. #5
    Jeovante's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    Berkely,CA,USA
    Posts
    1,240
    Reputation
    164
    Thanks
    3,679
    My Mood
    Aggressive
    Quote Originally Posted by ryakhawk View Post
    are you talking actually in game? Or just before the game starts?
    he is talking about in game msg box not the windowed time.. in game.

  9. #6
    [G]a[M]e[R]'s Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    594
    Reputation
    22
    Thanks
    198
    My Mood
    Cool
    this source musst put alter dll main
    Code:
    void ShowMessageNA(char* string, DWORD CShell)
    {
                    DWORD MsgBoxFunc = CShell +0xA4180;
                    __asm
    		{			push string;
    		        	push 0;
    	            	push 0x70;
                    	push 0x1D;
                    	call MsgBoxFunc;
    			        add esp, 16;
    		}
    }
    try it
    Last edited by [G]a[M]e[R]; 07-07-2012 at 06:50 AM.
    i am [G]a[M]e[R]

  10. #7
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    its 0x1D not ^^
    you dont need to change 0x70


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  11. #8
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    copy whole the vertex lcok failed first lines and you are ready

  12. #9
    JusCaus's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    725
    Reputation
    23
    Thanks
    112
    My Mood
    Aggressive
    ill see what happens
    [IMG]https://i1132.photobucke*****m/albums/m571/JusCausGraphix.jpg[/IMG]

  13. The Following User Says Thank You to JusCaus For This Useful Post:

    BlackLite (07-07-2012)

  14. #10
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    Quote Originally Posted by JusCaus View Post
    ill see what happens
    the functoin for the msg box is c+p from vertex lock failed... here it works

  15. #11
    JusCaus's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    725
    Reputation
    23
    Thanks
    112
    My Mood
    Aggressive
    afff not working...
    [IMG]https://i1132.photobucke*****m/albums/m571/JusCausGraphix.jpg[/IMG]

  16. The Following User Says Thank You to JusCaus For This Useful Post:

    BlackLite (07-07-2012)

  17. #12
    BlackLite's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    547
    Reputation
    58
    Thanks
    1,035
    My Mood
    Aggressive
    it work for me on cffg
    Code:
    'void ShowMessage(char* string, DWORD CShell)
    {
                    DWORD MsgBoxFunc = CShell +0x95C90;
                    __asm
    		{			push string;
    		        	push 0;
    	            	push 0x70;
                    	push 0x1E;
                    	call MsgBoxFunc;
    			       add esp, 10;
    		}
    }

  18. #13
    Ende!'s Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    33
    Code:
    enum eOffsets
    {
       OFFS_IngameMsgBox = 0xA4180
    } // ==> eOffsets
    
    void IngameMsgBox(DWORD dwCShellBase, const char *szMessage)
    {
       typedef void(__cdecl *pGameMsgBox_t)(DWORD, DWORD, DWORD, const char*);
       pGameMsgBox_t pGameMsgBox = (pGameMsgBox_t)(dwCShellBase + OFFS_IngameMsgBox);
       pGameMsgBox(0x1D, 0x71, 0, szMessage);
    } // ==> IngameMsgBox
    Why not using a function pointer instead of inline ASM?
    Last edited by Ende!; 07-07-2012 at 12:13 PM.

  19. #14
    Code[VB]'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    CODER
    Posts
    608
    Reputation
    11
    Thanks
    702
    My Mood
    Bitchy
    Quote Originally Posted by Ende! View Post
    Code:
    enum eOffsets
    {
       OFFS_IngameMsgBox = 0xA4180
    } // ==> eOffsets
    
    void IngameMsgBox(DWORD dwCShellBase, const char *szMessage)
    {
       typedef void(__cdecl *pGameMsgBox_t)(DWORD, DWORD, DWORD, const char*);
       pGameMsgBox_t pGameMsgBox = (pGameMsgBox_t)(dwCShellBase + OFFS_IngameMsgBox);
       pGameMsgBox(0x1D, 0x71, 0, szMessage);
    } // ==> IngameMsgBox
    Why not using a function pointer instead of inline ASM?
    i can answer your question becouse they leeched the sources (this one is from giniyat) and feel cool

  20. The Following User Says Thank You to Code[VB] For This Useful Post:

    giniyat101 (07-08-2012)

  21. #15
    JusCaus's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    725
    Reputation
    23
    Thanks
    112
    My Mood
    Aggressive
    i fixed it a different way...... so pssst
    [IMG]https://i1132.photobucke*****m/albums/m571/JusCausGraphix.jpg[/IMG]

  22. The Following User Says Thank You to JusCaus For This Useful Post:

    BlackLite (07-07-2012)

Page 1 of 2 12 LastLast

Similar Threads

  1. [Solved] Sound problem ingame [Please Help!]
    By zubni in forum CrossFire Help
    Replies: 3
    Last Post: 02-02-2012, 04:36 PM
  2. [Help Request] radar and ingame chat problem
    By cacheat in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 05-02-2011, 12:06 PM
  3. hacking problems
    By iwillkillyou in forum WarRock - International Hacks
    Replies: 11
    Last Post: 02-04-2006, 04:37 PM
  4. WPE problem...
    By styx23 in forum General Game Hacking
    Replies: 8
    Last Post: 01-18-2006, 07:51 PM
  5. Problem Wit Hacking Programs
    By f5awp in forum General Gaming
    Replies: 5
    Last Post: 01-10-2006, 05:44 AM