Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - jpeterson92

Pages: [1]
1
I've had a *little* success in getting DT to read from the Linux version of DF v0.31.10, it looks like the dwarves' labours, current job and names are being read correctly, but that's about all I'm sure of. It looks like various offsets within the dwarf definition might have changed, but I don't know enough to fix this, currently. Following is my current best effort, but I've not changed any offsets, only the vector addresses, checksum and version:

Spoiler (click to show/hide)

Has anyone been able to get a fully functioning version for Linux going yet?

Literally just done so! The traits, labours and skills are now working. A few things in the dwarf_offsets section moved by 36 bytes:

Code: [Select]
[info]
checksum                = 0x3e7bea26
version_name            = v0.31.10

[addresses]
translation_vector      = 0x0932bf2c
language_vector         = 0x0932bf14
creature_vector         = 0x092ea9d4
dwarf_race_index        = 0x092d2548

[offsets]
word_table              = 0x001C

[dwarf_offsets]
first_name              = 0x0000
nick_name               = 0x0004
last_name               = 0x0008
custom_profession       = 0x003c
profession              = 0x0040
race                    = 0x0044
flags1                  = 0x008C
flags2                  = 0x0090
sex                     = 0x00A6
id                      = 0x00A8
recheck_equipment       = 0x0144
current_job             = 0x0258
states                  = 0x0
souls                   = 0x0524
labors                  = 0x0540
happiness               = 0x05d0

[soul_details]
skills                  = 0x01C4
traits                  = 0x01DC

[job_details]
id                      = 0x0008
on_break_flag           = 0x0011

[valid_flags_1]
size                    = 1
1/name                  = "Not from around these parts"
1/value                 = 0x80000000

[invalid_flags_1]
size                    = 7
1/name                  = "a zombie"
1/value                 = 0x00001000
2/name                  = "a skeleton"
2/value                 = 0x00002000
3/name                  = "a merchant or diplomat"
3/value                 = 0x00000040
4/name                  = "outpost liason"
4/value                 = 0x00000800
5/name                  = "an invader or hostile"
5/value                 = 0x00020000
6/name                  = "an invader or hostile"
6/value                 = 0x00080000
7/name                  = "an invader or hostile"
7/value                 = 0x000C0000

[invalid_flags_2]
size=2
1/name                  = "dead, Jim."
1/value                 = 0x00000080
2/name                  = "from the Underworld. SPOOKY!"
2/value                 = 0x00040000

Awesome job! Thanks from me too

2
I've had a *little* success in getting DT to read from the Linux version of DF v0.31.10, it looks like the dwarves' labours, current job and names are being read correctly, but that's about all I'm sure of. It looks like various offsets within the dwarf definition might have changed, but I don't know enough to fix this, currently. Following is my current best effort, but I've not changed any offsets, only the vector addresses, checksum and version:

Spoiler (click to show/hide)

Has anyone been able to get a fully functioning version for Linux going yet?

3
DF Gameplay Questions / Re: Getting a Mayor
« on: July 08, 2010, 12:10:42 pm »
Thanks man! I just had to update it from 0.31.07 to 0.31.08, and I have my mayor now.

4
DF Gameplay Questions / Getting a Mayor
« on: July 08, 2010, 11:43:21 am »
So I read on the DF wiki that once your civ reaches a population of 50 dwarves, your expedition leader should become a mayor. I have 76 dwarves, but under nobles it still lists my leader as expedition leader. Can anyone point out something I still need to do? Thanks!

Pages: [1]