Results 1 to 13 of 13
  1. #1
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,164
    Reputation
    452
    Thanks
    5,900
    My Mood
    In Love

    A Method To Set Console Variables

    I take no credits for this
    Code:
    void _stdcall SetConsoleVariable(const char* Command)
    {
    	asm_
    	{
    		push Command
    		mov eax, 0x485FF0
    		call eax
    	}
    }
    Thanks to my new friend @KawaiiSlut for helping me keep my method private.

    Hopefully this will get the attention off...
    Keep me motivated for my hack development!

  2. The Following 6 Users Say Thank You to J For This Useful Post:

    Deuce. (11-28-2011),Nico Robin (02-20-2012),Nightmare (11-30-2011),nxkun (11-28-2011),OBrozz (11-28-2011),Skaterforeva1 (12-01-2011)

  3. #2
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    Quote Originally Posted by Jeff View Post
    I take no credits for this
    Code:
    void _stdcall SetConsoleVariable(const char* Command)
    {
    	asm_
    	{
    		push Command
    		mov eax, 0x485FF0
    		call eax
    	}
    }
    Thanks to my new friend @KawaiiSlut for helping me keep my method private.

    Hopefully this will get the attention off...
    Lol this is what Skater uses (I reversed his too, but yours looked cooler :P)

  4. The Following 3 Users Say Thank You to Saltine For This Useful Post:

    Deuce. (11-28-2011),J (11-28-2011),KawaiiSlut (11-29-2011)

  5. #3
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,164
    Reputation
    452
    Thanks
    5,900
    My Mood
    In Love
    Quote Originally Posted by Saltine View Post

    Lol this is what Skater uses (I reversed his too, but yours looked cooler :P)
    Yea hopefully mine doesn't get out D:
    Keep me motivated for my hack development!

  6. #4
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    Quote Originally Posted by Jeff View Post


    Yea hopefully mine doesn't get out D:
    I haven't given it to anyone that didn't see it before you deleted the thread (Except Pasha and he won't give it out)

  7. The Following 3 Users Say Thank You to Saltine For This Useful Post:

    Deuce. (11-28-2011),J (11-28-2011),KawaiiSlut (11-29-2011)

  8. #5
    yoyoman4567's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    203
    Reputation
    9
    Thanks
    4
    My Mood
    Happy
    why you remove my post??

  9. #6
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    this like a new ptc? although not PTC lol

    commando: You're probably the best non-coder coder I know LOL


  10. #7
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,164
    Reputation
    452
    Thanks
    5,900
    My Mood
    In Love
    Yea pretty much
    Keep me motivated for my hack development!

  11. The Following User Says Thank You to J For This Useful Post:

    Deuce. (11-28-2011)

  12. #8
    SleepCoder's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by Jeff View Post
    I take no credits for this
    Code:
    void _stdcall SetConsoleVariable(const char* Command)
    {
    	asm_
    	{
    		push Command
    		mov eax, 0x485FF0
    		call eax
    	}
    }
    Thanks to my new friend @KawaiiSlut for helping me keep my method private.

    Hopefully this will get the attention off...
    Code:
    typedef void (__stdcall *SCV)(const char *Command);
    SCV SetConsoleVariable = (SCV)0x485FF0;
    
    using: SetConsoleVariable("GodMode 1");

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

    ac1d_buRn (11-30-2011)

  14. #9
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    Quote Originally Posted by SleepCoder View Post
    Code:
    typedef void (__stdcall *SCV)(const char *Command);
    SCV SetConsoleVariable = (SCV)0x485FF0;
    
    using: SetConsoleVariable("GodMode 1");
    Writing a macro in assembly language is nearly always faster in execution than accomplishing the same thing in C++, so I would stick to Jeff's.

    Oh no! Vortex is gay!

  15. The Following User Says Thank You to Saltine For This Useful Post:

    J (12-01-2011)

  16. #10
    SleepCoder's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by Saltine View Post

    Writing a macro in assembly language is nearly always faster in execution than accomplishing the same thing in C++, so I would stick to Jeff's.
    lol? seems you don't know what you are talking about.

    my code.
    Code:
      PUSH Command
      CALL DWORD PTR DS:[SetConsoleVariable]  ;0x485FF0, 2 lines.
    your macro thing.
    Code:
      PUSH Command
      CALL SetConsoleVariable
      SetConsoleVariable:
      PUSH EBP
      MOV EBP,ESP
      PUSH DWORD PTR SS:[EBP+8]
      MOV EAX,485FF0             
      CALL EAX                        ;then call the right function
      POP EBP
      RETN 4
    my code is some μs more fast than your macro thing.

  17. #11
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    Quote Originally Posted by SleepCoder View Post
    lol? seems you don't know what you are talking about.

    my code.
    Code:
      PUSH Command
      CALL DWORD PTR DS:[SetConsoleVariable]  ;0x485FF0, 2 lines.
    your macro thing.
    Code:
      PUSH Command
      CALL SetConsoleVariable
      SetConsoleVariable:
      PUSH EBP
      MOV EBP,ESP
      PUSH DWORD PTR SS:[EBP+8]
      MOV EAX,485FF0             
      CALL EAX                        ;then call the right function
      POP EBP
      RETN 4
    my code is some μs more fast than your macro thing.
    I was referring to it as a macro simply because the assembly language he was using was "Microsoft Macro Assembler". I do see now that yours would execute faster, I was just unaware of how the typedef keyword worked in assembly.

    Oh no! Vortex is gay!

  18. The Following User Says Thank You to Saltine For This Useful Post:

    J (12-01-2011)

  19. #12
    speedforyou's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    735
    Reputation
    -59
    Thanks
    108
    My Mood
    Happy
    Quote Originally Posted by Jeff View Post


    Yea hopefully mine doesn't get out D:
    i got it ... hmmm ill give it out for ya k?

    steel o-o's sig =
    = Done , = Not Done

    Leecher 0 =
    Newbie 25 =
    Member 50 =
    Advanced Member 100 =
    H4X0R Member 150 =
    Dual-Keyboard Member 250 =
    Expert Member 500 =
    's Trainer 750 =
    MPGH Expert 1000 =
    Synthetic Hacker 1250 =
    Blackhat Hacker 1500 =
    Whitehat Hacker 2000 =
    's Guardian 2500 =
    Upcoming MPGHiean 3000 =
    MPGH Addict 3500 =
    MPGHiean 4000 =
    MPGH Knight 4500 =
    MPGH Lord 5000 =
    MPGH Champion 5500 =
    MPGH King 6000 =
    MPGH Legend 6500 =
    MPGH God 7000 =
    MPGH God II 7500 =
    MPGH God III 8000 =
    MPGH God IV 8500 =
    MPGH God V 9000 =
    Arun's Slave 9500 =
    Dave's Slave 10000 =

  20. #13
    teehee15's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    329
    Reputation
    52
    Thanks
    109
    Quote Originally Posted by speedforyou View Post

    i got it ... hmmm ill give it out for ya k?
    hey bud why dont you not. nice release jeff and soz...

Similar Threads

  1. [Release] BF3 Console Commands and Variables Dump
    By House in forum Battlefield 3 (BF3) Hacks & Cheats
    Replies: 17
    Last Post: 11-30-2011, 03:36 AM
  2. Old Console Command Method Gone?
    By GameArena in forum Combat Arms Coding Help & Discussion
    Replies: 15
    Last Post: 04-05-2011, 02:40 AM
  3. my 1 button codes input method for "console by hell demon"
    By ottlr in forum Vindictus Discussions
    Replies: 4
    Last Post: 03-23-2011, 05:09 AM
  4. Console CMD methods
    By Hell_Demon in forum Vindictus Discussions
    Replies: 7
    Last Post: 02-06-2011, 10:22 AM
  5. [Release] Renderer Console Variables
    By .L33T in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 12-15-2010, 12:05 PM