This respository was used for version control.\n
MemWork.py can be imported in your local script and can be used.
main.py is with an Example on how to use it.
(comments/Descriptions are written in german... sorry)
main-lite.py is a simpler version with some English comments
Requirements:
pip install pymem
Function: getProcessAndModuleFromName(ProcessName,moduleName)
Returns: process, module_base
Function: createPointerAddr(process,module_base,StaticOffset,Offsets)
Returns: Calculated_Address
Infos: to find the StaticOffset and Offsets[] you need to use CheatEngine or something like that and do a Pointerscan.
If you do that you also will know what module_base you need.
pointersToFreeze[i] Array
i=0 Process
1 Address
2 Value - Freezevalue
3 Valuetype - as string typename like "int"
4 state - active True/False
5 lastRead
Function: createPointerFreezer(process, address, value, valuetype, state=False)
Returns: none
Function: triggerPointerFreezer(address,state,value=None,valuetype=None)
Returns: none
Function: removePointerFreezer(address)
Return: always false == looks like i planed it to return true if it removes something but i forgot it :x .
pointersToLookUp[i] Array
i=0 process
1 address
2 type
3 triggerName (Print bei Trigger)
4 triggerFunction (pointer)
5 triggerValue (id oder so für selbst benutzung.) 6 lastRead - Letzer Wert seit veränderung.
7 triggerState - active True/False
Function: createLookUpAddress(process,address,type,triggerName,triggerFunction,triggerValue, lastRead=-1,triggerState = False)
Returns: none
Function: triggerLookUpAddress(address,state,resetLastRead = False)
Returns: none
Function: removeLookUpAddress(address)
Returns: none
Variables:
debug = True <--- Turns on Debugprints
debug_freezeloop = False <--- Turns on Debugprints for the FreezeLoop
debug_lookUploop = True <--- Turns on Debugprints for the lookUpLoop
# Examples
**main.py** but it has **German** comments
To understand the functions without comments look into **main-lite.py**