Difference between revisions of "Category:Memory Addresses"

From GTAMods Wiki
Jump to navigation Jump to search
(SCM related)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Note that all offsets thus posted have been confirmed for GTA_SA version 1.0.'''
+
Collection of addresses of interesting values, structures and functions in the memory of the games' executables at run-time.
  
== SCM related ==
+
===See also===
*0xA49960 = start of scm block<br>
+
* {{Icon|3}}&nbsp;{{Icon|vc}}&nbsp;{{GTAF|117195|GTA III/VC memory address documentation topic}}
*0x464080 = GetOpcodeParameters()<br>
+
* {{Icon|sa}}&nbsp;{{GTAF|194199|GTA SA memory address documentation topic}}
*0xA43C78 = Where the routine above stores opcode parameters values. Max 16 paramters for an opcode it seems.<br>
+
* {{Icon|4}}&nbsp;{{GTAF|378631|GTA IV memory address documentation topic}}
 
+
[[Category:Documentation]]
 
 
 
 
===Structures===
 
struct _CPed {             // 0x7C4 bytes total.
 
 
    DWORD      this;      // +0x000
 
    D3DMATRIX  Matrix;    // +0x014
 
    BYTE      areaStatus; // +0x02F  (0 = exterior. 3 = interior.)
 
    BYTE      Status;     // +0x042  (BP/EP/FP/DP)
 
    DWORD      StateFlags; // +0x46C
 
    DWORD      Action;     // +0x530
 
    BYTE      RunState;  // +0x534
 
    FLOAT      Health;    // +0x540
 
    FLOAT      MaxHealth;  // +0x544
 
    FLOAT      Armor;      // +0x548
 
    FLOAT      Rotation1;  // +0x558
 
    FLOAT      Rotation2;  // +0x55C
 
    DWORD      CVehicle;  // +0x58C
 
    void      WeapData;  // +0x5A0  (pool of slotted CWeapon structs, 28 bytes each)
 
    BYTE      CurWeapon;  // +0x718
 
    DWORD      Target;    // +0x788
 
 
 
};
 
 
 
 
struct _CWeapon {         // 0x01C bytes total.
 
 
    BYTE    WeaponID;    // +0x000  (see weapon.dat)
 
    DWORD    State;        // +0x004  (0 = idle. 1 = firing. 2 = reloading.)
 
    DWORD    ClipAmmo;    // +0x008
 
    DWORD    AmmoLeft;    // +0x00C
 
    BYTE    GoogleMode;  // +0x014  (0 = 0ff. 255 = On.)
 
 
 
};
 

Latest revision as of 17:27, 17 March 2009

Collection of addresses of interesting values, structures and functions in the memory of the games' executables at run-time.

See also

Subcategories

This category has only the following subcategory.