Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 120 121 [122] 123 124 ... 373

Author Topic: DFHack 0.34.11 r3  (Read 1452776 times)

Brandon816

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1815 on: June 13, 2012, 12:20:39 am »

Is there a reason that dfusion's simple_embark crashes when I try to use it?
I think that only works on Windows, and only if you have a really really new copy of the symbols.xml file.  AFAIK, the required offset hasn't been found for Linux or OSX.
That symbols file just adds the offset for windows 34.11 SDL, so you also have to be using the graphics version and not legacy.
Logged

darius

  • Bay Watcher
  • ^^
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1816 on: June 13, 2012, 12:26:12 am »

Is there a reason that dfusion's simple_embark crashes when I try to use it?
I think that only works on Windows, and only if you have a really really new copy of the symbols.xml file.  AFAIK, the required offset hasn't been found for Linux or OSX.

This needs to be found for it to work:
Code: [Select]
<global-address name='start_dwarf_count' value='???'/>
If somebody would be so kind to find it :) Search for this AFAIK:
Code: [Select]
0x24,0x14,0x07,0x00,0x00,0x00,0xeb,0x08,0x8d
then add 2 to the result (to point directly to starting dwarf count)

Edit: damnit wrong account again!
Logged

Brandon816

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1817 on: June 13, 2012, 01:15:47 am »

As far as what this beta symbols file CAN'T do yet, anything referencing "dfhack.maps.getTileBlock" isn't working right now. I had a script that used it before, but now it seems to be targeting blank memory space.
Logged

Andux

  • Bay Watcher
  • [PREFSTRING:semicolons]
    • View Profile
    • Andux's DFWiki page
Re: DFHack 0.34.10 r1
« Reply #1818 on: June 13, 2012, 07:29:24 am »

Code: [Select]
0x24,0x14,0x07,0x00,0x00,0x00,0xeb,0x08,0x8d

Actually, it seems to be 0x24,0x18,0x07,0x00,0x00,0x00,0x8b,0x35 now (for the Windows version, at least).
Logged
(Do not sign anything.) -- Fell, Planescape: Torment

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

goldengm

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1819 on: June 13, 2012, 08:47:01 am »

I've dragged all the DFHack files into my Dwarf Fortress folder but when i run it no command line appears.
Does anyone know why this is happening?
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.34.10 r1
« Reply #1820 on: June 13, 2012, 12:53:42 pm »

I've dragged all the DFHack files into my Dwarf Fortress folder but when i run it no command line appears.
Does anyone know why this is happening?
Yes - you did it wrong. Read the instructions and try again.
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.

Hessuu

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1821 on: June 13, 2012, 01:19:31 pm »

Any idea how to destroy all items of specific type(leather) from the map? Autodump wouldn't work because my game is stuck on 0 FPS, so getting a bookkeeper is not possible solution. Also manually flagging each of the 5000 leather would take ages. Simply a command like "removeitem-type leather" would work perfectly, but such is not available.
Logged

ag

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1822 on: June 13, 2012, 03:15:36 pm »

Downloaded that save. Your problem isn't leather, it is 8000 angry amphibian men in the caves. Try using reveal and look in the unit list.  :D

400000 spider webs in the 'to be removed' state don't help either presumably, but they go away if you wait out 100 frames.
« Last Edit: June 13, 2012, 03:18:30 pm by ag »
Logged

Hessuu

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1823 on: June 13, 2012, 03:26:31 pm »

Oh my... that is some crazy stuff right there.
Any ideas how to fix? :P I kinda like my save :(
Logged

Torrasque666

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1824 on: June 13, 2012, 03:47:40 pm »

Is there a reason that dfusion's simple_embark crashes when I try to use it?
I think that only works on Windows, and only if you have a really really new copy of the symbols.xml file.  AFAIK, the required offset hasn't been found for Linux or OSX.

This needs to be found for it to work:
Code: [Select]
<global-address name='start_dwarf_count' value='???'/>
If somebody would be so kind to find it :) Search for this AFAIK:
Code: [Select]
0x24,0x14,0x07,0x00,0x00,0x00,0xeb,0x08,0x8d
then add 2 to the result (to point directly to starting dwarf count)

Edit: damnit wrong account again!

