View Single Post
  #1  
Old February 16th, 2007, 06:04 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Multiplayer Game statistics PHP script

Hi, I have coded a little PHP script which displays some turn statistics for Dom3 multiplayer servers, so your users don't have to connect every time to look who already did his turn and who is still missing. After a fair amount of testing I'll release it on the public domain here. Documentation follows.

Originally I planned to use a network sniffer and connect to the server to get the info, but I quickly came to the conclusion that it's too much of a hassle and I can get most of the info from the directory structure alone. The script therefore has some limitations and workarounds, but does not depend on the patch level of the game at all. It should be backwards compatible to Dom2 and maybe even Dom1, too. Now I have even a network-based solution, but I still like this one and I think it's easier to set up for most people, too.

If you have any suggestions, questions, problems, then write about them here. If you want to see the script in action, then have a look at my game server or BigBopper's game server.

Update 1.01: Added new nations from patch 3.08
Update 1.02: Support for Mod nations added
Update 1.03: Added new nations from patch 3.10, fixed a bug with anchor tags introduced in 1.02
Update 1.04: Reads turn numbers directly - no need for the "makecheck" feature anymore, fixed some more things
Update 1.05: Added new nations from patch 3.14
Update 1.06: Renamed Gath nations to their appropriate era names Hinnom, Ashdod, Gath
Attached Files
File Type: rar dom3stats-1.06.rar (20.8 KB, 332 views)
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief

Last edited by lch; June 22nd, 2009 at 08:55 AM.. Reason: new home, changed URL
Reply With Quote
The Following 2 Users Say Thank You to lch For This Useful Post: