Dominion Strategy Forum

Please login or register.

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

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

0 Members and 1 Guest are viewing this topic.

tailred

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

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


Known issues, and to-do:
  • Cathedral, and Sewers
  • Turn numbers get messed up with Fleet
  • This post, and the front page are pretty outdated
  • Card name on hover
  • +Actions are not granted with Champion
  • Actions are spend playing Capitalism-ed actions in the Buy phase
  • Herald overpay doesn't work (partially since it's not shown in the Shuffleit log)
  • BoM and Overlord are just borked in general.
  • Flip the players to match Shuffleit spectating
  • Certain issues with toggling the correct game phase on certain actions

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: March 24, 2019, 04:54:35 pm 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: 195
  • Shuffle iT Username: ceviri
  • Respect: +368
    • 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

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2567
  • Shuffle iT Username: faust
  • Respect: +3541
    • 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

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2567
  • Shuffle iT Username: faust
  • Respect: +3541
    • 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: 195
  • Shuffle iT Username: ceviri
  • Respect: +368
    • 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: +807
    • 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: 5590
  • Respect: +3609
    • View Profile
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
3/4ths retired

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 195
  • Shuffle iT Username: ceviri
  • Respect: +368
    • 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: 195
  • Shuffle iT Username: ceviri
  • Respect: +368
    • 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: 195
  • Shuffle iT Username: ceviri
  • Respect: +368
    • 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
  • ******
  • Offline Offline
  • Posts: 8101
  • Respect: +8884
    • 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

  • Herbalist
  • **
  • Offline Offline
  • Posts: 7
  • Respect: +6
    • 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: 278
  • Shuffle iT Username: markus
  • Respect: +398
    • 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: 195
  • Shuffle iT Username: ceviri
  • Respect: +368
    • 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

  • Herbalist
  • **
  • Offline Offline
  • Posts: 7
  • Respect: +6
    • 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
  • ******
  • Offline Offline
  • Posts: 8101
  • Respect: +8884
    • 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: 195
  • Shuffle iT Username: ceviri
  • Respect: +368
    • 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: 278
  • Shuffle iT Username: markus
  • Respect: +398
    • 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

Jeebus

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1497
  • Shuffle iT Username: jeebus
  • Respect: +1046
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #19 on: February 14, 2019, 02:47:11 pm »
0

Hmm, I installed this, checked out a log of an old game, then went to start a new game and I immediately lost the game.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8101
  • Respect: +8884
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #20 on: February 14, 2019, 04:25:24 pm »
0

Hmm, I installed this, checked out a log of an old game, then went to start a new game and I immediately lost the game.

Are you implying that looking at old logs makes you a worse player?
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

  • Herbalist
  • **
  • Offline Offline
  • Posts: 7
  • Respect: +6
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #21 on: February 17, 2019, 01:05:11 pm »
+1

Hi, great tool, but I find hard to see some cards, as they are too small. My suggestion, just make a tooltip when you hover the cards, to see the name or a bigger picture. Thanks, I hope you keep working on this tool.
Logged

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 195
  • Shuffle iT Username: ceviri
  • Respect: +368
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #22 on: February 18, 2019, 11:16:55 am »
0

Hmm, I installed this, checked out a log of an old game, then went to start a new game and I immediately lost the game.
Hmm, that's definitely weird. Did you pull just a single log, and did it crash or anything when you did?
Logged

Jeebus

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1497
  • Shuffle iT Username: jeebus
  • Respect: +1046
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #23 on: February 18, 2019, 01:01:24 pm »
0

Hmm, I installed this, checked out a log of an old game, then went to start a new game and I immediately lost the game.
Hmm, that's definitely weird. Did you pull just a single log, and did it crash or anything when you did?


Just one log.
I don't think it crashed. It did many things in the client. Since it was the first time I used it, I'm not sure if it did anything unusual.

tailred

  • Golem
  • ****
  • Offline Offline
  • Posts: 195
  • Shuffle iT Username: ceviri
  • Respect: +368
    • View Profile
Re: Dominion Woodcutter Logging Services
« Reply #24 on: February 18, 2019, 06:24:29 pm »
0

I know this issue existed before, but I put in a fix a long time ago and hadn't heard of it reoccurring so I assumed it was fixed. I'll keep an eye out.
Logged
Pages: [1]
 

Page created in 0.156 seconds with 20 queries.