Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Remembrance Query1 1.0.0

(0 reviews)

1 Screenshot

This page (and the future github link below) will be where I will keep updated versions of SQL queries to run against the Persistent World database.

This SQL Query is to edit the local database that comes with this plugin:

What is a SQL Query? Code you can run against a SQL database that allows for fast changes. You can either manually make changes to the database or you can use code.

HOW TO RUN: Download and install an app that can read and run SQL Lite database Queries. I use DB Browser for SQL Lite.

File>Open>Open database file: PersistentWorld.db.

Then click the "Execute SQL" tab and paste in the text in the text file in the SQL Query. Run the query. Save the database. It is recommended to backup before running queries. You can also try running by clicking the SQL file that is included. One is a text version, one is the sql file version.

image.png

AI Generated Query 1:

Part 1: Vehicle Registrations (5% expired, 1% no registration)

What it does:

  1. First makes ALL vehicles have valid registration (expires in 1 year)

  2. Then randomly selects 5% of vehicles and makes their registration expired at various intervals:

    • 15 days expired (recent)

    • 30 days expired (1 month)

    • 60 days expired (2 months)

    • 90 days expired (3 months)

    • 180 days expired (6 months)

  3. Then randomly selects 1% of vehicles and marks them as "NO REGISTRATION" (never registered)


Part 2: Vehicle Insurance (5% expired, 2% no insurance)

What it does:

  1. First makes ALL vehicles have valid insurance (expires in 1 year)

  2. Randomly selects 5% of vehicles and makes insurance expired at various intervals

  3. Randomly selects 2% of vehicles and marks them as "NO INSURANCE"


Part 3: License Status (20 suspended, 20 revoked, 10 no license)

What it does:

  1. First makes ALL people have valid licenses (expires in 4 years)

  2. Randomly selects 20 people and marks licenses as SUSPENDED with realistic reasons:

    • DUI

    • Reckless driving

    • Failure to appear

    • Points accumulation

  3. Randomly selects 20 people and marks licenses as REVOKED (permanent) with severe reasons:

    • Multiple DUIs

    • Vehicular manslaughter

    • Felony with vehicle

  4. Randomly selects 10 people and marks as NO LICENSE (never had one)



Short Description

A SQL Query to run against the PersistentWorld' plugin's local database to make quick changes to the data in the Databse.

AI disclosure

The author has disclosed that AI tools were used in creating the following aspects of this file:

  • Description
  • Mod and Mod Content (Substantial)

AI helped build and create the "shell" of the SQL query. Once reading and understanding the original AI code, parts of the code can be change to create other queries. AI is a great learning tool!

User Feedback

Recommended Comments

There are no comments to display.

Create an account or sign in to comment

Latest Mods

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.