summaryrefslogtreecommitdiff
path: root/Changelog-Trunk.txt
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-29 09:16:39 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-29 09:16:39 +0000
commit8f36123ac4f0dad6a9c2428b0b01a3ffd81017a4 (patch)
tree844de2f22a0f03953031d1baaf3ffdc426ad48cd /Changelog-Trunk.txt
parentccbcf5a85c209341e6471269abef23b58633d083 (diff)
downloadhercules-8f36123ac4f0dad6a9c2428b0b01a3ffd81017a4.tar.gz
hercules-8f36123ac4f0dad6a9c2428b0b01a3ffd81017a4.tar.bz2
hercules-8f36123ac4f0dad6a9c2428b0b01a3ffd81017a4.tar.xz
hercules-8f36123ac4f0dad6a9c2428b0b01a3ffd81017a4.zip
Command code cleaning (refer to topic:169759)
* separated the execution part of command code into interface part and internal part to better see which checks are done and when (fixes problem where 'nocommand' mapflag blocked server npcs) * moved the internal commands list (array) to the end of the file, this let me discard that long block of ACMD_FUNC() declarations * removed enum AtCommandType from command headers and commands array; its purpose was perhaps to identify aliased commands, but apparently it was never finished because the rest of the code doesn't use it (also doing aliases like this is not a very good idea) * internally, commands are now referenced to using their function name * removed the @/# symbols from the command lists; all lookup functions will now properly deal with strings with- and without a command symbol (commands interface still requires the symbol tho', so TODO for later) * removed several unneeded commands (*id2 code, dmalloc debug commands) * reverted atcommand config from alphabetically-sorted to how it was before (with additional fixes; see /conf changelog) * added missing code for #dropall / #storeall * added a warning when trying to set gm level of an undefined command The structure of the commands table has changed, please adjust docs/guides to match the new format (sorry for the inconvenience). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11607 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'Changelog-Trunk.txt')
-rw-r--r--Changelog-Trunk.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 8bae71d38..bc418daf2 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,28 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2007/10/29
+ * command code cleaning (refer to topic:169759) [ultramage]
+ - separated the execution part of command code into interface part
+ and internal part to better see which checks are done and when
+ (fixes problem where 'nocommand' mapflag blocked server npcs)
+ - moved the internal commands list (array) to the end of the file,
+ this let me discard that long block of ACMD_FUNC() declarations
+ - removed enum AtCommandType from command headers and commands array;
+ its purpose was perhaps to identify aliased commands, but apparently
+ it was never finished because the rest of the code doesn't use it
+ (also doing aliases like this is not a very good idea)
+ - internally, commands are now referenced to using their function name
+ - removed the @/# symbols from the command lists; all lookup functions
+ will now properly deal with strings with- and without a command symbol
+ (commands interface still requires the symbol tho', so TODO for later)
+ - removed several unneeded commands (*id2 code, dmalloc debug commands)
+ - reverted atcommand config from alphabetically-sorted to how it was
+ before (with additional fixes; see /conf changelog)
+ - added missing code for #dropall / #storeall
+ - added a warning when trying to set gm level of an undefined command
+ * The structure of the commands table has changed, please adjust
+ docs/guides to match the new format (sorry for the inconvenience)
2007/10/28
* Minor adjustment to take into account the end of line.
* Fixed the line count in the new error message of npc_parse_function.