Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

/home/groups/n/no/noxwizard/cvs/src/cmdtable.cpp File Reference

#include "nxwcommn.h"
#include "network.h"
#include "cmdtable.h"
#include "sregions.h"
#include "bounty.h"
#include "sndpkg.h"
#include "debug.h"
#include "amx/amxcback.h"
#include "calendar.h"
#include "race.h"
#include "scp_parser.h"
#include "commands.h"
#include "addmenu.h"
#include "telport.h"
#include "accounts.h"
#include "worldmain.h"
#include "data.h"
#include "spawn.h"
#include "trade.h"
#include "chars.h"
#include "items.h"
#include "basics.h"
#include "inlines.h"
#include "nox-wizard.h"
#include "archive.h"
#include "map.h"
#include "jail.h"
#include "skills.h"
#include "layer.h"
#include "scripts.h"

Functions

void command_bounty (NXWCLIENT ps)
void command_serversleep (NXWCLIENT ps)
void command_reloadracescript (NXWCLIENT ps)
void command_post (NXWCLIENT ps)
void command_gpost (NXWCLIENT ps)
void command_rpost (NXWCLIENT ps)
void command_lpost (NXWCLIENT ps)
void target_setMurderCount (NXWCLIENT ps, P_TARGET t)
void command_setmurder (NXWCLIENT ps)
void command_readaccounts (NXWCLIENT ps)
void command_resend (NXWCLIENT ps)
 Resends server data to client.

void command_teleport (NXWCLIENT ps)
 Teleport a client.

void command_where (NXWCLIENT ps)
 Prints your current coordinates + region.

void command_q (NXWCLIENT ps)
 Shows the GM or Counsellor queue.

void command_next (NXWCLIENT ps)
 For Counselors or GM's, goes to next call in queue.

void command_clear (NXWCLIENT ps)
 For Counselor's and GM's, removes current call from queue.

void command_goplace (NXWCLIENT ps)
 (d) Teleports you to a location from the LOCATIONS.SCP file.

void command_gochar (NXWCLIENT ps)
 (h h h h) Teleports you to another character.

void command_fix (NXWCLIENT ps)
 Try to compensate for messed up Z coordinates. Use this if you find yourself half-embedded in the ground.

void target_xgo (NXWCLIENT ps, P_TARGET t)
void command_xgoplace (NXWCLIENT ps)
 (d) Send another character to a location in your LOCATIONS.SCP file.

void command_showids (NXWCLIENT ps)
 Display the serial number of every item on your screen.

void command_poly (NXWCLIENT ps)
 (h h) Polymorph yourself into any other creature.

void command_skin (NXWCLIENT ps)
void command_action (NXWCLIENT ps)
 (h) Preform an animated action sequence.

void command_setseason (NXWCLIENT ps)
void target_xtele (NXWCLIENT ps, P_TARGET t)
void command_xtele (NXWCLIENT ps)
 Teleport a player to your position.

void command_go (NXWCLIENT ps)
 (d d d) Go to the specified X/Y/Z coordinates

void command_zerokills (NXWCLIENT ps)
 Sets all PK counters to 0.

void command_appetite (NXWCLIENT ps)
 Shows character appetite.

void target_addTarget (NXWCLIENT ps, P_TARGET t)
 Adds an item when using 'add # #.

void command_add (NXWCLIENT ps)
 (h h) Adds a new item, or opens the GM menu if no hex codes are specified.

void command_addx (NXWCLIENT ps)
 (h h) Adds a new item to your current location.

void target_rename (NXWCLIENT ps, P_TARGET t)
void command_rename (NXWCLIENT ps)
 (text) Renames any dynamic object in the game.

void command_cfg (NXWCLIENT ps)
 (text) Renames any dynamic item in the game.

void command_save (NXWCLIENT ps)
 Saves the current world data into NXWITEMS.WSC and NXWCHARS.WSC.

