Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: [1]

Author Topic: Dominion Woodcutter Logging Services  (Read 1673 times)

0 Members and 1 Guest are viewing this topic.

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 191
  • Shuffle iT Username: ceviri
  • Respect: +361
    • View Profile
Dominion Woodcutter Logging Services
« on: March 08, 2018, 11:11:35 am »
+41

(the thing I'm proudest of is the name)

Storing, reviewing, and sharing logs is one of my favorite things to do after a game, so I've been working on a thing to do that. Unfortunately, there's no way for me to directly pull game logs that I know of, so I can only store logs that users upload :(. Follow the instructions here first, where I've written a Tampermonkey userscript to automatically pull logs from ShuffleIT, and send them over.

After that, it'll crunch the log and spit out the log, along with some graphs that show breakdowns and stuff. Like:
(The following screenshots were taken from this log.)

Visually see how your deck composition evolves, when you shuffle, etc.


Hide cards to focus on important splits, etc.


Find out where your VP was coming from


This thing is a massive work in progress, the visuals are likely to change, the info displayed is likely to change, there's some missing colors, there's a lot of bugs with card behavior (like Inheritance, BoM, and many more) that I'm hoping to stomp out over time (please tell me if you notice any!), but I think it's functional enough that well I'm releasing it for public use.

As for future features, I'm planning to implement searching through uploaded logs, mass statistics (Council Room-esque), and other neat things hopefully once I have a good number of logs that those things become meaningful.
« Last Edit: December 29, 2018, 09:32:09 am by tailred »
Logged

Ghacob

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 149
  • Shuffle iT Username: Gender
  • J. They/them
  • Respect: +204
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #1 on: March 08, 2018, 02:17:23 pm »
0

Issue: If getting the log fails (in this case, because I don't own the expansions that were in the game), it will immediately concede your next game.
Logged
Gender happened.

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 191
  • Shuffle iT Username: ceviri
  • Respect: +361
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #2 on: March 08, 2018, 09:40:49 pm »
+1

Issue: If getting the log fails (in this case, because I don't own the expansions that were in the game), it will immediately concede your next game.

Oh boy, I completely overlooked that possibility. I'll get a fix out, sorry about that.

Edit: It should be resolved.
« Last Edit: March 08, 2018, 11:46:23 pm by tailred »
Logged

faust

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2318
  • Shuffle iT Username: faust
  • Respect: +3264
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #3 on: March 09, 2018, 06:00:12 am »
0

Great project:

Request: maybe you can add something to your script that automatically pulls game numbers from finished games so that you can batch-process them?
Logged
Since the number of points is within a constant factor of the number of city quarters, in the long run we can get (4 - ε) ↑↑ n points in n turns for any ε > 0.

faust

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2318
  • Shuffle iT Username: faust
  • Respect: +3264
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #4 on: March 09, 2018, 06:20:41 am »
0

Logged
Since the number of points is within a constant factor of the number of city quarters, in the long run we can get (4 - ε) ↑↑ n points in n turns for any ε > 0.

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 191
  • Shuffle iT Username: ceviri
  • Respect: +361
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #5 on: March 09, 2018, 07:03:45 am »
+1

Something went wrong here:

http://ceviri.me/woodcutter/12414111/display/
Yep, I saw it and fixed it. Thanks for reporting it!
Logged

assemble_me

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1407
  • Shuffle iT Username: assemble me
  • Dominion stream/yt junkie
  • Respect: +805
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #6 on: March 12, 2018, 05:22:06 pm »
+3

Finally something regarding logs we can work with. That has been my biggest issue with the current implementation. Thanks a lot, I've been already trying to work something out but could not make it happen.
« Last Edit: March 12, 2018, 05:23:11 pm by assemble_me »
Logged
Join the f.ds Dominion league | My Twitch channel

... and none of his posts shall remain unedited

Seprix

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 5542
  • Shuffle iT Username: Seprix
  • Respect: +3488
    • View Profile
    • The Border Village
Re: Dominion Woodcutter Logging Services
« Reply #7 on: March 12, 2018, 06:48:55 pm »
0

12530108

Something went wrong here.

http://ceviri.me/woodcutter/12530108/display/
Logged
Don't let this one slip, or you could be going to military school.

Join Dominion Discord

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 191
  • Shuffle iT Username: ceviri
  • Respect: +361
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #8 on: March 12, 2018, 07:29:00 pm »
+1

12530108

Something went wrong here.

http://ceviri.me/woodcutter/12530108/display/
Bug squished.

Thanks for the report!
Logged

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 191
  • Shuffle iT Username: ceviri
  • Respect: +361
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #9 on: March 16, 2018, 10:07:51 am »
0

I just pushed a bugfix that was affecting some logs. If you've noticed some strange behavior - specifically, the line "<player> draws 1" in the log, you'll need to re-parse the log to fix it.
Logged

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 191
  • Shuffle iT Username: ceviri
  • Respect: +361
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #10 on: April 02, 2018, 10:56:38 am »
+3

Hey guys, I've added a few things to the replays:
See the exact game state


Small card labels (and scaling)


Quickly focus on a single split by long-clicking a card

Logged

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 7463
  • Respect: +8281
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #11 on: October 04, 2018, 05:24:08 pm »
0

Hey, what's the Dominion.Games link to find / load logs?
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

Gasku

  • Pawn
  • **
  • Offline Offline
  • Posts: 4
  • Respect: +4
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #12 on: December 12, 2018, 11:33:34 am »
0

Is this service working for anyone? It doesn't work for me.
Logged

markus

  • Apprentice
  • *****
  • Offline Offline
  • Posts: 251
  • Shuffle iT Username: markus
  • Respect: +317
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #13 on: December 13, 2018, 05:52:16 am »
0

It's not working at the moment due to the Renaissance release. But I think that ceviri is about to fix that.
Logged

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 191
  • Shuffle iT Username: ceviri
  • Respect: +361
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #14 on: December 28, 2018, 10:51:14 am »
+1

Ok, I've got it working again. Hooray! (Here's an example)

EDIT: If you're grabbing logs please check the 'Log all lines (+ Action etc.)' option. Else the actions / coins tracking will be off.

If you're used to the old interface it'll look a lot different, though. I'm focusing on making Woodcutter more of a replay client over the 'stats/overview' kinda thing that I had previously. Of course the stats will be back, over the coming days, and a lot of back-end stuff that made a lot of logs break have been fixed too, so progress should be pretty quick. It's very bare-bones right now, but that'll be changing quickly over time. Shoot me a PM here, or ideally on Discord (ceviri #0055) if you've got any suggestions.
« Last Edit: December 29, 2018, 01:00:32 am by tailred »
Logged

Gasku

  • Pawn
  • **
  • Offline Offline
  • Posts: 4
  • Respect: +4
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #15 on: December 30, 2018, 03:24:20 pm »
+1

Great christmas present :) Thanks!
Logged

GendoIkari

  • Adventurer
  • ******
  • Online Online
  • Posts: 7463
  • Respect: +8281
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #16 on: December 31, 2018, 11:33:58 am »
0

Now that this is working again....

I want to integrate my F.DS extension into this, so that the Kingdom button can work by just including a game number: [kingdom ]21358944[/kingdom]

Is there a URL I could use to grab the Kingdom card info based on a game ID? I could parse it out from the HTML in the http://ceviri.me/woodcutter/21358944/display/ link, but maybe there's an easier way?

Also, is it ok if I use your service in this way; basically as an API call?
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 191
  • Shuffle iT Username: ceviri
  • Respect: +361
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #17 on: January 01, 2019, 12:33:34 am »
+1

Now that this is working again....

I want to integrate my F.DS extension into this, so that the Kingdom button can work by just including a game number: [kingdom ]21358944[/kingdom]

Is there a URL I could use to grab the Kingdom card info based on a game ID? I could parse it out from the HTML in the http://ceviri.me/woodcutter/21358944/display/ link, but maybe there's an easier way?

Also, is it ok if I use your service in this way; basically as an API call?
I totally don't mind you using it like this - keep in mind that it'll only work for logs that have already been grabbed, though. Right now it doesn't exist, but I can also make it a bit easier for you to parse the kingdom, just gimme a while.
Logged

markus

  • Apprentice
  • *****
  • Offline Offline
  • Posts: 251
  • Shuffle iT Username: markus
  • Respect: +317
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #18 on: January 02, 2019, 09:44:38 am »
0

For the discord bot, Cave-o-Sapien is able to get the kingdoms of any game (even unrated). Maybe there's a better way to do this that doesn't rely on grabbing games for Woodcutter.
Logged
Pages: [1]
 

Page created in 0.209 seconds with 21 queries.