Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 106 107 [108] 109 110 ... 373

Author Topic: DFHack 0.34.11 r3  (Read 1407807 times)

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.34.10 r1
« Reply #1605 on: May 26, 2012, 07:15:53 pm »

Hey, guys- complete and utter newbie here. How exactly do I install the lua scripts so I can execute them from DFhack? I would /really/ like to be able to use the elevate scripts but after like an hour of fiddling around blindly I've had no success. Can anyone give me a step-by-step walkthrough?
Step 1: Copy the .lua file into the [DF]/hack/scripts folder
Step 2: Type the name of the script (without the ".lua") at the DFHack command prompt (along with any parameters).
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.

slaytanic

  • Bay Watcher
    • View Profile
    • my DFFD pack
Re: DFHack 0.34.10 r1
« Reply #1606 on: May 27, 2012, 02:49:46 am »

Anyone else having their map revealed when running .lua scripts ?
Logged
So let me get this straight....We are talking monkeys living on a dirt ball that circles a fireball ? WTF ?

ag

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1607 on: May 27, 2012, 01:51:07 pm »

I wonder if somebody could upload a really slow 0.34.10 fortress save - I'm curious what will turn out to be the most noticeable bottleneck in this version. :)
Logged

Robotic

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1608 on: May 27, 2012, 02:17:17 pm »

Is there a way to designate a dig for all unrevealed tiles?  I've noticed that digexp allows a filter for unrevealed, but ideally I'd like to be able to run a command to dig out an entire surface layer without digging out the walls around surface lakes, or the "edge" walls surrounding the layer in question.  I'd be willing to use lua scripts or however else it could be accomplished, ideally I'd expected this to be an option in digexp though, seems weird that you can set it as a filter, but not a pattern.  It'd also be a bonus if I could use this to channel instead of dig, as I could make the hollow mountain (and cavern-marksdwarf-coasters) in my dreams.
Logged

tryrar

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1609 on: May 27, 2012, 07:41:23 pm »

I'm having bit of a problem with autobutcher-namely I can't get it to work at all. How do I use it?(I've followed the steps in the readme, but I still can't do it)
Logged
This fort really does sit on the event horizon of madness and catastrophe
No. I suppose there are similarities, but I'm fairly certain angry birds doesn't let me charge into a battalion of knights with a car made of circular saws.

PK1312

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1610 on: May 28, 2012, 12:22:35 am »

Hey, guys- complete and utter newbie here. How exactly do I install the lua scripts so I can execute them from DFhack? I would /really/ like to be able to use the elevate scripts but after like an hour of fiddling around blindly I've had no success. Can anyone give me a step-by-step walkthrough?
Step 1: Copy the .lua file into the [DF]/hack/scripts folder
Step 2: Type the name of the script (without the ".lua") at the DFHack command prompt (along with any parameters).

Oh, wow, it's that easy? I feel silly now. Thanks very much.

EDIT: okay actually it would appear I have no folder called scripts. The only thing in my hack folder is "plugins" and those are all DLL files, not lua, and dropping it in there doesn't allow it to run. Neither does making my own script folder and dropping it in there.
« Last Edit: May 28, 2012, 12:26:33 am by PK1312 »
Logged

Rinin_Rus

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1611 on: May 28, 2012, 01:34:10 am »

okay actually it would appear I have no folder called scripts. The only thing in my hack folder is "plugins" and those are all DLL files, not lua, and dropping it in there doesn't allow it to run. Neither does making my own script folder and dropping it in there.
Take latest DfHack from first post. It definitely has "script" folder.
Logged
He has a lot of willpower,  but he has very little linguistic ability

slaytanic

  • Bay Watcher
    • View Profile
    • my DFFD pack
Re: DFHack 0.34.10 r1
« Reply #1612 on: May 28, 2012, 01:38:59 am »

Anyone else having their map revealed when running .lua scripts ?
nevermind, it was cleanmap I forgot that it revealed the map.
Logged
So let me get this straight....We are talking monkeys living on a dirt ball that circles a fireball ? WTF ?

