summaryrefslogblamecommitdiff
path: root/doc/mapserver-logging
blob: e7088eb9cdea3f59065c35240aa833ac18868280 (plain) (tree)


































































                                                                                                                                  
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