Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 80 81 [82] 83 84 ... 361

Author Topic: DFHack 0.43.03-r1  (Read 769701 times)

palu

  • Bay Watcher
  • Viva la resolution
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1215 on: October 25, 2014, 10:11:13 am »

Any idea what the architect, builder1, and builder2 numbers in building.design represent? It doesn't seem to be unit ids.
Logged
Hmph, palu showing off that reading-the-instructions superpower.
The internet encourages thoughtful, intelligent discussion and if you disagree I hate you.
DFHack DF2015 progress:

Roses

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1216 on: October 25, 2014, 06:29:03 pm »

Is it possible to find the profession name and description attached to each skill token? (e.g. given DETAILSTONE I want to get Engraver and Engraving). I know I can get the profession name of a specific unit, but would like the profession name for each skill.
Logged

LeoCean

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1217 on: October 25, 2014, 06:39:58 pm »

Wouldn't it be best to ask that in the dwarf therapist thread? They deal with those things but your thing is pretty neat in it's own way so you should continue it. There's also another pluggin within dfhack that deals with skills to, I just forget what it is.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1218 on: October 25, 2014, 06:43:40 pm »

Manipulator?
I think it's fairly easy to get a list of skill names through DFHack (and I think Roses is asking for a way to do so without hardcoding each skill name, which DT wouldn't help with).
Edit:
Code: [Select]
for i in ipairs(df.job_skill) do print(i, df.job_skill[i], df.job_skill.attrs[i].caption, df.job_skill.attrs[i].caption_noun) end
« Last Edit: October 25, 2014, 06:49:59 pm by lethosor »
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.

Roses

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1219 on: October 25, 2014, 06:52:33 pm »

Perfect! Exactly what I was looking for. Just wasted 20 minutes trying to figure it out myself. Completely passed over the .attrs oh well, always good to learn :)

EDIT: Had a little more time to work on this today, here is what it's looking like now
Spoiler (click to show/hide)
« Last Edit: October 25, 2014, 07:56:46 pm by Roses »
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1220 on: October 25, 2014, 08:04:20 pm »

Well, out of curiousity I tried to whip up a slapdash combination of the new df with this dfhack and the most recent twbt, it loads up ok but it doesn't give back the terminal to use dfhack commands, and the keybinds are all weird (l for announcements, f3 for pause/resume, s for artifacts?) but it DID load up the overrides properly though twbt didn't work either.
Logged
Engraved here is a rendition of an image of the Dwarf Fortress learning curve. All craftsdwarfship is of the highest quality. It depicts an obsidian overhang which menaces with spikes of obsidian and tears. Carved on the overhang is an image of Toady One and the players. The players are curled up in a fetal position. Toady One is laughing. The players are burning.
The VectorCurses+1 tileset strikes the square set and the severed part sails off in an arc!

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1221 on: October 25, 2014, 08:16:56 pm »

What platform? Did you update symbols.xml? Are you compiling DFHack from source or using a 0.40.13-r1 build?
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.

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1222 on: October 25, 2014, 08:39:14 pm »

Linux, I didn't remember to check the symbols, I'm just using the dfhack40.13.tar.bz I think.

For clarity, I dled the linux version from the bay12games site, grabbed a fresh dfhack40.13 from the front page here, and the twbt linked from the spacefox thread (5.27 I think) and put them together as usual, copied over the graphics, objects, art, and init/d_init, tried to use the old and new interface but both broke, though I did have to replace the libgraphics.so with the working one from my 40.13 game along with adding in libpng.so to fix the canberra-gtk-module thing.

Oh, weirdly enough it spams me with libpng warning: iCCP: known incorrect sRGB profile if I try to start with ./df instead of ./dfhack, but yeah, looks pretty close to being fixable since it does load up, probably just needs the dfhack compiled against the right version?
« Last Edit: October 25, 2014, 08:47:46 pm by Max™ »
Logged
Engraved here is a rendition of an image of the Dwarf Fortress learning curve. All craftsdwarfship is of the highest quality. It depicts an obsidian overhang which menaces with spikes of obsidian and tears. Carved on the overhang is an image of Toady One and the players. The players are curled up in a fetal position. Toady One is laughing. The players are burning.
The VectorCurses+1 tileset strikes the square set and the severed part sails off in an arc!

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1223 on: October 25, 2014, 08:50:06 pm »

If you replaced libgraphics.so with a copy from 0.40.13, that certainly explains the broken keybindings - 0.40.14 added new keybindings, changing the IDs of all keybindings following them, so DF 0.40.14 will retrieve the wrong  information from an older libgraphics (and may even crash in some cases - try accessing the last item of the last page of the keybindings screen).

