Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 320 321 [322] 323 324 ... 373

Author Topic: DFHack 0.34.11 r3  (Read 1458076 times)

jeancallisti

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4815 on: November 05, 2013, 05:28:52 pm »


Make a page, in a similar spot to the dfhack page  and add some links.

OK, I'll have a look.

Uploaded the plugin tutorial 1.1 here.
Logged

AssasinInTheDark

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4816 on: November 05, 2013, 06:16:11 pm »

Hey guys i've been trying to figure out the Createitem plugin and for the life of me I cant get it to work, i have a dwarf that needs 3 different cloths for a masterpiece they want to make, and i have only just started and don't have access to them yet, can anyone help me?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4817 on: November 05, 2013, 06:43:18 pm »

Try these:

createitem CLOTH GRASS_TAIL_PIG:THREAD

createitem CLOTH SPIDER_CAVE:SILK

createitem CLOTH SHEEP:HAIR

The first is for a plant fiber cloth, the second is silk, and the third is for wool cloth.
Logged

AssasinInTheDark

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4818 on: November 05, 2013, 08:08:21 pm »

well that seems to spawn the items but they don't seem to want to use them they just sit in a pile on the floor.

does anyone know why this happens
« Last Edit: November 06, 2013, 03:03:40 pm by AssasinInTheDark »
Logged

Mattzz

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4819 on: November 06, 2013, 01:08:02 am »

Sorry if this has already been asked and answered, I did a quick search through this thread and also looked at the repo.

any way I was going to try making a util in DF and was going to hook my dll in but I noticed DFHack already does this
I want to be able to use DFHack with my program but now I need to know how I would go about drawing my gui.
Do I have to make a plugin?
Thank you
Matt
Logged

jeancallisti

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4820 on: November 06, 2013, 06:37:52 am »

I want to be able to use DFHack with my program but now I need to know how I would go about drawing my gui.

2 solutions :
- this
or
- that
Logged

jeancallisti

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4821 on: November 06, 2013, 06:48:40 am »

Make a page, in a similar spot to the dfhack page

I tried to create page http://dwarffortresswiki.org/index.php/Utility:DFHack_programming but I don't have permissions to create a page.
Logged

fricy

  • Bay Watcher
  • [DFHACK:ZEALOT]
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4822 on: November 06, 2013, 07:07:19 am »

jeancallisti

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4823 on: November 06, 2013, 10:00:42 am »

Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4824 on: November 06, 2013, 04:55:39 pm »

Here's the page (it's a subpage of Utility:DFHack to make organization easier). Also, if you're planning on doing a lot of editing you might want to create an account - it lets you skip captchas and create pages after 3 edits.
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.

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4825 on: November 07, 2013, 01:49:34 am »

A quick question about a legends bug caused by workflow: 

Workflow, like many other plugins, stores data in a way that gets exported with the legends.xml - I did look up some details in the API, but the bit I understand isn't particularly relevant.  Unlike other plugins, workflow's storage includes non-printing characters.  This can mysteriously break most things that try to parse the xml for legends, which is a leading cause of frustration with Legends Viewer.  You can work around it - either by removing all your constraints before exporting, or by running a script over the xml - but it's still not a good thing. 

Since we have dfhack r4 coming up, could workflow be tweaked to avoid using non-printing characters?  Is there a downside to this? 
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

ag

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4826 on: November 07, 2013, 03:34:45 am »

This should hide the fake historical figures from xml export completely:

https://github.com/angavrilov/dfhack/commit/53bd1125153f5625249aebca85f37632a3688da7
Logged

jeancallisti

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4827 on: November 07, 2013, 03:46:03 am »

Here's the page (it's a subpage of Utility:DFHack to make organization easier). Also, if you're planning on doing a lot of editing you might want to create an account - it lets you skip captchas and create pages after 3 edits.

Thanks! I hope Briess won't create a duplicate of some sort.
Logged

expwnent

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4828 on: November 07, 2013, 12:35:51 pm »

r4 is out. If we rereleased with some changes and called the new release r4 also it would cause confusion and problems.

http://www.bay12forums.com/smf/index.php?topic=91166.msg4720997#msg4720997
Logged

Boltgun

  • Bay Watcher
  • [UTTERANCES]
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #4829 on: November 07, 2013, 01:23:00 pm »

Hi, I have a quick about spawnunit (the r3 version by Warmist, I'll migrate to r4 when the mac build will be available).

I used it successfully to spawn creature, it works well and I can manipulate those with further scripts alright.

However, since I am in dwarf mode, the animals screen does not update with the newcomers. I suppose it is because DF cached the animal list does not see spawnunit as an update to this list.

Is there a way to tell df to rescan the units to update the animal list?
Saving and reloading does the job but that would be annoying to do that only to start training your freshly summoned/built creatures.

Thanks
Logged
Pages: 1 ... 320 321 [322] 323 324 ... 373