Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 33 34 [35] 36 37 ... 54

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

Jetman123

  • Bay Watcher
  • !!Bauxite Turbojet!!
    • View Profile
Re: Dwarf Companion - 0.14 out, 14/09/2008
« Reply #510 on: October 31, 2008, 11:10:59 am »

I've reviewed that section. It didn't help.
Logged
When dwarves want to commit suicide, then by Armok, they _will_ commit suicide, even if they have to spend the rest of their lives working at it!

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion - 0.14 out, 14/09/2008
« Reply #511 on: October 31, 2008, 02:00:36 pm »

I've reviewed that section. It didn't help.

Then you might have noticed how you can copy and paste the actual error message. You would get more help if we could figure what's wrong.
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Dwarf Companion - 0.14 out, 14/09/2008
« Reply #512 on: November 01, 2008, 10:27:01 am »

I'm sure you're getting sick of the requests Bartavelle, but since Toady has said it might be a while between releases, is there any way we could get a quick update that would fix the computability on Combat Reports? 

Well I thought the next release would come earlier, so I just waited because of the next combat text update. Anyway, there is another problem right now. I have 9 weeks of holidays / year, and 3 to spend until the end of the year. That means I'll either be in holidays (no windows computer available, and not much time to spend on non-family things), or at work, where I have all kind of stuff to finish before the end of the year.

That means it is unlikely I find time to do this before next year ...
Quote from: Toady One
]I've been handling a little under 20 a day on average, which puts the release around February.
So that's still plenty of time.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Dragooble

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.14 out, 14/09/2008
« Reply #513 on: November 06, 2008, 10:07:43 pm »

how do you increase a dwarfs skills? i cant seem to do anything with my adventurers skills with dwarf companion.
Logged
A creature the size of europe can occupy only one tile.

chonger

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.14 out, 14/09/2008
« Reply #514 on: December 22, 2008, 02:13:39 pm »

This is perhaps a question to the memory hackers.

Any tips on what you did to find the memory location for enabling combat reports? Perhaps I can do some investigation and patch the 0.14 release to support combat reports.
Logged

Micro102

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.14 out, 14/09/2008
« Reply #515 on: December 22, 2008, 05:00:06 pm »

i would download it, but it says i need to download other things as well, so no thx
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion - 0.14 out, 14/09/2008
« Reply #516 on: December 23, 2008, 02:55:04 am »

This is perhaps a question to the memory hackers.

Any tips on what you did to find the memory location for enabling combat reports? Perhaps I can do some investigation and patch the 0.14 release to support combat reports.

I tried to hack it into working, and enabled combat messages WITHOUT the opponents descriptions, which kinda sucks. I'm stuck here, so I posted a new version on the wiki. Good luck with it ...
Logged

IronValley

  • Bay Watcher
  • Purple Smile!
    • View Profile
Re: Dwarf Companion - 0.15 out, 23/12/2008 [not much since 0.14]
« Reply #517 on: December 26, 2008, 09:59:14 am »

Just a question that Mayday answered in a silly manner.... what tags do I need to disable, or what button do I have to use to "unchampionize" my military dwarves?

Tried lowering the combat skills, but still they remained campions..
Logged

Captain Mayday

  • Bay Watcher
  • A Special Kind of Terrible
    • View Profile
Re: Dwarf Companion - 0.15 out, 23/12/2008 [not much since 0.14]
« Reply #518 on: December 26, 2008, 09:51:07 pm »

Just a question that Mayday answered in a silly manner.... what tags do I need to disable, or what button do I have to use to "unchampionize" my military dwarves?

Tried lowering the combat skills, but still they remained campions..

This only works with the python version, not the binary.
You will have scripts in the directory called 'scripts'.
You need the one that allows you to change profession.
Running the script from the command line, you need to type something like "change profession.py 1234 militarycareer"

the number there is the creature's designated ID numbe, you can find this in DC itself by opening their profile. It is at the top of their window.
The military career is something like Spearman (first letter capitalised)
Logged
Why not join us on IRC? irc.newnet.net #bay12games

Taritus

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.15 out, 23/12/2008 [not much since 0.14]
« Reply #519 on: January 07, 2009, 12:53:07 pm »

