Jump to content

VSProspectorInfo - conveniently store prospecting pick results directly in your map data


Recommended Posts

VSProspectorInfo

This mod takes the results from your prospecting pick attempts and stores the results automatically, on the appropriate chunk in the world map. This makes it a lot easier to dig for local peaks of ores, generally just prospecting whenever you're out spelunking and gives you visual aid as to where you have prospected before.

This mod is a fork of P3t3rix's original mod, ProspectorInfo, from here, so all credit to him for the original idea of the mod and the original code! I merely forked it, fixed it for v1.14.2 and added some new features.

The mod is purely client-side, and will not require the server to have it installed, but neither will any data be shared with others. Don't install on a server.

Features

68747470733a2f2f692e696d6775722e636f6d2f524241474242672e706e67.png.cd39d898c58ca43030b6bc4a5db42351.png

  • Parse, save and load prospecting pick data, per chunk
  • Toggleable visual aid on the world map, of which chunks you have data for

Installation

  1. Download the zip package for the latest release here: https://gitlab.com/vsmods-public/vsprospectorinfo/-/releases
  2. Drop the zip directly into %appdata%\VintageStoryData\Mods (or where ever your VS data is installed to)
  3. Don't extract it
  4. Make sure you do not have the old vsprospectorinfo (or prospectorinfo) installed

Commands

  • .pi - main command for the mod and the default sub-command is to 'showoverlay', which will toggle the rendering of the texture on the map
  • .pi showoverlay true/false - the only existing subcommand. Sending no arguments will simply toggle the value of the RenderTexturesOnMap config option. Sending either true or false, will set the config option to the appropriate value

Usage

There's not a lot of commands or specific actions need to use the mod. Whenever you finish prospecting a chunk, the data is saved into the ModData folder and added to the chunk info of the world map. This is just a 1:1 parsing of the chat message that the prospecting pick sends. 

The mod renders a transparent square of all chunks that have been prospected. If a chunk is re-prospected, the message is simply overwritten. The rendering of these squares can be toggled with the .pi command.
 

A mini-guide as to how I do prospecting with this mod:

All you gotta do for prospecting is find the ‘local peak’ of whatever ore you’re trying to find. Run around the world and start prospecting each chunk until you get like a reading of Medium or above, then you can begin finding the local peak. Propick once, if nothing, skip like 5 chunks.

Use `.debug wireframe chunk` to visualize chunk borders, so you always stand in the middle of a chunk to do it, so the distance between your propick attempts are consistent. Remember that only the first block destroyed matters, the two other do literally nothing besides making it a non-trivial task to propick.

It shouldn't take very long to find the local peak if you propick once in a chunk, then go 1 chunk in each cardinal direction from the same chunk and propick again. Then keep going like that, until you find the local peak. 
As long as you do it once per chunk (and save data with mod or bookmark), you will very quickly see the pattern of the ore map. Then you just have to continuously walk in the direction in which the concentration of ore increases, to quickly home in on the local peak.
If you 'overshoot' by skipping like 2 or 3 chunks at a time, and then the percentage starts going down, then you already know that one coordinate of the local peak is between where your concentration started to drop and where you propick'ed the last time where you saw it increase.

Once you found the local peak, dig straight down in the corners of the chunk + the middle, until you find the veins of ore. Optionally, use the secondary propick mode on the way down to help you find veins. 

You never want to be digging horizontally, only vertically. To find every single vein in a chunk will, at most, require 6 tunnels from the top to bottom, if you use secondary-mode propick at every 6th block going straight down in your tunnels.

Source Code:

https://gitlab.com/vsmods-public/vsprospectorinfo

Releases:

v3.1.0(20/12/2020 - 13:43): https://gitlab.com/vsmods-public/vsprospectorinfo/-/package_files/5552638/download

Edited by Capsup
  • Like 12
  • Cookie time 1
Link to post
Share on other sites
2 hours ago, Brent Strickland said:

it makes me so happy to have prospecting results added to the mini map for 1.14! i am wondering if the white squares that pop up on the mini map are toggleable on and off though for when i'm done prospecting in an area.

I think those white squares are just trees or something like that. The mod overlay is actually the grayish tinted rectangle. You can toggle it with the .pi command.

  • Cookie time 1
Link to post
Share on other sites
On 12/24/2020 at 3:41 PM, LocoMiner said:

Does this work for 13.4? I havent upgraded yet.

It should work for 1.13.4, yep.

 

On 12/23/2020 at 6:41 AM, Anesos said:

Nice. Thanks for the update for 1.14.

One thought... could there be an option for the overlay to only show up when holding a propick in your hand? Then it would automatically toggle itself on and off rather than requiring commands.

I'll add it to my list. It wouldn't be a quick change to make, but it's probably a really good idea. I'm thinking I can make .pi still force toggle, while making the propick equip toggle if .pi was not used.

  • Like 1
Link to post
Share on other sites
On 12/24/2020 at 3:41 PM, LocoMiner said:

Does this work for 13.4? I havent upgraded yet.

If it doesn't use the original mod, linked in the first post.

 

 

btw. nice addition that rectangle of the prospected areas. should be way easier to find the messages on the map that way.

Link to post
Share on other sites
  • 2 weeks later...

Where is the prospector data saved? I doubt it is server side like waypoints.

I play on 2 different devices. It would be nice to copy the data for the server i play on from one to the other.

Wish for a feature: allow us to set the path where the data is saved, so we could put it in cloud storage (dropbox / onedrive ...).

Link to post
Share on other sites
4 hours ago, hachnslay said:

Where is the prospector data saved? I doubt it is server side like waypoints.

I play on 2 different devices. It would be nice to copy the data for the server i play on from one to the other.

Wish for a feature: allow us to set the path where the data is saved, so we could put it in cloud storage (dropbox / onedrive ...).

The data gets saved in

%appdata%\VintagestoryData\ModData

on a per world basis.

I added the suggestion as a future todo.

Link to post
Share on other sites
  • 2 weeks later...

@Capsup I found a dependency due to which the visualization of the VSProspectorInfo mod does not work. If the language of the server and the client is different, it does not work. If the language of the server and the client is the same, everything works fine.

There is an idea how to solve this bug.  Of course, I don't understand the code, but I think it makes sense to add a variable for the language with the ability to change by entering a command into the chat.

Thanks. 

  • Like 1
Link to post
Share on other sites
  • 1 month later...
On 1/29/2021 at 8:50 AM, Evil Toaster said:

@Capsup I found a dependency due to which the visualization of the VSProspectorInfo mod does not work. If the language of the server and the client is different, it does not work. If the language of the server and the client is the same, everything works fine.

There is an idea how to solve this bug.  Of course, I don't understand the code, but I think it makes sense to add a variable for the language with the ability to change by entering a command into the chat.

Thanks. 

I had the same issue. Until the problem is solved, I think a short comment about it should be added in the mod presentation.
Otherwise, the mod works perfectly fine and saves a lot of time.

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.