| acct |
Integer |
Account Reference (if not NPC) |
r/o |
| acctname |
Account |
Account name string (if not NPC) |
r/o |
| ar |
Integer |
Total armor factor. If it's an NPC without armor equipped, it will return its intrinsic armor value taken from NpcDesc AR entry. |
r/o |
| ar_mod |
Integer |
Armor factor modifier |
r/w |
| attached |
Script |
Script reference for attached script |
r/o |
| backpack |
Item |
Reference to character's pack (if any) |
r/o |
| candidate_of_party |
Party |
party object reference |
r/o |
| clientinfo |
Struct |
UO Client information struct (check out core-changes.txt for an example) |
r/o |
| clientver_detail |
Struct |
UO Client version string as Struct of Ints {major;minor;rev;patch} |
r/o |
| clientversion |
String |
UO Client version string |
r/o |
| cmdlevel |
Integer |
command level of character |
r/w |
| cmdlevelstr |
String |
string name of command level |
r/o |
| concealed |
Integer |
concealed below this value cannot see |
r/w |
| connected |
Boolean |
To determine if the character is actively connected to the game. Is set to 1 before logon/reconnect scripts are run and 0 right before logofftest is run. Will return 1 on NPC. |
r/o |
| createdat |
Integer |
PolClock when character was created |
r/o |
| criminal |
Integer |
1 = player is criminal (gray) |
r/o |
| cursor |
Boolean |
True if the client has an active target cursor |
r/o |
| damage_cold |
Integer |
Total AOS+ damage factor. |
r/o |
| damage_cold_mod |
Integer |
AOS+ damage modifier |
r/w |
| damage_energy |
Integer |
Total AOS+ damage factor. |
r/o |
| damage_energy_mod |
Integer |
AOS+ damage modifier |
r/w |
| damage_fire |
Integer |
Total AOS+ damage factor. |
r/o |
| damage_fire_mod |
Integer |
AOS+ damage modifier |
r/w |
| damage_physical |
Integer |
Total AOS+ damage factor. |
r/o |
| damage_physical_mod |
Integer |
AOS+ damage modifier |
r/w |
| damage_poison |
Integer |
Total AOS+ damage factor. |
r/o |
| damage_poison_mod |
Integer |
AOS+ damage modifier |
r/w |
| dead |
Integer |
1 = player is dead |
r/o |
| delay_mod |
Integer |
Weapon Delay modifier |
r/w |
| evasionchance_mod |
Integer |
Subtractive modificator of the hitchance from the defender (+- int in thousandth) |
r/w |
| followers |
Integer |
This is for storage for the Followers byte in statmsg packet, default 0 |
r/w |
| followers_max |
Integer |
Max followers for statmsg packet, default 0 |
r/w |
| frozen |
Boolean |
1 = player is frozen (by a GM) |
r/w |
| gender |
Integer |
0=male 1=female |
r/w |
| getcorpse |
ItemRef |
Most recent Corpse made. |
r/o |
| gold |
Integer |
Amount of gold in character's pack |
r/o |
| guild |
Guild |
guild object reference |
r/o |
| guildid |
Integer |
guild ID number |
r/o |
| gump |
Boolean |
True if the client has any active gumps from SendGump |
r/o |
| hidden |
Boolean |
1 = normal players cannot see |
r/w |
| hitchance_mod |
Integer |
Additive modificator of the hitchance from the attacker (+- int in thousandth) |
r/w |
| ip |
String |
IP Address string |
r/o |
| isUOKR |
Boolean |
True if the client being used is an UO:KR client |
r/o |
| luck |
Integer |
Luck for statmsg packet, default 0 |
r/w |
| movemode |
String |
movemode string {default 'L'} like from NPCDesc.cfg |
r/o |
| murderer |
Boolean |
1 = player flagged murderer (red) |
r/w |
| opponent |
MobileRef |
Mobile reference if a combat opponent is selected. |
r/o |
| paralyzed |
Boolean |
1 = player is paralyzed |
r/w |
| party |
Party |
party object reference |
r/o |
| partycanloot |
Boolean |
True if client has set the loot rights |
r/o |
| poisoned |
Boolean |
1 = player is poisoned |
r/w |
| prompt |
Boolean |
True if the client has any active String or Unicode prompt windows |
r/o |
| race |
Integer |
Set/get the ML race (new constants in UO.EM: RACE_HUMAN, RACE_ELF). You have to set visual graphic by yourself if you change value (Human male/female = 0x190/0x191 / Elf male/female = 0x25d/0x25e). You can choose Race at Char creation if your UOExpansion and UOFeature settings fit. |
r/w |
| reportables |
Array |
(reputation system) Array of Structs: { serial, killer, gameclock }, serial = killer's serial, killer = 'offline mobile reference' to the killer, gameclock = game time when the death occurred |
r/o |
| resist_cold |
Integer |
Total AOS+ armor factor. If it's an NPC without armor equipped, it will return its intrinsic armor value taken from NpcDesc AR entry. |
r/o |
| resist_cold_mod |
Integer |
AOS+ Armor factor modifier (Player) |
r/w |
| resist_energy |
Integer |
Total AOS+ armor factor. If it's an NPC without armor equipped, it will return its intrinsic armor value taken from NpcDesc AR entry. |
r/o |
| resist_energy_mod |
Integer |
AOS+ Armor factor modifier (Player) |
r/w |
| resist_fire |
Integer |
Total AOS+ armor factor. If it's an NPC without armor equipped, it will return its intrinsic armor value taken from NpcDesc AR entry. |
r/o |
| resist_fire_mod |
Integer |
AOS+ Armor factor modifier (Player) |
r/w |
| resist_physical |
Integer |
Total AOS+ armor factor. If it's an NPC without armor equipped, it will return its intrinsic armor value taken from NpcDesc AR entry. |
r/o |
| resist_physical_mod |
Integer |
AOS+ Armor factor modifier (Player) |
r/w |
| resist_poison |
Integer |
Total AOS+ armor factor. If it's an NPC without armor equipped, it will return its intrinsic armor value taken from NpcDesc AR entry. |
r/o |
| resist_poison_mod |
Integer |
AOS+ Armor factor modifier (Player) |
r/w |
| shield |
Armor |
Returns the ItemRef of the sheild, if any, is worn. |
r/o |
| skillcap |
Integer |
This is for storage of overall skillcap, default 700 |
r/w |
| squelched |
Integer |
1 = player cannot speak |
r/o |
| statcap |
Integer |
AOS+ Statcap entry in statusbar, default 255 |
r/w |
| stealthsteps |
Integer |
number of walk steps left until player is revealed |
r/w |
| tithing |
Integer |
Tithing for statmsg packet, default 0 |
r/w |
| title_guild |
String |
String guild title i.e. [ROX, super d00d] Racalac |
r/w |
| title_prefix |
String |
String placed before name i.e. Lord Racalac |
r/w |
| title_race |
String |
String race title after suffix in paperdoll |
r/w |
| title_suffix |
String |
String placed after name i.e. Racalac the Brave |
r/w |
| trading_with |
CharRef |
Reference to character they are trading with (if any) |
r/o |
| truecolor |
Integer |
original color |
r/w |
| trueobjtype |
Integer |
original objtype |
r/w |
| uclang |
String |
Reports the Unicode Language string client sends during logon. |
r/o |
| warmode |
Integer |
1 if in warmode |
r/o |
| weapon |
Item |
Reference to character's weapon (if any) |
r/o |
| attack_once([MobileRef opp]) |
true/error |
Attacks once without modifing the swingtimer. If no opp is given attacks current attackable opponent, else attacks given opponent (but checks if still attackable) |
| cleargottenitem() |
true/error |
Returns 'dragged' item to original location. |
| compareversion(string Version) |
true/false |
true if Client Version >= given Versionstring |
| disable(string setting) |
true |
disables the 'granted' privilage to the character |
| enable(string setting) |
true/error |
enables the 'granted' privilage to the character |
| enabled(string setting) |
true/false |
true if the privilage is enabled |
| getgottenitem() |
error/ItemRef |
returns an ItemRef to the item held on the player's cursor, if any. |
| kill([MobileRef killer]) |
true |
Kills character ignoring invul, if killer is set repsys:OnDamage is called |
| privileges() |
dictionary |
Dictionary where keys are privilege name, value is 0/1 boolean. |
| removereportable(int serial, int gameclock) |
true/error |
removes the killer with 'serial' from the reportables list that was added at 'gameclock' |
| setcmdlevel(string cmdlevel) |
true/error |
grants the command level to the char as defined in cmds.cfg |
| setcriminal(int level) |
true/error |
sets the character criminal. level multiplies the CriminalFlagInterval as defined in repsys.cfg. level=0 clears criminal timer. |
| setfacing(string/int direction, flags := FACE_NORMAL) |
true/error |
Sets Facing to given direction. If FACE_FORCE is set frozen/paralysed is not checked |
| setlightlevel(int level, int duration) |
true |
sets the light level of the character to 'level' for 'duration' seconds |
| setmurderer(bool) |
true/error |
flags the character as a murderer (red) |
| setparalyzed(bool) |
true/error |
sets the character paralyzed, controller of calling script is flagged as in repsystem |
| setpoisoned(bool) |
true/error |
sets the character poisoned, controller of calling script is flagged as in repsystem |
| setswingtimer(int time) |
true/error |
If opponent is set sets swingtimer to given ms time. |
| setwarmode(boolean) |
integer/error |
Sets the internal warmode flag and sends the update to the player. Returns the new warmode value. |
| spendgold(int amount) |
true/error |
if enough gold, removes it from the player's pack |
| squelch(int duration) |
true |
character cannot talk for 'duration' seconds. -1 means forever. 0 clears the squelch |