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.

Difference between revisions of "40d:Memory hacking/v0.27.169.33d"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(New page: == Addresses == <pre>map_data_loc == 01460560 map_x_count_loc == 01460578 map_y_count_loc == 0146057C map_z_count_loc ...)
 
Line 1: Line 1:
 
== Addresses ==
 
== Addresses ==
<pre>map_data_loc                    == 01460560
+
<pre>
 +
map_data_loc                    == 01460560
 
map_x_count_loc                  == 01460578
 
map_x_count_loc                  == 01460578
 
map_y_count_loc                  == 0146057C
 
map_y_count_loc                  == 0146057C
Line 11: Line 12:
 
art_defacement_malus_loc        == 007A332F
 
art_defacement_malus_loc        == 007A332F
 
current_unit_focus_loc          == 00C37540
 
current_unit_focus_loc          == 00C37540
next_creature_id_loc            == 00C0F9EC</pre>
+
next_creature_id_loc            == 00C0F9EC
 +
race_data_vec                    == 01461F40
 +
</pre>
  
 
creature.happiness_level at 0x508, no change from .33c
 
creature.happiness_level at 0x508, no change from .33c
 +
 +
The race_data_vec is a vector of s_race structs ptr:
 +
{| border="1" cellpadding="2" width="100%"
 +
! width="10%" | Offset
 +
! width="5%" | Size
 +
! width="10%" | Type
 +
! width="20%" | Name
 +
! width="55%" | Notes
 +
 +
|-
 +
| <code>0x0000</code>
 +
| 28
 +
| [[Memory hacking#String|string]]
 +
| Token value
 +
| DWARF
 +
 +
|-
 +
| <code>0x0054</code>
 +
| 28
 +
| [[Memory hacking#String|string]]
 +
| String used in the "SuperXXXly tough"
 +
| dwarven

Revision as of 14:56, 7 December 2007

Addresses

map_data_loc                     == 01460560
map_x_count_loc                  == 01460578
map_y_count_loc                  == 0146057C
map_z_count_loc                  == 01460580
dwarven_race_index_loc           == 0123FAC8
main_creature_vector_loc         == 0141EA30
another_creature_vector_loc      == 0141EA40
yet_another_creature_vector_loc  == 0141EA80
whathe_another_creature_vector_loc == 0141EA10
art_defacement_malus_loc         == 007A332F
current_unit_focus_loc           == 00C37540
next_creature_id_loc             == 00C0F9EC
race_data_vec                    == 01461F40

creature.happiness_level at 0x508, no change from .33c

The race_data_vec is a vector of s_race structs ptr:

Offset Size Type Name Notes
0x0000 28 string Token value DWARF
0x0054 28 string String used in the "SuperXXXly tough" dwarven