Bay 12 Games Forum

Please login or register.

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

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

soul4hdwn

  • Bay Watcher
  • make due with what you have
    • View Profile
Re: DFHack 0.4.0.4 - tools and memory access library
« Reply #135 on: July 25, 2010, 10:20:54 am »

that is honestly impressive!  it is one thing for something to work, then it is another for it to work with the least "cost" on processing (this doesn't necessarily mean speed but it end result is speed), but it is fantastic not to waste anything in the act!
Logged

smjjames

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.4 - tools and memory access library
« Reply #136 on: July 25, 2010, 10:29:05 am »

Has anybody been able to get new offsets and stuff for .12? There shouldn't be too many changes between .11 and .12 as far as offsets and vectors go.
Logged

soul4hdwn

  • Bay Watcher
  • make due with what you have
    • View Profile
Re: DFHack 0.4.0.4 - tools and memory access library
« Reply #137 on: July 25, 2010, 11:26:45 am »

Has anybody been able to get new offsets and stuff for .12? There shouldn't be too many changes between .11 and .12 as far as offsets and vectors go.
http://www.bay12forums.com/smf/index.php?topic=39229.msg1429753#msg1429753 here is it/one for .12
Logged

smjjames

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.4 - tools and memory access library
« Reply #138 on: July 25, 2010, 11:29:18 am »

Thats for DT, DFHack needs more than just that.
Logged

daego

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.4 - tools and memory access library
« Reply #139 on: July 25, 2010, 11:40:57 am »

http://pastebin.com/JL6RQmZa

I've only tested a few tools, but it seems to work OK for dfreveal and dfcleanmap at least -- and only for Windows. The only things I added were a new md5 and PE timestamp (552cfa417fd131204ebfee66aefc4adb and 0x4C4C32E7 respectively). Hopefully it helps until someone else can do better than I.
Logged

LucasUP

  • Bay Watcher
  • Devout Cheeseist
    • View Profile
Re: DFHack 0.4.0.4 - tools and memory access library
« Reply #140 on: July 25, 2010, 12:32:14 pm »

EDIT:
Daego, your .xml works as far as I can tell. Also tested the vein digger.

There's also this .12 one for Stonesense:
« Last Edit: July 25, 2010, 01:43:40 pm by LucasUP »
Logged
OG founder of the Lazy Newb Pack

xDarkz

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.4 - tools and memory access library
« Reply #141 on: July 25, 2010, 11:35:31 pm »

EDIT:
Daego, your .xml works as far as I can tell. Also tested the vein digger.

There's also this .12 one for Stonesense:

Thanks Lucas and Daego! Both work for my Windows Vista and XP.
Logged

Haelfix

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.5 - tools and memory access library
« Reply #142 on: July 27, 2010, 08:11:42 pm »

Does anyone know how DF actually spawns rivers or brooks?  Are there special tiles somewhere like in the old version, or is it something else entirely. 

I know that a lot of the old covering (mud, snow etc) is different now.

Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.4.0.5 - tools and memory access library
« Reply #143 on: July 28, 2010, 04:39:00 am »

Does anyone know how DF actually spawns rivers or brooks?  Are there special tiles somewhere like in the old version, or is it something else entirely. 
Needs research I'd guess. There's nothing easier than looking at those rivers with a tool like dfprobe.
* peterix now wonders if it is in the 'supported' folder...
I know that a lot of the old covering (mud, snow etc) is different now.
Coverings are well-understood. At least for the more conventional materials like the mud and snow you mention. Forgotten beast extracts are a bit different story tho :P

devek

  • Bay Watcher
  • [KILL_EVERYTHING]
    • View Profile
Re: DFHack 0.4.0.5 - tools and memory access library
« Reply #144 on: July 28, 2010, 06:56:16 am »

There is a water source tile in .31. I can't remember what it says, but it is different when you look at it with K.

The one I saw was right by the ocean.. The river didn't drain into the ocean, it wasn't even connected to the ocean. It was a spring right by the ocean that flowed away from it...

The spring source looks all spidery. That would be kind of awesome if dfliquids could spawn one of those type of titles... :)  You could make a waterfall that started from nowhere...

Edit: and wow, I didn't notice dfprobe. It is in the supported folder but it doesn't get compiled to output. I never looked at the supported folder closely cause I assumed it had the same stuff that was compiled...
« Last Edit: July 28, 2010, 07:03:00 am by devek »
Logged
"Why do people rebuild things that they know are going to be destroyed? Why do people cling to life when they know they can't live forever?"

necrodoom

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.5 - tools and memory access library
« Reply #145 on: July 31, 2010, 03:10:30 pm »

is there anything i can do to revive my dead dwarfs? all i can do is to use runesmith to remove his dead tag and turn him zombie or skeleton, but that turns them hostile, even when i added tame tag to them. did anybody managed to program a utility that puts back the missing upper body yet?
Logged

Dreen

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.4.0.5 - tools and memory access library
« Reply #146 on: July 31, 2010, 04:36:28 pm »

nevermind
« Last Edit: July 31, 2010, 08:02:12 pm by Dreen »
Logged

snooptodd

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.5 - tools and memory access library
« Reply #147 on: August 01, 2010, 12:32:04 am »

31.12, linux, git pull about 3hrs ago
Is this what happens when the memory layouts are incorrect? Or is something else wrong?
Code: [Select]
~/src/dfhack/output$ ./dfvdig
pread failed: can't read 0x18 bytes at address 0xb1836198
errno: 16
terminate called after throwing an instance of 'DFHack::Error::MemoryAccessDenied'
  what():  SHM ACCESS DENIED
Aborted
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.4.0.5 - tools and memory access library
« Reply #148 on: August 01, 2010, 08:15:33 am »

31.12, linux, git pull about 3hrs ago
Is this what happens when the memory layouts are incorrect? Or is something else wrong?
Code: [Select]
~/src/dfhack/output$ ./dfvdig
pread failed: can't read 0x18 bytes at address 0xb1836198
errno: 16
terminate called after throwing an instance of 'DFHack::Error::MemoryAccessDenied'
  what():  SHM ACCESS DENIED
Aborted
Normally, yes. But I know that the 31.12 linux version should be OK. I tested the tool just now and it works.

Could be something unexpected happening. Can you pack your DF folder and put it online? Just make a copy of it and delete all saves except for the one where you got this error. Those things can be quite big. I'll look at it when I have some time.

zwei

  • Bay Watcher
  • [ECHO][MENDING]
    • View Profile
    • Fate of Heroes
Re: DFHack 0.4.0.5 - tools and memory access library
« Reply #149 on: August 02, 2010, 08:04:00 am »

How hard it is to make DFhack based utility that would do basically this:

detect that workshop of type X with task in progress is visible on screen/just entered view.

detect that there is workshop of type X with task in progress is no longer visible on screen/just left view

edit: and in same vein, that cut-down-tree action in visible area just started.
« Last Edit: August 02, 2010, 09:09:00 am by zwei »
Logged
Pages: 1 ... 8 9 [10] 11 12 ... 108