v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing 40d:Memory hacking/v0.27.169.33a

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 80: Line 80:
 
| Unknown vector
 
| Unknown vector
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers
+
| [[Main:Memory hacking#Vector|vector]] of pointers
 
| This could possibly be used for different creature groupings.  It's referenced when looking to see what state to use for creatures that are Friendly, Hostile, Merchants, etc on the unit screen.  The vector itself references the <code>0x1E0</code> data in the creature structure.
 
| This could possibly be used for different creature groupings.  It's referenced when looking to see what state to use for creatures that are Friendly, Hostile, Merchants, etc on the unit screen.  The vector itself references the <code>0x1E0</code> data in the creature structure.
 
| <code>0x014169E8</code>
 
| <code>0x014169E8</code>
Line 87: Line 87:
 
| Whathe... another creature vector?
 
| Whathe... another creature vector?
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers
+
| [[Main:Memory hacking#Vector|vector]] of pointers
 
| How many more ARE there?
 
| How many more ARE there?
 
| <code>0x01416A18</code>
 
| <code>0x01416A18</code>
Line 94: Line 94:
 
| Creature vector
 
| Creature vector
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers
+
| [[Main:Memory hacking#Vector|vector]] of pointers
 
| There are actually multiple creature vectors, but this has all of them.
 
| There are actually multiple creature vectors, but this has all of them.
 
| <code>0x01416A38</code>
 
| <code>0x01416A38</code>
Line 101: Line 101:
 
| Another creature vector
 
| Another creature vector
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers
+
| [[Main:Memory hacking#Vector|vector]] of pointers
 
| This is the creature list that 'Current unit focus' indexes into, unlike previously stated.
 
| This is the creature list that 'Current unit focus' indexes into, unlike previously stated.
 
| <code>0x01416A48</code>
 
| <code>0x01416A48</code>
Line 108: Line 108:
 
| Yet another creature vector
 
| Yet another creature vector
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers
+
| [[Main:Memory hacking#Vector|vector]] of pointers
 
| This one is used when saving creatures when saving game.
 
| This one is used when saving creatures when saving game.
 
| <code>0x01416A88</code>
 
| <code>0x01416A88</code>
Line 128: Line 128:
 
| <code>0x0000</code>
 
| <code>0x0000</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| First name
 
| First name
 
|  
 
|  
Line 135: Line 135:
 
| <code>0x001C</code>
 
| <code>0x001C</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| Nickname
 
| Nickname
 
|  
 
|  
Line 177: Line 177:
 
| <code>0x006C</code>
 
| <code>0x006C</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| Custom profession name
 
| Custom profession name
 
|  
 
|  
Line 309: Line 309:
 
| <code>0x00B4</code>
 
| <code>0x00B4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 316: Line 316:
 
| <code>0x00C4</code>
 
| <code>0x00C4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 323: Line 323:
 
| <code>0x00D4</code>
 
| <code>0x00D4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 438: Line 438:
 
| <code>0x0104</code>
 
| <code>0x0104</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 445: Line 445:
 
| <code>0x0114</code>
 
| <code>0x0114</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 452: Line 452:
 
| <code>0x0124</code>
 
| <code>0x0124</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 466: Line 466:
 
| <code>0x0138</code>
 
| <code>0x0138</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of ...something...
+
| [[Main:Memory hacking#Vector|vector]] of ...something...
 
|  
 
|  
 
|  
 
|  
Line 620: Line 620:
 
| <code>0x0238</code>
 
| <code>0x0238</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#238 Structure|238 struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#238 Structure|238 struct]]
 
|  
 
|  
 
| Possibly inventory?
 
| Possibly inventory?
Line 627: Line 627:
 
| <code>0x0248</code>
 
| <code>0x0248</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
| Owned objects
 
| Owned objects
 
| Each long is an index into the item vector.
 
| Each long is an index into the item vector.
Line 634: Line 634:
 
| <code>0x0288</code>
 
| <code>0x0288</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
|  
 
|  
Line 711: Line 711:
 
| <code>0x02B8</code>
 
| <code>0x02B8</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 718: Line 718:
 
| <code>0x02C8</code>
 
| <code>0x02C8</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 725: Line 725:
 
| <code>0x02D8</code>
 
| <code>0x02D8</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 732: Line 732:
 
| <code>0x02E8</code>
 
| <code>0x02E8</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 760: Line 760:
 
| <code>0x0304</code>
 
| <code>0x0304</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
| Bodypart Health
 
| Bodypart Health
 
| A list to body part health, the list of ushorts, values range 0 to 15 from what i've seen. 15 being white, 0 being red.
 
| A list to body part health, the list of ushorts, values range 0 to 15 from what i've seen. 15 being white, 0 being red.
Line 767: Line 767:
 
| <code>0x0314</code>
 
| <code>0x0314</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
| Bodypart related.
 
| Bodypart related.
Line 956: Line 956:
 
| <code>0x0384</code>
 
| <code>0x0384</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#384 Structure|384 struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#384 Structure|384 struct]]
 
|  
 
|  
 
|  
 
|  
Line 963: Line 963:
 
| <code>0x0394</code>
 
| <code>0x0394</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#394 Structure|394 struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#394 Structure|394 struct]]
 
|  
 
|  
 
|  
 
|  
Line 1,060: Line 1,060:
 
| <code>0x0428</code>
 
| <code>0x0428</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#Skill Structure|skill struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#Skill Structure|skill struct]]
 
| Skills
 
| Skills
 
|  
 
|  
Line 1,067: Line 1,067:
 
| <code>0x0438</code>
 
| <code>0x0438</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#Like Structure|like struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#Like Structure|like struct]]
 
| Likes
 
| Likes
 
|  
 
|  
Line 1,074: Line 1,074:
 
| <code>0x0448</code>
 
| <code>0x0448</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#448 Structure|448 struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#448 Structure|448 struct]]
 
|  
 
|  
 
|  
 
|  
Line 1,095: Line 1,095:
 
| <code>0x04C4</code>
 
| <code>0x04C4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#4C4 Structure|4C4 struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#4C4 Structure|4C4 struct]]
 
|  
 
|  
 
|  
 
|  
Line 1,102: Line 1,102:
 
| <code>0x04D4</code>
 
| <code>0x04D4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
|  
 
|  
Line 1,109: Line 1,109:
 
| <code>0x04E4</code>
 
| <code>0x04E4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#4E4 Structure|4E4 struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#4E4 Structure|4E4 struct]]
 
|  
 
|  
 
|  
 
|  
Line 1,116: Line 1,116:
 
| <code>0x04F4</code>
 
| <code>0x04F4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#4F4 Structure|4F4 struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#4F4 Structure|4F4 struct]]
 
|  
 
|  
 
|  
 
|  
Line 1,137: Line 1,137:
 
| <code>0x050C</code>
 
| <code>0x050C</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#50C Structure|50C struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#50C Structure|50C struct]]
 
|  
 
|  
 
|  
 
|  
Line 1,144: Line 1,144:
 
| <code>0x051C</code>
 
| <code>0x051C</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#51C Structure|51C struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#51C Structure|51C struct]]
 
|  
 
|  
 
|  
 
|  
Line 1,151: Line 1,151:
 
| <code>0x052C</code>
 
| <code>0x052C</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#52C Structure|52C struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#52C Structure|52C struct]]
 
|  
 
|  
 
|  
 
|  
Line 1,158: Line 1,158:
 
| <code>0x053C</code>
 
| <code>0x053C</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#53C Structure|53C struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#53C Structure|53C struct]]
 
|  
 
|  
 
|  
 
|  
Line 1,193: Line 1,193:
 
| <code>0x055C</code>
 
| <code>0x055C</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
|  
 
|  
Line 1,200: Line 1,200:
 
| <code>0x056C</code>
 
| <code>0x056C</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
|  
 
|  
Line 1,207: Line 1,207:
 
| <code>0x057C</code>
 
| <code>0x057C</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
|  
 
|  
Line 1,270: Line 1,270:
 
| <code>0x05A0</code>
 
| <code>0x05A0</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers to [[#5A0 Structure|5A0 struct]]
+
| [[Main:Memory hacking#Vector|vector]] of pointers to [[#5A0 Structure|5A0 struct]]
 
|  
 
|  
 
| Bodypart related.
 
| Bodypart related.

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)