summaryrefslogtreecommitdiff
path: root/doc/mapserver-logging
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-09-26 18:08:42 +0000
committerFate <fate-tmw@googlemail.com>2009-09-26 18:08:42 +0000
commit3ef2cb492970da40f82df9643c4cfc570bc3aa62 (patch)
tree16e071b00b764db07d60f7872756bf79c6044dfe /doc/mapserver-logging
parentf9f63203fb461e69a9a422d160986daa78eecc51 (diff)
downloadtmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.tar.gz
tmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.tar.bz2
tmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.tar.xz
tmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.zip
Initial support for skill pools (available via at commands and
untested scripting commands.) These changes also affect the format of the skill_db.txt file.
Diffstat (limited to 'doc/mapserver-logging')
-rw-r--r--doc/mapserver-logging67
1 files changed, 67 insertions, 0 deletions
diff --git a/doc/mapserver-logging b/doc/mapserver-logging
new file mode 100644
index 0000000..e7088eb
--- /dev/null
+++ b/doc/mapserver-logging
@@ -0,0 +1,67 @@
+Log format:
+
+LOGLINE ::= int'.'int <MESSAGE>
+
+MESSAGE ::= 'log-start'
+ | 'log-start v2'
+ | 'log-start v3'
+ | <PC> <COORD> <PC-MESSAGE>
+ | <MOB> <MOB-MESSAGE>
+
+COORD ::= int':'int','int
+
+PC ::= 'PC'int
+
+MOB ::= 'MOB'int
+
+TARGET ::= <PC> | <MOB>
+
+SPELLRESULT ::= 'SUCCESS' | 'FAILURE'
+
+STATPLACE ::= 'LOGIN' | 'STATUP' | 'STATUP2' | 'STATRESET'
+
+XPPLACE ::= 'LOGIN' | 'LEVELUP'
+
+XPREASON ::= 'SCRIPTXP' 'HEALXP' 'KILLXP'
+
+ZEROTARGET ::= 'null' | <TARGET>
+
+MOB-MESSAGE ::= 'DEAD'
+
+PC-MESSAGE ::= 'WPNDMG' <TARGET> int 'FOR' int WPN int # "WPNDMG MOB01 type FOR damage WPN weapon-item"
+ | 'WPNINJURY' <TARGET> int 'FOR' int
+ | 'SPELLHEAL-INSTA' <PC> FOR int
+ | 'SPELLDMG' <MOB> FOR int BY spell-id
+ | 'CAST' spell-id <SPELLRESULT>
+ | 'STAT' int int int int int int <STATPLACE> # str agi vit int dex luk
+ | 'XP' int int ZENY int '+' int <XPPLACE> # level xp zeny bank-zeny
+ | 'MAGIC' int int int int int int 'EXP' int int 'LOGIN' # magic life war transmute nature ether magic-xp healer-xp
+ | 'SKILL-ACTIVATE' int int int # skillid skilllvl skillpower
+ | 'SKILL-UP' int int int # skillid skilllvl skillpower
+ | 'SKILL-DEACTIVATE' int
+ | 'MAGIC-ABSORB-DMG' int
+ | 'GAINXP' int <XPREASON>
+ | 'PICKUP' int int # item-id count
+ | 'INJURED-BY' <ZEROTARGET> 'FOR' int
+ | 'DEAD'
+ | 'LOGOUT'
+ | 'TRADECOMMIT' 'WITH' int 'GIVE' int 'GET' int # pc-id give-zeny get-zeny
+ | 'TRADECANCEL'
+ | 'TRADEOK'
+
+
+
+NOTES:
+------
+1. Any PICKUP between TRADECOMMIT and TRADEOK is part of the trade.
+2. TRADECOMMIT is issued for both participants in a trade.
+3. INJURED-BY seems to only duplicate information we already have.
+
+
+Illegal items
+
+645, 668, 659, 731, 734, 744, 745, 755, 756, 757, 747, 748, 721, 722
+
+Restricted access
+
+725, 726, 647, 646 \ No newline at end of file