void target_setpriv (NXWCLIENT ps, P_TARGET t)
void target_setprivItem (NXWCLIENT ps, P_TARGET t)
void command_setpriv (NXWCLIENT ps)
void command_nodecay (NXWCLIENT ps)
void command_showtime (NXWCLIENT ps)
void command_settime (NXWCLIENT ps)
void command_shutdown (NXWCLIENT ps)
void command_playerlist (NXWCLIENT ps)
void command_skills (NXWCLIENT ps)
void command_blt2 (NXWCLIENT ps)
void command_sfx (NXWCLIENT ps)
void command_light (NXWCLIENT ps)
void command_web (NXWCLIENT ps)
void command_disconnect (NXWCLIENT ps)
void command_tell (NXWCLIENT ps)
void command_dry (NXWCLIENT ps)
void command_rain (NXWCLIENT ps)
void command_snow (NXWCLIENT ps)
void command_gmmenu (NXWCLIENT ps)
void command_itemmenu (NXWCLIENT ps)
void target_additem (NXWCLIENT ps, P_TARGET t)
void menu_additem (P_MENU menu, NXWCLIENT ps, SERIAL button)
void command_additem (NXWCLIENT ps)
void target_dupe (NXWCLIENT ps, P_TARGET t)
void command_dupe (NXWCLIENT ps)
void command_command (NXWCLIENT ps)
void command_gcollect (NXWCLIENT ps)
void command_allmoveon (NXWCLIENT ps)
void command_allmoveoff (NXWCLIENT ps)
void command_showhs (NXWCLIENT ps)
void command_hidehs (NXWCLIENT ps)
void target_allSet (NXWCLIENT ps, P_TARGET t)
void command_set (NXWCLIENT ps)
void command_temp (NXWCLIENT ps)
void target_addNpc (NXWCLIENT ps, P_TARGET t)
void command_addnpc (NXWCLIENT ps)
void command_tweak (NXWCLIENT ps)
void command_secondsperuominute (NXWCLIENT ps)
void command_brightlight (NXWCLIENT ps)
void command_darklight (NXWCLIENT ps)
void command_dungeonlight (NXWCLIENT ps)
void command_restock (NXWCLIENT ps)
void command_restockall (NXWCLIENT ps)
void command_setshoprestockrate (NXWCLIENT ps)
void command_midi (NXWCLIENT ps)
void command_respawn (NXWCLIENT ps)
void command_regspawnmax (NXWCLIENT ps)
void command_regspawn (NXWCLIENT ps)
void command_regedit (NXWCLIENT ps)
void command_reloadserver (NXWCLIENT ps)
void command_loaddefaults (NXWCLIENT ps)
void command_cq (NXWCLIENT ps)
void command_cnext (NXWCLIENT ps)
void command_cclear (NXWCLIENT ps)
void command_minecheck (NXWCLIENT ps)
void target_invul (NXWCLIENT ps, P_TARGET t)
void command_invul (NXWCLIENT ps)
void command_noinvul (NXWCLIENT ps)
void command_guardson (NXWCLIENT ps)
void command_guardsoff (NXWCLIENT ps)
void command_decay (NXWCLIENT ps)
void command_pdump (NXWCLIENT ps)
void command_gy (NXWCLIENT ps)
void command_yell (NXWCLIENT ps)
void target_squelch (NXWCLIENT ps, P_TARGET t)
void command_squelch (NXWCLIENT ps)
void command_spawnkill (NXWCLIENT ps)
void command_stats (NXWCLIENT ps)
void command_options (NXWCLIENT ps)
void command_gotocur (NXWCLIENT ps)
void command_gmtransfer (NXWCLIENT ps)
void command_who (NXWCLIENT ps)
void command_gms (NXWCLIENT ps)
void command_regspawnall (NXWCLIENT ps)
void command_sysm (NXWCLIENT ps)
void target_jail (NXWCLIENT ps, P_TARGET t)
void command_jail (NXWCLIENT ps)
void command_setGmMoveEff (NXWCLIENT ps)
void command_password (NXWCLIENT ps)
void target_tele (NXWCLIENT ps, P_TARGET t)
void target_remove (NXWCLIENT ps, P_TARGET t)
void target_dye (NXWCLIENT ps, P_TARGET t)
void command_dye (NXWCLIENT ps)
void target_newz (NXWCLIENT ps, P_TARGET t)
void command_newz (NXWCLIENT ps)
void target_setid (NXWCLIENT ps, P_TARGET t)
void target_spy (NXWCLIENT ps, P_TARGET t)
void target_ban (NXWCLIENT ps, P_TARGET t)
void target_emptypack (NXWCLIENT ps, P_TARGET t)
void target_possess (NXWCLIENT ps, P_TARGET t)
void target_hide (NXWCLIENT ps, P_TARGET t)
void target_unhide (NXWCLIENT ps, P_TARGET t)
void target_fullstats (NXWCLIENT ps, P_TARGET t)
void target_heal (NXWCLIENT ps, P_TARGET t)
void target_mana (NXWCLIENT ps, P_TARGET t)
void target_stamina (NXWCLIENT ps, P_TARGET t)
void target_tiledata (NXWCLIENT ps, P_TARGET t)
void target_freeze (NXWCLIENT ps, P_TARGET t)
void target_unfreeze (NXWCLIENT ps, P_TARGET t)
void target_setamount (NXWCLIENT ps, P_TARGET t)
void target_npcaction (NXWCLIENT ps, P_TARGET t)
void target_kick (NXWCLIENT ps, P_TARGET t)
void target_kill (NXWCLIENT ps, P_TARGET t)
void target_bolt (NXWCLIENT ps, P_TARGET t)
void target_resurrect (NXWCLIENT ps, P_TARGET t)
void target_killhair (NXWCLIENT ps, P_TARGET t)
void target_killbeard (NXWCLIENT ps, P_TARGET t)
void target_makegm (NXWCLIENT ps, P_TARGET t)
void target_makecns (NXWCLIENT ps, P_TARGET t)
void target_xbank (NXWCLIENT ps, P_TARGET t)
void target_xsbank (NXWCLIENT ps, P_TARGET t)
void target_release (NXWCLIENT ps, P_TARGET t)
void target_title (NXWCLIENT ps, P_TARGET t)

