Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 70 71 [72] 73 74 ... 87

Author Topic: Dwarf Therapist v42.1.5 | DF 50.12  (Read 399525 times)

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1065 on: July 22, 2022, 11:39:05 am »

New version released: 41.2.4

Not much happening. Just one bug fix. Also updated Qt to 5.15.2 for Windows and Linux AppImage, it may fix other qt related issues.

Changelog:
  • fixed fake identities for new migrants
Logged

Jundavr

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1066 on: September 28, 2022, 11:32:14 am »

Apologies if this isn't the appropriate place to ask for modding help.

What determines wether you can change an unit's labors or not (in Dwarf Therapist)? If I use a script to make a wild animal person to join the fort, I can't change their labors using DT, but I can through v-p-l in the game interface.

If instead I cage the animal person and add [PET_EXOTIC] tag, train them, and wait for them to petition then finally remove the [PET_EXOTIC], then DT works fine with them.

So it seems that my script isn't actually setting the correct links in all the appropriate fields. I've been looking at DT's source in github but am having no luck finding where these checks happen. I'd REALLY like to update the script according to what Dwarf Therapist uses to determine wether the unit is a citizen of your civ/fort.
Logged
I was out in the rain. So exasperating!

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1067 on: September 28, 2022, 01:05:02 pm »

Does the tool-tip over the labor cell tell you the reason?

m_can_set_labors is set in this function.

m_is_animal is set here (TRAINABLE is fake caste flag implied by PET_EXOTIC and others). On this line I'm not sure if CAN_LEARN is the right flag, maybe it should be CAN_SPEAK. Would that make a difference in your case?

Citizenship is set for non-animal if they are part of the fortress entity historical figure list ("historical_entity.histfig_ids" in dfhack).
Logged

Jundavr

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1068 on: September 28, 2022, 03:30:51 pm »

Citizenship is set for non-animal if they are part of the fortress entity historical figure list ("historical_entity.histfig_ids" in dfhack).

This is what I was missing, thanks a lot!

On this line I'm not sure if CAN_LEARN is the right flag, maybe it should be CAN_SPEAK. Would that make a difference in your case?

It certainly wouldn't, I'm using it on [INTELLIGENT] creatures, who have both.
« Last Edit: September 28, 2022, 03:34:13 pm by Jundavr »
Logged
I was out in the rain. So exasperating!

Paaaad

  • Bay Watcher
  • Mainly a lurker unfortunetley.
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1069 on: December 06, 2022, 10:42:29 pm »

Am able to confirm DT is unable to communicate with the Steam version of DF. DT at least knows DF is open, but that seems to be all at first glance.
Logged
Unity! Duty! Destiny!

Does the walker chose the path, or the path the walker?

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1070 on: December 07, 2022, 03:00:24 am »

That's effectively the case for all new versions of DF - Dwarf Therapist requires a memory layout file in order to talk to DF, and that hasn't been made yet. It will probably take longer than usual this time due to the number of changes in DF.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1071 on: December 08, 2022, 05:00:14 am »

I did not even buy the game yet. But Quietust has already updated df-structures. Here is a memory layout for 0.50.01. I have no idea if it works at all. Expect crashes and data corruption.

Code: [Select]
[info]
checksum=0x638d2f18
version_name=v0.50.01 SDL win64
complete=true

