Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Vehicle Distance Tracking and Update Ping (Swap vehicle data to NetID base - preparing for SQL storing) #7

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

mickeystix
Copy link

@mickeystix mickeystix commented Nov 16, 2022

Made it so that the Tracker now has a third button, and an additional item on tracker screens for distance. The button updates the screen manually, but refreshes distance and engine health.

Made changes to how vehicle info is gathered. Likely going to be storing and retrieving from database next for permanent storage of tracked vehicle lists.

Note: Tracker WILL break on NPC cars after a short distance due to lack of persistent ID tracking. This is intended for player to player tracking.

mickeystix and others added 7 commits November 12, 2022 22:07
- Trackers now track vehicle distance from player.
- When viewing Tracker vehicles, there is now a Ping button. This
refreshes the status of the vehicle (health, distance from player)
Swapped data gathering of vehicle info to be NetID based.
Next Change: Storing Vehicle data in database for persistence.
Inject the trackers.sql into existing db.
Trackers now create a database entry.
Only one tracker can be placed on a vehicle at a time.
Explode/Disable deletes the db entry as well as UI entry.
Trackers are now ready to be made fully persistent - Next step is
to integrate into the tracker UI so that trackers populate
from database upon leaving/rejoining sessions (aka log off and back on),
providing true persistence.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant