Writing PDSS Scripts

Writing PDSS Scripts

Persistent Data Support Service Scripts

 

Creating Character Scripts

 

Available Commands

Available Command

Arguments

Description

inputFileRule

<name> [<args>]

Add a rule relative to the files to be parsed

filter

<name> [<args>]

Add a filter to limit the set criteria to determine which files' content to reflect in output

infoExtractor

<name> [<args>]

Add an info extractor

outputPath

<path>

Set the directory to which the output will be written

outputName

<fileNameRoot>

Set the file name root (default to empty string)

 

Available Information Extractors

Info Extractor

Fields

Description

Name

name

The character name

PlayTime

play_hours

The time in hours that the character has spent on-line since the 'play time' stat was added

LastActivityDate

last_date

The last time that the player connected (time stamp)

FirstActivityDate

start_date

The first time that the player connected

LastActivityTime

last_time

The last time that the player connected (time stamp)

FirstActivityTime

start_time

The first time that the player connected

ActivityDuration

active_days

The difference in days between first time connected and last time connected

RecentPlayHistory

num_sessions,shortest_session,longest_session,average_session,ttl_session_time,session_list

Recent play time stats

Race

race

The character's race

Gender

gender

The character's gender

GuildId

guild

The guild number

Money

money

Cash in hand

AuraEnd

aura_end

end date of the prohibited reuse time for auras

Position

x,y,place

x y position and place

Sessions

home,session

home session id and current session id

Characs

Constitution,Metabolism,Intelligence,Wisdom,Strength,WellBalanced,Dexterity,Will

constitution, strength, etc

Stats

hp, sap, sta, focus

HP,Stamina,Sap,Focus

Fames

Fyros,Kami,Karavan,Matis,Tryker,Zorai

main fame scores

Civ

civ

declared civilization

Cult

cult

declared cult

DeathPenalty

Penalty,Nb_Deaths

death penalty stats

Rites

StartedRites,FinishedRites

frequency stats regarding rites

ActiveMissions

act_missions

frequency stats regarding active missions

MissionHistory

hist_missions

frequency stats regarding completed missions

SkillPoints

spFight,ttlSpFight,minSpFight,spMagic,ttlSpMagic,minSpMagic,spCraft,ttlSpCraft,minSpCraft,spHarvest,ttlSpHarvest,minSpHarvest

skill points and related stats

HighestSkills

skill_best,skill_sf,skill_sm,skill_sc,skill_sh

Highest skills in each main branch

PlayerRoomAndPets

room,petSheet0,petPos0,petState0,petSheet1,petPos1,petState1,petSheet2,petPos2,petState2,petSheet3,petPos3,petState3"

The Id of the room and number of pets owned by the character

PlayerRoomStats

Unidentified

The stats of number of players who have access to each room type

RespawnPointCount

respawnPointCount

Number of respawn points

RespawnPointStats

Unidentified

Stats on number of players who have access to each of the respawn points

StanzaStats

Unidentified

VisPropStats

Unidentified

Stats on race and visual props

FactionPoints

factPts

The character's faction points