So just re-download it? I have a Windows OS so I'm curious as to whats wrong. I want to start with a ton of dwarves so I can specialize right away.
Logged
BOOM FOR THE BOOM GOD!
LOOT FOR THE LOOT THRONE!

You seem to be under the impression that we're playing some game other than dwarf fortress. It doesn't matter how powerful you make a creature, we will find a way to destroy it. God is dead, and Urist killed him.

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1825 on: June 13, 2012, 06:08:42 pm »

Code: [Select]
function getChild()
local ret={}
local adv=df.global.world.units.active[0]

for k,v in pairs(df.global.world.units.active) do
  if v.relations.mother_id==adv.id or v.relations.mother_id==adv.id then
    table.insert(ret,v)
  end
end
return ret
end

function tools.childrenFollow(unit,trgunit)
local adv=df.global.world.units.active[0]
for k,v in pairs(df.global.world.units.active) do
if v.relations.mother_id==adv.id or v.relations.mother_id==adv.id then


if unit == nil then
unit=getChild()
printall(unit)
end
if unit== nil then
error("Invalid creature")
end
if trgunit==nil then
trgunit=df.global.world.units.active[0]
end
v.relations.group_leader_id=trgunit.id
local u_nem=getNemesis(v)
local t_nem=getNemesis(trgunit)
if u_nem then
u_nem.group_leader_id=t_nem.id
end
v.profession=96
if t_nem and u_nem then
t_nem.companions:insert(#t_nem.companions,u_nem.id)
end
end
end
end
function tools.healchild(unit)
local adv=df.global.world.units.active[0]
for k,v in pairs(df.global.world.units.active) do
if v.relations.mother_id==adv.id or v.relations.mother_id==adv.id then
v.body.wounds:resize(0) -- memory leak here :/
v.body.blood_count=v.body.blood_max
--set flags for standing and grasping...
v.status2.able_stand=4
v.status2.able_stand_impair=4
v.status2.able_grasp=4
v.status2.able_grasp_impair=4
--should also set temperatures, and flags for breath etc...
v.flags1.dead=false
v.flags2.calculated_bodyparts=false
v.flags2.calculated_nerves=false
v.flags2.circulatory_spray=false
v.flags2.vision_good=true
v.flags2.vision_damaged=false
v.flags2.vision_missing=false
v.counters.winded=0
v.counters.unconscious=0
for k,v in pairs(v.body.components) do
for kk,vv in pairs(v) do
v[kk]=0
end
end
end
end
end
tools.menu:add("healchild",tools.healchild)

Okay here some functions for the use of adventure mode child armies. with these you can recruit (your)children and make them fight. This is great for if you body swap into a parent or using empregnate function on your self.
Logged
I thought I would I had never hear my daughter's escapades from some boy...
DAMN YOU RUMRUSHER!!!!!!!!
"body swapping and YOU!"
Adventure in baby making!Adv Homes

Corai

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1826 on: June 13, 2012, 06:12:14 pm »

Oh my... that is some crazy stuff right there.
Any ideas how to fix? :P I kinda like my save :(

Auto-dump every boulder in your fort on them. Then auto-dump them back.
Logged
Jacob/Lee: you have a heart made of fluffy
Jeykab/Bee: how the fuck do you live your daily life corai
Jeykab/Bee: you seem like the person who constantly has mini heart attacks because cuuuute

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1827 on: June 13, 2012, 10:51:33 pm »

Just asking, since I can't tell from digging through the thread, is there currently a version that works for .11 without serious hassle?
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1828 on: June 13, 2012, 10:53:34 pm »

There should be a proper release in the next day or two.
Logged

slaytanic

  • Bay Watcher
    • View Profile
    • my DFFD pack
Re: DFHack 0.34.10 r1
« Reply #1829 on: June 13, 2012, 11:22:51 pm »

Oh my... that is some crazy stuff right there.
Any ideas how to fix? :P I kinda like my save :(
You could send the A-Team down into the caves, lol. Runesmith had a "kill all selected race" button but it hasn't been updated in forever. I don't think DFHack has that feature.(yet)
Logged
So let me get this straight....We are talking monkeys living on a dirt ball that circles a fireball ? WTF ?
Pages: 1 ... 120 121 [122] 123 124 ... 373