Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 98 99 [100] 101 102 ... 108

Author Topic: DFHack 0.5.15 (legacy)  (Read 405000 times)

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.5.15
« Reply #1485 on: June 11, 2011, 03:46:48 pm »

When I compile I get the 0.5.14 executables.  The new ones like dfstatus are not built.
OK. I added the version tag, so it should be fine now. I thought it would give you the current stuff... looks like I was wrong :)

daego

  • Bay Watcher
    • View Profile
Re: DFHack 0.5.15
« Reply #1486 on: June 11, 2011, 11:42:26 pm »

I'm using World::ReadCurrentMonth and ReadCurrentDay, but I'm getting really bizarre results in Windows/31.25 SDL.

My fort is currently Year 357 Month 1 Day 14, but the above functions (and via `dfposition`) yield Year 357 Month 0 Day 2 (Tick 1619).

After some playing around, I can see that the math in World.cpp doesn't seem to work out. Tick 1018 = month 1 day 9, tick = 1204 month = 1 day 11, tick = 1457 month = 1 day = 13.

Could tick be from the time the game was last loaded?
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.5.15
« Reply #1487 on: June 12, 2011, 11:49:02 am »

It sounds like the date function used in dfposition is using 1200 ticks per day instead of 120 (and failing to start the month at 1 instead of 0) - if I take 1619 and divide it by 120 (ticks per day), I get ~13.5, which would match "month 1 day 14".
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

trainerblu

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.5.15
« Reply #1488 on: June 12, 2011, 12:51:57 pm »

When I try to run dfautodump I get the error: "memory object is INVALID: type address key /Items/items_vector". I... have no idea what to do.
I'm running DF v0.31.21 on Windows 7 32-bit.
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.5.15
« Reply #1489 on: June 12, 2011, 01:35:04 pm »

It sounds like the date function used in dfposition is using 1200 ticks per day instead of 120 (and failing to start the month at 1 instead of 0) - if I take 1619 and divide it by 120 (ticks per day), I get ~13.5, which would match "month 1 day 14".
Bad offset AFAIK. Only thing using this is stonesense, for calculating which color to use for dwarf hair. Anyone willing to mess with some offsets, go ahead :)
When I try to run dfautodump I get the error: "memory object is INVALID: type address key /Items/items_vector". I... have no idea what to do.
I'm running DF v0.31.21 on Windows 7 32-bit.
Items are supported from 31.22 forward. Full and tested support is only for 31.25.

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.5.15
« Reply #1490 on: June 12, 2011, 04:58:44 pm »

Naros

  • Bay Watcher
  • [COVETS_SPOONS]
    • View Profile
Re: DFHack 0.5.15
« Reply #1491 on: June 13, 2011, 12:14:11 pm »

:o

Let us hope you can keep the beast under control!
Logged

profit

  • Bay Watcher
  • Finely Crafted Engravings... Or it didn't happen.
    • View Profile
Re: DFHack 0.5.15
« Reply #1492 on: June 13, 2011, 02:10:54 pm »

THE MONSTER LIVES!

http://www.youtube.com/watch?v=MKF8SxXc7lk

Ok, I am officially impressed.  Not that the hack tools were not pretty awesome before... Awesome enough to make it to my "Must have" section in my mods.. 

But that is really something else.
Logged
Mods and the best utilities for dwarf fortress
Community Mods and utilities thread.

Hypotheses

  • Bay Watcher
  • [STRAIGHT_FACE]
    • View Profile
Re: DFHack 0.5.15
« Reply #1493 on: June 14, 2011, 03:23:23 am »

Hola.  This is my first time using this toolkit - dfprospector specifically.  When I run the .bat file the resulting .txt only has one line:

GetConsoleScreenBufferInfo failed: 6

I'm running .25 w/ Ironhand and therapist in the background, and I paused the game before doing anything else.  What am I missing here?

[edit:]  It seems DF crashed when I ran the prospector.  Half an hour later, I gave up waiting and hard closed the game.  Thankfully I'm not losing more than a crappy artifact.
« Last Edit: June 14, 2011, 03:51:35 am by Hypotheses »
Logged
Your brownies can be my skin graft.

Grax

  • Bay Watcher
  • The Only.
    • View Profile
Re: DFHack 0.5.15
« Reply #1494 on: June 14, 2011, 06:06:49 am »

Just encountered that TUBEFILL doesn't work as it intended.

The story:
1. Run DF, start/load game.
2. Run DFTUBEFILL.
3. Dig the blues in a place that were empty tunnel in the blues tunnel before TUBEFILL (reveal/unreveal to check at start).

4. Fcking PROFIT!

Logged
Finis sanctificat media.

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.5.15
« Reply #1495 on: June 14, 2011, 06:21:49 am »

Hola.  This is my first time using this toolkit - dfprospector specifically.  When I run the .bat file the resulting .txt only has one line:

GetConsoleScreenBufferInfo failed: 6

I'm running .25 w/ Ironhand and therapist in the background, and I paused the game before doing anything else.  What am I missing here?

[edit:]  It seems DF crashed when I ran the prospector.  Half an hour later, I gave up waiting and hard closed the game.  Thankfully I'm not losing more than a crappy artifact.
You probably didn't give the tool itself enough time. It can take up to a minute depending on the size of your embark. Closing the tool before it could finish left DF stopped, looking like it's 'crashed'. Next time this happens, run 'dfunstuck' - DF isn't running, but it's otherwise fine.

4. Fcking PROFIT!
Yep. It just fills all holes that were adamantine with walls again. Make sure your dwarves don't get stuck in the walls ;)

danaris

  • Bay Watcher
    • View Profile
Re: DFHack 0.5.15
« Reply #1496 on: June 14, 2011, 07:42:43 am »

4. Fcking PROFIT!
Yep. It just fills all holes that were adamantine with walls again. Make sure your dwarves don't get stuck in the walls ;)

Um...I don't think that was the problem.

I think the problem was that it doesn't prevent the demons from spawning.  They just all spawn inside a single tile of adamantine.

This sorta defeats the purpose.
Logged

Grax

  • Bay Watcher
  • The Only.
    • View Profile
Re: DFHack 0.5.15
« Reply #1497 on: June 14, 2011, 07:58:48 am »

Yep. It just fills all holes that were adamantine with walls again. Make sure your dwarves don't get stuck in the walls ;)
But the "readme" tells me not to fear the clowns!  ;D

Fills all the 'candy stores' with 'delicious candy'. No need to fear the clowns. Don't use if you haven't seen the hidden fun stuff yet ;)

They all spawn around the single digged tile that were empty before, but without tubefill they spawns on the slade floor at lowest zlevel.
That is the strange thing.
Logged
Finis sanctificat media.

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.5.15
« Reply #1498 on: June 14, 2011, 08:57:15 am »

Oh. !!FUN!! indeed. I'll have to check this out.

Windows part works now: http://www.youtube.com/watch?v=w4mZu8w4gXc
« Last Edit: June 14, 2011, 11:35:14 am by peterix »
Logged

strich

  • Bay Watcher
    • View Profile
Re: DFHack 0.5.15
« Reply #1499 on: June 16, 2011, 12:16:52 am »

Does this mean we won't be wasting time copying memory data between two processes in future, and can access data directly?
Logged
Pages: 1 ... 98 99 [100] 101 102 ... 108