Bugs and Feature Requests for PlanetsCentral and other VGAP software

[Posting] Graphs addition
Thread opener
Posted Mon, 2012-12-31 12:09 GMT

I would like to suggest some additional info to be displayed on the graphs.

Is it possible to add tot the end of the graph a column with the current scores in the order that they are shown in the graph?

In addition, maybe some lines would be nice vertical and horizontal with values on the scale so you can more easily see who is where.

For additional bonus points, you could add a slider which you can drag over the turns and the column on the right containing the values, would display the value as requested by the slider :)

[Posting] Re: Graphs addition
Posted Wed, 2013-01-02 22:03 GMT

I would like to suggest some additional info to be displayed on the graphs.

Is it possible to add tot the end of the graph a column with the current scores in the order that they are shown in the graph?

In addition, maybe some lines would be nice vertical and horizontal with values on the scale so you can more easily see who is where.

For additional bonus points, you could add a slider which you can drag over the turns and the column on the right containing the values, would display the value as requested by the slider :)

Maybe you know the graphs PCC2 can produce, so you know what one can get out of a score database. Of course it would be nice to have all these on the web interface too :-) And, actually my big problem is that I still have not found a good, accessible way to place all the options.

As a prototype, I added the "labels on right side" option to the chart renderer; see it here: http://planetscentral.com/test/host/game.cgi/1-First-Steps, where it is enabled for the first rendered chart.

Guide lines would be easy, too, but not today...

Another option which is in the code but not on the interface is the turn history (http://planetscentral.com/test/host/game.cgi/1-First-Steps/turnhistory).

--Stefan

[Posting] Re: Graphs addition
Thread opener
Posted Thu, 2013-01-03 07:45 GMT, edited Thu, 2013-01-03 14:43 GMT

Maybe you know the graphs PCC2 can produce, so you know what one can get out of a score database. Of course it would be nice to have all these on the web interface too :-) And, actually my big problem is that I still have not found a good, accessible way to place all the options.

As a prototype, I added the "labels on right side" option to the chart renderer; see it here: http://planetscentral.com/test/host/game.cgi/1-First-Steps, where it is enabled for the first rendered chart.

Guide lines would be easy, too, but not today...

Another option which is in the code but not on the interface is the turn history (http://planetscentral.com/test/host/game.cgi/1-First-Steps/turnhistory).

--Stefan

I like em both :)

If the first one is not difficult to produce, it would be nice to have that on all of the tabs of the graph.

The second one is a great tool for me. I can confirm that the cyborg seems to be trowing the towl into the ring. :P

[Posting] Re: Graphs addition
Posted Fri, 2013-01-04 20:31 GMT

[...] As a prototype, I added the "labels on right side" option to the chart renderer; see it here: http://planetscentral.com/test/host/game.cgi/1-First-Steps, where it is enabled for the first rendered chart.

Guide lines would be easy, too, but not today...

Another option which is in the code but not on the interface is the turn history (http://planetscentral.com/test/host/game.cgi/1-First-Steps/turnhistory).

I like em both :)

If the first one is not difficult to produce, it would be nice to have that on all of the tabs of the graph.

I had only updated the static HTML, not the Javascript that switches the graphics.

