Commit graph

69 commits

Author SHA1 Message Date
Fredi
928ea2bdcf [6810] Added new command: .sendmoney player "subject" "message" money - Sends a mail with money to a player
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-09 11:21:13 +03:00
VladimirMangos
ad59efb6d9 [2008_11_09_01_mangos_command.sql] Create new command .senditems and remove from moderator level command .sendmail possibility send items. 2008-11-09 11:01:41 +03:00
dythzer
acf6f5d5ce Added new command: .modify gender male/female - Turns selected player into a male or female
No relog needed

Signed-off-by: dythzer <micke223@gmail.com>

Add help and mangos strings. Allow accept partly types male/female arg values.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-01 06:35:41 +03:00
dythzer
eb97c9e717 [2008_10_31_02_mangos_mangos_string.sql 2008_10_31_03_mangos_command.sql] Added new command: .npc tame - Creates a pet of the selected creature.
Works for all classes, not only hunter. Pet also saved in DB.

Signed-off-by: dythzer <micke223@gmail.com>

Command renamed to .npc tame and code updated to use common function with spell effect.
Targeted creature not killed and tamed pet show up before player.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-01 03:24:05 +03:00
VladimirMangos
83f034ae5d Some command handlers renames and declaration sorting. 2008-10-30 05:14:14 +03:00
dythzer
569032d907 [2008_10_29_04_mangos_mangos_string.sql 2008_10_29_05_mangos_command.sql] Added new command: .npc follow - Makes the selected NPC follow you around like a pet
Signed-off-by: dythzer <micke223@gmail.com>

* Also implement .npc unfollow for cancel following.
* Help and mangos strings.
* Unrelated small fixes in mangos.sql.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-29 22:50:19 +03:00
dythzer
67779b76b7 [2008_10_29_01_mangos_string.sql 2008_10_29_02_mangos_command.sql] Added new command: .waterwalk on/off - disable or enable waterwalk mode
for selected player

Signed-off-by: dythzer <micke223@gmail.com>

Add help text and mangos strings.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-29 17:02:23 +03:00
dythzer
e98a123027 Added new command: .repairitems - repairs all items of selected player
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-28 15:34:32 +03:00
VladimirMangos
6169f57ab9 Simplify check requirement report command results to target and output command user name.
* Provided ChatHandler::GetName for player name/"console command" output dependent from chat/console command call.
* New function for check when command work result send to command target.
* Remove unrequired complexy in mangos string usage in some commands.
2008-10-28 14:55:17 +03:00
VladimirMangos
58bc947ef9 Fixed subcommands list output at console. 2008-10-28 10:14:05 +03:00
VladimirMangos
9e6390d88d Load npc_options at server startup, use cached data at creature gossip menu init.
Also new .reload table command added. Note: currently it will not affect creatures that have gossim memu created at command use moment.
2008-10-27 16:43:31 +03:00
VladimirMangos
6f190fedd4 Output DB/ScriptLib versions in ".server info" command.
Required support by used scripting library.
2008-10-26 16:29:39 +03:00
VladimirMangos
89893215e5 Finish review/fix commands appropriate for console. Allow call 'help' command without args. 2008-10-23 20:44:30 +04:00
VladimirMangos
b10349a737 [sql/updates/2008_10_22_02_mangos_mangos_string.sql] Allow use in console .event/.reload/.lookup/.list (some)/.guild (some) subcommands. 2008-10-23 03:07:22 +04:00
VladimirMangos
15b085dc6d Show not available command with available subcommands in 'help' and 'commands' output.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-22 15:30:16 +04:00
VladimirMangos
6892cc3d2c [sql/updates/2008_10_21_03_mangos_command.sql]
slit ban/baninfi/banlist/unban commands to subcommands (this allow write not full subcomand string ".ban acc ...".
Fixed crash at unexpected use .account in console.
Fixed hide .gm on by .gm online (renamed to .gm ingame)
2008-10-22 00:51:49 +04:00
VladimirMangos
26dc8c07ab * [2008_10_21_01_mangos_mangos_string.sql,2008_10_21_02_mangos_command.sql] Merge CLI command proccessing to chat command proccessing.
Now console/RA uas same commads as used in chat if selected command marked as safe for console.
 Some commands accessable only at console and have security level 4. See sql update for new command names.
 Not all commands that safe (or can be modified to safe) for console allowed currently for use in console input, this will be fixed later.
2008-10-21 08:05:21 +04:00
VladimirMangos
3c83482679 * Fixed: restore show subcommands for .help <command> if any. 2008-10-20 12:28:39 +04:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00