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.33b

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 59: Line 59:
 
| 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>0x01417A38</code>
 
| <code>0x01417A38</code>
Line 66: Line 66:
 
| 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>0x01417A48</code>
 
| <code>0x01417A48</code>
Line 73: Line 73:
 
| 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>0x01417A88</code>
 
| <code>0x01417A88</code>
Line 80: Line 80:
 
| race data vec?
 
| race data vec?
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of pointers
+
| [[Main:Memory hacking#Vector|vector]] of pointers
 
| pointer to race vector (see 33d)
 
| pointer to race vector (see 33d)
 
| <code>0x0145AF48</code>
 
| <code>0x0145AF48</code>
Line 102: Line 102:
 
| <code>0x0000</code>
 
| <code>0x0000</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| First name
 
| First name
 
|  
 
|  
Line 109: Line 109:
 
| <code>0x001C</code>
 
| <code>0x001C</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| Nickname
 
| Nickname
 
|  
 
|  
Line 151: Line 151:
 
| <code>0x006C</code>
 
| <code>0x006C</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| Custom profession name
 
| Custom profession name
 
|  
 
|  
Line 283: Line 283:
 
| <code>0x00B4</code>
 
| <code>0x00B4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 290: Line 290:
 
| <code>0x00C4</code>
 
| <code>0x00C4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 297: Line 297:
 
| <code>0x00D4</code>
 
| <code>0x00D4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 412: Line 412:
 
| <code>0x0104</code>
 
| <code>0x0104</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 419: Line 419:
 
| <code>0x0114</code>
 
| <code>0x0114</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 426: Line 426:
 
| <code>0x0124</code>
 
| <code>0x0124</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 440: Line 440:
 
| <code>0x0138</code>
 
| <code>0x0138</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of ...something...
+
| [[Main:Memory hacking#Vector|vector]] of ...something...
 
|  
 
|  
 
|  
 
|  
Line 594: Line 594:
 
| <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 601: Line 601:
 
| <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 608: Line 608:
 
| <code>0x0288</code>
 
| <code>0x0288</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
|  
 
|  
Line 685: Line 685:
 
| <code>0x02B8</code>
 
| <code>0x02B8</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 692: Line 692:
 
| <code>0x02C8</code>
 
| <code>0x02C8</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 699: Line 699:
 
| <code>0x02D8</code>
 
| <code>0x02D8</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 706: Line 706:
 
| <code>0x02E8</code>
 
| <code>0x02E8</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of shorts
+
| [[Main:Memory hacking#Vector|vector]] of shorts
 
|  
 
|  
 
|  
 
|  
Line 734: Line 734:
 
| <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 741: Line 741:
 
| <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 930: Line 930:
 
| <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 937: Line 937:
 
| <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,034: Line 1,034:
 
| <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,041: Line 1,041:
 
| <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,048: Line 1,048:
 
| <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,069: Line 1,069:
 
| <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,076: Line 1,076:
 
| <code>0x04D4</code>
 
| <code>0x04D4</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
|  
 
|  
Line 1,083: Line 1,083:
 
| <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,090: Line 1,090:
 
| <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,111: Line 1,111:
 
| <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,118: Line 1,118:
 
| <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,125: Line 1,125:
 
| <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,132: Line 1,132:
 
| <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,167: Line 1,167:
 
| <code>0x055C</code>
 
| <code>0x055C</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
|  
 
|  
Line 1,174: Line 1,174:
 
| <code>0x056C</code>
 
| <code>0x056C</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
|  
 
|  
Line 1,181: Line 1,181:
 
| <code>0x057C</code>
 
| <code>0x057C</code>
 
| 16
 
| 16
| [[Memory hacking#Vector|vector]] of longs
+
| [[Main:Memory hacking#Vector|vector]] of longs
 
|  
 
|  
 
|  
 
|  
Line 1,244: Line 1,244:
 
| <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)

Templates used on this page: