Skip to content

Debug functions

dump

documented onlysource

function dump(object: any, depth: integer?): table
object: any
depth: integer?

Returns table

Dump the object (table, container, class) as a recursive table, for pretty printing in console. Don't use this for anything except debug printing. Unsafe.

dump_network

source

function dump_network()

Hook the sendto and recvfrom functions and start dumping network data to terminal for debug purposes

get_address

source

function get_address(o?: any): string
o?: anyoptional

Returns string

Get memory address from a lua object

get_rva

source

function get_rva(address_name: string): string
address_name: string

Returns string

Get the rva for a pattern name, used for debugging.

get_virtual_rva

source

function get_virtual_rva(offset: integer, index: integer): string
offset: integer
index: integer

Returns string

Get the rva for a vtable offset and index, used for debugging.

raise

source

function raise(_Signal: integer): integer
_Signal: integer

Returns integer

Raise a signal and probably crash the game