Results 1 to 7 of 7
  1. #1
    PrototypeRifle5's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    36
    Reputation
    16
    Thanks
    2
    My Mood
    Relaxed

    Garry's Mod Hack Addresses? (Don't know what to call it)

    Hello all, you know how in the console for example you type "sv_cheats 1"? Well I have a VB script that I havn't tested yet but will it work? I found it on mpgh somewhere, and I want to know the "addresses" for the other ones (sv_consistency, sv_scriptenforcer).

    Try
    WriteInteger("hl2", &H2051F774, 1)
    Catch ex As Exception

    End Try


    Apparently the "&H2051F774" means sv_cheats. What are the addresses for the other ones? And will this work? Thankyou.
    Also, how do I make it toggleable? Like this maybe:

    Try
    WriteInteger("hl2", &H2051F774, 0, 1)
    Catch ex As Exception

    End Try

  2. #2
    kthao091's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    95
    Reputation
    16
    Thanks
    98
    My Mood
    Angelic
    They're console commands... Amirite?

  3. #3
    PrototypeRifle5's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    36
    Reputation
    16
    Thanks
    2
    My Mood
    Relaxed
    Quote Originally Posted by kthao091 View Post
    They're console commands... Amirite?
    They are console commands which cannot be used, they must be activated externally. I am making a bypass and I want to know if this script will work in Visual Basic, and if I can replace the &H part with sv_cheats etc.

  4. #4
    Gray's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Sweden
    Posts
    13,557
    Reputation
    2516
    Thanks
    10,618
    Don't know visual basics but this doesn't seem right.
    Does VB read addresses differently from what you previously made?

    Because I'm fairly sure that's not the pointer for the address.

    sv_allowcslua has the pointer 2ED1F8
    sv_cheats has the pointer 40E5E8
    sv_consistency has the pointer 40E828

    Reason why I'm only sharing pointers is because if I share the entire ones then the leechers will never learn anything.

  5. The Following User Says Thank You to Gray For This Useful Post:

    Siknik64 (03-24-2013)

  6. #5
    PrototypeRifle5's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    36
    Reputation
    16
    Thanks
    2
    My Mood
    Relaxed
    Quote Originally Posted by Antipathy View Post
    Don't know visual basics but this doesn't seem right.
    Does VB read addresses differently from what you previously made?

    Because I'm fairly sure that's not the pointer for the address.

    sv_allowcslua has the pointer 2ED1F8
    sv_cheats has the pointer 40E5E8
    sv_consistency has the pointer 40E828

    Reason why I'm only sharing pointers is because if I share the entire ones then the leechers will never learn anything.
    Well, apparently it works and had good feedback. Trial and error I guess? Will report back if it works.

  7. #6
    PrototypeRifle5's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    36
    Reputation
    16
    Thanks
    2
    My Mood
    Relaxed
    Heres where I got it from, there are more parts in VB to this (quite a lot of stuff).

    https://www.mpgh.net/forum/17-game-ha...heats-1-a.html

  8. #7
    Gray's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Sweden
    Posts
    13,557
    Reputation
    2516
    Thanks
    10,618
    Quote Originally Posted by PrototypeRifle5 View Post
    Heres where I got it from, there are more parts in VB to this (quite a lot of stuff).

    https://www.mpgh.net/forum/17-game-ha...heats-1-a.html
    Well, good luck then, interested in seeing how it turns out.

Similar Threads

  1. [mApex] A Garry's Mod Hack by Mythik.
    By iMythik in forum Garry's Mod Discussions & Help
    Replies: 41
    Last Post: 03-26-2013, 01:17 AM
  2. [Garry's Mod] Hack Pack
    By [RAGE] Mad YET? in forum Garry's Mod Hacks & Cheats
    Replies: 121
    Last Post: 03-02-2013, 03:58 PM
  3. PureBenjamino's second mod M16A3 to i don't know what gun it is
    By PureBenjamino in forum Combat Arms Mods & Rez Modding
    Replies: 54
    Last Post: 01-29-2011, 12:46 PM
  4. Color Splat L9 [Really don't know what to call it]
    By Colt~ in forum Combat Arms Mods & Rez Modding
    Replies: 4
    Last Post: 10-31-2010, 03:05 PM
  5. I have homework, But I don't know what.
    By radnomguywfq3 in forum General
    Replies: 5
    Last Post: 11-04-2007, 09:18 PM