Performance and game-data statistics counter for tmwserv

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
Exceptionfault
Peon
Peon
Posts: 21
Joined: 20 Jul 2008, 15:46
Location: Germany
Contact:

Performance and game-data statistics counter for tmwserv

Post by Exceptionfault »

It would be nice to have an easy way to log several statistics and see their change over time. This could help solving performance issues or rebalance economy. Here are only a few possibilities of loggable characteristics:

ingame:
  • AVG gp per character
  • AVG exp per character
  • monsters killed by type
  • users per map
technichal:
  • traffic in bytes between game-server and account-server
  • logged on users
A preferred mechanism to store such an amount of values would be using the rrdtool (http://oss.oetiker.ch/rrdtool/index.en.html). Using the graphing mechanism allows us to create beautiful graphs about user growths or whatever. (http://oss.oetiker.ch/rrdtool/gallery/index.en.html) I wouldn't suggest storing those values in the database used by the account-server to separate real game data from the informational "overhead" data.

As logging those values and compiling rrdtool will cause some effort / overhead, logging should be an optional coponent of tmwserv using a compiler switch.
Never say: "Always"! Always say: "Never say never"! - Tom Kyte @ Ask Tom Live in Berlin 2008

Image
Post Reply