Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 19 20 [21] 22 23 ... 54

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

tinhead

  • Bay Watcher
    • View Profile
Re: Dwarf Companion
« Reply #300 on: July 15, 2008, 02:04:56 am »

Ok.. Well, I'll see if the next version of companion has the problem. No use finding it out now that the new DF is out :(.
Logged

Qmarx

  • Bay Watcher
  • "?"
    • View Profile
Re: Dwarf Companion
« Reply #301 on: July 15, 2008, 01:15:33 pm »

I use Companion for the combat reports in fortress mode, and for occasional fun, but I have a problem. Every time I reach around 30 dwarfs in fortress mode, the program freezes/refuses to start. it works fine in adventure mode though.
Code: [Select]
If you're getting
 version generic version, pid 1960, player a6
 2103 words loaded
 race 0 loaded
 race 1 loaded
 race 2 loaded
 race 3 loaded
 Traceback (most recent call last):
 File "C:\DF Utils\companion-0.10-any\companion\dfcompanion_prototype.py", line 402, in <module>
   DFcmp = DFcompanion()
 File "C:\DF Utils\companion-0.10-any\companion\dfcompanion_prototype.py", line 396, in __init__
   self.initList()
 File "C:\DF Utils\companion-0.10-any\companion\dfcompanion_prototype.py", line 123, in initList
   list = self.dd.getCreatures(self.showmode,dead=self.showdead)
 File "C:\DF Utils\companion-0.10-any\companion\dwarfdbg.py", line 835, in getCreatures
   col = self.getCreature(c)
 File "C:\DF Utils\companion-0.10-any\companion\dwarfdbg.py", line 502, in getCreature
   c.events = self.getEvents(c)
 File "C:\DF Utils\companion-0.10-any\companion\dwarfdbg.py", line 170, in getEvents
   events.append( [p, eventName[p], id] )
 KeyError: 213



This is an error due to lack of sanity checking on the events list in dwarfdbg.py
The code
Code: [Select]
events.append( [p, eventName[p], id] )Should check for errors like this:
Code: [Select]
                       try:
                               events.append( [p, eventName[p], id] )
                       except KeyError:
                               print "No such event %s known" % p
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Dwarf Companion
« Reply #302 on: July 15, 2008, 09:29:30 pm »

@Deon:  I'm sorry, but I don't know what that message is saying, so I have no idea how to help you.  Is your primary language not English?  If so, could you translate that for me?
I can't read it either, this is some kind of broken encoding.
However re-installing of some of my system components (I think it was .NET frameworks) made it to work for me.
Also thanks for pointing that GTK+ is not appropriate here, I had troubles with it and I'm ok with the older GTK.
Nope, that's Russian.  Why is your Windows in Russian?
Anyway, is this still compatible with 39b or did one of the numerous updates break it?
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

FlexibleDogma

  • Bay Watcher
  • xGiant Cave Spider Silk Sockx Merchant
    • View Profile
Re: Dwarf Companion
« Reply #303 on: July 15, 2008, 09:39:22 pm »

@Deon:  I'm sorry, but I don't know what that message is saying, so I have no idea how to help you.  Is your primary language not English?  If so, could you translate that for me?
I can't read it either, this is some kind of broken encoding.
However re-installing of some of my system components (I think it was .NET frameworks) made it to work for me.
Also thanks for pointing that GTK+ is not appropriate here, I had troubles with it and I'm ok with the older GTK.
Nope, that's Russian.  Why is your Windows in Russian?
Anyway, is this still compatible with 39b or did one of the numerous updates break it?

It's broken, spoiler-ed to avoid wall 'o text:
Spoiler (click to show/hide)
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Dwarf Companion
« Reply #304 on: July 15, 2008, 10:02:29 pm »

So I tried it..  no error messages...  Only had to CTRL+ALT+DEL it before it completely hardlocked my poor compy.
It never saw it coming.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion
« Reply #305 on: July 16, 2008, 02:17:41 am »

So much for the search features :) It actually seems to work, only the offsets are wrong. I'll correct this ASAP.
Logged

KaelGotDwarves

  • Bay Watcher
  • [CREATURE:FIRE_ELF]
    • View Profile
