Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - enjia2000

Pages: [1]
1
DF Modding / Re: DFHack 0.5.15
« on: June 04, 2011, 06:49:54 pm »
Where can I find Dfreveal?

You can download lazy newb pack and run it. In the utilities tab you can find all the dfhack tools.

2
Even though it's now within DFHack, this thread seems the most appropriate place to report a significant bug: metal bars are not being counted correctly. Specifically, it's claiming that I have more gold and silver bars than I actually do, seemingly because it is doing substring matches and thus is counting ROSE_GOLD, STERLING_SILVER, and NICKEL_SILVER.

This is by design at this point with the exception of PIG_IRON for the steel industry.

3
Would you consider opening the source code and hosting on http://code.google.com/?

It's included in the github of dfhack, you can get the source there. It's in the /tools/supported folder. http://github.com/peterix/dfhack

4
1.04 is out, enjoy

5
That's odd, since the "cleanowned" tool checks for items of class "food" (along with "meat" and "plant", though oddly not "cheese") and it definitely finds them.
Oh nice!, I was looking for the wrong class apparently. Updating and releasing. Thanks a bunch.

6
Wait, what? Last I checked, prepared meals used the FOOD item type (#71) with subtype indicating whether it was biscuits (FOOD:ITEM_FOOD_BISCUITS), stew (FOOD:ITEM_FOOD_STEW), or roast (FOOD:ITEM_FOOD_ROAST)...

Well, that may be the case but i'm limited to what the dfhack library provides and the class type returned is 'glob' for all prepared meals.
It could be the dfhack library needs expanding for prepared meals but I have no idea how to do that.

7
This is really clever.
Because this is really clever - I am going to give you a MegaProject.
Make an app that can display a dwarf - you can scroll through the dwarves.
The app displays the dwarf's equipment, in a modestly easy for humans to read format - IE stuff on the dwarf's head appears near the top, stuff on the feet appears at the bottom.  Stuff on the right appears on the right.
Now for bonus points:
- Allow the user to set/deset ownership of items.
- Allow the user to scroll through a list of all available items for that inventory slot, with each item having a note as to if it is claimed, worn, free, or otherwise.
- Allow the user to have that dwarf claim another item.
- Allow the user to equip another item - neatly teleporting said item onto the dwarf.

I'm not really interested in making this, but it sounds like something you already have worked out in your head. Make it a reality!

8
Could this program get the number of fat globs and subtract that from the 'meals' number? That would give a better estimate of how many actual prepared meals are in the fort.
there is no 'meal' number, meals and tallow both share the item type 'glob'

9
If it doesn't already, can you add "prepared meals" to the list of things it tracks?  Those and drinks are the two main things I want to make sure I don't run out of in most cases.

I looked into it and it can be done, but the way the raws are written fat counts as a prepared meal (glob, because dwarfs can eat pure fat for a meal.)
So the count is going to reflect that (5 meals + 50 fat = 55 meals.)

10
DF Modding / Re: DFHack 0.5.14
« on: May 19, 2011, 05:02:45 pm »
Oh hell yes.  This is what I initially wanted to do with dfhack.  If you haven't submitted the code for this to the dfhack repo, you definitely should.

As soon as peter gets online in IRC i'll shoot him the pastebin for inclusion.

11
Just wondering is it normal that it hangs if used with version 31.21??  :P

I've only tested this on 31.25, sorry.

12
Though right now it doesnt do much the game allready does on its own, it could be used for some interesting purposes.

This is true, I just hate hitting 'z' stocks, page down twice, arrow down 4 times, tab over. Just to see how many bars I have. Also it let's you see what you have without pausing.

You could make it have some sort of feedback to the game. For example, tell the program you want a minimum of 2500 drinks,

As far as I know there is no way to set jobs with dfhack, i'm limited to what the library allows.

Thanks for the feedback.

13
DF Modding / Re: DFHack 0.5.14
« on: May 19, 2011, 01:10:33 pm »
dfstatus - A dfhack tool that gives you an out of game 'z' status window. Enjoy.

http://www.bay12forums.com/smf/index.php?topic=84960.0

14
http://dl.dropbox.com/u/4326631/dfstatus1.04.zip - version 1.04

I made a tool that gives you updates of the amount of food and drink you have available in your fort. Uses the curses library to maintain that DF look and feel.  I plan to do low drink warnings. Will add barrel, bin, and pots numbers in the future. No color yet but that will come soon as well.



There is a lot of data that gets pulled from DF so once every 30 seconds you might notice a slight pause, this is normal. If df hangs for too long you can always run dfunstuck.exe that i've included from dfhack.
This is also more accurate then a bookkeeper can keep track of so you may notice the numbers don't line up in game sometimes.
Any input or questions are welcomed.

Compiled for windows for DF 31.25

Also, I need feedback! This is a app for the community. Let me know what needs to be added.

Changlog:

1.00 - Initial release
1.01 - Included missing .dlls
1.02 - added steel bars
1.03 - added prepared meals
1.04 - add pig iron bars and internal fixes

Pages: [1]