Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 44 45 [46] 47 48 ... 54

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

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Dwarf Companion - 0.16 out, 05/08/2009 [update for D16 WINDOWS is coming]
« Reply #675 on: November 26, 2009, 05:45:11 pm »

Well, we're reworking the input system - again - along my design this time. Hopefully third time's the charm. I don't know if that will affect anything, though; certainly, object-internal offsets won't be changing.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Dwarf Companion - 0.16 out, 05/08/2009 [solves bug with language mods]
« Reply #676 on: November 26, 2009, 09:05:45 pm »

You attack the civ of Adventurer helper 1, he moves to defend you from his own civ, he is now an enemy of his civ for attacking a member of his civ, the person who hit him is now an enemy as well, etc, etc.
Except..  nope.
Your recruits don't defend you from their own civilization.
Or any other that they're not at war with, for that matter.
Okay, now I'm confused, alas.
You turn a member of a civilization into a zombie.
Zombies are always hostile, and yet they haven't done anything to become not part of that civilization, so when someone sees them, they immediately attack, and are as such branded as an enemy of the civilization, and at the same time are part of the civilization.
Anyone who attacks that person will have the same thing happen, and so on, and so forth, until eventually everyone affected dies of bloodloss.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Smew

  • Bay Watcher
  • I'll kill you with my bear face.
    • View Profile
    • Deep Games for Deep Gamers
Re: Dwarf Companion - 0.16 out, 05/08/2009 [solves bug with language mods]
« Reply #677 on: November 27, 2009, 12:41:19 am »

You attack the civ of Adventurer helper 1, he moves to defend you from his own civ, he is now an enemy of his civ for attacking a member of his civ, the person who hit him is now an enemy as well, etc, etc.
Except..  nope.
Your recruits don't defend you from their own civilization.
Or any other that they're not at war with, for that matter.
Okay, now I'm confused, alas.
You turn a member of a civilization into a zombie.
Zombies are always hostile, and yet they haven't done anything to become not part of that civilization, so when someone sees them, they immediately attack, and are as such branded as an enemy of the civilization, and at the same time are part of the civilization.
Anyone who attacks that person will have the same thing happen, and so on, and so forth, until eventually everyone affected dies of bloodloss.
Oh yeaaah, I did that on accident in Fortress mode once, what a fun fortress that was.
Although, the killing stopped at 2 dwarves, I never figured that one out, I'll chalk it up to a random occurrence.

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #678 on: November 27, 2009, 07:02:39 am »

0.17 is out, should work only for D16 and should work with ASLR. Please test.
Logged

jaked122

  • Bay Watcher
  • [PREFSTRING:Lurker tendancies]
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #679 on: November 27, 2009, 05:15:22 pm »

where can I get said program?(forgottan the download)

xrogaan

  • Bay Watcher
  • Notoriously depraved
    • View Profile
Logged

Foa

  • Bay Watcher
  • And I thought foxfire was stylish in winter.
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #681 on: November 27, 2009, 08:36:47 pm »

0.17 is out, should work only for D16 and should work with ASLR. Please test.
But where is the DL link, the only DL link on the wiki page goes to version .16, not .17!!!
Logged

Trorbes

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #682 on: November 27, 2009, 11:21:14 pm »

While I was playing, dwarf companion stopped responding to the buttons on the top of the menu, and when I closed and restarted, I got this:
Code: [Select]
C:\pathfiles\companion>
dfcompanion_prototype.py
Timestamp = 0x4a9b1a72
off_vec_maincreatures = 0x15bde5c
off_x_width =           0x1601da4
off_y_width =           0x1601da8
off_z_width =           0x1601dac
off_map_data =          0x1601d84
off_race =              0x1603f84
off_lang =              0x1604134
off_moodtime =          0x13eb8fa
off_playedrace =                0x13eb908
off_economy =           0x13de0ec
off_xcursor =           0x9662b4
off_ycursor =           0x9662b8
off_zcursor =           0x9662bc
off_metals =            0x1603f3c
off_screenx =           0xda061c
off_screeny =           0xdce6c8
off_screenz =           0xdce6a4
off_moodtime_randtest =  0x5f4d0f
version v0.27.169.40d16 win32, pid 2952, player a7
2107 words loaded
race 0 loaded
race 1 loaded
race 2 loaded
race 3 loaded
Traceback (most recent call last):
  File "C:\pathfiles\companion\dfcompanion_prototype.py", line 409, in <module>
    DFcmp = DFcompanion()
  File "C:\pathfiles\companion\dfcompanion_prototype.py", line 403, in __init__
    self.initList()
  File "C:\pathfiles\companion\dfcompanion_prototype.py", line 123, in initList
    list = self.dd.getCreatures(self.showmode,dead=self.showdead)
  File "C:\pathfiles\companion\dwarfdbg.py", line 935, in getCreatures
    col = self.getCreature(c)
  File "C:\pathfiles\companion\dwarfdbg.py", line 558, in getCreature
    bpname = self.getBodyPart(c, i)
  File "C:\pathfiles\companion\dwarfdbg.py", line 398, in getBodyPart
    sptr = self.getLong(ptr)
  File "C:\pathfiles\companion\dwarfdbg.py", line 153, in getLong
    return struct.unpack("I", self.dbg.read(ptr, 4))[0]
  File "C:\pathfiles\companion\dfwin32.py", line 86, in read
    raise WinError()
WindowsError: [Error 299] Only part of a ReadProcessMemory or WriteProcessMemory
 request was completed.
After that, it stops and returns to the command line.

I have 40d16, it's running my game, and I even restarted both cmd.exe and DF, with similar results.  I AM playing with a modded game (playing as humans) but it ran before so I'm not sure what the issue could be.
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #683 on: November 28, 2009, 03:24:34 am »

I have 40d16, it's running my game, and I even restarted both cmd.exe and DF, with similar results.  I AM playing with a modded game (playing as humans) but it ran before so I'm not sure what the issue could be.

The bodypart code does fail, and I found a bug with the paralysis. Please check:

http://bartabox.banquise.net/df/companion-0.17b-any.zip
Logged

Trorbes

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #684 on: November 28, 2009, 12:46:31 pm »

It's working now.
Logged

Shurhaian

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #685 on: November 28, 2009, 07:01:34 pm »

Trying to run 0.17 under 40d16 with an alternate playable civ, complete with language.

For some reason, though none of the components demand a reboot, I got can't-find-DLL errors until I did so. Finished rebooting, loaded my save, dropped to a command line, ran companion...

Spoiler (click to show/hide)

Never actually got the main window up to interact with. :(

Is this something to do with custom language files?

(I also note that the new civ doesn't reliably stick to their own language. I may have mis-formed the  SPEECH: token in the creature raw... at any rate, though the language from the new raw is used, randomizing names flips between different languages. Not sure if this is relevant.)
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.

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #686 on: November 29, 2009, 03:17:43 am »

Is this something to do with custom language files?

Yes this is a known issue, because I'm too lazy to check the quantity of languages used.

Find the line "for race in range(4):" and replace 4 by the quantity of languages you have. Next version will do this properly.
Logged

Shurhaian

  • Bay Watcher
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #687 on: November 29, 2009, 04:58:10 am »

Aha, there it goes! Thanks muchly.

I think this is worth putting on the Wiki for the time being. At least, if it was mentioned somewhere, I didn't see it or the solution, so putting the answer somewhere central is probably sound. Off I go to do that.
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.

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #688 on: November 29, 2009, 08:16:30 am »

Aha, there it goes! Thanks muchly.

I think this is worth putting on the Wiki for the time being. At least, if it was mentioned somewhere, I didn't see it or the solution, so putting the answer somewhere central is probably sound. Off I go to do that.

Thanks !
Logged

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: Dwarf Companion - 0.17 out, 27/11/2009 [update for D16 WINDOWS]
« Reply #689 on: November 29, 2009, 09:36:11 am »

Alrighty another can't get it to work report.

Says it can't find libglib 2.2-0.dll.  I reinstalled glade to no luck and the dll does not exist in my system32 folder.

After doing a bit of searching I found a safe (according to mcaffe) downloadable libglib 2.2-0.dll.  Don't really know for certain if it's the right one, but now when I run companion it says it can't find iconv.dll instead.

I'm on a 32bit vista system.  Any thoughts?

EDIT: And so on and so fourth it continues, after finding that dll it just pops up with another missing dll. (intl.dll)
« Last Edit: November 29, 2009, 09:43:49 am by Greiger »
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 ... 44 45 [46] 47 48 ... 54