Thread: SetCvar

Results 1 to 10 of 10
  1. #1
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,159
    Reputation
    379
    Thanks
    5,761
    My Mood
    In Love

    SetCvar

    sig:

    Code:
    \x81\xEC\x00\x00\x00\x00\xA1\x00\x00\x00\x00\x33\xC4\x89\x84\x24\x00\x00\x00\x00\x83\x3D\x00\x00\x00\x00\x00\x8B\x84\x24\x00\x00\x00\x00\x74\x2F
    
    xx????x????xxxxx????xx?????xxx????xx
    function:

    Code:
    void SetCVar(const char* szVar, DWORD dwVal) {
    	void* vCall= (void*)dwSetCVar;
    
    	__asm {
    		push dwVal
    		push szVar
    		call vCall
    		add esp, 8
    	}
    }
    had this for literally the longest fucking time. ca sucks balls now so have fun niggers. should work in your own thread, doesnt have to be called within a directx module. i think, dont quote me on it. fggts.
    Last edited by J; 12-25-2013 at 03:53 PM.

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

    arun823 (01-02-2014),Coder.DiasII (12-26-2013),[MPGH]Flengo (12-27-2013),Skaterforeva1 (12-24-2013),srDiegoFodaun (12-25-2013),zikox (12-24-2013)

  3. #2
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    15,702
    Reputation
    3319
    Thanks
    11,112
    My Mood
    Happy
    Somebody was bored

    Nice work, and thanks for sharing it here
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM

    Publicist Since 04.04.2015
    Middleman Since Unknown - Unknown
    Global Moderator Since 08.01.2013
    Donator Since 05.29.2013

    Minion+ Since 04.18.2013

    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  4. #3
    B4NDiT26's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    1,010
    Reputation
    26
    Thanks
    32
    My Mood
    Shocked
    Mhhh... thanks for sharing...

  5. #4
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    494
    Reputation
    104
    Thanks
    625
    Quote Originally Posted by Flengo View Post
    Somebody was bored

    Nice work, and thanks for sharing it here
    Hi
    /muchtoshort

    Oh no! Vortex is gay!

  6. #5
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    15,702
    Reputation
    3319
    Thanks
    11,112
    My Mood
    Happy
    Quote Originally Posted by Saltine View Post

    Hi
    /muchtoshort
    hi. wat u doin here too

    wat. dont hak me
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM

    Publicist Since 04.04.2015
    Middleman Since Unknown - Unknown
    Global Moderator Since 08.01.2013
    Donator Since 05.29.2013

    Minion+ Since 04.18.2013

    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  7. #6
    SupremeKai13's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    Would someone mind explaining how to use this code?

  8. #7
    B4NDiT26's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    1,010
    Reputation
    26
    Thanks
    32
    My Mood
    Shocked
    Quote Originally Posted by SupremeKai13 View Post
    Would someone mind explaining how to use this code?
    If you're a programmer you should know.

  9. #8
    SupremeKai13's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    I thought it was obvious that I couldn't possibly know wtf i'm doing if i'm asking for a explanation. (don't bother responding unless your helping) Thanks

  10. #9
    Kamcorder's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    80
    Reputation
    10
    Thanks
    133
    My Mood
    Sneaky
    This is Push To Console is it not?

  11. #10
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,159
    Reputation
    379
    Thanks
    5,761
    My Mood
    In Love
    no. (2short)