[addresses]
cur_year_tick=0x141b588a0
current_year=0x141b588a8
dwarf_civ_index=0x141d9b418
dwarf_race_index=0x141d9b424
fortress_entity=0x141da1be0
historical_entities_vector=0x141de2ea8
creature_vector=0x141df6760
active_creature_vector=0x141df6778
weapons_vector=0x141df6b40
shields_vector=0x141df6bd0
quivers_vector=0x141df6c18
crutches_vector=0x141df6c60
backpacks_vector=0x141df6c78
ammo_vector=0x141df6c90
flasks_vector=0x141df6f48
pants_vector=0x141df7668
armor_vector=0x141df76c8
shoes_vector=0x141df76e0
helms_vector=0x141df76f8
gloves_vector=0x141df7710
artifacts_vector=0x141df77b8
squad_vector=0x141ef4df8
activities_vector=0x141ef4e58
fake_identities_vector=0x141ef92a8
poetic_forms_vector=0x141ef9470
musical_forms_vector=0x141ef94a0
dance_forms_vector=0x141ef94d0
occupations_vector=0x141ef9560
world_data=0x141efd100
material_templates_vector=0x141efde30
inorganics_vector=0x141efde48
plants_vector=0x141efde78
races_vector=0x141efdfe8
itemdef_weapons_vector=0x141efe068
itemdef_trap_vector=0x141efe080
itemdef_toy_vector=0x141efe098
itemdef_tool_vector=0x141efe0b0
itemdef_instrument_vector=0x141efe338
itemdef_armor_vector=0x141efe350
itemdef_ammo_vector=0x141efe368
itemdef_siegeammo_vector=0x141efe380
itemdef_glove_vector=0x141efe398
itemdef_shoe_vector=0x141efe3b0
itemdef_shield_vector=0x141efe3c8
itemdef_helm_vector=0x141efe3e0
itemdef_pant_vector=0x141efe3f8
itemdef_food_vector=0x141efe410
language_vector=0x141efec30
translation_vector=0x141efec60
colors_vector=0x141f08578
shapes_vector=0x141f08590
reactions_vector=0x141f086f8
base_materials=0x141f09598
all_syndromes_vector=0x141f0ab38
events_vector=0x141f0b1d8
historical_figures_vector=0x141f0b238
world_site_type=0x0080
active_sites_vector=0x00048390
gview=0x1412a3910
viewscreen_setupdwarfgame_vtable=0x1411b1d60

[offsets]
word_table=0x0050

[word_offsets]
base=0x0000
noun_singular=0x0020
noun_plural=0x0040
adjective=0x0060
verb=0x00a0
present_simple_verb=0x00c0
past_simple_verb=0x00e0
past_participle_verb=0x0100
present_participle_verb=0x0120
first_name=0x0000
nickname=0x0020
words=0x0040
word_type=0x005c
language_id=0x006c

[general_ref_offsets]
ref_type=0x0010
artifact_id=0x0008
item_id=0x0008

[race_offsets]
name_singular=0x0020
name_plural=0x0040
adjective=0x0060
baby_name_singular=0x0080
baby_name_plural=0x00a0
child_name_singular=0x00c0
child_name_plural=0x00e0
pref_string_vector=0x0148
castes_vector=0x0178
pop_ratio_vector=0x0190
materials_vector=0x24b0
flags=0x01a8
tissues_vector=0x24c8

[caste_offsets]
caste_name=0x0020
caste_descr=0x0220
caste_trait_ranges=0x057c
caste_phys_att_ranges=0x11f0
baby_age=0x04c0
child_age=0x04c4
adult_size=0x04d8
flags=0x06a8
body_info=0x06c0
skill_rates=0x08c0
caste_att_rates=0x1404
caste_att_caps=0x1534
shearable_tissues_vector=0x16c0
extracts=0x39c0

[hist_entity_offsets]
histfigs=0x00e0
beliefs=0x0d10
squads=0x11b8
positions=0x10b0
assignments=0x1100
assign_hist_id=0x0004
assign_position_id=0x000c
position_id=0x0020
position_name=0x0098
position_female_name=0x00d8
position_male_name=0x0118

[hist_figure_offsets]
hist_race=0x0002
hist_name=0x0038
id=0x00e0
hist_fig_info=0x0130
reputation=0x0058
current_ident=0x0030
fake_name=0x0008
fake_birth_year=0x0094
fake_birth_time=0x0098
kills=0x0030
killed_race_vector=0x0018
killed_undead_vector=0x0090
killed_counts_vector=0x00a8

[hist_event_offsets]
event_year=0x0008
id=0x0020
killed_hist_id=0x0028

