summaryrefslogblamecommitdiff
path: root/doc/mapserver-logging
blob: 983de1f3fbb3a353c8c2faf5c5dda5b7e20f4e1f (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
             | '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'
             | 'STATUP'

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