Ludeon Forums

RimWorld => Releases => Mods => Outdated => Topic started by: ChJees on July 05, 2017, 07:21:55 AM

Title: [A17] RimSearch - For finding stuff thought lost
Post by: ChJees on July 05, 2017, 07:21:55 AM
(https://dl.dropboxusercontent.com/u/547140/Rimworld/RimSearchPreview.png)

Ever wanted to easily find a certain item after a trade on the map or where one of your named animals are? Then this mod is for you!

Default keybinding for opening the search window is 'Z'. Can be rebound.

Search for:
*Pawns by name or kind.
*Pawns belonging to colony.
*Things by their name.
*Across multiplie maps.
*Planet locations by name.
*With one click you can go to your pawn, thing or location!

Credits:
ChJees – Concept, C# & XML

Screenshots: 1 (https://dl.dropboxusercontent.com/u/547140/Rimworld/20170705010800_1.jpg) | 2 (https://dl.dropboxusercontent.com/u/547140/Rimworld/20170705011006_1.jpg) | 3 (https://dl.dropboxusercontent.com/u/547140/Rimworld/20170705013849_1.jpg)

Dropbox: https://dl.dropboxusercontent.com/u/547140/Rimworld/RimSearch.zip
Steam: http://steamcommunity.com/sharedfiles/filedetails/?id=964675612

Source Code: https://dl.dropboxusercontent.com/u/547140/Rimworld/RimSearch-src.zip

Update: Updated again which fixed a bug when trying to use the search in the Planet map view with no colony map or event map open and also added translations and settings!

Also translations for languages other than English and Swedish are appreciated :D . Will be added to credits as a translator if you do.

Update: Fixed a derp which allowed you to see hidden (fogged) items and pawns.

[attachment deleted by admin due to age]
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: wwWraith on July 05, 2017, 07:34:32 AM
Yay! I dreamed about it for years! :D
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: SpaceDorf on July 05, 2017, 07:58:04 AM
I think A17 is becoming the Awesome-QoL-Mods Edition
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: kaptain_kavern on July 05, 2017, 08:42:04 AM
Awesome, Thank you
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: asquirrel on July 05, 2017, 09:49:43 PM
Tank U! :)
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: moonra on July 05, 2017, 10:05:26 PM
Holy crap, this is amazing.
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: ChJees on July 06, 2017, 06:27:10 AM
Updated the mod which allowed you to see hidden (fogged) items and pawns. Also as a bonus i finally included the source code. It uses my usual license which allow you to use it as a base for your own mod and pick pieces of code you like for your mod.
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: BlackSmokeDMax on July 06, 2017, 07:38:56 PM
Wow, very cool!

Thanks!!
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: ChJees on July 08, 2017, 07:31:03 AM
Updated again, check OP for more info.

Also i am looking for translators for languages other than English and Swedish. Will add you to the credits for a translation :) .
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: faltonico on August 05, 2017, 11:17:36 PM
Hi!
I have to thank you for this mod, it is incredibly useful!
I bumped with this error though, when imputing text inside the search window of your mod:
Exception filling window for RimSearch.UI.SearchWindow: System.NullReferenceException: Object reference not set to an instance of an object
  at RimSearch.Logic.SearchQuery+<>c__DisplayClass16_0.<ParseSearchTerm>b__4 (RimWorld.Planet.WorldObject worldObject) [0x00000] in <filename unknown>:0
  at RimSearch.Logic.SearchQuery.ExecuteWorldObject (RimWorld.Planet.WorldObject worldObject) [0x00000] in <filename unknown>:0
  at RimSearch.Logic.SearchQuery.ExecuteWorldMap (RimWorld.Planet.World world) [0x00000] in <filename unknown>:0
  at RimSearch.Logic.SearchQuery.Execute () [0x00000] in <filename unknown>:0
  at RimSearch.UI.SearchWindow.DoWindowContents (Rect inRect) [0x00000] in <filename unknown>:0
  at Verse.Window+<WindowOnGUI>c__AnonStorey2C5.<>m__1B1 (Int32 x) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.<WindowOnGUI>c__AnonStorey2C5:<>m__1B1(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, GUISkin, Int32, Single, Single, GUIStyle)

Is it that it cannot find a particular sprite for an item?
Anyway, I cannot dismiss the possibility of it being a mod conflict, I have already found another mod that was causing GUI problems and managed to uninstall it, but this particular error keeps happening.
Thank you for your work!
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: aemeyer on September 11, 2017, 11:54:12 AM
Looks like the dropbox file links are either broken or the file got moved/hidden.
Which sucks because I play on large maps and searching for all the animals of specific types can take a few minutes.
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: TOWC on September 11, 2017, 07:14:47 PM
Wow. The idea itself is amazing, but being a thing? Marvelous. Does the list of items include specific art pieces that you've already sold to someone?
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: Rock5 on November 20, 2017, 09:50:22 PM
ChJees, are you planning to update this for B18?
Title: Re: [A17] RimSearch - For finding stuff thought lost
Post by: Rock5 on December 02, 2017, 05:03:57 AM
I updated this mod for B18. Here's the link.

https://ludeon.com/forums/index.php?topic=37177 (https://ludeon.com/forums/index.php?topic=37177)

And for those who still use A17 and don't have access to steam, here is the A17 version copied directly from steam.

[attachment deleted by admin: too old]