slaytanic

  • Bay Watcher
    • View Profile
    • my DFFD pack
Re: DFHack 0.34.10 r1
« Reply #1613 on: May 28, 2012, 01:43:16 am »

This may help people or it may not. I renamed some lua scripts and put them in my c:/ directory so all I had to do was just type:    runlua c:/Example.lua
and that worked fine for me. Short path = less typing.
I didn't know you could run the script any other way but to each his own. I don't use them a lot.
Logged
So let me get this straight....We are talking monkeys living on a dirt ball that circles a fireball ? WTF ?

peetaur

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.34.07 r2
« Reply #1614 on: May 28, 2012, 02:06:06 am »

But when I run dfhack I get:
Code: [Select]
./libs/Dwarf_Fortress: /home/ubu/Downloads/df_linux/libs/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./hack/libdfhack.so)
But I'm looking right at the file:
Code: [Select]
ubu@ubu-PX790AA-ABA-SR1511NX-NA530:~/Downloads/df_linux/libs$ ls -al
total 20936
drwxr-xr-x 2 ubu ubu     4096 2012-03-30 06:27 .
drwxr-xr-x 8 ubu ubu     4096 2012-04-22 18:14 ..
-rwxr-xr-x 1 ubu ubu 14669276 2012-03-30 06:27 Dwarf_Fortress
-rw-r--r-- 1 ubu ubu   466491 2012-03-30 06:27 libgcc_s.so.1
-rwxr-xr-x 1 ubu ubu  1435396 2012-03-30 06:27 libgraphics.so
-rwxr-xr-x 1 ubu ubu  4852343 2012-03-30 06:27 libstdc++.so.6

What am I missing?  I'm on Ubuntu 11.10 32bit.  Fresh install of df_linux, haven't even edited the inits yet.

To fix this I simply replaced the DF shipped copy of the file with the one installed in my OS (in my case opensuse 12.1):

    cd mydfdir/libs
    mv libstdc++.so.6 dforig.libstdc++.so.6
    ln -s /usr/lib/libstdc++.so.6
Logged

kingubu

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1615 on: May 28, 2012, 02:39:19 am »

Lol, thanks.  That was from over a month ago.  I fixed it by going down a version of gcc to 4.5
Logged

Warmist

  • Bay Watcher
  • Master of unfinished jobs
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1616 on: May 28, 2012, 02:54:20 am »

This may help people or it may not. I renamed some lua scripts and put them in my c:/ directory so all I had to do was just type:    runlua c:/Example.lua
and that worked fine for me. Short path = less typing.
I didn't know you could run the script any other way but to each his own. I don't use them a lot.
also if you put them into DF directory you can type "runlua Example.lua" or if you put into DF subdir (e.g. myscripts) then you can type "runlua myscripts/Example.lua" (also same with command "lua")

robertheinrich

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1617 on: May 28, 2012, 03:55:13 am »

I'm having bit of a problem with autobutcher-namely I can't get it to work at all. How do I use it?(I've followed the steps in the readme, but I still can't do it)

Hm, weird. If you followed one of the examples (1. set target count for a race, 2. put that race onto the watchlist, 3. start autobutcher) it should work. By default itīs set to run ca. once per minute, so you might not see an effect right away, though.

But itīs possible that the latest updates somehow killed it, I didnīt have the time to play more than a short while since Toady introduced the minecart stuff. Iīll look into it later today. Anybody else having problems with autobutcher and/or autonestbox?
Logged

JAFANZ

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1618 on: May 28, 2012, 06:07:03 am »

(Apologies if this is the wrong thread or has been answered somewhere in the previous 600 posts)

Now that Prospector is part of dfhack, &  not a standalone exe (yes, I've been away from DF for "a while"), is there any way to export the results to an external, preferably text, file (on Winblows 7)?
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1619 on: May 28, 2012, 06:14:53 am »

You can copy and paste from the DFhack window. just right click the title bar, and do edit->mark.
Logged
Pages: 1 ... 106 107 [108] 109 110 ... 373