Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 217 218 [219] 220 221 ... 360

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

DeDeRon

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3270 on: November 14, 2015, 11:35:46 am »

Did you update submodules ("git submodule update")?
of course not. so never mind, this update fixed the issue. thx for the reply. seems i will never get into git.

LeoCean

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3271 on: November 14, 2015, 02:15:16 pm »

I've been watching quill18 playing dwarf fortress, and noticed that he is somehow setting certain items to be maintained. For example, he selects iron bars and enters "10-20" and he said that the game will automatically queue up production if the quantity get's too low. Now I couldn't find any way to do this on vanilla DF so I assume since he was using DFHack, someone here could tell me how I can do this. If this is not DFHack, sorry, any tips on how I could do this would be welcome.

Alt + w is the workflow hotkey for dfhack. You could try out the Starter pack which has dfhack preinstalled and tilesets to choose from. Or you can still use default dwarf fortress graphics.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3272 on: November 14, 2015, 02:28:13 pm »

http://lazynewbpack.com/ is a better link (since there are other packs), and workflow is independent of graphics.

Another note: the workflow plugin needs to be enabled to use it. I think the gui/workflow script (which is triggered by Alt+W with the default dfhack.init) will prompt you to do this automatically, but you can add the line "enable workflow" to dfhack.init to enable the plugin when starting 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.

Micro102

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3273 on: November 15, 2015, 09:28:22 pm »

Hmmm, I typed in "enable workflow" into the console screen for DFHack, it said "Enabling the plugin. Protecting 20 jobs." but nothing happens when I press Alt-w.

It looks like I could do all of this from the console screen, but I'd really prefer to use the same window's I'm seeing in youtube videos.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3274 on: November 15, 2015, 09:32:37 pm »

Are you pressing alt+w with a job selected in a workshop?
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.

LeoCean

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3275 on: November 16, 2015, 03:08:03 pm »

Yeah you have to say, set a chair to be built then put it on repeat then click alt+w and that workflow screen will popup. If you type in how to use workflow for dfhack in google you should find something. https://www.youtube.com/watch?v=rL6nyeBwpGo that for example.
« Last Edit: November 16, 2015, 03:12:38 pm by LeoCean »
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3276 on: November 17, 2015, 03:04:25 pm »

It's worth mentioning that if you have a malformed dfhack.init, you might not have the keybindings. It'd be wise to check that.
Also, the keybind is only set up to work at the status (z) screen and in the job (q)ueue, when you have a job highlighted.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

feelotraveller

  • Bay Watcher
  • (y-sqrt{|x|})^2+x^2=1
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3277 on: November 18, 2015, 11:27:22 pm »

hope this is the right place to report.  very minor issue.

view-item-info fails with hemp press cake (and presumably with all press cake?)



Have a nice day!
Logged

Roses

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3278 on: November 20, 2015, 04:51:31 pm »

I'm wondering if anyone has experience with overwriting default viewscreens that would be willing to help me with a project. I would like to change the default description checks of items and units. I know how to make my own viewscreens, but i can't seem to get them to replace the default ones. I looked through some examples but they were all for things like workshops menus and such.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3279 on: November 20, 2015, 05:03:37 pm »

What I usually do is check for viewscreen changes and display a new viewscreen over the previous one when appropriate (see gui/load-screen for an example). You should be able to call "self._native.parent:render()" in render()/onRenderBody() to render the parent screen.
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.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3280 on: November 20, 2015, 06:52:15 pm »

Yeah, see dwarf_scouter or something along those lines in Sparking for an example.

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3281 on: November 20, 2015, 07:21:49 pm »

Yep: https://github.com/Putnam3145/SPARKING-Dwarf-Fortress-DBZ-mod/blob/master/raw/scripts/dragonball/dwarf_scouter.lua
(The TransparencyViewscreen class just provides a common onInput() method.)
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.

Micro102

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3282 on: November 22, 2015, 03:57:05 am »

Can DFHack be used to undo convictions? I accidentally convicted my best miner :(
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3283 on: November 22, 2015, 05:00:28 am »

Might have to dig around in gui/gm-editor df.global.ui I think to find it, plus the references that links to in df.global.world in whichever entries that I am not sure of off the top of my head.
Logged

Micro102

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r4
« Reply #3284 on: November 22, 2015, 05:02:00 am »

Might have to dig around in gui/gm-editor df.global.ui I think to find it, plus the references that links to in df.global.world in whichever entries that I am not sure of off the top of my head.

No idea what you just said. Is there a guide to all of this?
Logged
Pages: 1 ... 217 218 [219] 220 221 ... 360