[FREE][QB][ESX] Blip/Region Discovery [REWRITTEN]

Blip Discovery (Rewritten)

Support: Discord

Originally a script made for my server that allows players to discover areas within the map through blip changes for QB-Core & ESX.

Features

  • A blip will change and remain changed when a player comes within a predefined range of that blip. Blip changes include sprite, color, and text. Check screenshots for more.
  • Players can reset their personal discovered blips
  • Widely and easily customizable

Screenshots

Click to view

Before discovering a blip


After discovering a blip (getting close to it)


Resetting personal blips


Trying to reset blips while near a blip (causes issues otherwise)


Requirements

Download

Installation

  • Import rockdale-blipdiscovery.sql into your database
  • Drag & drop into resources
  • Ensure resource in server.cfg
  • Edit config.lua

Changelog

  • 1.0: Initial release
  • 1.1: Added ESX compatibility & performance adjustments
  • 1.2: Completely rewritten:
    • Fixed blip loading times (instant now)
    • Fixed blip being discovered when it shouldn’t be
    • Fixed issue where both discovered and undiscovered blips would load at the same time
    • Added new configurable options
    • Added version checker
    • Updated license
    • Performance improvements
  • 1.3:
    • The unique identifier is now the vector of the blip, therefore, you can have blips with duplicate initial and discovered labels

Notes

Updating from 1.1 and under to 1.2+: Use a fresh install of the script, open your old config.lua, and copy paste “Config.Blips” table over to the new config.

Updating from 1.2 to 1.3: Run the query DROP TABLE player_blips and then reimport the database file

Every blip has to have unique coords in the config or it will cause issues with the initial blips.

5 Likes

Hello, I would love an ESX version, is it possible?

Yes sure I will make an option to select the framework in the config soon.

2 Likes

Amazing idea ever!

1 Like

Update 1.1.0: ESX compatibility and better peformance. Select framework in config.lua.

1 Like

Once the blips are discovered, they stay uncovered?

1 Like

Yes they stay discovered

1 Like

Verry good release, keep it up man

1 Like

Hey! I performed the tests on my DEV server with more than 40 BLIPS, here is what I found as a problem:

  • Blips take a long time to display
  • From time to time there are two blips that appear (The hidden, and the uncovered)
  • From time to time, there are also blips that appear, when we have never been to see them

I use ESX

Had the same problem but only when I create them, after Server restart all where finde (using qbcore)

Thank you for bringing it to my attention, I will test more thoroughly and try and locate the problems.

As for the slow blip loading time, it is done to account for slow databases, but I will try and find a better method to do that

EDIT: Rewrote it entirely and fixed the issues, update should be pushed early tomorrow after more testing

I will try it out :wink: can I jsut use my config or do I have to rewrite everything?

Update 1.2.0: Completely rewritten:

  • Fixed blip loading times (instant now)
  • Fixed blip being discovered when it shouldn’t be
  • Fixed issue where both discovered and undiscovered blips would load at the same time
  • Added new configurable options in config.lua
  • Added version checker
  • Updated license
  • Performance improvements

You can use your old blips config, however, you need to copy and paste them to their place in the new config.lua @KronenNetzwerk

1 Like

Update 1.3.0:

  • Blips can now have the same initial and discovered labels, however, the coords must be different.

To update please delete the table and reimport it as well as replace all files that are not the config.lua.

Getting a bug where when I restart the server or just restart FiveM I can’t see the blips I discovered anymore

What version are you using

The latest, is config.showblips for both discovered and undiscovered?