Bay 12 Games Forum

Please login or register.

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

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

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile

i'm on .17c and 40d16 using mike mayday, and i try to use the revealVeins.exe and the py script, and it just doesn't work. None of the scripts do. And designations doesn't give out what the wiki article says it should, am I missing something? DC opens, and i can see stuff, and the different menus come up, but i cant actually change anything

Just released .17d, should fix your revealvein problem, but I don't garantee anything about the designator. Dtil is much better suited for these tasks.
Logged

Shurhaian

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.17d out, 30/11/2009 [update for D16 WINDOWS, modded lang
« Reply #721 on: December 04, 2009, 11:59:17 am »

I thought Dtil only worked on 40d, though... certainly when I tried it, it got nowhere in its attempt to scan memory.

One may also try dfhack for some tasks, but it does not, unfortunately, have a vein-reveal tool - just the whole thing. (I'd hoped its "prospector" tool would fulfill that function, and making it do so might not be unduly difficult for someone who knows how to code it, but I am not that someone.)
Logged
Working on: drakes - making the skies(mostly) a bit more varied

My guards need something better to do than make my nobles happy with hugs and justice.

Kinoko_Otoko

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

Forgive me if this has been brought up, but I'm getting an error when I try to run DC:

Code: [Select]
C:\Games\DwarfFortress\DFCompanion>dfcompanion_prototype.exe
Timestamp = 0x48c330df
C:\Games\DwarfFortress\DFCompanion\library.zip\dwarfdbg.py:89: DeprecationWarning: raising a string exception is deprecated
Traceback (most recent call last):
  File "dfcompanion_prototype.py", line 409, in <module>
  File "dfcompanion_prototype.py", line 353, in __init__
  File "dwarfdbg.pyc", line 131, in __init__
  File "dwarfdbg.pyc", line 89, in configoffsets
can't guess offsets if not PE

...Anyone know what's wrong? I tried it with both the standalone and the Python full-install version, and got the same error both times. I'm using the version posted on the wiki as of this posting. I tried running DC without the game running and got the expected 'can't find DF' error, so it has something to do with DF itself...

All I want to do is mess around with my dwarf's mood (change mood type, edit mats list), so if there's an alternate way to do that, I can just try that.

EDIT: I just tried using version 0.16 (the standalone) and it worked for me. Huzzah! Consider this a bug report...
« Last Edit: December 05, 2009, 12:20:37 am by Kinoko_Otoko »
Logged

jaked122

  • Bay Watcher
  • [PREFSTRING:Lurker tendancies]
    • View Profile

I also should note that I can't play my linux version  :'(

Shurhaian

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.17d out, 30/11/2009 [update for D16 WINDOWS, modded lang
« Reply #724 on: December 10, 2009, 09:44:02 am »

Forgive me if this has been brought up, but I'm getting an error when I try to run DC:
<snip>
EDIT: I just tried using version 0.16 (the standalone) and it worked for me. Huzzah! Consider this a bug report...

If you're playing with 40d, then yes, you need to use 0.16, not 0.17*. That's not so much a bug as it is a system requirement.
Logged
Working on: drakes - making the skies(mostly) a bit more varied

My guards need something better to do than make my nobles happy with hugs and justice.

N3X15

  • Bay Watcher
    • View Profile

I also should note that I can't play my linux version  :'(
Getting a similar (I think) problem on Ubuntu Karmic 9.10.

Code: [Select]
$ python --version
Python 2.6.4
$ uname -a
Linux RAGE 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux
$ python dfcompanion_prototype.py
~/df/Dwarf-Fortress--libgraphics-/companion/dflinux.py:5: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
init
Timestamp = 0x8839a300
Traceback (most recent call last):
  File "dfcompanion_prototype.py", line 409, in <module>
    DFcmp = DFcompanion()
  File "dfcompanion_prototype.py", line 353, in __init__
    self.dd = dwarfdbg(verbose=True)
  File "~/df/Dwarf-Fortress--libgraphics-/companion/dwarfdbg.py", line 131, in __init__
    self.configoffsets()
  File "~/df/Dwarf-Fortress--libgraphics-/companion/dwarfdbg.py", line 89, in configoffsets
    raise "can't guess offsets if not PE"
TypeError: exceptions must be classes or instances, not str

DF is locked up and I've had to kill it with SIGKILL.  Are we supposed to use dflinux.py?
Logged

darthbob88

  • Bay Watcher
    • View Profile

I also should note that I can't play my linux version  :'(
Getting a similar (I think) problem on Ubuntu Karmic 9.10.

Code: [Select]
$ python --version
Python 2.6.4
$ uname -a
Linux RAGE 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux
$ python dfcompanion_prototype.py
~/df/Dwarf-Fortress--libgraphics-/companion/dflinux.py:5: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
init
Timestamp = 0x8839a300
Traceback (most recent call last):
  File "dfcompanion_prototype.py", line 409, in <module>
    DFcmp = DFcompanion()
  File "dfcompanion_prototype.py", line 353, in __init__
    self.dd = dwarfdbg(verbose=True)
  File "~/df/Dwarf-Fortress--libgraphics-/companion/dwarfdbg.py", line 131, in __init__
    self.configoffsets()
  File "~/df/Dwarf-Fortress--libgraphics-/companion/dwarfdbg.py", line 89, in configoffsets
    raise "can't guess offsets if not PE"
TypeError: exceptions must be classes or instances, not str

DF is locked up and I've had to kill it with SIGKILL.  Are we supposed to use dflinux.py?

Have nearly identical error; tried to use dflinux.py, but it doesn't seem to work. Also, it throws a deprecation warning, saying that sha is deprecated in favor of hashlib.
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile

I also should note that I can't play my linux version  :'(
Getting a similar (I think) problem on Ubuntu Karmic 9.10.

Linux is not supported right now ...
Logged

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile

Just a minor bug thing that I don't recall being mentioned before.

Dwarf Companion is unable to find Dwarf Fortress(tested with DF d16) under Vista when Dwarf Fortress is being run as an administrator.

It just comes up with the DF is not running or can't be found message if you try.  Not a significant thing, of course, running it normally works fine, but it may be another thing to check if somebody can't get it working under vista with the right versions.
Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile

Dwarf Companion is unable to find Dwarf Fortress(tested with DF d16) under Vista when Dwarf Fortress is being run as an administrator.

It should work if you run both games with the same priviledges. Does it ?
Logged

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile

I can't seem to find any way to run a .py as an administrator (despite being on the administrator account) and after changing all permissions manually to be identical to the administrator it still cannot find the process.

If you know some trick to doing the run as administrator on a .py I'll do it, but I can't seem to find a way.  

Give me til summer though and I'll have passed my A+ Operating Systems class, I'm sure I would be able to figure it out then. :D
Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile

If you know some trick to doing the run as administrator on a .py I'll do it, but I can't seem to find a way.  

Run an elevated command prompt and all commands you run from there should be elevated.
Logged

SolkaTruesilver

  • Bay Watcher
    • View Profile

I have been trying to remove a Strange Mood from one of my Armorer (I accidently forbidden all the Forges after he mooded, and now won't take possession of any of them). But even if I remove the "Strange mood" tag (and clear the "strange mood" submenu), he still won`t do anything else than stand around with "strange mood" task initiated.
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile

I have been trying to remove a Strange Mood from one of my Armorer (I accidently forbidden all the Forges after he mooded, and now won't take possession of any of them). But even if I remove the "Strange mood" tag (and clear the "strange mood" submenu), he still won`t do anything else than stand around with "strange mood" task initiated.

Yes you also would have to remove its current occupation. However, it is likely this will glitch ..
Logged

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile

If you know some trick to doing the run as administrator on a .py I'll do it, but I can't seem to find a way.   

Run an elevated command prompt and all commands you run from there should be elevated.

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.

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.
Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!
Pages: 1 ... 47 48 [49] 50 51 ... 54