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 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Addresses == | == Addresses == | ||
{| border="1" cellpadding="2" width="100%" | {| border="1" cellpadding="2" width="100%" | ||
Line 41: | Line 14: | ||
| normally -1000 (18 FC FF FF) | | normally -1000 (18 FC FF FF) | ||
| <code>0x0079DC2F</code> | | <code>0x0079DC2F</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 68: | Line 34: | ||
| long | | long | ||
| The current state of the menu when viewing the map normally in Dwarf Fortress. <code>0x16</code> when in 'View Units' mode, other values unknown. | | The current state of the menu when viewing the map normally in Dwarf Fortress. <code>0x16</code> when in 'View Units' mode, other values unknown. | ||
− | | <code> | + | | <code>0x123B65C</code> |
|- | |- | ||
Line 77: | Line 43: | ||
| <code>0x01237AD0</code> (probably) | | <code>0x01237AD0</code> (probably) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| Creature vector | | Creature vector | ||
Line 97: | Line 49: | ||
| 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> | ||
+ | |||
+ | |- | ||
+ | | Next creature ID | ||
+ | | 4 | ||
+ | | long | ||
+ | | <code>0x00C079F4</code> | ||
|- | |- | ||
Line 117: | Line 75: | ||
=== Creature Structures === | === Creature Structures === | ||
==== Creature Structure ==== | ==== Creature Structure ==== | ||
− | |||
{| border="1" cellpadding="2" width="100%" | {| border="1" cellpadding="2" width="100%" | ||
! width="10%" | Offset | ! width="10%" | Offset | ||
Line 172: | Line 129: | ||
| byte | | byte | ||
| | | | ||
− | | Seems to denote | + | | Seems to denote wether or not this creature has a custom nickname/profession name? Something like that. |
|- | |- | ||
Line 218: | Line 175: | ||
| <code>0x0094</code> | | <code>0x0094</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
− | | | + | | |
|- | |- | ||
| <code>0x0096</code> | | <code>0x0096</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
− | | | + | | |
|- | |- | ||
| <code>0x0098</code> | | <code>0x0098</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
− | | | + | | |
|- | |- | ||
Line 620: | Line 577: | ||
| <code>0x0238</code> | | <code>0x0238</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#238 Structure|238 struct]] | |
+ | | | ||
| | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 769: | Line 719: | ||
| [[Memory hacking#Vector|vector]] of longs | | [[Memory hacking#Vector|vector]] of longs | ||
| | | | ||
− | | | + | | |
|- | |- | ||
Line 802: | Line 752: | ||
| <code>0x0338</code> | | <code>0x0338</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 844: | Line 794: | ||
| <code>0x034E</code> | | <code>0x034E</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 851: | Line 801: | ||
| <code>0x0350</code> | | <code>0x0350</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 858: | Line 808: | ||
| <code>0x0352</code> | | <code>0x0352</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 879: | Line 829: | ||
| <code>0x0358</code> | | <code>0x0358</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
− | | | + | | |
|- | |- | ||
| <code>0x035A</code> | | <code>0x035A</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 914: | Line 864: | ||
| <code>0x036C</code> | | <code>0x036C</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 921: | Line 871: | ||
| <code>0x0370</code> | | <code>0x0370</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 928: | Line 878: | ||
| <code>0x0374</code> | | <code>0x0374</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 935: | Line 885: | ||
| <code>0x0378</code> | | <code>0x0378</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 942: | Line 892: | ||
| <code>0x037C</code> | | <code>0x037C</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 956: | Line 906: | ||
| <code>0x0384</code> | | <code>0x0384</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#384 Structure|384 struct]] | |
| | | | ||
| | | | ||
Line 963: | Line 913: | ||
| <code>0x0394</code> | | <code>0x0394</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#394 Structure|394 struct]] | |
| | | | ||
| | | | ||
Line 1,060: | Line 1,010: | ||
| <code>0x0428</code> | | <code>0x0428</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#Skill Structure|skill struct]] | |
| Skills | | Skills | ||
| | | | ||
Line 1,067: | Line 1,017: | ||
| <code>0x0438</code> | | <code>0x0438</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#Like Structure|like struct]] | |
| Likes | | Likes | ||
| | | | ||
Line 1,074: | Line 1,024: | ||
| <code>0x0448</code> | | <code>0x0448</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#448 Structure|448 struct]] | |
| | | | ||
| | | | ||
Line 1,095: | Line 1,045: | ||
| <code>0x04C4</code> | | <code>0x04C4</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#4C4 Structure|4C4 struct]] | |
| | | | ||
| | | | ||
Line 1,109: | Line 1,059: | ||
| <code>0x04E4</code> | | <code>0x04E4</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#4E4 Structure|4E4 struct]] | |
| | | | ||
| | | | ||
Line 1,116: | Line 1,066: | ||
| <code>0x04F4</code> | | <code>0x04F4</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#4F4 Structure|4F4 struct]] | |
| | | | ||
| | | | ||
Line 1,137: | Line 1,087: | ||
| <code>0x050C</code> | | <code>0x050C</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#50C Structure|50C struct]] | |
| | | | ||
| | | | ||
Line 1,144: | Line 1,094: | ||
| <code>0x051C</code> | | <code>0x051C</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#51C Structure|51C struct]] | |
| | | | ||
| | | | ||
Line 1,151: | Line 1,101: | ||
| <code>0x052C</code> | | <code>0x052C</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#52C Structure|52C struct]] | |
| | | | ||
| | | | ||
Line 1,158: | Line 1,108: | ||
| <code>0x053C</code> | | <code>0x053C</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#53C Structure|53C struct]] | |
| | | | ||
| | | | ||
Line 1,270: | Line 1,220: | ||
| <code>0x05A0</code> | | <code>0x05A0</code> | ||
| 16 | | 16 | ||
− | + | | vector of pointers to [[#5A0 Structure|5A0 struct]] | |
+ | | | ||
| | | | ||
− | |||
|- | |- | ||
Line 1,316: | Line 1,266: | ||
| 2 | | 2 | ||
| short | | short | ||
− | | | + | | |
| | | | ||
Line 1,323: | Line 1,273: | ||
| 4 | | 4 | ||
| long | | long | ||
− | | | + | | |
− | | | + | | |
|- | |- | ||
Line 2,558: | Line 2,508: | ||
| 2 | | 2 | ||
| short | | short | ||
− | | | + | | |
| | | | ||
Line 2,565: | Line 2,515: | ||
| 4 | | 4 | ||
| long | | long | ||
− | | | + | | |
| | | | ||
Line 2,932: | Line 2,882: | ||
|} | |} | ||
− |