|
|
|
|
|
July 11th, 2008, 06:39 AM
|
|
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: Real graphs demo
Quote:
llamabeast said:
(I can't remember if we've got VPs on or not, but if we have then we can see the scores in game, and if we haven't I think these graphs won't tell us capital counts - is that right?).
|
That's right. You could generate graphs for graph-less games with this and e.g. display them after the game, but that requires that you enabled scores.html generation while hosting.
I was thinking of reverse-engineering the fthrlnd file format to be able to display who holds which provinces, but I haven't really begun on this yet. Another one of those plans that you "want to do, definitely, at some later time".
|
July 11th, 2008, 07:42 AM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: Real graphs demo
There's no need to do that. If you just host using the -d switch I think you can parse the output to see provinces changing hands, and you can keep track like that.
How were you thinking of displaying that information? It would be super lovely to be able to colour in the map with who holds which provinces, then view it as a movie at the end of the game (a bit like Civ I, if you remember that). Seems pretty tricky to me though. The only thing I can think of using is scripting in GIMP, but I'm currently clueless on that.
|
July 11th, 2008, 09:01 AM
|
|
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: Real graphs demo
Quote:
llamabeast said:
How were you thinking of displaying that information? It would be super lovely to be able to colour in the map with who holds which provinces, then view it as a movie at the end of the game (a bit like Civ I, if you remember that).
|
That's exactly what I wanted to do, yes. An easier intermediate result to achieve would be just to place national standards on the province centers just like the game does.
Quote:
llamabeast said:
There's no need to do that. If you just host using the -d switch I think you can parse the output to see provinces changing hands, and you can keep track like that.
|
That's very interesting. I had a look at the debug output, but I didn't really see how to accurately tell who conquered which province. Maybe I should look again. I'm always hosting with -ddd, so maybe the information just got buried.
|
July 11th, 2008, 10:01 AM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: Real graphs demo
Quote:
That's exactly what I wanted to do, yes. An easier intermediate result to achieve would be just to place national standards on the province centers just like the game does.
|
Aha, that's an excellent thought! It would indeed be much easier, I'd think.
Quote:
That's very interesting. I had a look at the debug output, but I didn't really see how to accurately tell who conquered which province. Maybe I should look again. I'm always hosting with -ddd, so maybe the information just got buried.
|
Come to think of it, I think that bit of info from me actually came from a comment Gandalf made some time ago, and not from my own testing. Hopefully it's true though.
|
July 11th, 2008, 03:35 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Real graphs demo
If I remember right, grep the log for " vs " and "winner".
I believe that lnr is "land number"
Edited:
Yes its
2 vs 25 in lnr 8 (castlemode 0) laststand_att0 laststand_def0
(lots of combat lines)
_____The winner is 2_______
that was Ulm vs Independents in land 8
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
July 11th, 2008, 03:37 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Real graphs demo
I do remember a conversation thread about this awhile back. We started collecting flag images, nation colors. And I started asking everyone who had a map generator project to include a way to save the initial random seed so that you could rerun the map with no colors and graphics the way DomMap did for Dom2. Of course that was back before we could all get free graphic software that handled layers easily.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
July 12th, 2008, 08:58 PM
|
|
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: Real graphs demo
Quote:
Gandalf Parker said:
2 vs 25 in lnr 8 (castlemode 0) laststand_att0 laststand_def0
(lots of combat lines)
_____The winner is 2_______
that was Ulm vs Independents in land 8
|
When I tested this there was some sort of problem, I don't really remember which one. It might have been one of those:
- problems with battles from the magic phase
- problems with assassinations
- problems with random events ("the people have revolted!")
It could just be that I actually looked and tested for something different, though, that might be possible as well.
I might look into this a little closer later.
|
July 27th, 2008, 01:29 PM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: Real graphs demo
Quote:
I already linked to the source code which generates the per-turn graphs on the first page. What you'll have to add is the files from amCharts. If you have some time, then I'll package the stuff together and release it, I am planning to put all my code into proper Mercurial repositories anyway. If you want the goods NOW, then I could just zip up my web folder and remove unrelated content and let you figure out the rest.
|
Hallo lch,
As it turns out I have a fair bit of time for sorting the graphs over the next couple of days. If it'd be possible to just zip up your folder and upload it so I could try to find the graph-making bits, that would be awesome. Thanks!
|
August 8th, 2008, 11:53 AM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: Real graphs demo
Man, I just took another look at this to show a friend. It is _ridiculously_ nice.
|
August 8th, 2008, 04:28 PM
|
|
Lieutenant General
|
|
Join Date: May 2008
Location: Utopia, Oregon
Posts: 2,676
Thanks: 83
Thanked 143 Times in 108 Posts
|
|
Re: Real graphs demo
Quote:
llamabeast said:
Man, I just took another look at this to show a friend. It is _ridiculously_ nice.
|
Lch could be ridiculed for making such awesome graphs? Man, life is tough.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|