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 User:Jifodus/Memory research

Jump to navigation Jump to search

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


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:
[[Category:Hacking|Memory research]]
 
=October 11, 2008=
 
===Hotkeys===
 
struct Hotkey {
 
  string name;
 
  word unused; // 0 if used (possibly also mode, since unused is -1)
 
  word padding0; // most likely padding
 
  int x;
 
  int y;
 
  int z;
 
} // size = 0x2C
 
===Buildings===
 
See http://www.bay12games.com/forum/index.php?topic=24897.msg303143#msg303143
 
0x015838A0
 
0x015838B0
 
0x015838F0 - Has fewer elements than the other two. May exclude stockpiles.
 
 
===Items===
 
See http://www.bay12games.com/forum/index.php?topic=24897.msg303143#msg303143
 
0x015832C8 - A monitoring tool detected items that existed one frame then were gone the next
 
0x015832D8 - As items disappeared (like above), the index decreased by one. Looks promising as the global item vector.
 
0x015833B8 - Always has fewer elements than the other two
 
 
 
=v0.27.169.33b=
 
=v0.27.169.33b=
 
==Addresses==
 
==Addresses==
Line 96: Line 73:
 
| skill_points
 
| skill_points
 
| The number of skill levels left that can be assigned to the dwarf.
 
| The number of skill levels left that can be assigned to the dwarf.
 
|}
 
=v0.27.169.33c=
 
==Addresses==
 
{| width="100%" border="1" cellspacing="0" cellpadding="2"
 
! width="12%" align="right" | Address
 
! width="25%" | Type
 
! width="13%" | Name
 
! width="50%" | Information
 
 
|-
 
| align="right" | 0x01250698
 
| class game *
 
| game_data
 
| I have not actually determined if this is a class, but I'm reasonably sure that this points to a class.
 
 
|}
 
==Classes==
 
===class game===
 
{| width="100%" border="1" cellspacing="0" cellpadding="2"
 
! width="12%" align="right" | Offset (+Hex)
 
! width="25%" | Type
 
! width="13%" | Name
 
! width="50%" | Information
 
 
|-
 
| align="right" | 0004
 
| class df_params *
 
| start_params
 
| The starting parameters for a new Dwarf Fortress game.
 
 
|}
 
===class df_params===
 
{| width="100%" border="1" cellspacing="0" cellpadding="2"
 
! width="12%" align="right" | Offset (+Hex)
 
! width="25%" | Type
 
! width="13%" | Name
 
! width="50%" | Information
 
 
|-
 
| align="right" | (00DC) 00D8
 
| std::vector<class dwarf_info>
 
| dwarf_params
 
| The starting dwarves.
 
 
|-
 
| align="right" | 010E
 
| word
 
| sel_item
 
| The current selected item in the item list.
 
 
|-
 
| align="right" | 112
 
| word
 
| sel_item
 
| The current selected animal in the pet list.
 
 
|-
 
| align="right" | 7F8
 
| signed dword
 
| fortress_name_front
 
| Fortress Name (Front Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 7FC
 
| signed dword
 
| fortress_name_rear
 
| Fortress Name (Rear Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 800
 
| signed dword
 
| fortress_name_first
 
| Fortress Name (First Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 804
 
| signed dword
 
| fortress_name_second
 
| Fortress Name (Second Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 808
 
| signed dword
 
| fortress_name_hypen
 
| Fortress Name (Hyphen Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 80C
 
| signed dword
 
| fortress_name_the
 
| Fortress Name (The X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 810
 
| signed dword
 
| fortress_name_of
 
| Fortress Name (Of X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 864
 
| signed dword
 
| group_name_front
 
| Group Name (Front Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 868
 
| signed dword
 
| group_name_rear
 
| Group Name (Rear Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 86C
 
| signed dword
 
| group_name_first
 
| Group Name (First Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 870
 
| signed dword
 
| group_name_second
 
| Group Name (Second Adjective). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 874
 
| signed dword
 
| group_name_hypen
 
| Group Name (Hyphen Compound). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 878
 
| signed dword
 
| group_name_the
 
| Group Name (The X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 87C
 
| signed dword
 
| group_name_of
 
| Group Name (Of X). -1 if not used, otherwise index into the dictionary (which dictionary I don't know).
 
 
|-
 
| align="right" | 08F0
 
| signed word
 
| points
 
| The current amount of points available to spend.
 
 
|}
 
===class dwarf_info===
 
{| width="100%" border="1" cellspacing="0" cellpadding="2"
 
! width="12%" align="right" | Offset (+Hex)
 
! width="25%" | Type
 
! width="13%" | Name
 
! width="50%" | Information
 
 
|-
 
| align="right" | 0070
 
| signed dword[80]
 
| skills
 
| The dwarf's skill levels.
 
 
|-
 
| align="right" | 01C0
 
| signed short
 
| skill_points
 
| The number of skill levels left that can be assigned to the dwarf.
 
 
|}
 
=v0.27.169.33d=
 
Everything is the same as [[User:Jifodus/Memory research|v0.27.169.33c]] except the <tt>class game*</tt> is 0x1000 higher than [[User:Jifodus/Memory research|v0.27.169.33c]].
 
==Addresses==
 
{| width="100%" border="1" cellspacing="0" cellpadding="2"
 
! width="12%" align="right" | Address
 
! width="25%" | Type
 
! width="13%" | Name
 
! width="50%" | Information
 
 
|-
 
| align="right" | 0x01251698
 
| class game *
 
| game_data
 
 
|}
 
=v0.27.169.33e=
 
Everything is the same as [[User:Jifodus/Memory research|v0.27.169.33c]] except the <tt>class game*</tt> is 0x2000 higher than [[User:Jifodus/Memory research|v0.27.169.33c]].
 
==Addresses==
 
{| width="100%" border="1" cellspacing="0" cellpadding="2"
 
! width="12%" align="right" | Address
 
! width="25%" | Type
 
! width="13%" | Name
 
! width="50%" | Information
 
 
|-
 
| align="right" | 0x01252698
 
| class game *
 
| game_data
 
  
 
|}
 
|}

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)