[item_offsets]
item_def=0x00e0
id=0x001c
general_refs=0x0038
stack_size=0x0078
wear=0x009c
mat_type=0x00b0
mat_index=0x00b4
maker_race=0x00b8
quality=0x00ba
artifact_id=0x0000
artifact_name=0x0008

[item_subtype_offsets]
sub_type=0x0028
base_flags=0x0030
name=0x0060
name_plural=0x0080
adjective=0x00a0
tool_flags=0x00a0
tool_adjective=0x00d0

[item_filter_offsets]
item_subtype=0x0002
mat_class=0x0004
mat_type=0x0006
mat_index=0x0008

[weapon_subtype_offsets]
single_size=0x00f0
multi_size=0x00f4
ammo=0x00d0
melee_skill=0x00c8
ranged_skill=0x00ca

[armor_subtype_offsets]
layer=0x0010
mat_name=0x00c0
other_armor_level=0x00c4
armor_adjective=0x00e0
armor_level=0x0104
chest_armor_properties=0x0110
pants_armor_properties=0x0120
other_armor_properties=0x00e0

[material_offsets]
solid_name=0x00b8
liquid_name=0x00d8
gas_name=0x00f8
powder_name=0x0118
paste_name=0x0138
pressed_name=0x0158
flags=0x0290
reaction_class=0x04a8
prefix=0x0548
inorganic_materials_vector=0x01a8
inorganic_flags=0x0038

[plant_offsets]
name=0x0050
name_plural=0x0070
name_leaf_plural=0x0110
name_seed_plural=0x00d0
materials_vector=0x0298
flags=0x0040

[descriptor_offsets]
color_name=0x0050
shape_name_plural=0x0070

[health_offsets]
parent_id=0x0040
body_part_flags=0x0048
layers_vector=0x0058
number=0x0084
names_vector=0x0090
names_plural_vector=0x00a8
layer_tissue=0x0020
layer_global_id=0x0068
tissue_name=0x0030
tissue_flags=0x0020

[dwarf_offsets]
name=0x0008
custom_profession=0x0080
profession=0x00a0
race=0x00a4
flags1=0x0110
flags2=0x0114
flags3=0x0118
meeting=0x0120
caste=0x012c
sex=0x012e
id=0x0130
animal_type=0x0138
civ=0x0140
specific_refs=0x01a8
squad_id=0x01d8
squad_position=0x01dc
recheck_equipment=0x0268
mood=0x0348
birth_year=0x0374
birth_time=0x0378
pet_owner_id=0x03a4
current_job=0x04b8
physical_attrs=0x05e4
body_size=0x06c8
size_info=0x068c
size_base=0x0690
curse=0x0820
curse_add_flags1=0x080c
turn_count=0x0920
souls=0x0a60
states=0x0988
labors=0x0a98
hist_id=0x0c10
artifact_name=0x09e8
active_syndrome_vector=0x0c80
syn_sick_flag=0x004c
unit_health_info=0x0d28
temp_mood=0x07f8
counters1=0x07e0
counters2=0x07fc
counters3=0x0958
limb_counters=0x0c18
blood=0x06a4
body_component_info=0x04d0
layer_status_vector=0x0048
wounds_vector=0x0590
mood_skill=0x04c0
used_items_vector=0x0d30
affection_level=0x000c
inventory=0x03f8
inventory_item_mode=0x0008
inventory_item_bodypart=0x000a

[syndrome_offsets]
cie_effects=0x0020
cie_end=0x0018
cie_first_perc=0x0098
cie_phys=0x00b0
cie_ment=0x00cc
syn_classes_vector=0x00c8
trans_race_vec=0x00e0

[unit_wound_offsets]
parts=0x0008
id=0x0004
layer=0x0006
general_flags=0x002c
flags1=0x0064
flags2=0x0068
effects_vector=0x0048
bleeding=0x006c
pain=0x0070
cur_pen=0x0098
max_pen=0x009a