Function Documentation

void command_action NXWCLIENT    ps
 

(h) Preform an animated action sequence.

void command_add NXWCLIENT    ps
 

(h h) Adds a new item, or opens the GM menu if no hex codes are specified.

void command_additem NXWCLIENT    ps
 

void command_addnpc NXWCLIENT    ps
 

void command_addx NXWCLIENT    ps
 

(h h) Adds a new item to your current location.

void command_allmoveoff NXWCLIENT    ps
 

void command_allmoveon NXWCLIENT    ps
 

void command_appetite NXWCLIENT    ps
 

Shows character appetite.

void command_blt2 NXWCLIENT    ps
 

void command_bounty NXWCLIENT    ps
 

void command_brightlight NXWCLIENT    ps
 

void command_cclear NXWCLIENT    ps
 

void command_cfg NXWCLIENT    ps
 

(text) Renames any dynamic item in the game.

void command_clear NXWCLIENT    ps
 

For Counselor's and GM's, removes current call from queue.

void command_cnext NXWCLIENT    ps
 

void command_command NXWCLIENT    ps
 

void command_cq NXWCLIENT    ps
 

void command_darklight NXWCLIENT    ps
 

void command_decay NXWCLIENT    ps
 

void command_disconnect NXWCLIENT    ps
 

void command_dry NXWCLIENT    ps
 

void command_dungeonlight NXWCLIENT    ps
 

void command_dupe NXWCLIENT    ps
 

void command_dye NXWCLIENT    ps
 

void command_fix NXWCLIENT    ps
 

Try to compensate for messed up Z coordinates. Use this if you find yourself half-embedded in the ground.

void command_gcollect NXWCLIENT    ps
 

void command_gmmenu NXWCLIENT    ps
 

void command_gms NXWCLIENT    ps
 

void command_gmtransfer NXWCLIENT    ps
 

void command_go NXWCLIENT    ps
 

(d d d) Go to the specified X/Y/Z coordinates

void command_gochar NXWCLIENT    ps
 

(h h h h) Teleports you to another character.

void command_goplace NXWCLIENT    ps
 

(d) Teleports you to a location from the LOCATIONS.SCP file.

void command_gotocur NXWCLIENT    ps
 

void command_gpost NXWCLIENT    ps
 

void command_guardsoff NXWCLIENT    ps
 

void command_guardson NXWCLIENT    ps
 

void command_gy NXWCLIENT    ps
 

void command_hidehs NXWCLIENT    ps
 

