Posts: 8,784
Threads: 40
Joined: Aug 2012
Amazing! Is it going to be possible to show units too? I don't see them in the data for each tile. [/impatient mode]
Completed: RB Demogame - Gillette, PBEM46, Pitboss 13, Pitboss 18, Pitboss 30, Pitboss 31, Pitboss 38, Pitboss 42, Pitboss 46, Pitboss 52 (Pindicator's game), Pitboss 57
In progress: Rimworld
April 2nd, 2013, 16:05
(This post was last modified: April 2nd, 2013, 16:06 by novice.)
Posts: 13,563
Threads: 49
Joined: Oct 2009
(March 22nd, 2013, 17:23)Old Harry Wrote: Amazing! Is it going to be possible to show units too? I don't see them in the data for each tile. [/impatient mode]
Sure. I did a bit more work on this, you can see inside cities as well now. New url:
http://test02.geodata.no/webviewer2/
The pages takes some time to load, especially the first time you load it.
I have to run.
Posts: 7,916
Threads: 158
Joined: Jan 2012
This only looks completely amazing
Posts: 23,472
Threads: 132
Joined: Jun 2009
Yeah...that is astounding. Would this work for any PB game, or does it need a mod?
Current games (All): RtR: PB80 Civ 6: PBEM23
Ended games (Selection): BTS games: PB1, PB3, PBEM2, PBEM4, PBEM5B, PBEM50. RB mod games: PB5, PB15, PB27, PB37, PB42, PB46, PB71. FFH games: PBEMVII, PBEMXII. Civ 6: PBEM22 Games ded lurked: PB18
Posts: 13,563
Threads: 49
Joined: Oct 2009
(April 2nd, 2013, 16:25)Krill Wrote: Yeah...that is astounding. Would this work for any PB game, or does it need a mod?
It would need a mod, alas. And I haven't implemented any mechanism for transferring data from the mod to the web viewer, right now I'm just manually copying files produced by the mod.
I have to run.
Posts: 6,735
Threads: 131
Joined: Mar 2004
It needs modified files... but I don't think it needs a mod per se at the Pitboss host or with each player. If the game is created with "Lock Modified Assets" unchecked, anyone can overlay the modified Python code in place and connect to the PB host. You'll get the "files out of sync" error but as long as everyone trusts each other that's not a problem.
April 12th, 2013, 06:23
(This post was last modified: April 12th, 2013, 08:06 by novice.)
Posts: 13,563
Threads: 49
Joined: Oct 2009
(April 2nd, 2013, 17:04)T-hawk Wrote: It needs modified files... but I don't think it needs a mod per se at the Pitboss host or with each player. If the game is created with "Lock Modified Assets" unchecked, anyone can overlay the modified Python code in place and connect to the PB host. You'll get the "files out of sync" error but as long as everyone trusts each other that's not a problem.
T-Hawk is correct. I have added support for choosing which game to view from a list of games, so I could add ongoing RB games if anybody's interested. I think most of our PBEMs are created with "Lock Modified Assets" unchecked.
If you're playing in a bts pbem here and want it viewable for lurkers you can send me a save at novice.rb@gmail.com where you've played your turn and haven't ended turn - and send me your password as well. I can use that to put up (global) spoiler data for that game in the web viewer.
Getting a few ongoing games up and running in the viewer will probably help us identify key feature requests for the viewer.
Similarly I could borrow someone's pitboss login to take a snapshot of an ongoing pitboss game. I need to test how the python code behaves in a simultaneous turns environment first though. Working with PBEM's is safer since I don't risk taking down the server.
I have to run.
Posts: 777
Threads: 11
Joined: Apr 2012
How much space would be needed to store a turn history? Could make for real easy posthumous analysis of games without having to piece together stuff from player threads.
Posts: 13,563
Threads: 49
Joined: Oct 2009
(April 12th, 2013, 06:30)superjm Wrote: How much space would be needed to store a turn history? Could make for real easy posthumous analysis of games without having to piece together stuff from player threads.
The dominant part of the data dump is the map info, whose size depends on the map size. About 2MB per snapshot currently for a typical map, although I could make the json a lot more compact at the cost of readability (so it's a task best saved for later). Also, snapshots can be compressed a lot using zip, but the viewer needs the uncompressed json.
I have to run.
Posts: 10,066
Threads: 82
Joined: May 2012
Does the map need to be uploaded with each turn sent, or can it remember the base of it?
Erebus in the Balance - a FFH Modmod based around balancing and polishing FFH for streamlined competitive play.
|