summaryrefslogtreecommitdiff
path: root/doc/mapserver-logging
blob: 573c61fb384680197da06faf98521bbfdf3d6f5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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