DFHack refuses to load past a certain point if it doesn't recognize the DF version - adding a new <symbol-table> entry with the correct md5 should work. (Changing the md5 of an existing entry will almost certainly crash, however, since none of the addresses will be correct.)
« Last Edit: October 25, 2014, 08:52:34 pm by lethosor »
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.

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1224 on: October 25, 2014, 09:02:06 pm »

Ahhh, that explains the keybinds, good to know, I'll poke around with it in a bit, and try the mdf5 fix, thanks!

Hmmm, switching to the libgraphics.so that came with it breaks it, just spams me with the libstdc++.s0.6:version 'GLIBCXX_3.4.20' not found (required by ./hack/libdfhack.so) messages and then the canberra-gtk-module, but it did try to load the right bindings, though they weren't actually right in the save I loaded, but that's not unexpected given how sloppily I put everything together atm.

When I get back on I'll try it with a fresh df, fresh dfhack, and put the right md5 in there, and then update the keybinds by hand.

This too, which was new to me, looks like the fruit gathering stuff keybinds, but the openal thing I've never seen before.
Code: [Select]
Sound devices available:
OpenAL Soft
Picking OpenAL Soft. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
Unknown binding: CIVZONE_GATHER
Unknown binding: CIVZONE_GATHER_OPTIONS
Unknown binding: CIVZONE_GATHER_OPTIONS_PICK_TREES
Unknown binding: CIVZONE_GATHER_OPTIONS_PICK_SHRUBS
Unknown binding: CIVZONE_GATHER_OPTIONS_GATHER_FALLEN
« Last Edit: October 25, 2014, 09:16:37 pm by Max™ »
Logged
Engraved here is a rendition of an image of the Dwarf Fortress learning curve. All craftsdwarfship is of the highest quality. It depicts an obsidian overhang which menaces with spikes of obsidian and tears. Carved on the overhang is an image of Toady One and the players. The players are curled up in a fetal position. Toady One is laughing. The players are burning.
The VectorCurses+1 tileset strikes the square set and the severed part sails off in an arc!

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1225 on: October 25, 2014, 09:33:20 pm »

What would I have to put in to have all my dwarves teleporting around? I'm only using it so one dwarf who's making a mini planepacked can get done sooner rather than later.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1226 on: October 25, 2014, 09:55:11 pm »

"fastdwarf 0 1"

Or "fastdwarf 1 1" to make dwarves work faster as well.
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.

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1227 on: October 25, 2014, 09:56:15 pm »

Thanks. What would I have to do to make it go back to normal?
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1228 on: October 25, 2014, 09:57:29 pm »

Ahhh, that explains the keybinds, good to know, I'll poke around with it in a bit, and try the mdf5 fix, thanks!

Hmmm, switching to the libgraphics.so that came with it breaks it, just spams me with the libstdc++.s0.6:version 'GLIBCXX_3.4.20' not found (required by ./hack/libdfhack.so) messages and then the canberra-gtk-module, but it did try to load the right bindings, though they weren't actually right in the save I loaded, but that's not unexpected given how sloppily I put everything together atm.

When I get back on I'll try it with a fresh df, fresh dfhack, and put the right md5 in there, and then update the keybinds by hand.

This too, which was new to me, looks like the fruit gathering stuff keybinds, but the openal thing I've never seen before.
Code: [Select]
Sound devices available:
OpenAL Soft
Picking OpenAL Soft. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
Unknown binding: CIVZONE_GATHER
Unknown binding: CIVZONE_GATHER_OPTIONS
Unknown binding: CIVZONE_GATHER_OPTIONS_PICK_TREES
Unknown binding: CIVZONE_GATHER_OPTIONS_PICK_SHRUBS
Unknown binding: CIVZONE_GATHER_OPTIONS_GATHER_FALLEN
It sounds like the problem is with the DFHack build you're using, not libgraphics. What GCC versions do you have available? If you don't have GCC 4.9, you should be using the GCC 4.5 build of DFHack (which uses the libraries that come with DF).


Thanks. What would I have to do to make it go back to normal?
"fastdwarf 0 0"
(You can also use "help fastdwarf" for more information)
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.

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: DFHack 0.40.13-r1
« Reply #1229 on: October 25, 2014, 10:00:39 pm »

Thanks a lot! That is fast...

New question: how do I make a creature appear? I remember someone said to me something along the lines of making a creature appear to replace being able to force megabeast attacks. Which script is that?
« Last Edit: October 25, 2014, 11:04:22 pm by StagnantSoul »
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.
Pages: 1 ... 80 81 [82] 83 84 ... 361