summaryrefslogtreecommitdiff
path: root/doc/mapserver-logging
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2015-01-03 12:11:33 -0800
committerBen Longbons <b.r.longbons@gmail.com>2015-01-03 12:11:33 -0800
commit6f6529a4bbc4dceaaed7e9c56b482e83fb809de9 (patch)
tree27c05065aaa38893ffb5677aebdb7f65286751c4 /doc/mapserver-logging
parent29ec8b3f3910b4b9bb0724953c9628dc039df06b (diff)
downloadtmwa-6f6529a4bbc4dceaaed7e9c56b482e83fb809de9.tar.gz
tmwa-6f6529a4bbc4dceaaed7e9c56b482e83fb809de9.tar.bz2
tmwa-6f6529a4bbc4dceaaed7e9c56b482e83fb809de9.tar.xz
tmwa-6f6529a4bbc4dceaaed7e9c56b482e83fb809de9.zip
Document every network packet's pre, post, and desc
With pretty pictures (not a submodule because large images). Part of this commit was originally made by Rawng.
Diffstat (limited to 'doc/mapserver-logging')
-rw-r--r--doc/mapserver-logging71
1 files changed, 0 insertions, 71 deletions
diff --git a/doc/mapserver-logging b/doc/mapserver-logging
deleted file mode 100644
index 573c61f..0000000
--- a/doc/mapserver-logging
+++ /dev/null
@@ -1,71 +0,0 @@
-Log format:
-
-LOGLINE ::= int'.'int <MESSAGE>
-
-MESSAGE ::= 'log-start'
- | 'log-start v2'
- | 'log-start v3'
- | 'log-start v4'
- | <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' | 'SHAREXP' | 'UNKNOWNXP'
-
-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
- | 'MOB-TO-MOB-DMG' 'FROM' <MOB> int 'TO' <MOB> int 'FOR' int # Summoned monster damage
- | '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 'JOB' int int int 'ZENY' int '+' int <XPPLACE> # level xp job-level skill-xp skill-pts zeny bank-zeny
- | 'SKILLPOINTS-UP' int # new number of unused skill points
- | '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'
- | 'STATUP'
- | 'STATRESET'
- | 'STATUP2'
-
-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