The labels are now active for all pages (shift-reload if you don't see it). I originally feared that would make the graphics look too asymmetric but the more I look at it, the more I like it.

I also added horizontal guide lines, but I'm not sure about those; it seems they overload the graphics a little.

--Stefan

[Posting] Re: Graphs addition
Thread opener
Posted Fri, 2013-01-04 20:40 GMT

I had only updated the static HTML, not the Javascript that switches the graphics.

The labels are now active for all pages (shift-reload if you don't see it). I originally feared that would make the graphics look too asymmetric but the more I look at it, the more I like it.

I also added horizontal guide lines, but I'm not sure about those; it seems they overload the graphics a little.

--Stefan

They are not showing for me. Not with refresh, also not with IE, which I've never used to go there before.

Win7, 64-bit, FireFox 17.0.1

I can see them only if I surf to the link you posted above.

http://planetscentral.com/test/host/game.cgi/1-First-Steps But the moment I click on of the other subgraphs, the values and horizontal guide lines disappear.

Maybe I am doing something wrong?

[Posting] Re: Graphs addition
Posted Fri, 2013-01-04 21:40 GMT

They are not showing for me. Not with refresh, also not with IE, which I've never used to go there before.

Win7, 64-bit, FireFox 17.0.1

I can see them only if I surf to the link you posted above.

http://planetscentral.com/test/host/game.cgi/1-First-Steps But the moment I click on of the other subgraphs, the values and horizontal guide lines disappear.

Maybe I am doing something wrong?

Take that link, shift-reload, and then you should see them. The HTML is generated anew each time you look at it, but the Javascript is cached.

The regular page (without /test/ in the URL) does not yet have the new layout. Whereas the /test/ pages are the totally "unofficial" development playground, and you may occasionally find them not working at all when I broke something, the "regular" pages are only updated every few weeks when everything works.

--Stefan

[Posting] Re: Graphs addition
Thread opener
Posted Fri, 2013-01-04 21:51 GMT

Take that link, shift-reload, and then you should see them. The HTML is generated anew each time you look at it, but the Javascript is cached.

The regular page (without /test/ in the URL) does not yet have the new layout. Whereas the /test/ pages are the totally "unofficial" development playground, and you may occasionally find them not working at all when I broke something, the "regular" pages are only updated every few weeks when everything works.

--Stefan

Ah yes, working fine now. I like the nunmbers at the end. Very usefull.

The horizontal line, not so sure about them yet.

Also, it seems to have become rather slow. In the old graphs, switching from tab to tab was a breeze. Now it takes 4-5 seconds per tab.

I know you are generating them with each request. Is it not more convenient to generate them once after each host, and then just retrieve them after that?

[Posting] Re: Graphs addition
Posted Fri, 2013-01-04 22:17 GMT

Also, it seems to have become rather slow. In the old graphs, switching from tab to tab was a breeze. Now it takes 4-5 seconds per tab.

I cannot reproduce that right now. I have just used a denial of service benchmark tool and get 0.2 to 0.4 seconds per tab.

This is a pretty small virtual server, and I don't know who my co-inhabitants of the hardware are and what they do. Maybe someone was crunching a few numbers when you tried it. I'm not entirely satisfied with the performance, too; on the other hand, a dozen users doesn't yet justify renting a "real" server. But that definitively is an option for the future.

I know you are generating them with each request. Is it not more convenient to generate them once after each host, and then just retrieve them after that?

It would in theory be possible to store things-that-have-already-been-generated (the game database has an area for that which is automatically reset each turn). If I'd generate them on each host you'd have to wait until next turn to see the new layout :-)

--Stefan

[Posting] Re: Graphs addition
Thread opener
Posted Sat, 2013-01-05 06:40 GMT, edited Sat, 2013-01-05 06:41 GMT

I cannot reproduce that right now. I have just used a denial of service benchmark tool and get 0.2 to 0.4 seconds per tab.

This is a pretty small virtual server, and I don't know who my co-inhabitants of the hardware are and what they do. Maybe someone was crunching a few numbers when you tried it. I'm not entirely satisfied with the performance, too; on the other hand, a dozen users doesn't yet justify renting a "real" server. But that definitively is an option for the future.

It would in theory be possible to store things-that-have-already-been-generated (the game database has an area for that which is automatically reset each turn). If I'd generate them on each host you'd have to wait until next turn to see the new layout :-)

--Stefan

You are right, they come flying in now :) No need to change anything at this speed.

[Posting] Re: Graphs addition
Thread opener
Posted Sun, 2013-01-06 08:25 GMT

Another suggestion I could make.

Add a tab which contains the amount of tonnage sunk (even though there is no water) And maybe a tab with the amount of ships killed? The amount of PBP earned (but not how much spend)?

That's a nice way to see if people are actually competing or just building bases. But maybe some of it is too much info.

[Posting] Re: Graphs addition
Posted Sun, 2013-01-06 12:31 GMT

Another suggestion I could make.

Add a tab which contains the amount of tonnage sunk (even though there is no water) And maybe a tab with the amount of ships killed? The amount of PBP earned (but not how much spend)?

That's a nice way to see if people are actually competing or just building bases. But maybe some of it is too much info.

"too much info" is precisely the reason why I think it is not a good idea to show this by default. So far, these diagrams are only showing what you could generate yourself using your result file.

However, offering these as an add-on would probably nice.

--Stefan

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.