[1.1] ZiTools Objects Seeker

Started by MaxZiCode, September 30, 2018, 04:12:06 PM

Previous topic - Next topic

MaxZiCode

#15
Quote from: SabitaUsagi on October 24, 2018, 01:29:29 PM
Quote from: Canute on October 24, 2018, 03:47:39 AM
Your pic show it !
ZiTools_v1.0.0.0 isn't a folder it is the zip archive .
And even it is a folde, you notice there are 2 other folder inside.
And non of them are About,Defs,....
which would be the regular mod file structure.

so yeah that's a folder, not the Zip file.

So yeah Zitools & the BetterMiniMap Addon are 2 separate mods.

Oh, I'm sorry for the instruction mistake. I have made it more understandable.

Skynert

Minimap is in ZiTools or it is standalone? Becouse when I add minimap it make my world map grey after caravan reforming. And I cant even open console.

[attachment deleted due to age]

Canute

BetterMiniMap is from another mod author.
https://github.com/RimWorld-CCL-Reborn/BetterMiniMap

Here you just get ZiTools and the BetterMiniMap Addon, which require the BetterMiniMap mod.

Juujika

#18
I dont see the Minimap at all.
I get this error message to my output_log:
"System.NullReferenceException: Object reference not set to an instance of an object
  at BetterMiniMap.MiniMapManager.<.ctor>b__4_0 () [0x00000] in <filename unknown>:0
  at BetterMiniMap.MiniMap_GameComponent.GameComponentOnGUI () [0x00000] in <filename unknown>:0
  at Verse.GameComponentUtility.GameComponentOnGUI () [0x00000] in <filename unknown>:0

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)"

Is there way to fix the issue?
I can see Minimap mod settings in game, so something does work.

