Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 99 100 [101] 102 103 ... 373

Author Topic: DFHack 0.34.11 r3  (Read 1457703 times)

jocan2003

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1500 on: May 20, 2012, 02:27:52 pm »

Im trying to use the job command to change that damn shell from my moody dwarf but to no afvgail, i either get cannot find material, (or item id ) When i do manage to get past tha.... i get item doesnt meet requirement o.O
Spoiler (click to show/hide)

What do i have to do to get rid of the shell and change it for anything from metal, to stone or even bone if need...

edit: Ive been looking around for tutorial, example of commands and so on im just totaly lost o.O
Logged
Quote from: LoSboccacc
that was a luky dwarf. I had one dabbling surgeon fail so spectacularly that the patient skull flew a tile away from the table.
Quote from: NW_Kohaku
DF doesn't mold players into its image - DF merely selects those who were always ready for DF.
Quote from: Girlinhat
Minecraft UI is very simple. There's only so many ways you can implement "simple" without copying something. We also gonna complain that it uses WASD?

Icefire2314

  • Bay Watcher
  • Programmer and Space Enthusiast
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1501 on: May 20, 2012, 02:53:31 pm »

Logged
"ERUTH PULL THE DAMN LEVER THE ZOMBIES ARE ABOUT TO GET INSIDE!"
"zzz"
BAY 12 MINI CITY: http://bay-12.myminicity.com/

HD23

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1502 on: May 20, 2012, 02:57:16 pm »

What do i have to do to get rid of the shell and change it for anything from metal, to stone or even bone if need...

You can enable other materials, like hooves or ivory to be used in strange moods instead of shells.
http://dwarffortresswiki.org/index.php/Shell

That is what I do, just remember, the change won't affect body parts that are already lying around,
but will affect newly created body parts from butchered creatures.
Logged

jocan2003

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1503 on: May 20, 2012, 04:39:44 pm »

Cant i just use DFhack to change that job material requirement? If i dont hear soon that what ill do, add the shell to hoof or something and be free of that stupid moody dwarf...
Logged
Quote from: LoSboccacc
that was a luky dwarf. I had one dabbling surgeon fail so spectacularly that the patient skull flew a tile away from the table.
Quote from: NW_Kohaku
DF doesn't mold players into its image - DF merely selects those who were always ready for DF.
Quote from: Girlinhat
Minecraft UI is very simple. There's only so many ways you can implement "simple" without copying something. We also gonna complain that it uses WASD?

Rafal99

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1504 on: May 20, 2012, 09:48:33 pm »

Is there any possibility to stop a dwarf from being "On Break" using DFHack or another utility?
Perhaps someone knows the right offset so I can at least try with Cheat Engine?
Logged
The spinning Tantrum Spiral strikes The Fortress in the meeting hall!
It explodes in gore!
The Fortress has been struck down.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.34.07 r2
« Reply #1505 on: May 20, 2012, 10:08:16 pm »

Is there any possibility to stop a dwarf from being "On Break" using DFHack or another utility?
Absolutely - just locate the dwarf's "On Break" counter (located in unit.status.misc_traits) and either set it to a really high value (I forget the maximum) or remove the entry altogether.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Rafal99

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1506 on: May 20, 2012, 11:06:52 pm »

Where do I use this variable? In DFHack command line or in C++ plugin or in lua script for DFusion?
(sorry for stupid question but I am not very familiar DFHack except for using a few already provided plugins)


Nevermind I figured how to make scripts for DFFusion. But it seems DFFusion is not included in the DFHack version I got:
https://docs.google.com/file/d/0B2hg23s5yV1aclFScGVqdy11Yms/edit?pli=1

Edit: Ok I copied DFusion from DFHack 0.34.07 r2 and it works.


I dont see this variable mentioned anywhere in the API doc nor in symbols.xml.
So the second question is where in DFHack files do I find list of the available variables and their offsets?


Nevermind, found it here:
https://github.com/peterix/df-structures
« Last Edit: May 21, 2012, 07:50:36 am by Rafal99 »
Logged
The spinning Tantrum Spiral strikes The Fortress in the meeting hall!
It explodes in gore!
The Fortress has been struck down.

bluescreen1988

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1507 on: May 20, 2012, 11:30:44 pm »

tried using autolabor for the latest version of the game but it says the plugin is missing?
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1508 on: May 21, 2012, 02:33:50 am »

you have to pull autolabor from the git repo of the guy who writes the plugin.
Logged

Rafal99

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1509 on: May 21, 2012, 07:55:42 am »

I successfully managed to stop my dwarf from being On Break! :D
Achievement unlocked!

Code: [Select]
for k,v in pairs(df.global.world.units.all) do
  if (v.name.first_name ~= "") then
    for kk,vv in pairs(v.status.misc_traits) do
      if (vv.id == 17) then  --OnBreak counter id
        print(v.name.first_name .. " " .. v.name.nickname .. " " .. v.custom_profession)
        print("  " .. tostring(vv.id) .. " " .. tostring(vv.value))
        if (vv.value == 2202) then  --the OnBreak counter value my specific dwarf has on game load
          vv.value = 14990
          break
        end
      end 
    end 
  end
end

It seems the OnBreak counter goes up to something like 14k-17k but the exact value seems to be different for each dwarf. Setting all my "On Break" dwarves to the same value, didn't mean they all finish their break at the same time.
Logged
The spinning Tantrum Spiral strikes The Fortress in the meeting hall!
It explodes in gore!
The Fortress has been struck down.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.34.07 r2
« Reply #1510 on: May 21, 2012, 08:08:20 am »

The OnBreak counter keeps track of how long they've been On Break - once it reaches a particular value (exactly what that value is, I don't recall), the break ends.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Tierre

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1511 on: May 21, 2012, 08:45:11 am »

Can anybody install a Runesmith features into DFhack? If it is possible then some kind of manual for that could b cool. Also it would be really good to implement that as a usual feature in next versions of DFhack (if developer has time for that of course). Runesmth is not updating and it's left a vacant space which should be takan by somebody. DFhack is the best choice for that.
Logged

slink

  • Bay Watcher
  • Crazy Cat Dwarf
    • View Profile
    • Slink's Burrow Online
Re: DFHack 0.34.07 r2
« Reply #1512 on: May 21, 2012, 11:33:43 am »

Just a note, that Quietust's DFHack for Windows 34.09 works fine for Windows 34.10 if you change the Windows 34.09 SDL checksum in symbols.xml to the one in the Dwarf Therapist thread.
Logged
There is only one cat, and all cats are that cat.
Almost losing is sometimes fun.

ab9rf

  • Bay Watcher
    • View Profile
    • ab9rf@github
Re: DFHack 0.34.07 r2
« Reply #1513 on: May 21, 2012, 12:23:00 pm »

Just a note, that Quietust's DFHack for Windows 34.09 works fine for Windows 34.10 if you change the Windows 34.09 SDL checksum in symbols.xml to the one in the Dwarf Therapist thread.
df-structures has been updated for 34.10, and builds from github work fine, although the hotkey "problem" still exists and there is reportedly a problem with using DFHack on linux in text mode, as well.  I think it's resolving this problem that is delaying the release.
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1514 on: May 21, 2012, 12:25:34 pm »

anyone know how & care to write an xml parser for dfhack's dwarfexport .xml file?

I'm looking for the attribute values, trait values, skill exp, dorf name values exportable to a csv file, or importable into scalc.

It's for a project for DT research.  See this post

http://www.bay12forums.com/smf/index.php?topic=66525.msg3303414#msg3303414
Pages: 1 ... 99 100 [101] 102 103 ... 373