Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - peterix

Pages: 1 ... 13 14 [15] 16 17 ... 55
211
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r5 (current)
« on: August 22, 2011, 03:33:36 am »
Cool to see it work for the linux people :D

Anyway, next release will have some fixes for autodig and dfusion, along with a circle designation tool.

212
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r5 (current)
« on: August 21, 2011, 12:50:57 pm »
Ah, ok.  Using the windows cmd.exe prompt (after switching partitions), changing to the directory, then entering the tool filename lets me run the tools, but I think I have the syntax for the options off.  Once I was in the right directory, entering "dfcleanowned.exe" will run that tool fine, but if I want to confiscate all owned items, say, I typed "dfcleanowned.exe-a" and it's not recognised.  How should I enter it?
With a space between the command and the options.

Also, you're using the old dfhack. You can look at the old thread for info about it. Don't confuse it with the current dfhack, which works differently.

213
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r5 (current)
« on: August 21, 2011, 05:26:38 am »
Hi, I'm new to the game. Will this tool let me kill nasties on the map? Like the minotaur that's terrorizing my immigrants and caravans outside my fortress walls?
Best thing would be to kill the thing properly - with weapons or traps :)
Spoiler (click to show/hide)

214
DF General Discussion / Re: Fan art competition! *Moving sound*
« on: August 21, 2011, 04:10:48 am »
I had a strange mood of my own today and produced this picture of my resident mechanic, responsible for the heaps of shredded goblin, troll and rabbit flesh outside my fort's gate.
Spoiler (click to show/hide)

Don't look too closely at his fingers or feet.

And Fault, your superiorly crafted drawings just claimed an hour of my life. You should livestream or record the process some time, I'd love to see the technique you use in action.
If you don't mind me asking, how did you make that?

An excessive use of layers and lassos in Gimp. :)
Could've been easier with something like inkscape. It looks a lot like a vector image after all.

215
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r5 (current)
« on: August 20, 2011, 11:19:34 am »
I can confirm Stonesense works with r5. Thanks Peter.
Good to hear that :)

216
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r5 (current)
« on: August 20, 2011, 06:52:37 am »
Alright. New version is up, hopefully now working on all relevant Windows versions.

arclance:
Well, I have no idea what actually happened here. Anyway, I reworked the release process for both Windows and Linux. Check the new version. The build of stonesense you did was the normal, standalone stonesense. The right one is here: http://stonesense.googlecode.com/svn/branches/DFAPI/

217
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r4 (current)
« on: August 19, 2011, 12:19:28 am »
I am using Ubuntu 11.04, 2.6.38 kernel, Xorg 1.10.1, and the proprietary Nvidia drivers, and when using Stonesense in DFHack-r2 I get this:
Cannot load image: stonesense/stonesense.png
Ok. That's something I haven't seen yet. Some options here:
Look at the DF folder. Is the stonesense.png file in the right spot? it should be (DF being the '/' here) in /stonesense/stonesense.png along with all the other stonesense files.
Might be a missing lib? Try 'ldd hack/plugins/stonesense.plug.so' and pastebin/post the result.
Alternatively try to install some different versions of libpng.

P.S. I may have stumbled across potential issue with one of the tools, has anyone else experienced a repeatable "stopped working" game crash when using the "Clear task" plugin while an ambush is occurring?
there is no clear task plugin. I did port the old tool but decided to remove it shortly after. It was meant to fix the problem with task-locked items after fort reclaim. That bug should no longer be a problem and the tool was never safe for general use - only the first game step after a reclaim when none of the dwarves have any tasks yet.

218
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r4 (current)
« on: August 18, 2011, 04:31:24 pm »
I had to pull stonesense from the Linux release due to X.org and Allegro bugs. I'm also looking for people who managed to make it run (if there's anyone).
Then you might be interested to know that Stonesense from r2 seems to run fine on my Linux box. Which is rather surprising to me, since my distro is such a mess that I sometimes wonder how anything manages to work in it. It's Gentoo, and like you may know, no two Gentoo installations are alike. Anyway, I'm willing to try and locate this something which makes my box so Stonesense-friendly. For starters, I'm using 2.6.37 kernel, X.Org-1.10.2, Allegro 5.0.3. Any ideas what else can be checked?

And BTW, excellent job with making the thing Linux-compatible!
My linux box is pretty much an always updated Arch machine.
Linux 3.0.1, Xorg 1.10.3 and I'm using the proprietary NVIDIA drivers. The ubuntu VMs I tested with used various versions of the kernel and Xorg, but all failed in similar ways: Either very soon, crashing while initializing the keyboard (this failed on a call to pthread_mutex_lock, suggesting wrong initialization order) or a bit later, initializing the display/window (the window shows up, things fail inside the opengl lib and the whole thing deadlocks).

Maybe it's the NVIDIA driver making things work?
Just a couple quick questions...any chance on adding a command help option for the weather plugin? I ran through about 50 command line ideas trying to get it to make it rain, but ended up going back to the old legacy exe tool to tide me over.
If you tried 'weather help' or 'weather ?' it would have worked. Many, if not all (I'd have to check) of the commands this option. I've added the same to the readme doc.
On the other hand, any chance of designing a tool for emptying containers (primarily barrels and buckets, maybe bags/coffers/chests/vials)? Just curious on that one, since many people run into that problem, accidentally buying blood-filled barrels or getting buckets with mixes of lye and water.
That's a great idea. Hmm. It needs some research though, so it might take me some time to implement it.

P.S. Fuck you Bill Gates. Fuck you, your company, and especially your foundation.
Well, it can be worked around. But it's a PITA for me and the allegro devs...

219
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r4 (current)
« on: August 17, 2011, 10:41:25 pm »
I skimmed the two pages so far. Is Stonesense working at all in Windows? It just crashes my DF, mods or no mods.
Well, this led me through the computing hell and back. You're using XP, right?

See, the library that stonesense needs uses something called 'thread local storage'. That is, in the process, there are multiple independent CPU states and TLS makes sure that they don't trample over each other's data. This is *COMPLETELY* broken on XP and Microsoft doesn't want to fix it. So XP users get crashes.

I'll try to fix this, but really... this is getting ridiculous :<

220
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r4 (current)
« on: August 17, 2011, 08:25:51 am »
Yeah i tried making a different thread but somehow i does not compile (says that tinythread::thread methods are missing during linking)
Hmm. there was a bunch of other linking problems that surfaced after I added the static lua lib. I'll mess with it a bit...

Also, released another version for both linux and windows, adding an exploratory mining tool.

221
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r1 (current)
« on: August 16, 2011, 09:50:41 pm »
Well because the original command doesn't work well on a straight port given that Gitfusion freezes the game and the command needs Dfusion to run in realtime.
Hmm... yeah. Looking at the code, it seems it's a problem with LUA and being called from multiple threads. darius solved it with using a single mutex around all the DFusion code, but it needs finer control than that. This could be tricky.

222
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r1 (current)
« on: August 16, 2011, 12:30:13 am »
I suspect the timestamp change is an artifact of git SCCS, or maybe from a cp without -p option.  Would it be possible to have that file (only) keep its original timestamp?
I just copypasted the file around... doesn't seem all that important. It's the same file after all. I'll try.
I dig that you can bind commands to hotkeys, but are you not able to add options to them?  For example, "vdig" works just fine from a hotkey, but it seems that "vdig -x" does not.  Sorry if that's covered in the readme, but I didn't see it.
Well then.  What determines which plugins or commands work via hotkey?  Basically, is there a way to create a command alias for an existing plugin/command that isn't used by the hotkey system or won't fit in the 9-character limit, e.g. 'lua myscript.lua'?
Not yet, I'll have to restructure a few things for that... Aliases will be added for sure.
I think vdig is one of the few commands, if not the only one, that would actually fit the 9 character limit with its option...
Here's an example of how it should work in the future:
Code: [Select]
alias rth="revtoggle hell" (set the alias, this will be remembered between sessions)
rth (use the alias)
It should be then possible to fit a command of any length to the limit... and it will work. I also want to add tab completion for commands.

also peterix how do you feel about having a GitCarry command for Gitfusion?
Hmm, I don't know. Can't be that hard to add :)

Oh, and one more thing. I spent some time debugging and poking around in my Ubuntu VMs and I fixed one bug that caused crashes. So, here's a new, updated package to try:
https://github.com/downloads/peterix/dfhack/dfhack-0.31.25-r2-Linux.tar.gz
It's bigger and it has debug symbols in it too.

223
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r1 (current)
« on: August 15, 2011, 01:12:10 pm »
This is cool and all, it'll be really useful, but I don't Always  use it/keep it open (on the older versions) and chance you'll be releasing a stand alone version?  I already have one CMD prompt pop up through soundsense and really dislike having another that I won't be using very often.
Maybe :)

I kept things simple for the first release, but I'll add some toggle key to the console. Something like ~ by default and tweakable in a config file.

224
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r1 (current)
« on: August 15, 2011, 04:42:21 am »
This is excellent.

Would it be possible to insert some new hotkey definitions into DF itself for triggering specific plugins?  Being able to call cleanmap and such via in-game hotkey would be amazingly convenient.
DFhack reuses the normal F1-F8/Shift F1-F8 hotkeys. Open up the menu with 'h', pick one hotkey, name it 'cleanmap' and there you go :)

225
Utilities and 3rd Party Applications / Re: DFHack 0.31.25 r1 (current)
« on: August 15, 2011, 04:40:55 am »
Ok. README says allegro 5 is a dependency, so if it's statically linked there's probably no need to mention that (and mentioning libjpeg8 would be better; I have no idea why that one isn't installed by default).

As far as logs go, noting them in the README is a great idea. On that vein, is the stonesense plugin writing a log anywhere? There's nothing in the error log, and stonesense is bringing everything down when I run it.
Right. Looks like something went wrong with that 'static linking' plan then. I have it working on my linux machine, but it seems it's not working on others... hmm.

I'll see what can be done with it... there's a reason why I've been avoiding external dependencies on linux like the plague before :)

Pages: 1 ... 13 14 [15] 16 17 ... 55