void icon indicating copy to clipboard operation
void copied to clipboard

Logging, Telemetry & Statistics

Open GregHib opened this issue 4 years ago • 4 comments

  • Shouldn't impact the game loop performance
  • Should be able to trace through what all entities were doing
  • ~Ideally a replay command to walk a bot through what a player was doing~

~Store player instructions for replaying~ Log all entities events for manual checks - Not all events can be logged, events containing entity instances for example. Store statistics in separate or just as perm entity values? e.g total items dropped, damage dealt, npcs killed per type etc...

Useful statistics:

  • Tracking logins (incl account creation)

GregHib avatar Jun 24 '21 22:06 GregHib

Easy first step would be to write all instructions to a text file /data/logs/player-name.txt

Replaying is a nice dream but would need to rearchitect so much for that.

GregHib avatar Jan 26 '22 00:01 GregHib

Would be good to have log levels per character, so you can toggle debug for an individual

GregHib avatar Jul 19 '23 13:07 GregHib

Logging should also contain enough information to replicate. Could conceivably use player.copy() to log the players state.

GregHib avatar Jul 19 '23 13:07 GregHib

Goes hand in hand with achievement diaries

GregHib avatar Dec 31 '23 04:12 GregHib