Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 7 8 [9] 10 11 ... 54

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

Earthquake Damage

  • Bay Watcher
    • View Profile
Re: Dwarf Companion
« Reply #120 on: February 07, 2008, 09:55:00 pm »

And the Dwarf Lord said "Let there be stone," and there was stone.
Logged

Idiom

  • Bay Watcher
  • [NO_THOUGHT]
    • View Profile
Re: Dwarf Companion
« Reply #121 on: February 07, 2008, 10:14:00 pm »

Someone, back in the 2D days, made a utility. Magma, River, Chasm, stone wall, gem walls, and ore walls spawning. As well as reveal, and hide built in.
You might as well make this ultimate DF utility.

[ February 07, 2008: Message edited by: Idiom ]

Logged

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Dwarf Companion
« Reply #122 on: February 07, 2008, 11:49:00 pm »

.
« Last Edit: October 20, 2015, 09:48:49 pm by penguinofhonor »
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion
« Reply #123 on: February 08, 2008, 03:24:00 am »

I can't see how to have this fit with the interface right now until more about it is reversed. I could however create a script that let you:
* read the raw information about a tile
* clone that tile wherever you want

How about that? Then you guys would just have to fill a wiki page with the best "raw tile info" you have ...

Logged

Armok

  • Bay Watcher
  • God of Blood
    • View Profile
Re: Dwarf Companion
« Reply #124 on: February 08, 2008, 04:59:00 am »

That sounds very good! Good idea.
Logged
So says Armok, God of blood.
Sszsszssoo...
Sszsszssaaayysss...
III...

Earthquake Damage

  • Bay Watcher
    • View Profile
Re: Dwarf Companion
« Reply #125 on: February 08, 2008, 05:56:00 am »

That sounds great so long as the interface is user-friendly.
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion
« Reply #126 on: February 08, 2008, 06:39:00 am »

As i say, I can't make a user friendly interface until all of the tiles types/materials are reversed, and there are a lot. I was thinking about a command line script ...
Logged

Earthquake Damage

  • Bay Watcher
    • View Profile
Re: Dwarf Companion
« Reply #127 on: February 08, 2008, 12:13:00 pm »

:(

Well, it's still leaps and bounds beyond what we have now.

Logged

Armok

  • Bay Watcher
  • God of Blood
    • View Profile
Re: Dwarf Companion
« Reply #128 on: February 08, 2008, 12:27:00 pm »

Maybe it could work like Whetherdwarf? As in you select an area that way and it fills whit those tiles. Reading could jut be a button that places the data at the selector in memory. the data itself shuld probably be a string por easy copy-paste.

This IS a suggestion only, even if my tune went wrong so it sounds like an order.  :roll:

Logged
So says Armok, God of blood.
Sszsszssoo...
Sszsszssaaayysss...
III...

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion
« Reply #129 on: February 08, 2008, 01:00:00 pm »

you might wanna try the test build at this place, go with the command line into the "scripts" subdirectory.

Then set yourself to designation or look (k) mode, target the tile you wanna clone and run the utility once:

code:

designator.py
version v0.27.169.88a, pid 3432, player a6
145/141/0 -> 150 69800 0


This is x/y/z and val1 val2 val3. Then find the coordinates of the box you wanna clone the tiles in by running this again. Finally:

code:
  
designator.py x1 y1 z1 x2 y2 z2 val1 val2 val3
ie.
designator.py 144 141 0 145 142 0 db 69800 0

be sure that x1<=x2 y1<=y2 and z1<=z2. I'll write a wiki page with the interesting tiles to clones.

Logged

Noctis

  • Bay Watcher
    • View Profile
Re: Dwarf Companion
« Reply #130 on: February 09, 2008, 02:07:00 pm »

Oi! I really like your work, Bartavelle, but the thing is it wont run anymore for me after I updated to .38a. I've tried all the versions, 0.7, 0.8 both the "-any" and the 2.5 only(I've got both the 2.4 and 2.5 python installed with all the extra gadgets, but that can't be the cause since the .33g ran fine under the same configuration). It seems to be related to the update, my guess is that something is wrong with the custom race/language support since I've got them modified. Might wanna check what the companion does when the language has missing words, since I'm using a outdated latin language file from the Dwarvus Romanus: Rome Fortress mod. Gotta say, although missing words can be annoying, even though rare, a nameless god is quite a idea.

- Noctis

Logged
Noctis, Freebooter cancels Get a Life: DF sighted on the Cyberwaters.

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion
« Reply #131 on: February 09, 2008, 02:49:00 pm »

Can you run it from the command line and copy/paste the whole error message?
Logged

Mover#005

  • Bay Watcher
    • View Profile
Re: Dwarf Companion
« Reply #132 on: February 09, 2008, 03:26:00 pm »

it seems not to work under linux, at least not with 64 bit kernel/python
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Dwarf Companion
« Reply #133 on: February 09, 2008, 05:15:00 pm »

It will quite likely not work under 64 bit linux, and the linux support is very lacking : ptrace is very slow (4 bytes at a time for memory copies) and I messed up sometimes with the sequence of attach/detach, crashing the game.
Logged

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: Dwarf Companion
« Reply #134 on: February 09, 2008, 10:55:00 pm »

.
« Last Edit: October 20, 2015, 09:49:04 pm by penguinofhonor »
Logged
Pages: 1 ... 7 8 [9] 10 11 ... 54