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 111: | Line 69: | ||
| 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> | ||
+ | |||
+ | |- | ||
+ | | Whathe... another creature vector? | ||
+ | | 16 | ||
+ | | [[Memory hacking#Vector|vector]] of pointers | ||
+ | | How many more ARE there? | ||
+ | | <code>0x01416A18</code> | ||
+ | |||
+ | |||
+ | |- | ||
+ | | Unknown vector | ||
+ | | 16 | ||
+ | | [[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. | ||
+ | | <code>0x014169E8</code> | ||
|} | |} | ||
Line 172: | Line 145: | ||
| 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 191: | ||
| <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 802: | Line 775: | ||
| <code>0x0338</code> | | <code>0x0338</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 844: | Line 817: | ||
| <code>0x034E</code> | | <code>0x034E</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 851: | Line 824: | ||
| <code>0x0350</code> | | <code>0x0350</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 858: | Line 831: | ||
| <code>0x0352</code> | | <code>0x0352</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 879: | Line 852: | ||
| <code>0x0358</code> | | <code>0x0358</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
− | | | + | | |
|- | |- | ||
| <code>0x035A</code> | | <code>0x035A</code> | ||
| 2 | | 2 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 914: | Line 887: | ||
| <code>0x036C</code> | | <code>0x036C</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 921: | Line 894: | ||
| <code>0x0370</code> | | <code>0x0370</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 928: | Line 901: | ||
| <code>0x0374</code> | | <code>0x0374</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 935: | Line 908: | ||
| <code>0x0378</code> | | <code>0x0378</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||
Line 942: | Line 915: | ||
| <code>0x037C</code> | | <code>0x037C</code> | ||
| 4 | | 4 | ||
− | | | + | | |
− | | | + | | |
| | | | ||