[soul_details]
name=0x0008
orientation=0x0088
mental_attrs=0x00ac
skills=0x0218
preferences=0x0230
personality=0x0248
beliefs=0x0000
emotions=0x0030
goals=0x0048
goal_realized=0x0028
traits=0x0080
stress_level=0x0120
needs=0x0138
current_focus=0x0180
undistracted_focus=0x0184
combat_hardened=0x0130
likes_outdoors=0x012c

[need_offsets]
id=0x0000
deity_id=0x0004
focus_level=0x0008
need_level=0x000c

[emotion_offsets]
emotion_type=0x0000
strength=0x0008
thought_id=0x000c
sub_id=0x0010
level=0x0014
year=0x0020
year_tick=0x0024

[job_details]
id=0x0014
mat_type=0x0030
mat_index=0x0034
mat_category=0x0048
sub_job_id=0x0050
reaction=0x0020
reaction_skill=0x0080

[squad_offsets]
id=0x0000
name=0x0008
alias=0x0080
members=0x00a0
orders=0x00b8
schedules=0x00d0
sched_size=0x0058
sched_orders=0x0028
sched_assign=0x0040
alert=0x00e8
carry_food=0x01b8
carry_water=0x01ba
ammunition=0x0140
ammunition_qty=0x000c
quiver=0x0168
backpack=0x016c
flask=0x0170
armor_vector=0x0080
helm_vector=0x0098
pants_vector=0x00b0
gloves_vector=0x00c8
shoes_vector=0x00e0
shield_vector=0x00f8
weapon_vector=0x0110
uniform_item_filter=0x0004
uniform_indiv_choice=0x0030

[activity_offsets]
activity_type=0x0004
events=0x0008
participants=0x0048
sq_lead=0x00b4
sq_skill=0x00bc
sq_train_rounds=0x00c8
pray_deity=0x00b0
pray_sphere=0x00b4
knowledge_category=0x00c0
knowledge_flag=0x00c4
perf_type=0x00b0
perf_participants=0x00e0
perf_histfig=0x000c

[art_offsets]
name=0x0008

[viewscreen_offsets]
view=0x0008
child=0x0008
setupdwarfgame_units=0x0e90

[valid_flags_2]
size=0

[invalid_flags_1]
size=9
1\name="a skeleton"
1\value=0x00002000
2\name="a merchant"
2\value=0x00000040
3\name="outpost liaison, diplomat, or artifact requesting visitor"
3\value=0x00000800
4\name="an invader or hostile"
4\value=0x00020000
5\name="an invader or hostile"
5\value=0x00080000
6\name="resident, invader or ambusher"
6\value=0x00600000
7\name="part of a merchant caravan"
7\value=0x00000080
8\name="inactive, currently not in play"
8\value=0x00000002
9\name="marauder"
9\value=0x00000010

[invalid_flags_2]
size=5
1\name="killed, Jim."
1\value=0x00000080
2\name="from the Underworld. SPOOKY!"
2\value=0x00040000
3\name="resident"
3\value=0x00080000
4\name="uninvited visitor"
4\value=0x00400000
5\name="visitor"
5\value=0x00800000

[invalid_flags_3]
size=1
1\name="a ghost"
1\value=0x00001000
Logged

clinodev

  • Bay Watcher
  • Embark Profile Enthusiast, Kitfox & reddit mod.
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1072 on: December 09, 2022, 06:52:50 am »

Mmm, no luck on 50.01-testing or 50.02, unfortunately, even jiggling around with version numbers and checksums.
Logged
Team Bug Fix!

zenos14

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1073 on: December 09, 2022, 11:23:53 am »

Is the idea behind Dwarf Therapist even compatible with the new labor system? Or is it too early to know yet?
That's something I'm kinda worried about, that the changes to way labors work might mean Dwarf Therapist might not be able to do what it's supposed to do anymore
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1074 on: December 09, 2022, 12:56:11 pm »

You tell me. As I said above, I did not get the new version yet. So I don't know.