System.NullReferenceException: Object reference not set to an instance of an object
  at BetterMiniMap.MiniMapManager.<.ctor>b__4_0 () [0x00000] in <filename unknown>:0
  at BetterMiniMap.MiniMap_GameComponent.GameComponentOnGUI () [0x00000] in <filename unknown>:0
  at Verse.GameComponentUtility.GameComponentOnGUI () [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
Verse.GameComponentUtility:GameComponentOnGUI()
Verse.UIRoot:UIRootOnGUI_Patch1(Object)
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:OnGUI()

Canute

The minimap can't be add on existing colonies.
Currently only works for new ones.
But the BetterMiniMap isn't from this mod auther, he just made the addon.
And another thing, currently BetterMiniMap don't work together with Setup-Camp Mod.

Juujika

Quote from: Canute on October 28, 2018, 03:31:43 AM
The minimap can't be add on existing colonies.
Ok, thank you. Good reason to start again.
I didnt know any other place to ask. Minimap author does have only github i think. I noticed that you reported this in there.

SabitaUsagi

Not sure if the Mod Author for ZiTools has direct contact or not with the BetterMiniMap Author, but the toggle Map Visibility doesn't work, well it half works. It toggles it off, but not back on.

mospidatru

Hi MaxZiCode. i am create pull request with fix 2 issues
https://github.com/MaxZiCode/ZiTools/pull/2

Quote from: Canute on October 28, 2018, 03:31:43 AM
The minimap can't be add on existing colonies.
Currently only works for new ones.
...
Or edit savefile.
1. Find in savefile </uniqueIDsManager>
2. And in <components> put this:



PS: If was installed old version BetterMinimap need REPLACE old component with new component
<li Class="BetterMiniMap.MiniMap_GameComponent">
<miniMapManager>
<miniMaps>
<keys>
<li>0</li>
</keys>
<values>
<li>
<position>(1260.0, 76.0)</position>
<size>(175.0, 175.0)</size>
<map>Map_0</map>
<coordsSize>(1.0, 1.0)</coordsSize>
<Fires>False</Fires>
</li>
</values>
</miniMaps>
</miniMapManager>
</li>



MaxZiCode

Quote from: mospidatru on November 02, 2018, 03:05:27 AM
Hi MaxZiCode. i am create pull request with fix 2 issues
https://github.com/MaxZiCode/ZiTools/pull/2
Huge thanks! It really helps to make the mod better.
Also thanks everyone, who helps to solve any problems and informs about issues of the mod.

About the next updates. I plan to change object seeker interface at least.

FrostyB

#24
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at ZiTools.ObjectSeeker_Data.FindAllThings () <0x003f1>
at ZiTools.ObjectSeeker_Window.Update () <0x00021>
at ZiTools.ObjectSeeker_Window.PreOpen () <0x00049>
at Verse.WindowStack.Add (Verse.Window) <0x00054>
at ZiTools.ObjectSeeker_Window.DrawWindow () <0x00075>
at ZiTools.Patch_DoPlaySettingsGlobalControls.Postfix (Verse.WidgetRow,bool) <0x000eb>
at (wrapper dynamic-method) RimWorld.PlaySettings.DoPlaySettingsGlobalControls_Patch3 (object,Verse.WidgetRow,bool) <0x006c0>
at RimWorld.GlobalControlsUtility.DoPlaySettings (Verse.WidgetRow,bool,single&) <0x000e5>
at RimWorld.GlobalControls.GlobalControlsOnGUI () <0x00207>
at RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs () <0x00229>
at RimWorld.UIRoot_Play.UIRootOnGUI () <0x0009c>
at Verse.Root.OnGUI () <0x00112>

Verse.Log:Error(String, Boolean)
Verse.Root:OnGUI()

Any idea what could be causing this? it was working fine for a while and then suddenly stopped working. :(
It has been happening on a few of my saves so it's rather annoying having to start a new colony to get it working again :)
Just to clarify i have the minimap but the object seeker stops working after a while

mospidatru

#25
Quote from: FrostyB on November 08, 2018, 05:43:47 AM
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at ZiTools.ObjectSeeker_Data.FindAllThings () <0x003f1>
MaxZiCode, this happen when on map has dead mechanoid.
FindAllThings()->
if (FillData<Corpse>(location, label, CategoryOfObjects.Corpses, currentThing))
{
CompRottable comp = ((Corpse)currentThing).GetComp<CompRottable>();

comp = null

upd:
https://github.com/MaxZiCode/ZiTools/pull/3

FrostyB

#26
Quote from: mospidatru on November 08, 2018, 05:26:05 PM
Quote from: FrostyB on November 08, 2018, 05:43:47 AM
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at ZiTools.ObjectSeeker_Data.FindAllThings () <0x003f1>
MaxZiCode, this happen when on map has dead mechanoid.
FindAllThings()->
if (FillData<Corpse>(location, label, CategoryOfObjects.Corpses, currentThing))
{
CompRottable comp = ((Corpse)currentThing).GetComp<CompRottable>();

comp = null

So if i get rid of the dead mechanoids it should work again?

You just saved my day there :D it worked :D

MaxZiCode

After a lot of work, the new version 1.9.0 has been released!
It's really the big update that makes the mod more convenient to use.
In the next big update I want to add a new tool. And the name "ZiTools" will fully correspond to this mod, unlike now.  :D

ChangeLog:
Objects seeker
  • User interface large update
  • Changed marks of objects. Before now, they were like circles.
  • Changed the position of the window. Now it situated in bottom-right.
  • Added the search text field. It's high time!
  • Added the new categories: favourites and all objects.
BetterMiniMap addon
  • Updated for BetterMiniMap v1.0.1

Timsteele

Do you have any plans of releasing this to steam ? 100,000 people would love to download this .

MaxZiCode

Quote from: Timsteele on November 26, 2018, 08:37:26 PM
Do you have any plans of releasing this to steam ? 100,000 people would love to download this .
I agree, the mod looks good enough, unlike previous versions.
I plan to add this mod to steam workshop this week.
There will be a steam workshop link in the top post when I did it.