Difference between revisions of "Wizhelp/Wstat"

From DikuMUD Wiki
Jump to navigation Jump to search
(Wstat: added the forms the code has (world dil, memory, account, creators, count; zone path/dil; groups ability, account, bank, ip), level 200, from act_wstat.cpp do_wstat)
Line 1: Line 1:
−
= wstat =
+
= Wstat (200) =
  
 
Usage:
 
Usage:
 
   wstat <unit> [group]
 
   wstat <unit> [group]
 
   wstat room [group]
 
   wstat room [group]
−
   wstat zone [zone name] [mobiles|objects|rooms|reset|error|info]
+
   wstat zone [zone name] [mobiles|objects|rooms|reset|errors|info|path|dil]
 
   wstat world [zones]
 
   wstat world [zones]
 +
  wstat world dil [ms]
 +
  wstat memory
 +
  wstat account
 +
  wstat creators <name>|all
 +
  wstat count <number>
 
   wstat <unit1> combat <unit2>
 
   wstat <unit1> combat <unit2>
 
   wstat <unit1> splcombat <unit2> [<spell name>]
 
   wstat <unit1> splcombat <unit2> [<spell name>]
  
 
Where [group] is:
 
Where [group] is:
−
   <no argumnet> : The basis unit data
+
   (nothing)  : the basic unit data
−
   data : The specific data for the type of unit
+
   data       : the data for the type of unit
−
   contents : list of unit contents
+
   contents   : what the unit contains
−
   affect : list of affect-structures for unit
+
   affects    : its affect structures
−
   descriptor : descriptor data for player
+
   descriptor : a player's connection data
−
   func : special function for unit
+
   functions  : its special functions and DIL programs
−
   spell : spells leaned by char
+
   spells      : spells learned
−
   skill : skills learned by char
+
   skills      : skills learned
−
   weapon : weapons mastered by char
+
   weapons    : weapons mastered
−
   extra : extra descriptions
+
   ability    : abilities
−
   quest : Quest information (PC's only)
+
  extras      : extra descriptions
−
   info : other extra descriptions including e-mail, maiden name, guilds, profession, ignore list
+
   quests      : quest information (players only)
 +
   info       : other extras: e-mail, maiden name, guilds, profession, ignore list
 +
  account    : a player's account
 +
  bank        : a player's bank
 +
  ip          : a player's addresses
 +
A group can be shortened: wstat fido dat.
 +
 
 +
The others:
 +
  world            : the game as a whole; world zones lists all zones
 +
  world dil [ms]    : the DIL programs of all zones that have run longer than ms milliseconds (the place to start with a slow game)
 +
  memory            : the server's memory use
 +
  account          : account totals
 +
  creators <name>  : the zones a builder made; creators all lists every zone and its creators
 +
  count <number>    : the first 40 units that hold at least that many units
 +
  combat, splcombat : how a fight (or a spell) between two units would go
  
 
Examples:
 
Examples:
−
   >wstat world
+
   wstat world
−
   >wstat world zones
+
   wstat world zones
−
   >wstat zone
+
   wstat world dil 50
−
   >wstat zone rooms
+
  wstat zone
−
   >wstat fido
+
   wstat zone rooms
−
   >wstat fido dat  
+
   wstat fido
−
   >wstat fido func
+
   wstat fido dat
−
   >wstat room aff
+
   wstat fido func
−
   >wstat fido combat janitor
+
   wstat room aff
−
   >wstat fido splcombat janitor fireball
+
   wstat fido combat janitor
 +
   wstat fido splcombat janitor fireball
 +
 
 +
Wstat displays everything about a unit. All of it at once would be several
 +
screens per unit, so it is split into groups: the optional [group] chooses
 +
what you see. It is logged.
  
−
Wstat displays everything about a unit. However all this info will confuse
 
−
anyone (several screens of info per unit), so we had to split it up. The
 
−
optional [group] determines which info you want.
 
  
−
See also:
+
See Also:
−
  >wizhelp set
+
> {Wizhelp Set}
−
  >wizhelp setskill
+
> {Wizhelp Setskill}

Revision as of 01:40, 7 November 2026

Wstat (200)

Usage:

 wstat <unit> [group]
 wstat room [group]
 wstat zone [zone name] [mobiles|objects|rooms|reset|errors|info|path|dil]
 wstat world [zones]
 wstat world dil [ms]
 wstat memory
 wstat account
 wstat creators <name>|all
 wstat count <number>
 wstat <unit1> combat <unit2>
 wstat <unit1> splcombat <unit2> [<spell name>]

Where [group] is:

 (nothing)   : the basic unit data
 data        : the data for the type of unit
 contents    : what the unit contains
 affects     : its affect structures
 descriptor  : a player's connection data
 functions   : its special functions and DIL programs
 spells      : spells learned
 skills      : skills learned
 weapons     : weapons mastered
 ability     : abilities
 extras      : extra descriptions
 quests      : quest information (players only)
 info        : other extras: e-mail, maiden name, guilds, profession, ignore list
 account     : a player's account
 bank        : a player's bank
 ip          : a player's addresses

A group can be shortened: wstat fido dat.

The others:

 world             : the game as a whole; world zones lists all zones
 world dil [ms]    : the DIL programs of all zones that have run longer than ms milliseconds (the place to start with a slow game)
 memory            : the server's memory use
 account           : account totals
 creators <name>   : the zones a builder made; creators all lists every zone and its creators
 count <number>    : the first 40 units that hold at least that many units
 combat, splcombat : how a fight (or a spell) between two units would go

Examples:

 wstat world
 wstat world zones
 wstat world dil 50
 wstat zone
 wstat zone rooms
 wstat fido
 wstat fido dat
 wstat fido func
 wstat room aff
 wstat fido combat janitor
 wstat fido splcombat janitor fireball

Wstat displays everything about a unit. All of it at once would be several screens per unit, so it is split into groups: the optional [group] chooses what you see. It is logged.


See Also:

> {Wizhelp Set}
> {Wizhelp Setskill}