Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Updating Rick's Utilities  (Read 1108 times)

Squeegy

  • Bay Watcher
  • I don't really have any answers for you.
    • View Profile
Updating Rick's Utilities
« on: February 07, 2008, 10:08:00 am »

This is what we've got so far:

[generic]
DWARF_FORTRESS=0x00C11218

[address]
MENU_STATE=
FOCUSED_CREATURE=
CREATURE_VECTOR=
MOUSE_X=0x0092f288
MOUSE_Y=0x0092f28c
MOUSE_Z=0x0092f290
MAP_DATA=
MAP_X_COUNT=0x014929F0
MAP_Y_COUNT=0x014929F4
MAP_Z_COUNT=0x014929F8
STARTING_DWARF_COUNT=
STARTING_POINT_COUNT=

[offset]
MAP_DATA_DESIGNATION_OFFSET=
MAP_DATA_OCCUPANCY_OFFSET=
CREATURE_NAME_OFFSET=
CREATURE_BODY_PART_HEALTH_VECTOR_OFFSET=
CREATURE_X_OFFSET=
CREATURE_Y_OFFSET=
CREATURE_Z_OFFSET=

Logged
I think I'm an alright guy. I just wanna live until I gotta die. I know I'm not perfect, but God knows I try.
Kobold Name Generator
⚔Dueling Blades⚔
Fertile Lands
The Emerald Isles

Razzums

  • Bay Watcher
    • View Profile
Re: Updating Rick's Utilities
« Reply #1 on: February 07, 2008, 07:32:00 pm »

Nice, how long tell new release?
Logged
ey

Slappy Moose

  • Bay Watcher
    • View Profile
Re: Updating Rick's Utilities
« Reply #2 on: February 07, 2008, 08:41:00 pm »

Thank god. I love this tool to smithereens, I can't stand waiting for immigrants.

Yay starting with 30 dwarves!

I probably won't start a new fort until this is released.

Logged
Zaneg Thazor: Armok Reincarnate Story http://www.bay12games.com/forum/index.php?topic=19291.msg196691#msg196691

[Healthcare Update Thread] Personally, I can't wait for doctors to get possessed and start surgically attaching axes to champion soldier's arms.

Jifodus

  • Bay Watcher
  • Resident Lurker
    • View Profile
    • Dwarf Fortress Projects
Re: Updating Rick's Utilities
« Reply #3 on: February 07, 2008, 08:47:00 pm »

I actually had located most of the addresses before (except the data pointers, but finding the new ones actually weren't as hard as I expected). After writing a test program, it appears that the offsets haven't changed.
http://www.dwarffortresswiki.net/index.php/User_talk:Rick#38a
Logged

RP

  • Bay Watcher
    • View Profile
Re: Updating Rick's Utilities
« Reply #4 on: February 08, 2008, 02:36:00 am »

Well, that's got reveal.exe working (but pit engravings have no description. Wonder why.) Heal.exe says "you've selected a creature that isn't on the list."
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Updating Rick's Utilities
« Reply #5 on: February 08, 2008, 03:31:00 am »

Copy/paste my offsets, if that helps :
self.version = "v0.27.169.88a"
self.off_vec_maincreatures =   0x01450E98
self.off_x_width =      0x014929E4
self.off_y_width =      0x014929E8
self.off_z_width =      0x014929EC
self.off_map_data =      0x014929CC
self.off_race =         0x014943B4
self.off_metals =      0x014943A4
self.off_lang =         0x014944D4
self.off_moodtime =      0x01271E02
self.off_playedrace =      0x01271E10
self.off_economy =      0x012646CC
Logged

Squeegy

  • Bay Watcher
  • I don't really have any answers for you.
    • View Profile
Re: Updating Rick's Utilities
« Reply #6 on: February 08, 2008, 10:18:00 am »

[generic]
DWARF_FORTRESS=0x00C11218

[address]
STARTING_POINT_COUNT=0x007AF4FA
STARTING_DWARF_COUNT=0x007B0345
MENU_STATE=0x0127599C
FOCUSED_CREATURE=0x00C69888
CREATURE_VECTOR=0x01450E9C
MOUSE_X=0x0092F288
MOUSE_Y=0x0092F28C
MOUSE_Z=0x0092F290
MAP_DATA=0x014929CC
MAP_X_COUNT=0x014929E4
MAP_Y_COUNT=0x014929E8
MAP_Z_COUNT=0x014929EC

[offset]
MAP_DATA_DESIGNATION_OFFSET=0x0260
MAP_DATA_OCCUPANCY_OFFSET=0x660
CREATURE_NAME_OFFSET=0x000
CREATURE_BODY_PART_HEALTH_VECTOR_OFFSET=0x308
CREATURE_X_OFFSET=0x0094
CREATURE_Y_OFFSET=0x0096
CREATURE_Z_OFFSET=0x0098

Logged
I think I'm an alright guy. I just wanna live until I gotta die. I know I'm not perfect, but God knows I try.
Kobold Name Generator
⚔Dueling Blades⚔
Fertile Lands
The Emerald Isles

Narceh

  • Bay Watcher
    • View Profile
Re: Updating Rick's Utilities
« Reply #7 on: February 08, 2008, 03:12:00 pm »

Heal.exe still doesn't work with any of these. Apparently it tries to heal a wrong creature.

Damnit, and my healthcare dwarves are again just sitting idly while the place is full of injured, hungry and thirsty dwarves. Bloody buggers.

Logged

Nite/m4re

  • Bay Watcher
  • Too Deep
    • View Profile
Re: Updating Rick's Utilities
« Reply #8 on: February 08, 2008, 03:14:00 pm »

Use Dwarf companion, it does that and much more.
Logged

Squeegy

  • Bay Watcher
  • I don't really have any answers for you.
    • View Profile
Re: Updating Rick's Utilities
« Reply #9 on: February 08, 2008, 06:47:00 pm »

DC needs all of Rick's utilities built into it.
Logged
I think I'm an alright guy. I just wanna live until I gotta die. I know I'm not perfect, but God knows I try.
Kobold Name Generator
⚔Dueling Blades⚔
Fertile Lands
The Emerald Isles