Re: Dwarf Companion
« Reply #306 on: July 16, 2008, 02:20:33 am »

Great, so a working DC in a few days? I'm pumped.

Thanks for your work Bartavelle.

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Dwarf Companion
« Reply #307 on: July 16, 2008, 02:17:32 pm »

Whatever happened to that guy making the .exe versions?
Is he still around?
I can't find the actual posts, so I forgot who it was...
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Dwarf Companion
« Reply #308 on: July 16, 2008, 04:59:55 pm »

@Deon:  I'm sorry, but I don't know what that message is saying, so I have no idea how to help you.  Is your primary language not English?  If so, could you translate that for me?
I can't read it either, this is some kind of broken encoding.
However re-installing of some of my system components (I think it was .NET frameworks) made it to work for me.
Also thanks for pointing that GTK+ is not appropriate here, I had troubles with it and I'm ok with the older GTK.
Nope, that's Russian.  Why is your Windows in Russian?
Anyway, is this still compatible with 39b or did one of the numerous updates break it?
it's not russian. My windows in russian is obviously because I am russian. And the error message was in broken encoding. However it tells it's an error #299.

The only real russian words here are "Version 5.1.2600" and "The corporation Microsoft" on top just before 1985-2001
Spoiler (click to show/hide)
« Last Edit: July 16, 2008, 05:03:58 pm by Deon »
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

FlexibleDogma

  • Bay Watcher
  • xGiant Cave Spider Silk Sockx Merchant
    • View Profile
Re: Dwarf Companion
« Reply #309 on: July 16, 2008, 05:13:13 pm »

On .39b compatibility:
The crash seems to be on this line in dwarfdbg:
Code: [Select]
skillzt = struct.unpack("HLL", self.dbg.read(skptr,12))

I was editing creature.py with the values Jifodus found for Tweak, most of it seems to be working but it's falling apart on parsing the skills.  Shortcutting out the skills part seems to get you up and running for the most part, you just don't get to see the skills (at all).  Of course if you didn't change the offsets the status of the dwarves is all goofed up, but the changes are pretty simple.
Tweak thread:
http://www.bay12games.com/forum/index.php?topic=20703.msg222111#msg222111

To be honest I'm just goofing around until the official patch, but anyone have any idea if the structure changed for the skills or if it's something else?

EDIT:  The tweak values don't seem to all be working great for DC, a lot of things seem to result in DF crashing.
« Last Edit: July 16, 2008, 06:48:56 pm by FlexibleDogma »
Logged

KaelGotDwarves

  • Bay Watcher
  • [CREATURE:FIRE_ELF]
    • View Profile
Re: Dwarf Companion
« Reply #310 on: July 16, 2008, 05:16:55 pm »

Considering that hauling had a major overhaul and was bugged in the first release of 39a along with some other skills, that assumption would probably be correct.

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion
« Reply #311 on: July 18, 2008, 03:49:05 am »

New version is out, I just updated the creature structure randomly :) I hope it works, as it has not been tested a lot. http://bartabox.banquise.net/df/companion-0.12-any.zip
Logged

Sinned

  • Bay Watcher
  • <Intentionally left blank>
    • View Profile
Re: Dwarf Companion
« Reply #312 on: July 18, 2008, 05:13:39 am »

Thank you thank you thank you... Grabbing and testing it out now.
Logged
When you find yourself in the company of a dwarf and an ill-tempered Dragon, remember, you do not have to outrun the Dragon... just the dwarf.

arekusu

  • Bay Watcher
    • View Profile
Re: Dwarf Companion
« Reply #313 on: July 18, 2008, 01:07:03 pm »

I haven't noticed anything wrong with it yet, and I am on 39c. Thanks!
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Dwarf Companion
« Reply #314 on: July 18, 2008, 01:24:34 pm »

Did the digging around.  Valdemar is the one who made the standalone version.
Last active: 20th June, 2008.
Damn.
Lucky for me I got the any-version working so I don't need the standalone version, but for all of those who don't...
« Last Edit: July 18, 2008, 02:22:17 pm by jaybud4 »
Logged
Mishimanriz: Histories of Pegasi and Dictionaries
Pages: 1 ... 19 20 [21] 22 23 ... 54