Bit of a bump, but I see that .15 is released, or at least it is according to the title.  Where's the download though?

EDIT: Oh, yeah.  Found it, but there's no executable package out yet.  Yay.
« Last Edit: January 07, 2009, 06:33:25 pm by Taritus »
Logged



Valdemar

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.15 out, 23/12/2008 [not much since 0.14]
« Reply #520 on: January 11, 2009, 08:00:56 pm »

Exe version for 0.15 is up here.

All of the scripts are now packaged as individual executables in this package. That means you can now do everything with the exe version that you can with the pure python version. Following Captain Mayday's example, you would need to run "changeProfession.exe [id] [profession]". (Side note: I find this useful for recoloring dwarves when I reassign their professions so everyone's color matches what they actually do. I'm going to try to write a script that does this for you based on custom profession name.)

To run core companion, use "dfcompanion_prototype.exe" as always.

Lando242

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.15 out, 23/12/2008 [not much since 0.14]
« Reply #521 on: January 14, 2009, 04:29:20 am »

Not working with 40d9 though, anyone know if there are plans to add support for those revisions? Here is my error message if anyone could use it:

Trackback (most recent call last):
File "dfcompanion_prototype.py", line 409, in <module>
File "dfcompanion_prototype.py", line 353, in __init__
File "dwarfdbgpyc", line 111, in __init__
File "dwarfdbgpyc", line 57, in configoffsets
IndexError: list index out of range


This is with the .exe version of Dwarf Companion and I already renamed the DF .exe to match the 40d file name but its still a no go.
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion - 0.15 out, 23/12/2008 [not much since 0.14]
« Reply #522 on: January 14, 2009, 11:06:35 am »

Not working with 40d9 though, anyone know if there are plans to add support for those revisions? Here is my error message if anyone could use it:

I have no plans on supporting it, as I have only a bit of free time and these versions are often released. I will probably try to work on it on the next major release. Of course, if somebody figures the new offsets I would release a new version!
Logged

Lando242

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.15 out, 23/12/2008 [not much since 0.14]
« Reply #523 on: January 16, 2009, 04:34:59 pm »


Of course, if somebody figures the new offsets I would release a new version!

Would the offsets found in version 0.3 of Dwarf Manager's "MemoryLayouts.xml" help at all? I know its not quite the same thing but it might help a bit.