From what I read in a few previews and discussions, there is a new system grouping labors together similar to DT's current super labors/custom professions. Although there may be some technical difficulties interacting with it, I don't think it makes it impossible for Dwarf Therapist to work with this new system.
Logged

chris_v

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1075 on: December 09, 2022, 04:49:08 pm »

I have the new version and have a couple of observations:
1. The new skills system is just a thin layer over the old one. So the old skills system still exists underneath. In many situations and menus you see the old system. The most obvious place is the "prepare carefully" menu which is shows the old skills system organized in a couple of tabs. Also, in the skills tab on a dwarf's menu you see the dwarf's skills organized according to the old system.

2. The new system is awful and makes the game unplayable for any advanced player. It is one of those situations where they tried to make things simpler and made them much more complicated instead.

So whoever is doing dwarf therapist, please get it done it is more needed than ever. That new $30 game that hundreds of thousands of people are buying right now is downright unplayable at advanced level without it. If I do not get dwarf therapist soon, I will be looking to get my money back.

I know tarn said that he did not want to have players look at spreadsheets, but guess what you made that type of a game. Skills are extremely important in DF, a skilled farmer here a skilled stonecrafter there, can increase your food or wealth by a factor of three or four. And a skilled armorer can easily win battles. But now you cannot make your dwarves do the jobs that they are skilled in, you cannot get them to improve their skills?

So yeah .... please someone get Dwarf Therapist going so that I can enjoy this game I have been looking forward to for such a long time.


Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1076 on: December 09, 2022, 05:16:44 pm »

Dwarf Therapist is a volunteer-driven project. People will work on it when they have time. Because of the larger-than-usual changes to DF, support for v50 will take longer than usual (the same goes for DFHack and other utilities).

You may also be interested in this perspective on the new labor system: https://www.reddit.com/r/dwarffortress/comments/zg0spw/please_try_to_use_the_new_labor_system_the_way/
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1077 on: December 09, 2022, 07:30:09 pm »

Thanks for the post lethosor. Indeed, it looks like there's no more need of "autoassign" script, and the new labor system works well, I ran a couple of fortresses with it and enjoyed it.

I would still like to have Therapist at some point when/if someone decides to update it, but it's not as critical anymore (read it: the game is now playable without it for me).
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1078 on: December 09, 2022, 07:53:38 pm »

1. The new skills system is just a thin layer over the old one. So the old skills system still exists underneath.

Skills and labors are different things. I don't expect skills to have changed much. But labors may have, or at least the way they are managed by the game or by the players.

So whoever is doing dwarf therapist, please get it done it is more needed than ever. That new $30 game that hundreds of thousands of people are buying right now is downright unplayable at advanced level without it. If I do not get dwarf therapist soon, I will be looking to get my money back.
That would be me, except if someone else comes out of nowhere and beats me to it (it's free software anyone can work on it). And I don't think you will get a working Dwarf Therapist any time soon, at least definitely not in the kind of delay that would allow a refund.
Logged

chris_v

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.2.4 | DF 0.47.05
« Reply #1079 on: December 09, 2022, 08:25:46 pm »

Well, thanks for letting me know. And I do appreciate you doing dwarf therapist by the way. I have been using it all the time with dwarf fortress and it has been invaluable. Well I guess beggars cannot be choosers ... I do hope you or someone else that knows this stuff gets this done soon. But of course I understand you are doing this purely on volunteer basis and I do not have any right to rush you. So please do not take any of these posts as me rushing you, merely as me pointing out how valuable and important your utility is.

I will try to decide whether to ask for a refund or not. If I do let them have my money it will be more for an appreciation of the last 10 years of Dwarf Fortress than for the steam version which I do not find very much fun currently. But I will probably just put it on the side and wait for someone to get dwarf therapist working.

And while I cannot make up your mind, please do not be swept up by the idea that the skills/labors system has somehow been changed and dwarf therapist is no longer needed. I beg to differ.
Logged
Pages: 1 ... 70 71 [72] 73 74 ... 87