Difference between revisions of "Lua:allocateSharedMemory"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' allocateSharedMemory(''size'') Creates a shared memory object of the given size if it doesn't exist yet. If size is not given and there is no shared region with t…')
 
Line 1: Line 1:
 
'''function''' allocateSharedMemory(''size'')
 
'''function''' allocateSharedMemory(''size'')
  
Creates a shared memory object of the given size if it doesn't exist yet. If size is not given and there is no shared region with this name then the default size of 4096 is used
+
Returns the commonModuleList [[StringList]] object.
  
It then maps this shared memory block into the currently targeted process. It returns the address of mapped region in the target process
+
This stringlist object contains a list of modules commonly used in games but not very useful for dissection and pointerscan paths
  
When the process closes, you can target another process and allocate the same block on there again. Then you can read the state before the process closed
+
Tools like dissect data and the pointerscan make use of this list
  
  
 
===Function Parameters===
 
===Function Parameters===
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"
+
None
!align="left"|Parameter
 
!align="left"|Type
 
!style="width: 80%;background-color:white;" align="left"|Description
 
|-
 
|size
 
|integer
 
|The prefered size of the allocated block
 
|}
 
 
 
  
 
== See also ==
 
== See also ==
 +
* [[StringList]]
 
* [[Lua]]
 
* [[Lua]]

Revision as of 21:49, 18 May 2012

function allocateSharedMemory(size)

Returns the commonModuleList StringList object.

This stringlist object contains a list of modules commonly used in games but not very useful for dissection and pointerscan paths

Tools like dissect data and the pointerscan make use of this list


Function Parameters

None

See also