Waypoint Scripts
  • Waypoint Scripts
  • Store
  • Support Discord
  • Scripts
    • 🚑Waypoint AI EMS
      • 📝Setup
      • 🖥️Code Snippets
      • ❔FAQ
      • 📃Exports / Events
      • 🔢Telemetry
    • 🚕Waypoint AI Taxi
      • 📝Setup
      • 🖥️Code Snippets
      • 📃Exports / Events
      • 🔢Telemetry
    • 🎆Waypoint Fireworks
      • 📝Setup
    • 💡Waypoint Neons
      • 📝Setup
    • 🐕Waypoint Animals
      • 📝Setup
      • ❔FAQ
  • Free Scripts
    • 🚚Waypoint Tow / Hauling
    • 🛠️Waypoint Placeables
    • 🚦Waypoint Traffic Lights
    • 🧘‍♂️Waypoint Yogamats
    • 🖨️Waypoint Printer
    • 🚲Waypoint Pocket Bikes
    • 👻Waypoint Smoke Monster
    • 🪑Waypoint Seats
Powered by GitBook
On this page
  • Event Status:
  • Calculate Success Rate
  1. Scripts
  2. Waypoint AI Taxi

Telemetry

Setup the Telemetry to track reliability of AI Taxi on your server.

I've included telemetry in this script in case you want to measure the reliability in your server.

This is optional and does not effect any functionality.

It is purely added as a way to see how reliable the AI Taxi is able to complete the actions.

First you need to set Config.RecordTelemetry = true in the config.lua

Next create the table provided in ai_taxi_telemetry.sql

Event Status:

  • started = Scenario started after taxi is spawned and dispatched

  • success-destination = The taxi reached the destination

  • success-early-exit= The player exited the taxi before it reached the target destination

  • timedout = The taxi likely got stuck and never reached the pickup location

  • abandonded-dead - The taxi driver died

  • arrived-for-pickup - A substep to track that the taxi reached the players pickup location

  • gps-set - A substep to track that the player entered the taxi and set the GPS location

Calculate Success Rate

Using the above metrics you can calculate the success rate of AI EMS on your server.

SuccessRate =
    (started - abandoned-dead) /
    (success-destination + success-early-exit)
PreviousExports / EventsNextWaypoint Fireworks

Last updated 1 month ago

🚕
🔢