Skip to content

memory

These function(s) allow you to use memory manipulation to get data from CS:GO/TF2/CSS or Dota 2. To prevent any abuse or greedy risk factor features, there are no memory writing functions. All these functions are executed through the kernel driver. See sdk_test.html for all usage.

read

Description

Reads data.

Parameters

  • integer

Return

  • integer

Example

/// get localplayer
var localplayer = constellation.get.localplayer() 

/// are we even ingame?
if( localplayer == null ) return null

/// https://github.com/frk1/hazedumper/blob/master/config.json#L630
m_bIsScoped = constellation.memory.netvar( "DT_CSPlayer", "m_bIsScoped" )

/// read memory to check if we're scoped!
is_localplayer_scoped = constellation.memory.read( localplayer.address + m_bIsScoped )

/// yes, we are scoped
if( is_localplayer_scoped == 1 ) console.log("We're scoped!")

read_string


read_float


read_vector

Return

  • object

module

Description

Gets a loaded module from the game.

Parameters

  • string

Return

  • object

Example


/// get client.dll
module_client = constellation.memory.module("client.dll")

/// https://github.com/frk1/hazedumper/blob/master/config.json#L285
dwLocalPlayer = constellation.memory.pattern( 
    module_client.address, // client.dll
    module_client.size, /// client.dll's size.
    "8D 34 85 ? ? ? ? 89 15 ? ? ? ? 8B 41 08 8B 48 04 83 F9 FF", /// pattern
    3, /// offset
    4, /// extra
    0, /// unrelativity
)

netvar

Description

Gets a netvar.

Parameters

  • string
  • string

Return

  • integer

Example

/// https://github.com/frk1/hazedumper/blob/master/config.json#L619
m_bInReload = constellation.memory.netvar( "DT_BaseCombatWeapon", "m_flNextPrimaryAttack" ) + 109

/// https://github.com/frk1/hazedumper/blob/master/config.json#L630
m_bIsScoped = constellation.memory.netvar( "DT_CSPlayer", "m_bIsScoped" )

pattern

Description

Pattern scanning

Parameters

  • integer
  • integer
  • string
  • integer
  • integer
  • integer

Return

  • integer

Example

/// https://github.com/frk1/hazedumper/blob/master/config.json#L285
dwLocalPlayer = constellation.memory.pattern( 
    module_client.address, // client.dll
    module_client.size, /// client.dll's size.
    "8D 34 85 ? ? ? ? 89 15 ? ? ? ? 8B 41 08 8B 48 04 83 F9 FF", /// pattern
    3, /// offset
    4, /// extra
    0, /// unrelativity
)

/// dwLocalPlayer should equal 14316652 (as of this documentation edit) | https://github.com/frk1/hazedumper/blob/master/csgo.json#L34
console.log( dwLocalPlayer )