Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 29 30 [31] 32 33 ... 108

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

Makbeth

  • Bay Watcher
  • His lower body is melted.
    • View Profile
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #450 on: October 12, 2010, 04:06:49 pm »

True, up until recently it's been a job requirement to keep it on.  However, no longer working with them so...
Logged
Diso Faintpuzzles was born in 120.  Although accounts vary it is universally agreed that Diso was chosen by fate as the vanguard of destiny.

In the early spring of 143 Diso began wandering the wilds.

In the early spring of 143 Diso starved to death in the Horn of Striking.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #451 on: October 12, 2010, 06:38:06 pm »

...Working on Windows Vista 32 bit.  UAC is turned on...

This ismore along the lines of general advice than compiling advice: TURN UAC OFF.

Would you also recommend that Linux users login as root to perform everyday tasks?
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.

LealNightrunner

  • Bay Watcher
    • View Profile
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #452 on: October 12, 2010, 07:49:08 pm »

Nah, that's what they made sudo for.
Logged
Current Fort: NatureRags

Halnoth

  • Bay Watcher
  • Plan for the Worst. Hope for the Best. Have Fun!
    • View Profile
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #453 on: October 13, 2010, 03:21:51 am »

dfcleanmap keeps giving me the error message "Can't init map." can anyone help me out here? I'm sure its a simple fix that I am overlooking.
Logged
One of the dwarfs walked in front of Thor to get a better view of the prye, and Thor kicked him irritably into the middle of the flames, which made Thor feel slightly better and made all the dwarfs feel much worse.

Cloth Armor Mod http://www.bay12forums.com/smf/index.php?topic=158967.msg7063531#msg7063531

Uristisdying

  • Bay Watcher
  • [WOTCHA]
    • View Profile
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #454 on: October 13, 2010, 03:08:38 pm »

Ahoy!

I used dfreveal to design my fortress before unpausing the game for the first time. After spending three hours designating my future fortress, I saved the game in order not to lose everything in case of random computer disasters. OF COURSE in my tremendous stupidity I forgot to unreveal beforehand, and now am stuck with a completely revealed map. I tried to run dfreveal again, but the map won't change anymore, every tile remains visible.

Is there anything I can do in order to hide all revealed map features again? Puhleeeze help!  :'(
Logged
Never trust a grinning dwarf. It is always planning something.

Andux

  • Bay Watcher
  • [PREFSTRING:semicolons]
    • View Profile
    • Andux's DFWiki page
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #455 on: October 13, 2010, 09:29:03 pm »

Is there anything I can do in order to hide all revealed map features again?

Tweak + updated XML files for 0.31.xx + For Each Tile

Code: (Condition) [Select]
is_subterranean
Code: (Operations) [Select]
hide;
Logged
(Do not sign anything.) -- Fell, Planescape: Torment

MADMAN · Save Tools · WTF Tools · Generated Raws Extractor · Tweak for 0.31–34.xx

LealNightrunner

  • Bay Watcher
    • View Profile
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #456 on: October 13, 2010, 09:43:09 pm »

Would it be relatively trivial to comment out the actual revealing portions of DFreveal and just use the pausing function through MSVC10?  I'd like a straight DF pause toggle switch for various reasons, and in some of them keyboard input won't cut it compared to writing to the memory space directly.
Logged
Current Fort: NatureRags

Makbeth

  • Bay Watcher
  • His lower body is melted.
    • View Profile
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #457 on: October 13, 2010, 09:43:25 pm »

Tweak will only work for 40d.  Might be possible to mod dfliquids to do it, or perhaps even mod an unreveal feature into dfreveal.  Have there been screams?
Logged
Diso Faintpuzzles was born in 120.  Although accounts vary it is universally agreed that Diso was chosen by fate as the vanguard of destiny.

In the early spring of 143 Diso began wandering the wilds.

In the early spring of 143 Diso starved to death in the Horn of Striking.

kasker

  • Bay Watcher
    • View Profile
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #458 on: October 13, 2010, 09:45:52 pm »

Running cleartask 0.5.0.2 on DF 31.16
"missing offset for the item vector, exiting :("
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #459 on: October 13, 2010, 10:38:15 pm »

Give me 5 minutes and I'll find it.

[edit] Best I can tell, the items vector is at 0x16580d8, but dfcleartask.exe doesn't seem to like it. It might need a recompile.
« Last Edit: October 13, 2010, 10:47:27 pm by Quietust »
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.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #460 on: October 13, 2010, 11:04:32 pm »

Okay, here's how to fix it:

In memory.xml:
Code: [Select]
            <Group name="Items">
                <Address name="items_vector" value="0x16580d8" />
            </Group>

In cleartask.cpp
Code: [Select]
replace

p->getDescriptor()->getAddress ("items_vector");

with

p->getDescriptor()->getGroup("Items")->getAddress ("items_vector");
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.

kasker

  • Bay Watcher
    • View Profile
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #461 on: October 14, 2010, 10:52:19 am »

Works great thanks =)
Logged

kasker

  • Bay Watcher
    • View Profile
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #462 on: October 14, 2010, 01:45:33 pm »

Does anybody know why some stones still won't get dumped and still prevent/suspend buildings AFTER running cleartasks?
Logged

negorath

  • Bay Watcher
    • View Profile
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #463 on: October 14, 2010, 02:01:52 pm »

Does anybody know why some stones still won't get dumped and still prevent/suspend buildings AFTER running cleartasks?

My guess is they were designated to be used in a building, and cleartask doesn't clear those properties, at least I've had issues like that before where I have to deconstruct the buildings in progress and redesignate them to be built.
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.5.0.2 - tools and memory access library
« Reply #464 on: October 14, 2010, 02:54:25 pm »

The only thing cleartask does is clear the "tasked" flag on the item, which is what prevents it from being used by anything else. Note that you should only run cleartask immediately after a reclaim - running it on an active fortress is sure to mess things up.
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.
Pages: 1 ... 29 30 [31] 32 33 ... 108