Gaming
 

Persistence API

From NWNWiki

Persistence API is the OSRS feature that implements a reliable, efficient, responsive, and speedy solution to persistent data needs of persistent worlds. OSRS will use Knat's product, found on NWVault, called "Natural Bioware Database Extension" (NBDE). The script for this feature is nbde_inc.

[edit] ERF comments

This submission is described by its author in its importable file (an ERF) as follows.

NBDE v1.0 by Knat

check the /docu folder in the zip for full documentation

NBDE is basically a wrapper for the standard bioware database system, eliminating most of its restrictions.

But even more important, it significantly boosts both reading and writing speed.

It will make your db scripts more secure and always keeps your database files in the best possible shape.

It furthermore reduces the amount of overhead in your database and keeps it as slim as possible.

there is no need to periodically use a pack utility, which further reduces administrative tasks...

Quick Feature List:

Write speed improvements up to factor 500 Read speed improvements up to factor 8 Database size improvement up to factor 3

sVarName parameter for all SetCampaign functions is no longer limited to 32 chars

sVarname must NOT be unique

Database will not grow in size in case you change an already existing value.

No need to pack the database ever

Stored locations are now 100% reliable.