#include <global.h>#include <sproto.h>#include <shstr.h>Go to the source code of this file.
Functions | |
| static player * | get_other_player_from_name (object *op, char *name) |
| static object * | find_object_rec (object *ob, const char *name, tag_t count) |
| static object * | find_object_both (object *op, char *params) |
| int | command_setgod (object *op, char *params) |
| int | command_kick (object *ob, char *params) |
| int | command_shutdown_now (object *op, char *params) |
| int | command_goto (object *op, char *params) |
| int | command_freeze (object *op, char *params) |
| int | command_summon (object *op, char *params) |
| int | command_teleport (object *op, char *params) |
| int | command_create (object *op, char *params) |
| int | command_inventory (object *op, char *params) |
| int | command_dump (object *op, char *params) |
| int | command_patch (object *op, char *params) |
| int | command_remove (object *op, char *params) |
| int | command_addexp (object *op, char *params) |
| int | command_speed (object *op, char *params) |
| int | command_stats (object *op, char *params) |
| int | command_resetmap (object *op, char *params) |
| void | remove_active_DM (object *op) |
| int | command_nowiz (object *op, char *params) |
| static int | checkdm (object *op, char *pl_passwd) |
| int | command_dm (object *op, char *params) |
| static int | command_learn_spell_or_prayer (object *op, char *params, int special_prayer) |
| int | command_learn_spell (object *op, char *params) |
| int | command_learn_special_prayer (object *op, char *params) |
| int | command_forget_spell (object *op, char *params) |
| int | command_listplugins (object *op, char *params) |
| int | command_loadplugin (object *op, char *params) |
| int | command_unloadplugin (object *op, char *params) |
| void | shutdown_agent (int timer, char *reason) |
| int | command_motd_set (object *op, char *params) |
| int | command_ban (object *op, char *params) |
| int | command_debug (object *op, char *params) |
| int | command_dumpbelowfull (object *op, char *params) |
| int | command_dumpbelow (object *op, char *params) |
| int | command_wizpass (object *op, char *params) |
| int | command_dumpallarchetypes (object *op, char *params) |
| int | command_dm_stealth (object *op, char *params) |
| int | command_dm_light (object *op, char *params) |
| int | command_dm_password (object *op, char *params) |
| int | command_dumpactivelist (object *op, char *params) |
| int | command_shutdown (object *op, char *params) |
| int | command_setmaplight (object *op, char *params) |
| int | command_dumpmap (object *op, char *params) |
| int | command_dumpallmaps (object *op, char *params) |
| int | command_malloc (object *op, char *params) |
| int | command_maps (object *op, char *params) |
| int | command_strings (object *op, char *params) |
| int | command_ssdumptable (object *op, char *params) |
| int | command_follow (object *op, char *params) |
| int | command_insert_into (object *op, char *params) |
| int | command_arrest (object *op, char *params) |
| int | command_cmd_permission (object *op, char *params) |
Functions used by DMs.
Definition in file c_wiz.c.
| static int checkdm | ( | object * | op, | |
| char * | pl_passwd | |||
| ) | [static] |
Check to see if player is allowed to become a DM.
| op | The player object trying to become a DM | |
| pl_passwd | Password can be used to become a DM if it matches one of passwords in the file. |
| int command_addexp | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_arrest | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_ban | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_cmd_permission | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_create | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_debug | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dm | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dm_light | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dm_password | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dm_stealth | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dump | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dumpactivelist | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dumpallarchetypes | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dumpallmaps | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dumpbelow | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dumpbelowfull | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_dumpmap | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_follow | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_forget_spell | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_freeze | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_goto | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_insert_into | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_inventory | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_kick | ( | object * | ob, | |
| char * | params | |||
| ) |
| int command_learn_special_prayer | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_learn_spell | ( | object * | op, | |
| char * | params | |||
| ) |
| static int command_learn_spell_or_prayer | ( | object * | op, | |
| char * | params, | |||
| int | special_prayer | |||
| ) | [static] |
| int command_listplugins | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_loadplugin | ( | object * | op, | |
| char * | params | |||
| ) |
Loads the given plugin. The DM specifies the name of the library to load (no pathname is needed). Do not ever attempt to load the same plugin more than once at a time, or undefined behavior could happen.
| op | DM loading a plugin. | |
| params | Should be the plugin's name, eg plugin_python.so. |
| int command_malloc | ( | object * | op, | |
| char * | params | |||
| ) |
Malloc info command.
If MEMPOOL_TRACKING is defined, parameters are used to free (and force freeing) empty puddles. Otherwise, malloc_info() is used to display information about memory usage.
| op | Object requesting this. | |
| params | Command parameters. |
| int command_maps | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_motd_set | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_nowiz | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_patch | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_remove | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_resetmap | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_setgod | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_setmaplight | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_shutdown | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_shutdown_now | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_speed | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_ssdumptable | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_stats | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_strings | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_summon | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_teleport | ( | object * | op, | |
| char * | params | |||
| ) |
| int command_unloadplugin | ( | object * | op, | |
| char * | params | |||
| ) |
Unloads the given plugin. The DM specified the ID of the library to unload. Note that some things may behave strangely if the correct plugins are not loaded.
| op | DM unloading a plugin. | |
| params | Should be the plugin's internal name, eg Python. |
| int command_wizpass | ( | object * | op, | |
| char * | params | |||
| ) |
| void remove_active_DM | ( | object * | op | ) |
1.6.2