Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 337

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 339

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 341

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 343
Hello sending commands to console CoD2

Results 1 to 5 of 5
  1. #1
    Semi-Coder
    Join Date
    Jun 2007
    Posts
    1,012

    Hello sending commands to console CoD2

    Hello i know the command to send a thing to the console is
    iprintln(<text>)

    but how do i make a little program that will do that like?

    int main
    {
    iprintln("hello")
    return (0);
    }

    like something like that but how do i get iprintln(<text>)
    into my library?? or how do i make it run into the cod2 console?

  2. #2
    Veteran Member
    Join Date
    Apr 2006
    Location
    Canada
    Posts
    748

    Re: Hello sending commands to console CoD2

    Quote Originally Posted by thor View Post
    Hello i know the command to send a thing to the console is
    iprintln(<text>)

    but how do i make a little program that will do that like?

    int main
    {
    iprintln("hello")
    return (0);
    }

    like something like that but how do i get iprintln(<text>)
    into my library?? or how do i make it run into the cod2 console?
    IIRC You can get access to the q3 console by using EnumChildSendCommandProc and EnumChildWindows
    Code:
    <chaplja|> i'm taking over nixcoders
    <Smileman`> cool

  3. #3
    Semi-Coder
    Join Date
    Jun 2007
    Posts
    1,012

    Re: Hello sending commands to console CoD2

    are those commands :P im google them now to see what they mena ty

  4. #4
    Coders Shard's Avatar
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    213

    Re: Hello sending commands to console CoD2

    Here is a quick explanation of how I would do it:
    1. Find the address of the iprintIn function.
    2. Find and open the CoD2 process (OpenProcess).
    3. Use VirtualAllocEx to allocate some memory (for the command string) within the CoD2 process.
    4. Write the command string to the allocated memory (WriteProcessMemory).
    5. Use CreateRemoteThread to execute the function. Use the address of iprintIn as the start address and the address of the memory you allocated for the string as the parameter.
    I'm not going to explain it anymore than that. If you don't know how to use the APIs I mentioned then Google them.

  5. #5
    Semi-Coder
    Join Date
    Jun 2007
    Posts
    1,012

    Re: Hello sending commands to console CoD2

    lol thanks ill figure that out l8r :P

Similar Threads

  1. Hooking COD4 console commands
    By MacTrainerGuy in forum Tutorials
    Replies: 7
    Last Post: July 30th, 2011, 23:23
  2. Console Commands
    By santosiebie in forum Call of Duty 2 Cheats
    Replies: 1
    Last Post: June 27th, 2010, 19:59
  3. [INFO] UrT v4.1 Custom console commands
    By Ksbunker in forum Urban Terror Cheats
    Replies: 3
    Last Post: June 6th, 2009, 13:46
  4. Console Commands
    By Mamby in forum Tutorials
    Replies: 4
    Last Post: July 16th, 2008, 13:55
  5. Hooking console commands
    By chaplex in forum Tutorials
    Replies: 5
    Last Post: April 10th, 2007, 09:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •