Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3] 4 5

Author Topic: Search plugin (Now with Room List, Military Screen and several more)  (Read 23300 times)

Intrinsic

  • Bay Watcher
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #30 on: December 01, 2012, 04:32:19 am »

PTW, i would have babies with you.
Logged
Start Duelyst with a bonus 100gold, use referral code: Buttfungus
Enter during signup or ingame under Settings.

falconne

  • Bay Watcher
    • View Profile
Re: New plugin to add "Search" functionality to Stock, Trade and Unit screens
« Reply #31 on: December 01, 2012, 04:40:07 am »

Hello :) I managed to compile your plugin under linux! Thank you for your work.
Which extra libraries did you have to grab to get this done? I can't seem to satisfy cmake.
Code: [Select]
Could not find a working hash map implementation.  Please install GCC >=
  4.4, and all necessary 32-bit C++ development libraries.

I have gcc 4.6 and installed ia32-libs

I think you need gcc-multilib packages to compile 32-bit applications in 64-bit linux.
Logged
Utility plugins for DFHack, for improving Dwarf Fortress' user interface.

DuineAnaithnid

  • Bay Watcher
    • View Profile
Re: New plugin to add "Search" functionality to Stock, Trade and Unit screens
« Reply #32 on: December 01, 2012, 10:27:40 am »

I think you need gcc-multilib packages to compile 32-bit applications in 64-bit linux.

Grabbed gcc-multilib and I an still getting the same errors. If someone with and Ubuntu install has this working, could I get a dpkg list so I can diff it with mine to see what I am missing?
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #33 on: December 01, 2012, 02:40:31 pm »

how hard would it be to incorporate this into Room searches as well.  So many times I'm trying to figure out where a certain workshop is at...

BigD145

  • Bay Watcher
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #34 on: December 01, 2012, 11:51:04 pm »

This is very handy. Thank you.
Logged

TheZoomZoll

  • Bay Watcher
  • Total Scumbag
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #35 on: December 02, 2012, 05:34:51 am »

This is very nice!
I wanted this for a long long time for when my stupid dwarves stop hauling,go drink eat or sleep and never haul stuff ever again!

Yanek

  • Escaped Lunatic
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #36 on: December 02, 2012, 09:14:13 am »

That's amazing, thank you!

What about a Animals and Kitchen screen searching too? Would be great for killing all puppies and kittens easily! ;)
Logged

falconne

  • Bay Watcher
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #37 on: December 03, 2012, 01:36:39 am »

What about a Animals and Kitchen screen searching too? Would be great for killing all puppies and kittens easily! ;)

Yes I do plan to add it to every relevant screen eventually, but I will need to refactor the plugin as some of those screens are a little more annoying to search properly. I don't want to do to many changes at once as that leads to mistakes, but I'll get there eventually.
Logged
Utility plugins for DFHack, for improving Dwarf Fortress' user interface.

DuineAnaithnid

  • Bay Watcher
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #38 on: December 03, 2012, 06:58:25 am »

Ok, so I got past

For reference to anyone else, I had to install (This is from Ubuntu 12.04 CLI Install):
  • build-essential
  • cmake
  • ia32-libs
  • gcc-multilib
  • g++-multilib
  • libxml-perl
  • libxml-xslt-perl
  • libxml-libxml-perl
  • docutils-common

This allowed cmake to do it's thing with no errors.

However make install has an issue, which follows:

Code: [Select]
Linking CXX shared library libprotobuf.so
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [depends/protobuf/libprotobuf.so] Error 1
make[1]: *** [depends/protobuf/CMakeFiles/protobuf.dir/all] Error 2
make: *** [all] Error 2

EDIT: Looks like I just did not have all the dev libraries I needed

had to add:
  • lib32z1-dev
  • libxml-libxslt-perl

Compiles fine now
« Last Edit: December 03, 2012, 10:16:48 am by DuineAnaithnid »
Logged

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #39 on: December 03, 2012, 04:33:54 pm »

As amazing as this is, could you perhaps make it work for the arena unit selection screen?  I'd cry masterwork tears of unmitigated joy.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #40 on: December 03, 2012, 08:19:47 pm »

As amazing as this is, could you perhaps make it work for the arena unit selection screen?  I'd cry masterwork tears of unmitigated joy.

Arena unit screen search was added in 34.11 or so IIRC.

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #41 on: December 04, 2012, 02:40:55 am »

As amazing as this is, could you perhaps make it work for the arena unit selection screen?  I'd cry masterwork tears of unmitigated joy.

Arena unit screen search was added in 34.11 or so IIRC.

Forgive me if I'm just too tired, but I honestly don't see one.  I see one for items on arena units, but not the units themselves.  Talking about the "create" screen, by the way.
« Last Edit: December 04, 2012, 02:43:21 am by narhiril »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #42 on: December 04, 2012, 08:04:08 pm »

Really? It's in the bottom right, f, "find".

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #43 on: December 04, 2012, 11:43:58 pm »

Really? It's in the bottom right, f, "find".

It didn't appear until I pressed it.  Sneaky little bugger.  DAMN YOU, TRUETYPE, AND YOUR BLACK BOXES OF DEATH!

Oh well, thanks.

Elvang

  • Bay Watcher
    • View Profile
Re: Search plugin (Now with stockpile screen search)
« Reply #44 on: December 07, 2012, 11:45:09 pm »

Small issue, trying to search by number doesn't work, depending on the screen being searched. For example, you can't enter the numbers 4 or 6 when searching the unit screen, or 2/4/6/8 depending on the movements available on the stocks screen. Can't imagine many would search by number anyhow though.

EDIT: Being able to search the announcements screen would be useful when you're trying to find the date of an event amidst hundreds of item cancellation messages.
« Last Edit: December 07, 2012, 11:58:19 pm by Elvang »
Logged
The Practicalities of Fire Imp Defense
Tileset fonts for dfterm/telnet
Win 0.34.11 SDL with 7 binary patched bugfixes
Quote from: They Dig
I have come here to drink booze and breach HFS... and I'm all out of booze.
Pages: 1 2 [3] 4 5