Simple Web Stats on Zones
This could be done in your favorite web programming language, platform, or script (PHP, ASP, JSP, ASP.NET, or whatever). I'm thinking a faction map at the simplest level would simply enumerate who holds the dominant position in a zone based on pure numbers from a query against the database.
For instance, selecting first all the faction groups in a particular zone, then listing by frequency with the highest on top and the lowest on bottom. The output might look like Faction-Group-Name-One: 50% Faction-Group-Name-Two: 35% Etc. Since it looks like the zone state might cripple or be to difficult to interpret by a web scripting language, it might just be easier to dump this information into a specific table called something like web_stats. The simple pseudo-table structure could consist of zone_name last accessed (state save or state load) # players in zone # mobs in zone # factions in zone # highest faction in zone # highest species in zone other: # zone masters - list of zone masters (token by ',') then the web script just needs to do a select against the table, and display the info, which keeps the logic fairly nice and separated. Once the simple map is done (which consists of just text), it would be quite possible to determine who "owns" a zone based on the above info. --MV |
All times are GMT -4. The time now is 09:53 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.