ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/commands.C
(Generate patch)

Comparing deliantra/server/server/commands.C (file contents):
Revision 1.39 by pippijn, Fri Mar 2 12:14:57 2007 UTC vs.
Revision 1.45 by root, Wed Apr 18 18:03:18 2007 UTC

52 {"drop", command_drop, 1.0}, 52 {"drop", command_drop, 1.0},
53 {"dropall", command_dropall, 1.0}, 53 {"dropall", command_dropall, 1.0},
54 {"examine", command_examine, 0.5}, 54 {"examine", command_examine, 0.5},
55 {"fix_me", command_fix_me, 0.0}, 55 {"fix_me", command_fix_me, 0.0},
56 {"get", command_take, 1.0}, 56 {"get", command_take, 1.0},
57 {"help", command_help, 0.0},
58 {"hiscore", command_hiscore, 0.0}, 57 {"hiscore", command_hiscore, 0.0},
59 {"inventory", command_inventory, 0.0}, 58 {"inventory", command_inventory, 0.0},
60 {"invoke", command_invoke, 1.0}, 59 {"invoke", command_invoke, 1.0},
61 {"killpets", command_kill_pets, 0.0}, 60 {"killpets", command_kill_pets, 0.0},
62 {"logs", command_logs, 0.0}, 61 {"logs", command_logs, 0.0},
104 */ 103 */
105CommArray_s WizCommands[] = { 104CommArray_s WizCommands[] = {
106 {"abil", command_abil, 0.0}, 105 {"abil", command_abil, 0.0},
107 {"addexp", command_addexp, 0.0}, 106 {"addexp", command_addexp, 0.0},
108 {"arrest", command_arrest, 0.0}, 107 {"arrest", command_arrest, 0.0},
109 {"banish", command_banish, 0.0},
110 {"create", command_create, 0.0}, 108 {"create", command_create, 0.0},
111 {"debug", command_debug, 0.0}, 109 {"debug", command_debug, 0.0},
112 {"dump", command_dump, 0.0}, 110 {"dump", command_dump, 0.0},
113 {"dumpbelow", command_dumpbelow, 0.0}, 111 {"dumpbelow", command_dumpbelow, 0.0},
114 {"dumpfriendlyobjects", command_dumpfriendlyobjects, 0.0}, 112 {"dumpfriendlyobjects", command_dumpfriendlyobjects, 0.0},
116 {"free", command_free, 0.0}, 114 {"free", command_free, 0.0},
117 {"freeze", command_freeze, 0.0}, 115 {"freeze", command_freeze, 0.0},
118 {"hide", command_hide, 0.0}, 116 {"hide", command_hide, 0.0},
119 {"insert_into", command_insert_into, 0.0}, 117 {"insert_into", command_insert_into, 0.0},
120 {"invisible", command_invisible, 0.0}, 118 {"invisible", command_invisible, 0.0},
121 {"kick", command_kick, 0.0},
122 {"learn_special_prayer", command_learn_special_prayer, 0.0}, 119 {"learn_special_prayer", command_learn_special_prayer, 0.0},
123 {"learn_spell", command_learn_spell, 0.0}, 120 {"learn_spell", command_learn_spell, 0.0},
124#ifdef DEBUG_MALLOC_LEVEL 121#ifdef DEBUG_MALLOC_LEVEL
125 {"verify", command_malloc_verify, 0.0}, 122 {"verify", command_malloc_verify, 0.0},
126#endif 123#endif
130 {"nodm", command_nowiz, 0.0}, 127 {"nodm", command_nowiz, 0.0},
131 {"nowiz", command_nowiz, 0.0}, 128 {"nowiz", command_nowiz, 0.0},
132 {"patch", command_patch, 0.0}, 129 {"patch", command_patch, 0.0},
133 {"remove", command_remove, 0.0}, 130 {"remove", command_remove, 0.0},
134 {"set_god", command_setgod, 0.0}, 131 {"set_god", command_setgod, 0.0},
135 {"shutdown", command_shutdown, 0.0},
136 {"stack_clear", command_stack_clear, 0.0}, 132 {"stack_clear", command_stack_clear, 0.0},
137 {"stack_list", command_stack_list, 0.0}, 133 {"stack_list", command_stack_list, 0.0},
138 {"stack_pop", command_stack_pop, 0.0}, 134 {"stack_pop", command_stack_pop, 0.0},
139 {"stack_push", command_stack_push, 0.0}, 135 {"stack_push", command_stack_push, 0.0},
140 {"stats", command_stats, 0.0}, 136 {"stats", command_stats, 0.0},
141 {"summon", command_summon, 0.0}, 137 {"summon", command_summon, 0.0},
142 //{"overlay_save", command_save_overlay, 0.0}, 138 //{"overlay_save", command_save_overlay, 0.0},
143
144/* {"possess", command_possess, 0.0}, */
145 {"mon_aggr", command_mon_aggr, 0.0},
146}; 139};
147const int WizCommandsSize = sizeof (WizCommands) / sizeof (CommArray_s); 140const int WizCommandsSize = sizeof (WizCommands) / sizeof (CommArray_s);
148 141
149/* Socket commands - these should really do nothing more than output things 142/* Socket commands - these should really do nothing more than output things
150 * to the various players/sockets. 143 * to the various players/sockets.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines