Open thomasleveil opened 12 years ago
unittest able to reproduce the issue and now passes. Waiting for live test result before closing.
from latest log, the missing IP does not seems to be related to any hack. Still waiting to see the new code in action in a log.
120506 02:21:24 DEBUG '0: Bartman RED k:0 d:0 ping:46 10.33.108.185:27960' 120506 02:21:24 DEBUG '1: asdasdT_Player SPECTATOR k:0 d:0 ping:50' 120506 02:21:24 DEBUG '2: CandyShop RED k:-5 d:4 ping:25 10.23.42.66:51664' 120506 02:21:24 DEBUG '3: BaBy RED k:-1 d:1 ping:196 10.90.74.20:27960' 120506 02:21:24 DEBUG '4: ThiagoBR SPECTATOR k:-2 d:3 ping:267 10.115.62.107:60289' 120506 02:21:24 DEBUG '3: SaRang SPECTATOR k:0 d:0 ping:196 10.90.74.20:27960' 120506 02:21:24 DEBUG '6: Loul|LockDownSP SPECTATOR k:-2 d:2 ping:50' 120506 02:21:24 DEBUG '7: LOSGold SPECTATOR k:0 d:0 ping:62' ... 120506 02:08:24 DEBUG '0: Bartman RED k:0 d:0 ping:50 10.33.108.185:27960' 120506 02:08:24 DEBUG '4: Kratos SPECTATOR k:0 d:0 ping:259 10.115.62.107:60289' 120506 02:08:24 DEBUG '2: CandyShop RED k:-4 d:3 ping:28 10.23.42.66:51664' 120506 02:08:24 DEBUG '3: BaBy RED k:-1 d:1 ping:198 10.90.74.20:27960' 120506 02:08:24 DEBUG '4: ThiagoBR RED k:-2 d:3 ping:266 10.115.62.107:60289' 120506 02:08:24 DEBUG '5: SaRang RED k:0 d:0 ping:50 91.10.250.107:27960' 120506 02:08:24 DEBUG '6: Loul|LockDownSP RED k:0 d:0 ping:50 10.92.73.226:27960' 120506 02:08:24 DEBUG '7: LOSGold RED k:0 d:0 ping:62 85.246.10.69:64581' 120506 02:08:24 DEBUG '0: [Gore]Fenix SPECTATOR k:-2 d:2 ping:50 10.33.108.185:27960' 120506 02:08:24 DEBUG '9: pilantra SPECTATOR k:0 d:0 ping:70'
As reported on the forums it exists a case where B3 fails to get the IP of some players.
In such case B3 1.8.2dev4 and below crashes with the error message:
do not care about line numbers in the extract above. There are from a custom parser
context
status
players
dumpuser 2
Analysis
Compare to normal rcon responses, the
dumpuser
andplayers
commands fails to provide the player ip. Only thestatus
command succeed in providing the player ip.Fix
Consider calling
status
to get the players' ip