void command_invul NXWCLIENT    ps
 

void command_itemmenu NXWCLIENT    ps
 

void command_jail NXWCLIENT    ps
 

void command_light NXWCLIENT    ps
 

void command_loaddefaults NXWCLIENT    ps
 

void command_lpost NXWCLIENT    ps
 

void command_midi NXWCLIENT    ps
 

void command_minecheck NXWCLIENT    ps
 

void command_newz NXWCLIENT    ps
 

void command_next NXWCLIENT    ps
 

For Counselors or GM's, goes to next call in queue.

void command_nodecay NXWCLIENT    ps
 

void command_noinvul NXWCLIENT    ps
 

void command_options NXWCLIENT    ps
 

void command_password NXWCLIENT    ps
 

void command_pdump NXWCLIENT    ps
 

void command_playerlist NXWCLIENT    ps
 

void command_poly NXWCLIENT    ps
 

(h h) Polymorph yourself into any other creature.

void command_post NXWCLIENT    ps
 

void command_q NXWCLIENT    ps
 

Shows the GM or Counsellor queue.

void command_rain NXWCLIENT    ps
 

void command_readaccounts NXWCLIENT    ps
 

void command_regedit NXWCLIENT    ps
 

void command_regspawn NXWCLIENT    ps
 

void command_regspawnall NXWCLIENT    ps
 

void command_regspawnmax NXWCLIENT    ps
 

void command_reloadracescript NXWCLIENT    ps
 

void command_reloadserver NXWCLIENT    ps
 

void command_rename NXWCLIENT    ps
 

(text) Renames any dynamic object in the game.

void command_resend NXWCLIENT    ps
 

Resends server data to client.

void command_respawn NXWCLIENT    ps
 

void command_restock NXWCLIENT    ps
 

void command_restockall NXWCLIENT    ps
 

void command_rpost NXWCLIENT    ps
 

void command_save NXWCLIENT    ps
 

Saves the current world data into NXWITEMS.WSC and NXWCHARS.WSC.

void command_secondsperuominute NXWCLIENT    ps
 

void command_serversleep NXWCLIENT    ps
 

void command_set NXWCLIENT    ps
 

void command_setGmMoveEff NXWCLIENT    ps
 

void command_setmurder NXWCLIENT    ps
 

void command_setpriv NXWCLIENT    ps
 

void command_setseason NXWCLIENT    ps
 

void command_setshoprestockrate NXWCLIENT    ps
 

void command_settime NXWCLIENT    ps
 

void command_sfx NXWCLIENT    ps
 

void command_showhs NXWCLIENT    ps
 

void command_showids NXWCLIENT    ps
 

Display the serial number of every item on your screen.

void command_showtime NXWCLIENT    ps
 

void command_shutdown NXWCLIENT    ps
 

void command_skills NXWCLIENT    ps
 

void command_skin NXWCLIENT    ps
 

void command_snow NXWCLIENT    ps
 

void command_spawnkill NXWCLIENT    ps
 

void command_squelch NXWCLIENT    ps
 

void command_stats NXWCLIENT    ps
 

void command_sysm NXWCLIENT    ps
 

void command_teleport NXWCLIENT    ps
 

Teleport a client.

void command_tell NXWCLIENT    ps
 

void command_temp NXWCLIENT    ps
 

void command_tweak NXWCLIENT    ps
 

void command_web NXWCLIENT    ps
 

void command_where NXWCLIENT    ps
 

Prints your current coordinates + region.

void command_who NXWCLIENT    ps
 

void command_xgoplace NXWCLIENT    ps
 

(d) Send another character to a location in your LOCATIONS.SCP file.

void command_xtele NXWCLIENT    ps
 

Teleport a player to your position.

void command_yell NXWCLIENT    ps
 

void command_zerokills NXWCLIENT    ps
 

Sets all PK counters to 0.

Todo:
This function is commented out. Should be wrote or deleted.

void menu_additem P_MENU    menu,
NXWCLIENT    ps,
SERIAL    button
 

void target_additem NXWCLIENT    ps,
P_TARGET    t
 

void target_addNpc NXWCLIENT    ps,
P_TARGET    t
 

void target_addTarget NXWCLIENT    ps,
P_TARGET    t