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 Talk:Memory hacking"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Memory Locations)
Line 4: Line 4:
 
== Creature Structure ==
 
== Creature Structure ==
 
I have a feeling that offset 0x00 is really a "next" pointer, forming a linked list.  The reason being is that I was able to take the 4 byte value and go to that address, and it would be another creature.  It progressed for a handful of creatures.  Seems logical to assume it does it for all creatures.  --[[User:AzureLightning|AzureLightning]] 00:24, 3 November 2007 (EDT)
 
I have a feeling that offset 0x00 is really a "next" pointer, forming a linked list.  The reason being is that I was able to take the 4 byte value and go to that address, and it would be another creature.  It progressed for a handful of creatures.  Seems logical to assume it does it for all creatures.  --[[User:AzureLightning|AzureLightning]] 00:24, 3 November 2007 (EDT)
 +
: I would assume this is true as well, since earlier versions did not have vtables for creatures, only items did. --[[User:Rick|Rick]] 18:07, 4 November 2007 (EST)
  
 
== Memory Locations ==
 
== Memory Locations ==
  
 
Does anyone know the memory location for the current unit focus? --[[User:AzureLightning|AzureLightning]] 14:05, 3 November 2007 (EDT)
 
Does anyone know the memory location for the current unit focus? --[[User:AzureLightning|AzureLightning]] 14:05, 3 November 2007 (EDT)

Revision as of 23:07, 4 November 2007

New Release Updates

I'm just updating the main page as I figure new things out. Someone else will probably have to redo the formatting, since I don't really know the wiki formatting. --Zhentar 23:30, 29 October 2007 (EDT)

Creature Structure

I have a feeling that offset 0x00 is really a "next" pointer, forming a linked list. The reason being is that I was able to take the 4 byte value and go to that address, and it would be another creature. It progressed for a handful of creatures. Seems logical to assume it does it for all creatures. --AzureLightning 00:24, 3 November 2007 (EDT)

I would assume this is true as well, since earlier versions did not have vtables for creatures, only items did. --Rick 18:07, 4 November 2007 (EST)

Memory Locations

Does anyone know the memory location for the current unit focus? --AzureLightning 14:05, 3 November 2007 (EDT)