Table of Contents
Persistent Categories
ci_g_persist routines takes an argument called sCategory which specify to which category the persistent variables are stored. Each category has their own set of variables. This page document each of those categories and also contents of them.
Text PC or Global after variable specify whether the variable is stored on the PC or on the global storage, or both.
Categories
- basic Default category, in case nothing else is given.
- Core Core subsystem.
- Guild Guild array subsystem.
- Housing Housing subsytem.
- Quest Quest subsystem.
- QuestData Per Quest data.
- Reputation Reputation subsystem.
- Time Time subsystem.
- XP XP subsystem.
- Settings Persistent PC related settings.
- GUIemote GUI Emote definitions.
- BulletinBoard Bulletin Board system.
- AreaExporer Area Explorer Log
Variables in each category
basic
<guildtag>_SMint PC has done SM quest for the guild <guildtag> (PC).<guildtag>_HighMasterint PC has been elected to be as a HighMaster for guild <guildtag> (PC).<guildtag>_FreeRankLevelint Rank number up to which (including) the PC can raise in the guild without paying reputation or needing recommendation. Used to give free Master (4) rank to guild builders (PC).
Reputation
Levelint Number of reputation points used to gain levels. (PC).Pointsint Number of reputation points left. (PC).Totalint Total number of reputation points earned. (PC).Reasonsint Number of reason strings stored (PC).Reason<xx>string Reason string <xx> (PC).Num<xx>int Number of points for reason <xx> (PC).Statusint Status of the PC (PC).
XP
XPOverint Number of experience points over the last level limit. (PC).MaxLevelint Max level of the character. (PC)
Core
Identifierstring Unique identifier for the PC. (PC).MaxIDint First unused ID to be used for the next PC not yet having unique ID. (Global).
Guild
This is array, so it has all the default array variables. The guild tag string is used as index to the array. Each item in the array will have the following variables.
Rankint Rank number in this guild (PC).Statusint Status of the member in this guild (PC).Recommendationint Has someone given PC a recommendation for this guild (PC).RecommednationPointsint How many points of recommendation has been given (PC).R_<uniqueplayerid>int Set if player <uniqueplayerid> has given this player a recommendation in this guild. (PC).
There is also global guild category arrays one for each guild. The category name for those are Guild_<rank>_<guildtag>, where the <rank> is the number from 1 to 6 listing members of that rank of the guild specifed by the string <guildtag>. Each of those categories will be array where the index is the <uniqueplayerid>, and the fields are:
Namestring Name of the player (global).Statusint Status of the player (global).
Time
PlayHoursint Game hours player has played (PC)
Housing
Levelint Housing level number (PC).
Quest
This is array of quests, where the index is the quest tag. Values for each quest are:
Stateint Status of the quest (PC)Timeint Timestamp of the last action on quest. (PC)
QuestData
This contains quest specific data, which is not related to the quest states. This can be used to store for example whether player has triggered given triggers etc. I.e. permanently store some information which is not stored in the state variable.
TriggerIncStatetag string Used by ce_g_q_incstate to mark that player has visited specific trigger (i.e. do not increase state anymore).LostAnimalTaggerWandstring Used by the Greenwoods Rangers joining quest in case the PC looses the tagger wand this is set and new wand is given. If he looses it again the quest is failed.
Settings
Passwordstring Password for the PC (character edit etc) (PC).Helperint Whether PC wants to get help requests from other players (PC).LootPickupLevelint Loot pickup level of player 0 = all, 1 = 1cp/lb etc…
GUIemote
emotestring Action to run when emote is clicked (PC).
BulletinBoard
tagobject Bulletin board item to be used to store bulletin board messages for the bulletin board whose tag is tag (global).
The item has array inside that is using the timestamp of the message as a key inside the category note, and two variables for each timestamp:
whostring who wrote the message (note category of the item).textstring The text itself (note category of the item).
AreaExplorer
This is array of area tags, where the index is the tag of area. Values for each area are:
Countint how many times PC has been on the area (PC).
