Results 1 to 4 of 4
  1. #1
    L4ndrum's Avatar
    Join Date
    Jul 2019
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    234

    Make c# externals faster

    There is a simple way of making c# externals faster. The more times you call RPM or WPM the slower your cheat becomes, especially in loops.
    So an easy way to reduce RPM/WPM calls is to read everything as Byte array if possible and then convert the bytes to ints, bools, floats etc.

    Instead of:
    ReadInt(localplayer + health);
    ReadInt(localplayer + team);
    ReadInt(localplayer + glowindex);

    Find the largest offset you want to read (glowindex is 0xA40C so its larger that the health, team offset)

    byte[] arr = ReadBytes(localplayer, glowindex + sizeof(int)); //address, then amount of bytes to read, and since glowindex is an int + sizeof(int)
    int health = BitConverter.ToInt32(arr, health);
    int team = BitConverter.ToInt32(arr, team);
    int glowindex = BitConverter.ToInt32(arr, glowindex);

    Using this method you can read entity hp, team, armor, bullets, isDefusing, hasHelmet, position, etc in just one call.

    You can also use this in a glowEsp and make non-flicker 1% cpu glowesp.

    Have fun

  2. #2
    LopplioGaming's Avatar
    Join Date
    Jan 2017
    Gender
    male
    Location
    US
    Posts
    816
    Reputation
    47
    Thanks
    347
    My Mood
    Devilish
    Thanks for sharing

  3. #3
    MarcosARG's Avatar
    Join Date
    May 2019
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    Thanks for this!

  4. #4
    lythgayfag's Avatar
    Join Date
    Dec 2018
    Gender
    female
    Posts
    14
    Reputation
    10
    Thanks
    0
    will be useful for new coders

Similar Threads

  1. how to make patch go faster
    By tye381 in forum Combat Arms Discussions
    Replies: 7
    Last Post: 08-26-2009, 05:29 PM
  2. Tut - Make WarRock Run Faster
    By yacobo in forum WarRock - International Hacks
    Replies: 5
    Last Post: 08-11-2009, 11:04 AM
  3. Make Maps Load faster
    By hihiman1 in forum Combat Arms Hacks & Cheats
    Replies: 25
    Last Post: 07-19-2009, 11:45 PM
  4. How to make your computer faster. 100% Working
    By superslikuzi in forum General
    Replies: 4
    Last Post: 04-02-2009, 08:23 PM
  5. [Tutorial] New Way to make CA load faster
    By Andyklk2009 in forum Combat Arms Hacks & Cheats
    Replies: 13
    Last Post: 10-08-2008, 05:24 PM