Thread: Message window

Results 1 to 11 of 11
  1. #1
    cc00_'s Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    50
    Reputation
    10
    Thanks
    0

    Message window

    Hi, guys!

    This code shows the message window after the game start (of course it's not mine):

    Code:
    void ShowMessage(char* string, DWORD CShell)
    {
        DWORD MsgBoxFunc = CShell + 0x7D780;
        __asm
        {
            push string;
            push 0;
            push 0x70;
            push 0x1C;
            call MsgBoxFunc;
            add esp, 16;
        }
    }
    It's works very great for CF NA, but i want do this for another loc. The problem is when i use this function the game crashes. I think the problem is in this value - 0x7D780. How i can find an actual value? Maybe string or something. I also try constant search in Olly and found nothing.

  2. #2
    MasterOf's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    >.<
    Posts
    108
    Reputation
    10
    Thanks
    183
    My Mood
    Aggressive
    @giniyat101
    have posted for long away the source -.-
    its not the full code

    Here the full code:
    Code:
    void ShowMessage(char* string,DWORD CShell);
    ShowMessage("BlahBlah ",CShell);
    		void ShowMessage(char* string, DWORD CShell)
    {
                     DWORD MsgBoxFunc = CShell + 0x7D780;
                     __asm
    		{
    			push string;
    			push 0;
    			push 0x70;
    			push 0x1C;
    			call MsgBoxFunc;
    			add esp, 16;
    		}
    }

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

    cc00_ (01-29-2012)

  4. #3
    cc00_'s Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    50
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by MasterOf View Post
    @giniyat101
    have posted for long away the source -.-
    its not the full code

    Here the full code:
    Code:
    void ShowMessage(char* string,DWORD CShell);
    ShowMessage("BlahBlah ",CShell);
    		void ShowMessage(char* string, DWORD CShell)
    {
                     DWORD MsgBoxFunc = CShell + 0x7D780;
                     __asm
    		{
    			push string;
    			push 0;
    			push 0x70;
    			push 0x1C;
    			call MsgBoxFunc;
    			add esp, 16;
    		}
    }
    Lol, i Know how to call functions in C, and all works fine for CF North America, but when i do this thing for my crossfire localization, the read memory error comes.
    I think problem in this value - 0x7D780, i must change it to make the function works correct, but i don't know how to find this value. Maybe someone knows here.

  5. #4
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    i can confirm it is correct..


     



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

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

    cc00_ (01-30-2012)

  7. #5
    Assassin's Creed's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    1,210
    Reputation
    54
    Thanks
    1,408
    My Mood
    Worried
    Quote Originally Posted by giniyat101 View Post
    i can confirm it is correct..
    the addy is old?
     

    Contributer Since 20/2/2012
    MPGH Member Since December 2011

     





     

    offical thread> Assassin V15<

    To all People who thinks am a leecher,hate me,are jelly from me....
    Refer to this thread...
    https://www.mpgh.net/forum/232-crossf...stop-hate.html

  8. #6
    JusCaus's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    725
    Reputation
    23
    Thanks
    112
    My Mood
    Aggressive
    What he is wanting to know is how to update it once it gets detected.... he isnt using cf na.
    [IMG]https://i1132.photobucke*****m/albums/m571/JusCausGraphix.jpg[/IMG]

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

    cc00_ (01-30-2012)

  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
    Quote Originally Posted by Assassin's Creed View Post


    the addy is old?
    it is up to date..


     



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

  11. #8
    cc00_'s Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    50
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by giniyat101 View Post
    it is up to date..
    giniyat101, how you found this addy?

    Quote Originally Posted by JusCaus View Post
    What he is wanting to know is how to update it once it gets detected.... he isnt using cf na.
    No, it's not detected. The game just crashes with read memory error.
    Last edited by cc00_; 01-30-2012 at 08:44 AM.

  12. #9
    JusCaus's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    725
    Reputation
    23
    Thanks
    112
    My Mood
    Aggressive
    Quote Originally Posted by cc00_ View Post
    giniyat101, how you found this addy?


    No, it's not detected. The game just crashes with read memory error.
    well is your not using cfna maybe the adress is different in the other cf?
    [IMG]https://i1132.photobucke*****m/albums/m571/JusCausGraphix.jpg[/IMG]

  13. #10
    cc00_'s Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    50
    Reputation
    10
    Thanks
    0
    Still can't fix this error. Damn shit.

  14. #11
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    @cc00_ yea it doesnt work idk way

Similar Threads

  1. New Windows Exploit
    By Dave84311 in forum General
    Replies: 6
    Last Post: 12-31-2009, 05:16 PM
  2. Windows Live Beta - Go Here Quick!
    By Dave84311 in forum General
    Replies: 6
    Last Post: 12-08-2008, 01:35 PM
  3. Boot up Windows before you even log in.
    By Dave84311 in forum General
    Replies: 6
    Last Post: 01-15-2006, 09:10 PM
  4. [search]Warrock double window
    By ryan5458 in forum WarRock - International Hacks
    Replies: 8
    Last Post: 01-15-2006, 10:56 AM
  5. Playing Warrock In Multi Windows Need Help
    By Shadowguild in forum WarRock - International Hacks
    Replies: 27
    Last Post: 01-04-2006, 10:32 PM