|
#1
|
||
|
Thanks to the API published by FLS we can gather nice stats from the game. (That thread also has several code examples)
I worked that into an online worldmap with stats for each server. Those pages are generated every 10 minutes, giving fast load times and less load for me. Feel welcome to leave your comments here or in a private message. *oops, never checked that link, sorry. It's working now. -------------------------------------------------------------------------- Update history: Since then: Way more updated, but I totally forgot to update this first post. So, well... Just read the rest of the thread .3 February 2009: Added a loading animation on the graph pages. It can take quite a while for an image to load, which could make you think you did something wrong. 8 April 2008: - The map pages are now semi pre-generated. Still every 10 minutes, but timestamps (age) are now set on the page load, as I had originally. - Further some small layout changes in the stats below the map. And the 3 'boxes' are more consitant with each other now (all can now 'ping' ports on the map) - The 'Changes in unrest' box now only shows attacker and defender points when a port is in contention. - I also finally started gathering server scoreboard data so I can put that in a graph eventually. - A 'hard' refresh of the page might be necessary to load the updated style and javascript files. 9 April 2008: - Well, there the first graphs are. Only conquerable ports (of course) have a ?-cursor, opening a popup with a unrest/conquest/ownership/state graph. (Currently only week history) Update 12 April 2008: - Port History Graphs are mostly done for now. You can choose to show history over a week, month or year now. - You can view these graphs in a popup by clicking on a port in the map. Or by clicking on the small '?'s that are added in several places to the stat lines below the map. - Also added support for the server suppression state by first showing a fat red background in that nation bar. Though hidden, the titles of the sparkle and crown icons respectively show the next victory check and the time the suppression will be over. Yes, it's hidden, but I don't think it's something you check every time anyway. Update 13 April 2008: - Dropdown list to show ports with certain resources and combined with that had to change the 'Show Unrest' checkbox into two radio buttons. Also had to move all this to the upper right corner, or else the dropdown would fall way below the map. Update 30 May 2008: - You can now specify your own timezone and all timestamps should now be based on that! Update 15 June 2008: - The server population graphs would not show up when selecting month or year as period. I had checked the error logs for the potbs. domain, but nothing showed up. Somehow the errors were logged in the default log files though. The graph scripts would run out of memory. I upped the limit and they are showing fine now. (There's a lot of datapoints in just one month, let alone how many there will be in a year. I guess I need to optimize this some day. Also need to let you view day/week/month/year graphs of any time period, not just the last. Btw, generating these month and year graphs takes quite some resources. I could cache that, but don't yet. So please don't use it too often )Update 18 June 2008: - In the 'Changes in unrest' table you can now sort the data in several ways. Simply by port, time or nation unrest scores. But also using the '-1h' and '-12h' parts. These let you sort on absolute unrest changes. Note that the '-1h' and '-12h' in the 'Time' column lets you sort this globally on the max change of all four nations combined. For now it only lets you sort one direction, with falling back on sorting on port name. Update 1 July 2008: - Minor change: in the port unrest/conquest graphs, the horizontal lines showing the different levels were changed accordingly to the 1.5 changes: 3000 and 6000 points. Unfortunately these lines are very simple and will be shown like this overall, also in the past, which might make some things a bit confusing. - I disabled the server populations graphs for now. It seems they were tripping my webserver, though I'm still not really sure. Update 9 July 2008: - On the map I added little sword icons to ports that have a battle scheduled (in the process of adding this some people might have had bugged page loads, my excuses for that, please do a full reload to be sure you have all latest stylesheets, etc). - A few days earlier I changed the cache timestamps to be based on the cachetime the API recently added, not the time I generated the pages myself. Update 1 October 2008: - Showing the port battle slots in the NvN score graphs, example (not for the year period).
__________________
Visit Online PotBS Maps & Server Stats for online worldmaps, latest unrest changes and recent events! ArmEagle, you never cease to amaze me. <3 -Misha |
|
|
#2
|
||
|
I have really enjoyed what you put together. Many thanks.
The downside to the way you have it setup now vs. a day ago is people need to wait up to 9.x minutes to get their first page (mine has not loaded by the time I finished typing this), which can seem like a long time. Frankly FLS should turn what you did into an official page on the POTBS website and they should deal with the load and serve up the last set of data immediately. You made a fantastic utility that should be fully supported by FLS. A suggestion for a tool that could be added: Could you set it up so people could do "what ifs" and turn on the PvP circles for different ports to see what the map would look like with them in PvP? Would be a helpful planning tool for looking at different scenarios.
__________________
All Out Assault www.alloutassault.net www.alloutassault.net/forum www.alloutassault.net/vent.htm |
|
|
#3
|
||||
|
Quote:
Quote:
. |
|||
|
#4
|
||
|
Nice work. Thanks for the link!
![]()
__________________
Jack Burtton "You've gotta be tough if your gonna be stupid." -Unkown "The road to truth is long, and lined the entire way with annoying bastards." -Alexander Jablokov http://www.youtube.com/glean101 |
|
|
#5
|
||
|
ArmEagle, that's a great page...it's fun to watch the servers come back online after a patch...especially a big one...many thanks; I have the page saved to favs...
![]() |
|
|
#6
|
||
|
Is that server pop screen accurate real time ever y10 mins? it shows everythign light light light light where the one in game is much different.
|
|
|
#7
|
|||
|
Quote:
The API might give out both in the future though. |
||
|
#8
|
||
|
This is completely awesome and deserving of Stickydom.
__________________
Cutlass Jack Privateer, Antigua Buccaneer, Roberts"Fear leads to anger. Anger leads to hate. Hate leads to drama!"-Le Misanthrope |
|
|
#9
|
||
|
An excellent utility
|
|
|
#10
|
|||
|
/report spam
Anyway, this is awesome! Seriously one of the cooler things made in a long while. ![]()
__________________
Quote:
|
||
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -7. The time now is 07:57 PM.
Copyright © = date('Y'); ?> Portalus Games LLC. All rights reserved.






.



Privateer, Antigua
Buccaneer, Roberts
Linear Mode
