Browse Source

Simple cleanup
- removed atcommands @w, @server_date/time, @red, @happyhappyjoyjoy, @shuffle
- synced gm level of @jailfor, @charjailtime, @npcmove, @chardropall, @charstoreall, @send, @mute, @changelook, @exp and @nuke
- added conf entries for @whozeny, @kamic, @tonpc, @petid, @identify, @adopt, @trade, @changelook, @send
- reorganized the atcommand_athena.conf file a bit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9731 54d463be-8e91-2dee-dedb-b68131a5f0ec

ultramage 18 years ago
parent
commit
13014280f0
4 changed files with 66 additions and 116 deletions
  1. 9 0
      Changelog-Trunk.txt
  2. 39 16
      conf-tmpl/atcommand_athena.conf
  3. 18 98
      src/map/atcommand.c
  4. 0 2
      src/map/atcommand.h

+ 9 - 0
Changelog-Trunk.txt

@@ -4,7 +4,16 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 
 2007/01/27
 2007/01/27
+	* Simple cleanup
+	- removed atcommands @w, @server_date/time, @red, @happyhappyjoyjoy, @shuffle
+	- synced gm level of @jailfor, @charjailtime, @npcmove, @chardropall,
+	  @charstoreall, @send, @mute, @changelook, @exp and @nuke
+	- added conf entries for @whozeny, @kamic, @tonpc, @petid, @identify, @adopt,
+	  @trade, @changelook, @send
+	- reorganized the atcommand_athena.conf file a bit
 	* Corrected indentation of the atcommand table (editor compatibility)
 	* Corrected indentation of the atcommand table (editor compatibility)
