-
Tool for quickly visualizing a kingdom and copying the images into forum-friendly BBCode: gokologs.drunkensailor.org/kingdom (http://gokologs.drunkensailor.org/kingdom)
Just enter the log url and it'll spit out something like this:
(http://wiki.dominionstrategy.com/images/f/f6/Silk_Road.jpg) (http://wiki.dominionstrategy.com/images/2/20/Horn_of_Plenty.jpg) (http://wiki.dominionstrategy.com/images/3/37/Mystic.jpg) (http://wiki.dominionstrategy.com/images/d/dd/Royal_Seal.jpg) (http://wiki.dominionstrategy.com/images/6/60/Saboteur.jpg)
(http://wiki.dominionstrategy.com/images/3/3f/Vagrant.jpg) (http://wiki.dominionstrategy.com/images/7/74/Ambassador.jpg) (http://wiki.dominionstrategy.com/images/b/b2/Doctor.jpg) (http://wiki.dominionstrategy.com/images/8/8a/Fortress.jpg) (http://wiki.dominionstrategy.com/images/6/65/Quarry.jpg)
... along with the BBCode for your game report posts:
[center]
[img width=100]http://wiki.dominionstrategy.com/images/f/f6/Silk_Road.jpg[/img] [img width=100]http://wiki.dominionstrategy.com/images/2/20/Horn_of_Plenty.jpg[/img] [img width=100]http://wiki.dominionstrategy.com/images/3/37/Mystic.jpg[/img] [img width=100]http://wiki.dominionstrategy.com/images/d/dd/Royal_Seal.jpg[/img] [img width=100]http://wiki.dominionstrategy.com/images/6/60/Saboteur.jpg[/img]
[img width=100]http://wiki.dominionstrategy.com/images/3/3f/Vagrant.jpg[/img] [img width=100]http://wiki.dominionstrategy.com/images/7/74/Ambassador.jpg[/img] [img width=100]http://wiki.dominionstrategy.com/images/b/b2/Doctor.jpg[/img] [img width=100]http://wiki.dominionstrategy.com/images/8/8a/Fortress.jpg[/img] [img width=100]http://wiki.dominionstrategy.com/images/6/65/Quarry.jpg[/img]
[/center]
-
Maybe you should cap the image width field? I know people can do their own bbcode if they really want to, but I also don't know when someone would ever need this:
Also, would it be possible to make the images be links to the pages on the wiki for the cards?
(http://wiki.dominionstrategy.com/images/8/89/Nomad_Camp.jpg)
-
This is awesome. Great job and may you have many +1s.
Note that on Young Witch boards, the 11th card is left off.
-
Maybe you should cap the image width field? I know people can do their own bbcode if they really want to, but I also don't know when someone would ever need this:
You just did. :D
-
Also, would it be possible to make the images be links to the pages on the wiki for the cards?
-
This is awesome. Great job and may you have many +1s.
Note that on Young Witch boards, the 11th card is left off.
Yeah, you need to add a next page button.
-
Note that on Young Witch boards, the 11th card is left off.
Good catch. Fixed.
Also, would it be possible to make the images be links to the pages on the wiki for the cards?
Done.
There's also the problem that I'm linking to the wiki images and those could change over time. I don't want to host the images myself since these posts will probably outlive my server too. Can anyone suggest a reasonably permanent place to find or put the images?
-
Great work again! :D
-
You and this are amazing. This is a great fit for this thread (http://forum.dominionstrategy.com/index.php?topic=8822.0) I'm doing.
...it would be super-awesome if this somehow incorporated the availability of Platinum/Colony and Shelters in the display.
Also, if someone played a game IRL and wanted a picture for it, maybe a way to manually input the kingdom cards? I suppose they could just make a solitaire game on Goko and link the log, but you know...
-
The link in the opening post needs updating.
-
The link in the opening post needs updating.
Thanks. Both urls work now.
-
Bug report: In the BBCode, the links of the cards in the bottom row are wrong. (Example (http://forum.dominionstrategy.com/index.php?topic=9456.msg297497#msg297497). Click on any of the cards in the bottom row)
-
Bug report: In the BBCode, the links of the cards in the bottom row are wrong. (Example (http://forum.dominionstrategy.com/index.php?topic=9456.msg297497#msg297497). Click on any of the cards in the bottom row)
Fixed now. I can't do anything about the existing posts that were generated with the buggy code though.
-
It would be awesome if below the images for the kingdom, it printed a little [ code] box that contained all of the names of the cards in a format that can be read by the Kingdom Selector part of the Goko Salvager. That way, if you want to try out a kingdom after reading posts like this (http://forum.dominionstrategy.com/index.php?topic=9583.msg302292#msg302292), it's as easy as copy-paste instead of writing them all out.
I don't know if the Kingdom Visualizer code is somewhere that I could contribute to, but I imagine this is an easy change, so if you point me to the code I'd be happy to try to do it myself.
Example:
(http://wiki.dominionstrategy.com/images/f/f6/Silk_Road.jpg) (http://wiki.dominionstrategy.com/images/2/20/Horn_of_Plenty.jpg) (http://wiki.dominionstrategy.com/images/3/37/Mystic.jpg) (http://wiki.dominionstrategy.com/images/d/dd/Royal_Seal.jpg) (http://wiki.dominionstrategy.com/images/6/60/Saboteur.jpg)
(http://wiki.dominionstrategy.com/images/3/3f/Vagrant.jpg) (http://wiki.dominionstrategy.com/images/7/74/Ambassador.jpg) (http://wiki.dominionstrategy.com/images/b/b2/Doctor.jpg) (http://wiki.dominionstrategy.com/images/8/8a/Fortress.jpg) (http://wiki.dominionstrategy.com/images/6/65/Quarry.jpg)
Vagrant, Ambassador, Doctor, Fortress, Quarry, Silk Road, Horn of Plenty, Mystic, Royal Seal, Saboteur
-
It would be awesome if below the images for the kingdom, it printed a little [ code] box that contained all of the names of the cards in a format that can be read by the Kingdom Selector part of the Goko Salvager. That way, if you want to try out a kingdom after reading posts like this (http://forum.dominionstrategy.com/index.php?topic=9583.msg302292#msg302292), it's as easy as copy-paste instead of writing them all out.
I don't know if the Kingdom Visualizer code is somewhere that I could contribute to, but I imagine this is an easy change, so if you point me to the code I'd be happy to try to do it myself.
Example:
(http://wiki.dominionstrategy.com/images/f/f6/Silk_Road.jpg) (http://wiki.dominionstrategy.com/images/2/20/Horn_of_Plenty.jpg) (http://wiki.dominionstrategy.com/images/3/37/Mystic.jpg) (http://wiki.dominionstrategy.com/images/d/dd/Royal_Seal.jpg) (http://wiki.dominionstrategy.com/images/6/60/Saboteur.jpg)
(http://wiki.dominionstrategy.com/images/3/3f/Vagrant.jpg) (http://wiki.dominionstrategy.com/images/7/74/Ambassador.jpg) (http://wiki.dominionstrategy.com/images/b/b2/Doctor.jpg) (http://wiki.dominionstrategy.com/images/8/8a/Fortress.jpg) (http://wiki.dominionstrategy.com/images/6/65/Quarry.jpg)
Vagrant, Ambassador, Doctor, Fortress, Quarry, Silk Road, Horn of Plenty, Mystic, Royal Seal, Saboteur
I found the code on GitHub and coded it up, and put in a pull request. I don't know if that's how you do things, but it's worth a shot!
-
It would be awesome if below the images for the kingdom, it printed a little [ code] box that contained all of the names of the cards in a format that can be read by the Kingdom Selector part of the Goko Salvager. That way, if you want to try out a kingdom after reading posts like this (http://forum.dominionstrategy.com/index.php?topic=9583.msg302292#msg302292), it's as easy as copy-paste instead of writing them all out.
I don't know if the Kingdom Visualizer code is somewhere that I could contribute to, but I imagine this is an easy change, so if you point me to the code I'd be happy to try to do it myself.
Example:
(http://wiki.dominionstrategy.com/images/f/f6/Silk_Road.jpg) (http://wiki.dominionstrategy.com/images/2/20/Horn_of_Plenty.jpg) (http://wiki.dominionstrategy.com/images/3/37/Mystic.jpg) (http://wiki.dominionstrategy.com/images/d/dd/Royal_Seal.jpg) (http://wiki.dominionstrategy.com/images/6/60/Saboteur.jpg)
(http://wiki.dominionstrategy.com/images/3/3f/Vagrant.jpg) (http://wiki.dominionstrategy.com/images/7/74/Ambassador.jpg) (http://wiki.dominionstrategy.com/images/b/b2/Doctor.jpg) (http://wiki.dominionstrategy.com/images/8/8a/Fortress.jpg) (http://wiki.dominionstrategy.com/images/6/65/Quarry.jpg)
Vagrant, Ambassador, Doctor, Fortress, Quarry, Silk Road, Horn of Plenty, Mystic, Royal Seal, Saboteur
I found the code on GitHub and coded it up, and put in a pull request. I don't know if that's how you do things, but it's worth a shot!
Works great! Thanks!
And yes, contributions via github pull request are perfect.
-
I found the code on GitHub and coded it up, and put in a pull request. I don't know if that's how you do things, but it's worth a shot!
Works great! Thanks!
And yes, contributions via github pull request are perfect.
Sweet, I tried it out and it works! What fast service!