<MemoryLayouts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MemoryLayout Name="v0.28.181.40d9" CheckSum="0x1318b82" Base="v0.28.181.40d8"/>
<MemoryLayout Name="v0.28.181.40d8" CheckSum="0x1860a3c">
<Address Name="DwarvenRaceIndex" Value="0x012f9ec0"/>
<Address Name="LanguageVector" Value="0x01534240"/>
<Address Name="CreatureVector" Value="0x014edfcc"/>
<Offset Name="Creature.FirstName" Value="0x0000"/>
<Offset Name="Creature.NickName" Value="0x001C"/>
<Offset Name="Creature.LastName" Value="0x0038"/>
<Offset Name="Creature.CustomProfession" Value="0x006c"/>
<Offset Name="Creature.Profession" Value="0x0088"/>
<Offset Name="Creature.Race" Value="0x008C"/>
<Offset Name="Creature.Flags1" Value="0x00FC"/>
<Offset Name="Creature.Flags2" Value="0x0100"/>
<Offset Name="Creature.ID" Value="0x010C"/>
<Offset Name="Creature.Strength" Value="0x04f0"/>
<Offset Name="Creature.Agility" Value="0x04f4"/>
<Offset Name="Creature.Toughness" Value="0x04f8"/>
<Offset Name="Creature.SkillVector" Value="0x0504"/>
<Offset Name="Creature.Labors" Value="0x0544"/>
<!-- (1 << 6) + (1 << 7) + (1 << 11) = Merchant, Caravan Guard, Liaison -->
<Value Name="Creature.Flags1.Invalidate" Value="0x08C0"/>
<!-- 1 << 7 = Dead -->
<Value Name="Creature.Flags2.Invalidate" Value="0x0080"/>
<Address Name="TranslationsVector" Value="0x01534270"/>
<Offset Name="Translations.Dwarf" Value="0x0000"/>
<Offset Name="Translation.WordTable" Value="0x0058"/>
</MemoryLayout>
<MemoryLayout Name="v0.28.181.40d" CheckSum="0x032e4b67">
<Address Name="DwarvenRaceIndex" Value="0x0138f690"/>
<Address Name="LanguageVector" Value="0x015C6ED0"/>
<Address Name="CreatureVector" Value="0x01583224"/>
<Offset Name="Creature.FirstName" Value="0x0000"/>
<Offset Name="Creature.NickName" Value="0x001C"/>
<Offset Name="Creature.LastName" Value="0x0038"/>
<Offset Name="Creature.CustomProfession" Value="0x006c"/>
<Offset Name="Creature.Profession" Value="0x0088"/>
<Offset Name="Creature.Race" Value="0x008C"/>
<Offset Name="Creature.Flags1" Value="0x00E4"/>
<Offset Name="Creature.Flags2" Value="0x00E8"/>
<Offset Name="Creature.ID" Value="0x00F4"/>
<Offset Name="Creature.Strength" Value="0x0438"/>
<Offset Name="Creature.Agility" Value="0x043C"/>
<Offset Name="Creature.Toughness" Value="0x0440"/>
<Offset Name="Creature.SkillVector" Value="0x0444"/>
<Offset Name="Creature.Labors" Value="0x0474"/>
<!-- (1 << 6) + (1 << 7) + (1 << 11) = Merchant, Caravan Guard, Liaison -->
<Value Name="Creature.Flags1.Invalidate" Value="0x08C0"/>
<!-- 1 << 7 = Dead -->
<Value Name="Creature.Flags2.Invalidate" Value="0x0080"/>
<Address Name="TranslationsVector" Value="0x015C6EF0"/>
<Offset Name="Translations.Dwarf" Value="0x0000"/>
<Offset Name="Translation.WordTable" Value="0x0040"/>
</MemoryLayout>
<MemoryLayout Name="v0.28.181.40c" CheckSum="0x032e896f">
<Address Name="DwarvenRaceIndex" Value="0x0138e698"/>
<Address Name="LanguageVector" Value="0x015C5ED0"/>
<Address Name="CreatureVector" Value="0x0158222c"/>
<Offset Name="Creature.FirstName" Value="0x0000"/>
<Offset Name="Creature.NickName" Value="0x001C"/>
<Offset Name="Creature.LastName" Value="0x0038"/>
<Offset Name="Creature.CustomProfession" Value="0x006c"/>
<Offset Name="Creature.Profession" Value="0x0088"/>
<Offset Name="Creature.Race" Value="0x008C"/>
<Offset Name="Creature.Flags1" Value="0x00E4"/>
<Offset Name="Creature.Flags2" Value="0x00E8"/>
<Offset Name="Creature.ID" Value="0x00F4"/>
<Offset Name="Creature.Strength" Value="0x0438"/>
<Offset Name="Creature.Agility" Value="0x043C"/>
<Offset Name="Creature.Toughness" Value="0x0440"/>
<Offset Name="Creature.SkillVector" Value="0x0444"/>
<Offset Name="Creature.Labors" Value="0x0474"/>
<!-- (1 << 6) + (1 << 7) + (1 << 11) = Merchant, Caravan Guard, Liaison -->
<Value Name="Creature.Flags1.Invalidate" Value="0x08C0"/>
<!-- 1 << 7 = Dead -->
<Value Name="Creature.Flags2.Invalidate" Value="0x0080"/>
<Address Name="TranslationsVector" Value="0x015C5EF0"/>
<Offset Name="Translations.Dwarf" Value="0x0000"/>
<Offset Name="Translation.WordTable" Value="0x0040"/>
</MemoryLayout>
</MemoryLayouts>
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion - 0.15 out, 23/12/2008 [not much since 0.14]
« Reply #524 on: January 18, 2009, 10:43:47 am »


Of course, if somebody figures the new offsets I would release a new version!

Would the offsets found in version 0.3 of Dwarf Manager's "MemoryLayouts.xml" help at all? I know its not quite the same thing but it might help a bit.

Unfortunately, it is only a small part of the offsets needed :/
Logged
Pages: 1 ... 33 34 [35] 36 37 ... 54