Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 48 49 [50] 51 52 ... 54

Author Topic: Dwarf Companion - new version linked @first post  (Read 99736 times)

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile

Yep that did the trick, dfcompanion_prototype.py can find it if it's also under admin rights.  And I guess it isn't a bug probably more a vista limitation then.

It is not a limitation but a security feature. It would really be a problem if unpriviledged processes could debug, read and alter the memory of priviledged processes !

Did I say you are awesome for creating this little tool and that we love you for putting up with us insignificant little uninformed masses?

...not in a gay way though.

Hum thanks :D
Logged

Kinoko_Otoko

  • Bay Watcher
  • Behold the saccharine visage of a fluffy wambler.
    • View Profile

I have a bone carver secretive mood where companion's listed material is different from the actual material required (kind of...)

Three raw gems listed, but after getting two of them my guy sits in the shop and starts drawing pictures of glass. Turns out he wanted raw glass, which is *technically* a raw gem...

Here's a shot of the different values:

Spoiler (click to show/hide)

I guess the 13 is the raw glass, since he wanted 2 normal raw gems.

EDIT: Er, this is in d16... I guess if it's already been fixed, just ignore this.
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile

I guess the 13 is the raw glass, since he wanted 2 normal raw gems.

Sounds really likely, will fix it, thanks !
Logged

Shima

  • Bay Watcher
  • Time to go fishing, lads.
    • View Profile

Huh. I got nothing, then; it had no problems finding MY DF process.

The trick here is that DF Companion only looks for "dwarfort.exe".  I found that my vanilla (I tend to rename mine to "Dwarf Fortress.exe") wouldn't work, while a total conversion (Not yet renamed) would.
Logged
(giant worm leather coat)
Weight: 718238Γ
Owner: Udil Evonudil, Planter

Oh Armok, the spice.

Itnetlolor

  • Bay Watcher
    • View Profile
    • Steam ID

Excuse the lameness of this post, but:

How's progress with the next update?
When do you think it'll be ready?
What are your plans for the next release?


Considering how much time has passed in this topic, I figured I might as well ask.

EDIT:
Whoops; kinda confused this with DFTherapist; but I guess it's still valid.
« Last Edit: January 08, 2010, 09:18:57 pm by Itnetlolor »
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile

Excuse the lameness of this post, but:

How's progress with the next update?
When do you think it'll be ready?
What are your plans for the next release?


Considering how much time has passed in this topic, I figured I might as well ask.

EDIT:
Whoops; kinda confused this with DFTherapist; but I guess it's still valid.

It supports the latest version ...
Logged

Gertack

  • Bay Watcher
    • View Profile

Oddball Dwarf Companion add-on script again: Butcher all but 5 females and 1 male of livestock.  I call it "prune_livestock.py" but I suppose 'cull' would be a better term.

Spoiler (click to show/hide)

Not sure the 'unowned' part works since slaughtered pets still go to tombs.  Not entirely sure the highest ID#s guarantee the youngest animals either but seems logical enough.

Would be more useful if I extended it to auto-search for the player's dwarven civ number rather than making me look it up in Dwarf Companion first.

But a place to start for people tired being outnumbered by four-legged walking dinner.
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile

Not sure the 'unowned' part works since slaughtered pets still go to tombs.  Not entirely sure the highest ID#s guarantee the youngest animals either but seems logical enough.

Would be more useful if I extended it to auto-search for the player's dwarven civ number rather than making me look it up in Dwarf Companion first.

Cool script, thanks. You might try automatically getting the players civilization by finding the creatures whose race is in dbg.playedrace (or something like that). Does the civilization value really work with the latest version ? I didn't test it and wasn't sure about it ..
Logged

Gertack

  • Bay Watcher
    • View Profile

Not sure the 'unowned' part works since slaughtered pets still go to tombs.  Not entirely sure the highest ID#s guarantee the youngest animals either but seems logical enough.

Would be more useful if I extended it to auto-search for the player's dwarven civ number rather than making me look it up in Dwarf Companion first.

Cool script, thanks. You might try automatically getting the players civilization by finding the creatures whose race is in dbg.playedrace (or something like that). Does the civilization value really work with the latest version ? I didn't test it and wasn't sure about it ..

I appear to have inadvertently used an older version of Dwarf Companion then the 0.17d I wanted to use (probably 0.15 or so).  But for civilization it had:

Code: [Select]
[   180610,
    u'cat',
    u'ducim mesiratir',
    100,
    0,
    'Peasant',
    '',
    0,
    65535,
    [],
    0,
    3217,
    'n/a',
    <creature.CreatureStruct object at 0x030DE2D0>]

The 3217 of the civ didn't correspond with dbg.playerrace in any way I knew (it was around 104 or so).  Next time I need to cull the herd I'll use 0.17d and write down the .playerrace this time.  I thought about searching for a dwarf and using its civ but you never know when a snatched one shows up again.
Logged

Kaiser Reinhard

  • Bay Watcher
    • View Profile

Downloaded 17d and have Python 2.6, PyCairo, PyGObject, PyGTK and gtk runtime installed in a folder inside the dll folder in the python folder. However when trying to run dfcompanion I get this:

Spoiler (click to show/hide)

How can I fix this?

Also, can I resurrect people who died about a year before and aren't residents to my fort but died there? I need to bring both my human and dwarven trade liaisons back to life.
« Last Edit: January 24, 2010, 08:22:16 pm by Kaiser Reinhard »
Logged

Jar of Jam

  • Bay Watcher
  • [ITEM_FOOD:ITEM_FOOD_JAM]
    • View Profile

This is the second time today I look at the name of this topic and think "Woo! The new DF version is out", moments later realizing that I'm completely wrong.
Logged

xrogaan

  • Bay Watcher
  • Notoriously depraved
    • View Profile

You're not alone :|
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile

Downloaded 17d and have Python 2.6, PyCairo, PyGObject, PyGTK and gtk runtime installed in a folder inside the dll folder in the python folder. However when trying to run dfcompanion I get this:

It seems like you did everything right, except it cannot find the gtk runtime. This usually means that some environment variable wasn't setup properly. You might try adding the gtk library directory to the path variable.
Logged

xrogaan

  • Bay Watcher
  • Notoriously depraved
    • View Profile

He need also the gtk runtime : http://sourceforge.net/projects/gladewin32/files/gtk%2B-win32-runtime/2.12.9/gtk-2.12.9-win32-2.exe/download

This installer will set up the environment variable. (glib is a part of gtk+)
Logged

Bauglir

  • Bay Watcher
  • Let us make Good
    • View Profile

-snip-
« Last Edit: April 11, 2015, 12:27:16 am by Bauglir »
Logged
In the days when Sussman was a novice, Minsky once came to him as he sat hacking at the PDP-6.
“What are you doing?”, asked Minsky. “I am training a randomly wired neural net to play Tic-Tac-Toe” Sussman replied. “Why is the net wired randomly?”, asked Minsky. “I do not want it to have any preconceptions of how to play”, Sussman said.
Minsky then shut his eyes. “Why do you close your eyes?”, Sussman asked his teacher.
“So that the room will be empty.”
At that moment, Sussman was enlightened.
Pages: 1 ... 48 49 [50] 51 52 ... 54