+	* BEGIN atcommand cleanup process
+	  (according to http://www.eathena.ws/board/index.php?showtopic=111996)
 	* Fixed a C language restriction preventing compilation [ultramage]
 	* Fixed a C language restriction preventing compilation [ultramage]
 2007/01/26
 2007/01/26
 	* Removed all those useless read-from-GRF features noone would ever use,
 	* Removed all those useless read-from-GRF features noone would ever use,

+ 39 - 16
conf-tmpl/atcommand_athena.conf

@@ -83,9 +83,7 @@ refresh: 1
 // Give server time. (6 same commands)
 // Give server time. (6 same commands)
 time: 1
 time: 1
 date: 1
 date: 1
-server_date: 1
 serverdate: 1
 serverdate: 1
-server_time: 1
 servertime: 1
 servertime: 1
 
 
 // Displays SVN version of the server.
 // Displays SVN version of the server.
@@ -234,6 +232,9 @@ whomap3: 20
 // Like @who+@who2+who3, but only for GM.
 // Like @who+@who2+who3, but only for GM.
 whogm: 20
 whogm: 20
 
 
+// Displays a sorted list of the ammount of zeny each conected player has at hand.
+whozeny: 20
+
 // Change your appearence to other players to a mob.
 // Change your appearence to other players to a mob.
 disguise: 20
 disguise: 20
 
 
@@ -265,12 +266,12 @@ broadcast: 40
 // Broadcast to the map you are on (1 command + /lb, /nlb).
 // Broadcast to the map you are on (1 command + /lb, /nlb).
 localbroadcast: 40
 localbroadcast: 40
 
 
-// Broadcast (with or without name).
+// Broadcast (with or without name)
 kami: 40
 kami: 40
+// Same as kami but with blue color
 kamib: 40
 kamib: 40
-
-// Enables you to go to a certain map, at (x,y) coordinates. (@mapmove + /mm or /mapmove)
-mapmove: 40
+// Same as kami but you can choose the color (uses different packet)
+kamic: 40
 
 
 // Enables GVG on a map (2 same commands).
 // Enables GVG on a map (2 same commands).
 gvgon: 40
 gvgon: 40
@@ -297,6 +298,9 @@ jump: 40
 return: 40
 return: 40
 load: 40
 load: 40
 
 
+// Warps you to a specific npc
+tonpc: 40
+
 // Enables lost skills.
 // Enables lost skills.
 lostskill: 40
 lostskill: 40
 
 
@@ -306,6 +310,9 @@ memo: 40
 // Set your character display options. (Visual effects of your character)
 // Set your character display options. (Visual effects of your character)
 option: 40
 option: 40
 
 
+// Search the pet db for matching entries
+petid: 40
+
 // Sets the level of intemecy of your pet.
 // Sets the level of intemecy of your pet.
 petfriendly: 40
 petfriendly: 40
 
 
@@ -329,6 +336,7 @@ charspeed: 40
 spiritball: 40
 spiritball: 40
 
 
 // Warp yourself to a certain map, at (x,y) coordinates (2 same commands).
 // Warp yourself to a certain map, at (x,y) coordinates (2 same commands).
+mapmove: 40 // (also /mm or /mapmove)
 rura: 40
 rura: 40
 warp: 40
 warp: 40
 
 
@@ -368,6 +376,9 @@ effect: 40
 // Display all items of a player's cart
 // Display all items of a player's cart
 charcartlist: 40
 charcartlist: 40
 
 
+// GM's magnifier
+identify: 40
+
 // drop all your items
 // drop all your items
 dropall: 40
 dropall: 40
 
 
@@ -386,10 +397,13 @@ useskill: 40
 // What skills are required to get this skill
 // What skills are required to get this skill
 skilltree: 40
 skilltree: 40
 
 
-// Marriage skills
+// Marriage commands
 marry: 40
 marry: 40
 divorce: 40
 divorce: 40
 
 
+// Adopt a novice into a family
+adopt: 40
+
 // make another player killable
 // make another player killable
 charkillable: 40
 charkillable: 40
 
 
@@ -518,9 +532,7 @@ reviveid: 60
 reviveid2: 60
 reviveid2: 60
 
 
 // Warp another person to a certain map, at (x,y) coordinates (2 same commands).
 // Warp another person to a certain map, at (x,y) coordinates (2 same commands).
-rura+: 60
 charwarp: 60
 charwarp: 60
-shuffle: 60
 
 
 // Change Status of your character
 // Change Status of your character
 str: 60
 str: 60
@@ -611,14 +623,20 @@ chardropall: 60
 // put a players possessions in storage
 // put a players possessions in storage
 charstoreall: 60
 charstoreall: 60
 
 
-//Homunculus commands for gms
+// open a trade window with any player
+trade: 60
+
+// changes the player's appearance (headgear)
+changelook: 60
+
+// Homunculus commands for gms
 homlvup: 60
 homlvup: 60
 homevolution: 60
 homevolution: 60
 makehomun: 60
 makehomun: 60
 homfriendly: 60
 homfriendly: 60
 homhungry: 60
 homhungry: 60
 
 
-//Re-calculates stats, as if the homun was sent back to level 1 and re-leveled
+// Re-calculates stats, as if the homun was sent back to level 1 and re-leveled
 homshuffle: 60
 homshuffle: 60
 
 
 //----------------------
 //----------------------
@@ -666,6 +684,9 @@ skillon: 80
 // turn skills off for a map
 // turn skills off for a map
 skilloff: 80
 skilloff: 80
 
 
+// Mute a player (prevents talking, usage of skills and commands)
+mute: 80
+
 // Unmute a player
 // Unmute a player
 unmute: 80
 unmute: 80
 
 
@@ -678,12 +699,15 @@ kickall: 99
 // Closes Map-Server
 // Closes Map-Server
 mapexit: 99
 mapexit: 99
 
 
-// Give information about terrain/area (debug function)
-gat: 99
+// Used for testing packet sends from the client (debug function)
+send: 99
 
 
 // Enables debugging
 // Enables debugging
 packet: 99
 packet: 99
 
 
+// Give information about terrain/area (debug function)
+gat: 99
+
 // Allows viewing/changing the map's water level (debug function)
 // Allows viewing/changing the map's water level (debug function)
 // NOTE: Requires access to the .grf files since the map height properties are not stored in the map cache.
 // NOTE: Requires access to the .grf files since the map height properties are not stored in the map cache.
 waterlevel: 99
 waterlevel: 99
@@ -742,12 +766,11 @@ adjcmdlvl: 99
 disguiseall: 99
 disguiseall: 99
 undisguiseall: 99
 undisguiseall: 99
 
 
-// Mute player (admin command)
-mute: 99
+// Mutes every player on screen (admin command)
 mutearea: 99
 mutearea: 99
 stfu: 99
 stfu: 99
 
 
-// Makes you inmune to attacks (monsters/players/skills cannot target/hit you, admin command)
+// Makes you immune to attacks (monsters/players/skills cannot target/hit you, admin command)
 monsterignore: 99
 monsterignore: 99
 battleignore: 99
 battleignore: 99
 
 

+ 18 - 98
src/map/atcommand.c

@@ -60,7 +60,6 @@ ACMD_FUNC(whomap2);
 ACMD_FUNC(whomap3);
 ACMD_FUNC(whomap3);
 ACMD_FUNC(whogm); // by Yor
 ACMD_FUNC(whogm); // by Yor
 ACMD_FUNC(whozeny); // [Valaris]
 ACMD_FUNC(whozeny); // [Valaris]
-ACMD_FUNC(happyhappyjoyjoy); // [Valaris]
 ACMD_FUNC(save);
 ACMD_FUNC(save);
 ACMD_FUNC(load);
 ACMD_FUNC(load);
 ACMD_FUNC(speed);
 ACMD_FUNC(speed);
@@ -270,7 +269,6 @@ ACMD_FUNC(adopt); // by Veider
 ACMD_FUNC(version); // by Ancyker
 ACMD_FUNC(version); // by Ancyker
 
 
 ACMD_FUNC(mutearea); // by MouseJstr
 ACMD_FUNC(mutearea); // by MouseJstr
-ACMD_FUNC(shuffle); // by MouseJstr
 ACMD_FUNC(rates); // by MouseJstr
 ACMD_FUNC(rates); // by MouseJstr
 
 
 ACMD_FUNC(iteminfo); // Lupus
 ACMD_FUNC(iteminfo); // Lupus
@@ -325,6 +323,7 @@ ACMD_FUNC(showmobs); //KarLaeda
 static AtCommandInfo atcommand_info[] = {
 static AtCommandInfo atcommand_info[] = {
 	{ AtCommand_Rura,               "@rura",            40, atcommand_rura },
 	{ AtCommand_Rura,               "@rura",            40, atcommand_rura },
 	{ AtCommand_Warp,               "@warp",            40, atcommand_rura },
 	{ AtCommand_Warp,               "@warp",            40, atcommand_rura },
+	{ AtCommand_MapMove,            "@mapmove",         40, atcommand_rura }, // /mm command
 	{ AtCommand_Where,              "@where",            1, atcommand_where },
 	{ AtCommand_Where,              "@where",            1, atcommand_where },
 	{ AtCommand_JumpTo,             "@jumpto",          20, atcommand_jumpto }, // + /shift
 	{ AtCommand_JumpTo,             "@jumpto",          20, atcommand_jumpto }, // + /shift
 	{ AtCommand_JumpTo,             "@warpto",          20, atcommand_jumpto },
 	{ AtCommand_JumpTo,             "@warpto",          20, atcommand_jumpto },
@@ -332,7 +331,6 @@ static AtCommandInfo atcommand_info[] = {
 	{ AtCommand_Jump,               "@jump",            40, atcommand_jump },
 	{ AtCommand_Jump,               "@jump",            40, atcommand_jump },
 	{ AtCommand_Who,                "@who",             20, atcommand_who },
 	{ AtCommand_Who,                "@who",             20, atcommand_who },
 	{ AtCommand_Who,                "@whois",           20, atcommand_who },
 	{ AtCommand_Who,                "@whois",           20, atcommand_who },
-	{ AtCommand_Who,                "@w",               20, atcommand_who },
 	{ AtCommand_Who2,               "@who2",            20, atcommand_who2 },
 	{ AtCommand_Who2,               "@who2",            20, atcommand_who2 },
 	{ AtCommand_Who3,               "@who3",            20, atcommand_who3 },
 	{ AtCommand_Who3,               "@who3",            20, atcommand_who3 },
 	{ AtCommand_WhoMap,             "@whomap",          20, atcommand_whomap },
 	{ AtCommand_WhoMap,             "@whomap",          20, atcommand_whomap },
@@ -431,7 +429,6 @@ static AtCommandInfo atcommand_info[] = {
 	{ AtCommand_AgitEnd,            "@agitend",         60, atcommand_agitend },
 	{ AtCommand_AgitEnd,            "@agitend",         60, atcommand_agitend },
 	{ AtCommand_MapExit,            "@mapexit",         99, atcommand_mapexit },
 	{ AtCommand_MapExit,            "@mapexit",         99, atcommand_mapexit },
 	{ AtCommand_IDSearch,           "@idsearch",        60, atcommand_idsearch },
 	{ AtCommand_IDSearch,           "@idsearch",        60, atcommand_idsearch },
-	{ AtCommand_MapMove,            "@mapmove",         40, atcommand_rura }, // /mm command
 	{ AtCommand_Broadcast,          "@broadcast",       40, atcommand_broadcast }, // /b and /nb command
 	{ AtCommand_Broadcast,          "@broadcast",       40, atcommand_broadcast }, // /b and /nb command
 	{ AtCommand_LocalBroadcast,     "@localbroadcast",  40, atcommand_localbroadcast }, // /lb and /nlb command
 	{ AtCommand_LocalBroadcast,     "@localbroadcast",  40, atcommand_localbroadcast }, // /lb and /nlb command
 	{ AtCommand_RecallAll,          "@recallall",       80, atcommand_recallall },
 	{ AtCommand_RecallAll,          "@recallall",       80, atcommand_recallall },
@@ -482,17 +479,15 @@ static AtCommandInfo atcommand_info[] = {
 	{ AtCommand_Unloadnpc,          "@unloadnpc",       80, atcommand_unloadnpc }, // []
 	{ AtCommand_Unloadnpc,          "@unloadnpc",       80, atcommand_unloadnpc }, // []
 	{ AtCommand_ServerTime,         "@time",             1, atcommand_servertime }, // by Yor
 	{ AtCommand_ServerTime,         "@time",             1, atcommand_servertime }, // by Yor
 	{ AtCommand_ServerTime,         "@date",             1, atcommand_servertime }, // by Yor
 	{ AtCommand_ServerTime,         "@date",             1, atcommand_servertime }, // by Yor
-	{ AtCommand_ServerTime,         "@server_date",      1, atcommand_servertime }, // by Yor
 	{ AtCommand_ServerTime,         "@serverdate",       1, atcommand_servertime }, // by Yor
 	{ AtCommand_ServerTime,         "@serverdate",       1, atcommand_servertime }, // by Yor
-	{ AtCommand_ServerTime,         "@server_time",      1, atcommand_servertime }, // by Yor
 	{ AtCommand_ServerTime,         "@servertime",       1, atcommand_servertime }, // by Yor
 	{ AtCommand_ServerTime,         "@servertime",       1, atcommand_servertime }, // by Yor
 	{ AtCommand_CharDelItem,        "@chardelitem",     60, atcommand_chardelitem }, // by Yor
 	{ AtCommand_CharDelItem,        "@chardelitem",     60, atcommand_chardelitem }, // by Yor
 	{ AtCommand_Jail,               "@jail",            60, atcommand_jail }, // by Yor
 	{ AtCommand_Jail,               "@jail",            60, atcommand_jail }, // by Yor
 	{ AtCommand_UnJail,             "@unjail",          60, atcommand_unjail }, // by Yor
 	{ AtCommand_UnJail,             "@unjail",          60, atcommand_unjail }, // by Yor
 	{ AtCommand_UnJail,             "@discharge",       60, atcommand_unjail }, // by Yor
 	{ AtCommand_UnJail,             "@discharge",       60, atcommand_unjail }, // by Yor
-	{ AtCommand_JailFor,            "@jailfor",         20, atcommand_jailfor }, //Meruru
-	{ AtCommand_JailTime,           "@jailtime",        1, atcommand_jailtime }, //Change this to 0 in atcommand_conf.txt if you want it accessible to players (you most likely will ;))
-	{ AtCommand_CharJailTime,       "@charjailtime",    20, atcommand_charjailtime },
+	{ AtCommand_JailFor,            "@jailfor",         60, atcommand_jailfor }, //Meruru
+	{ AtCommand_JailTime,           "@jailtime",         1, atcommand_jailtime },
+	{ AtCommand_CharJailTime,       "@charjailtime",    60, atcommand_charjailtime },
 	{ AtCommand_Disguise,           "@disguise",        20, atcommand_disguise }, // [Valaris]
 	{ AtCommand_Disguise,           "@disguise",        20, atcommand_disguise }, // [Valaris]
 	{ AtCommand_UnDisguise,         "@undisguise",      20, atcommand_undisguise }, // by Yor
 	{ AtCommand_UnDisguise,         "@undisguise",      20, atcommand_undisguise }, // by Yor
 	{ AtCommand_CharDisguise,       "@chardisguise",    60, atcommand_chardisguise }, // Kalaspuff
 	{ AtCommand_CharDisguise,       "@chardisguise",    60, atcommand_chardisguise }, // Kalaspuff
@@ -505,13 +500,13 @@ static AtCommandInfo atcommand_info[] = {
 	{ AtCommand_SkillOn,            "@skillon",         80, atcommand_skillon }, // by MouseJstr
 	{ AtCommand_SkillOn,            "@skillon",         80, atcommand_skillon }, // by MouseJstr
 	{ AtCommand_SkillOff,           "@skilloff",        80, atcommand_skilloff }, // by MouseJstr
 	{ AtCommand_SkillOff,           "@skilloff",        80, atcommand_skilloff }, // by MouseJstr
 	{ AtCommand_Killer,             "@killer",          60, atcommand_killer }, // by MouseJstr
 	{ AtCommand_Killer,             "@killer",          60, atcommand_killer }, // by MouseJstr
-	{ AtCommand_NpcMove,            "@npcmove",         20, atcommand_npcmove }, // by MouseJstr
+	{ AtCommand_NpcMove,            "@npcmove",         80, atcommand_npcmove }, // by MouseJstr
 	{ AtCommand_Killable,           "@killable",        40, atcommand_killable }, // by MouseJstr
 	{ AtCommand_Killable,           "@killable",        40, atcommand_killable }, // by MouseJstr
 	{ AtCommand_CharKillable,       "@charkillable",    40, atcommand_charkillable }, // by MouseJstr
 	{ AtCommand_CharKillable,       "@charkillable",    40, atcommand_charkillable }, // by MouseJstr
 	{ AtCommand_Dropall,            "@dropall",         40, atcommand_dropall }, // MouseJstr
 	{ AtCommand_Dropall,            "@dropall",         40, atcommand_dropall }, // MouseJstr
-	{ AtCommand_Chardropall,        "@chardropall",     40, atcommand_chardropall }, // MouseJstr
+	{ AtCommand_Chardropall,        "@chardropall",     60, atcommand_chardropall }, // MouseJstr
 	{ AtCommand_Storeall,           "@storeall",        40, atcommand_storeall }, // MouseJstr
 	{ AtCommand_Storeall,           "@storeall",        40, atcommand_storeall }, // MouseJstr
-	{ AtCommand_Charstoreall,       "@charstoreall",    40, atcommand_charstoreall }, // MouseJstr
+	{ AtCommand_Charstoreall,       "@charstoreall",    60, atcommand_charstoreall }, // MouseJstr
 	{ AtCommand_Skillid,            "@skillid",         40, atcommand_skillid }, // MouseJstr
 	{ AtCommand_Skillid,            "@skillid",         40, atcommand_skillid }, // MouseJstr
 	{ AtCommand_Useskill,           "@useskill",        40, atcommand_useskill }, // MouseJstr
 	{ AtCommand_Useskill,           "@useskill",        40, atcommand_useskill }, // MouseJstr
 //	{ AtCommand_Rain,               "@rain",            99, atcommand_rain }, //Client no longer supports rain!
 //	{ AtCommand_Rain,               "@rain",            99, atcommand_rain }, //Client no longer supports rain!
@@ -526,17 +521,15 @@ static AtCommandInfo atcommand_info[] = {
 	{ AtCommand_AdjGmLvl,           "@adjgmlvl",        99, atcommand_adjgmlvl },
 	{ AtCommand_AdjGmLvl,           "@adjgmlvl",        99, atcommand_adjgmlvl },
 	{ AtCommand_AdjCmdLvl,          "@adjcmdlvl",       99, atcommand_adjcmdlvl },
 	{ AtCommand_AdjCmdLvl,          "@adjcmdlvl",       99, atcommand_adjcmdlvl },
 	{ AtCommand_Trade,              "@trade",           60, atcommand_trade },
 	{ AtCommand_Trade,              "@trade",           60, atcommand_trade },
-	{ AtCommand_Send,               "@send",            60, atcommand_send },
+	{ AtCommand_Send,               "@send",            99, atcommand_send },
 	{ AtCommand_SetBattleFlag,      "@setbattleflag",   99, atcommand_setbattleflag },
 	{ AtCommand_SetBattleFlag,      "@setbattleflag",   99, atcommand_setbattleflag },
 	{ AtCommand_UnMute,             "@unmute",          80, atcommand_unmute }, // [Valaris]
 	{ AtCommand_UnMute,             "@unmute",          80, atcommand_unmute }, // [Valaris]
 	{ AtCommand_Clearweather,       "@clearweather",    99, atcommand_clearweather }, // Dexity
 	{ AtCommand_Clearweather,       "@clearweather",    99, atcommand_clearweather }, // Dexity
 	{ AtCommand_UpTime,             "@uptime",           1, atcommand_uptime }, // by MC Cameri
 	{ AtCommand_UpTime,             "@uptime",           1, atcommand_uptime }, // by MC Cameri
-	{ AtCommand_ChangeSex,          "@changesex",       60, atcommand_changesex }, // by MC Cameri <- do we still need this? [Foruken] <- why not? [Skotlex]
-	{ AtCommand_Mute,               "@mute",            99, atcommand_mute }, // [celest]
-	{ AtCommand_Mute,               "@red",             99, atcommand_mute }, // [celest]
+	{ AtCommand_ChangeSex,          "@changesex",       60, atcommand_changesex }, // by MC Cameri
+	{ AtCommand_Mute,               "@mute",            80, atcommand_mute }, // [celest]
 	{ AtCommand_WhoZeny,            "@whozeny",         20, atcommand_whozeny }, // [Valaris]
 	{ AtCommand_WhoZeny,            "@whozeny",         20, atcommand_whozeny }, // [Valaris]
-	{ AtCommand_HappyHappyJoyJoy,   "@happyhappyjoyjoy",40, atcommand_happyhappyjoyjoy }, // [Valaris]
-	{ AtCommand_Refresh,             "@refresh",         1, atcommand_refresh }, // by MC Cameri
+	{ AtCommand_Refresh,            "@refresh",          1, atcommand_refresh }, // by MC Cameri
 	{ AtCommand_PetId,              "@petid",           40, atcommand_petid }, // by MC Cameri
 	{ AtCommand_PetId,              "@petid",           40, atcommand_petid }, // by MC Cameri
 	{ AtCommand_Identify,           "@identify",        40, atcommand_identify }, // by MC Cameri
 	{ AtCommand_Identify,           "@identify",        40, atcommand_identify }, // by MC Cameri
 	{ AtCommand_Gmotd,              "@gmotd",           20, atcommand_gmotd }, // Added by MC Cameri, created by davidsiaw
 	{ AtCommand_Gmotd,              "@gmotd",           20, atcommand_gmotd }, // Added by MC Cameri, created by davidsiaw
@@ -586,21 +579,21 @@ static AtCommandInfo atcommand_info[] = {
 	{ AtCommand_KillId2,            "@killid2",         60, atcommand_killid2 }, // [Dino9021]
 	{ AtCommand_KillId2,            "@killid2",         60, atcommand_killid2 }, // [Dino9021]
 	{ AtCommand_CharKillableId,     "@charkillableid",  40, atcommand_charkillableid }, // [Dino9021]
 	{ AtCommand_CharKillableId,     "@charkillableid",  40, atcommand_charkillableid }, // [Dino9021]
 	{ AtCommand_CharKillableId2,    "@charkillableid2", 40, atcommand_charkillableid2 }, // [Dino9021]
 	{ AtCommand_CharKillableId2,    "@charkillableid2", 40, atcommand_charkillableid2 }, // [Dino9021]
+
 	{ AtCommand_Sound,              "@sound",           40, atcommand_sound },
 	{ AtCommand_Sound,              "@sound",           40, atcommand_sound },
 	{ AtCommand_UndisguiseAll,      "@undisguiseall",   99, atcommand_undisguiseall },
 	{ AtCommand_UndisguiseAll,      "@undisguiseall",   99, atcommand_undisguiseall },
 	{ AtCommand_DisguiseAll,        "@disguiseall",     99, atcommand_disguiseall },
 	{ AtCommand_DisguiseAll,        "@disguiseall",     99, atcommand_disguiseall },
-	{ AtCommand_ChangeLook,         "@changelook",      99, atcommand_changelook },
+	{ AtCommand_ChangeLook,         "@changelook",      60, atcommand_changelook },
 	{ AtCommand_AutoLoot,           "@autoloot",        10, atcommand_autoloot }, // Upa-Kun
 	{ AtCommand_AutoLoot,           "@autoloot",        10, atcommand_autoloot }, // Upa-Kun
 	{ AtCommand_MobInfo,            "@mobinfo",          1, atcommand_mobinfo }, // [Lupus]
 	{ AtCommand_MobInfo,            "@mobinfo",          1, atcommand_mobinfo }, // [Lupus]
 	{ AtCommand_MobInfo,            "@monsterinfo",      1, atcommand_mobinfo }, // [Lupus]
 	{ AtCommand_MobInfo,            "@monsterinfo",      1, atcommand_mobinfo }, // [Lupus]
 	{ AtCommand_MobInfo,            "@mi",               1, atcommand_mobinfo }, // [Lupus]
 	{ AtCommand_MobInfo,            "@mi",               1, atcommand_mobinfo }, // [Lupus]
-	{ AtCommand_Exp,                "@exp",              0, atcommand_exp }, // [Skotlex]
+	{ AtCommand_Exp,                "@exp",              1, atcommand_exp }, // [Skotlex]
 	{ AtCommand_Adopt,              "@adopt",           40, atcommand_adopt }, // [Veider]
 	{ AtCommand_Adopt,              "@adopt",           40, atcommand_adopt }, // [Veider]
 	{ AtCommand_Version,            "@version",          1, atcommand_version },
 	{ AtCommand_Version,            "@version",          1, atcommand_version },
 
 
 	{ AtCommand_MuteArea,           "@mutearea",        99, atcommand_mutearea }, // MouseJstr
 	{ AtCommand_MuteArea,           "@mutearea",        99, atcommand_mutearea }, // MouseJstr
 	{ AtCommand_MuteArea,           "@stfu",            99, atcommand_mutearea }, // MouseJstr
 	{ AtCommand_MuteArea,           "@stfu",            99, atcommand_mutearea }, // MouseJstr
-	{ AtCommand_Shuffle,            "@shuffle",         40, atcommand_shuffle }, // MouseJstr
 	{ AtCommand_Rates,              "@rates",            1, atcommand_rates }, // MouseJstr
 	{ AtCommand_Rates,              "@rates",            1, atcommand_rates }, // MouseJstr
 
 
 	{ AtCommand_ItemInfo,           "@iteminfo",         1, atcommand_iteminfo }, // [Lupus]
 	{ AtCommand_ItemInfo,           "@iteminfo",         1, atcommand_iteminfo }, // [Lupus]
@@ -2063,31 +2056,6 @@ int atcommand_whozeny(
 	return 0;
 	return 0;
 }
 }
 
 
-
-// cause random emote on all online players [Valaris]
-int atcommand_happyhappyjoyjoy(
-	const int fd, struct map_session_data* sd,
-	const char* command, const char* message)
-{
-	struct map_session_data *pl_sd, **pl_allsd;
-	int i,e, users;
-
-	nullpo_retr(-1, sd);
-
-	pl_allsd = map_getallusers(&users);
-
-	for (i = 0; i < users; i++) {
-		if ((pl_sd = pl_allsd[i])) {
-			e=rand()%40;
-			if(e==34)
-				e = 0;
-			clif_emotion(&pl_sd->bl,e);
-		}
-	}
-
-	return 0;
-}
-
 /*==========================================
 /*==========================================
  *
  *
  *------------------------------------------
  *------------------------------------------
@@ -3245,18 +3213,6 @@ int atcommand_hair_style(const int fd, struct map_session_data* sd, const char*
 	return 0;
 	return 0;
 }
 }
 
 
-/*==========================================
- * @charhairstyle by [MouseJstr]
- *------------------------------------------
- */
-int
-atcommand_charhairstyle(const int fd, struct map_session_data* sd,
-	const char* command, const char* message)
-{
-	nullpo_retr(-1, sd);
-    return 0;
-}
-
 /*==========================================
 /*==========================================
  * @haircolor && @hcolor
  * @haircolor && @hcolor
  *------------------------------------------
  *------------------------------------------
@@ -6103,7 +6059,10 @@ int atcommand_repairall(
 	return 0;
 	return 0;
 }
 }
 
 
-// Removed @nuke for now in favor of alchemist marine sphere skill [Valaris]
+/*==========================================
+ * @nuke [Valaris]
+ *------------------------------------------
+ */
 int atcommand_nuke(
 int atcommand_nuke(
 	const int fd, struct map_session_data* sd,
 	const int fd, struct map_session_data* sd,
 	const char* command, const char* message)
 	const char* command, const char* message)
@@ -10282,45 +10241,6 @@ int atcommand_mutearea(
 	return 0;
 	return 0;
 }
 }
 
 
-static int atcommand_shuffle_sub(struct block_list *bl,va_list ap)
-{
-  struct map_session_data *pl_sd = (struct map_session_data *) bl;
-  if (bl == NULL)
-    return 0;
-
-  if (!pc_isGM(pl_sd)) 
-    pc_setpos(pl_sd, pl_sd->mapindex, rand() % 399 + 1, rand() % 399 + 1, 3);
-
-  return 0;
-}
-
-/*==========================================
- * @shuffle by MouseJstr
- *------------------------------------------
- */
-int atcommand_shuffle(
-	const int fd, struct map_session_data* sd,
-	const char* command, const char* message)
-{
-  nullpo_retr(0, sd);
-
-  if (strcmp(message, "area")== 0) {
-    map_foreachinarea(atcommand_shuffle_sub,sd->bl.m, 
-      sd->bl.x-AREA_SIZE,sd->bl.y-AREA_SIZE, 
-      sd->bl.x+AREA_SIZE, sd->bl.y+AREA_SIZE, BL_PC);  
-  } else if (strcmp(message, "map")== 0) {
-    map_foreachinmap(atcommand_shuffle_sub,sd->bl.m, BL_PC);
-  } else if (strcmp(message, "world") == 0) {
-    struct map_session_data **pl_allsd;
-    int i, users;
-	 pl_allsd = map_getallusers(&users);
-    for (i = 0; i < users; i++) 
-        atcommand_shuffle_sub(&pl_allsd[i]->bl, 0);
-  } else 
-    clif_displaymessage(fd, "options are area, map, or world");
-
-  return 0;
-}
 
 
 int atcommand_rates(
 int atcommand_rates(
 	const int fd, struct map_session_data* sd,
 	const int fd, struct map_session_data* sd,

+ 0 - 2
src/map/atcommand.h

@@ -187,7 +187,6 @@ enum AtCommandType {
 	AtCommand_ChangeSex, // by MC Cameri
 	AtCommand_ChangeSex, // by MC Cameri
 	AtCommand_Mute, // [celest]
 	AtCommand_Mute, // [celest]
 	AtCommand_WhoZeny, // [Valaris] <-- LOL...(MC Cameri) worth it.
 	AtCommand_WhoZeny, // [Valaris] <-- LOL...(MC Cameri) worth it.
-	AtCommand_HappyHappyJoyJoy, // [Valaris]
 	AtCommand_Refresh, // by MC Cameri
 	AtCommand_Refresh, // by MC Cameri
 	AtCommand_PetId, // by MC Cameri
 	AtCommand_PetId, // by MC Cameri
 	AtCommand_Identify, // by MC Cameri
 	AtCommand_Identify, // by MC Cameri
@@ -244,7 +243,6 @@ enum AtCommandType {
 	AtCommand_Version, // by Ancyker
 	AtCommand_Version, // by Ancyker
 
 
 	AtCommand_MuteArea, // MouseJstr
 	AtCommand_MuteArea, // MouseJstr
-	AtCommand_Shuffle, // MouseJstr
 	AtCommand_Rates, // MouseJstr
 	AtCommand_Rates, // MouseJstr
 
 
 	AtCommand_ItemInfo, // Lupus
 	AtCommand_ItemInfo, // Lupus