Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: 1 2 3 [4] 5 6 ... 8  All

Author Topic: Goko log parser - now for Chrome!  (Read 66495 times)

0 Members and 1 Guest are viewing this topic.

nutki

  • Scout
  • ****
  • Offline Offline
  • Posts: 40
  • Respect: +195
    • View Profile
Re: Goko log parser - v1.5 DONE
« Reply #75 on: February 19, 2013, 12:24:52 pm »
0

Since the last goko update the main game screen stays in the middle of my screen, with the log on its right being cut off. Before the upfate the main screen would move to the left. Does anyone else have this problem / know how to fix it?
Are you using the latest github version? I noticed the layout changes they made and put some new counter measures:
https://github.com/nutki/Goko-Live-Log-Viewer/raw/master/Goko_Live_Log_Viewer.user.js
Logged
Want a better Goko experience?
Get Firefox, Grease monkey and my script.

Watno

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2745
  • Shuffle iT Username: Watno
  • Respect: +2984
    • View Profile
Re: Goko log parser - v1.5 DONE
« Reply #76 on: February 19, 2013, 12:59:03 pm »
0

Great, works with this one.
Logged

Beyond Awesome

  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 2941
  • Shuffle iT Username: Beyond Awesome
  • Respect: +2467
    • View Profile
Re: Goko log parser - v1.5 DONE
« Reply #77 on: February 20, 2013, 06:24:06 pm »
0

If some programmer wants to make this easy on others, you can distribute it via the Chrome Web Store (for free).  Then installing it becomes super easy.

I second this, every time I log onto Goko, I have to copy and paste the code. I am sure there is an easier to do this, but I am not a programmer.
Logged

Kirian

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7096
  • Shuffle iT Username: Kirian
  • An Unbalanced Equation
  • Respect: +9416
    • View Profile
Re: Goko log parser - v1.5 DONE
« Reply #78 on: February 20, 2013, 08:17:21 pm »
+2

Since the last goko update the main game screen stays in the middle of my screen, with the log on its right being cut off. Before the upfate the main screen would move to the left. Does anyone else have this problem / know how to fix it?
Are you using the latest github version? I noticed the layout changes they made and put some new counter measures:
https://github.com/nutki/Goko-Live-Log-Viewer/raw/master/Goko_Live_Log_Viewer.user.js

OK, I just installed that and went over to Goko... and FF froze on me, indicating that the script wasn't responding.

Edit: Fixed.  If you had to manually install it the first time, you'll have to disable the old script.
« Last Edit: February 20, 2013, 08:20:23 pm by Kirian »
Logged
Kirian's Law of f.DS jokes:  Any sufficiently unexplained joke is indistinguishable from serious conversation.

1wheel

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +86
    • View Profile
Re: Goko log parser - v1.5 DONE
« Reply #79 on: February 20, 2013, 11:54:22 pm »
+8

I ducked taped the work everyone else did together and made an extension for chrome:

https://chrome.google.com/webstore/detail/goko-log-viewer/kaignighoceeemhinbbophdeogpnedjn

Beyond Awesome

  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 2941
  • Shuffle iT Username: Beyond Awesome
  • Respect: +2467
    • View Profile
Re: Goko log parser - v1.5 DONE
« Reply #80 on: February 21, 2013, 02:05:49 am »
0

Logged

hsiale

  • Duke
  • *****
  • Offline Offline
  • Posts: 383
  • Respect: +244
    • View Profile
Re: Goko log parser - v1.5 DONE
« Reply #81 on: February 21, 2013, 06:07:31 am »
0

Installed the Chrome extension, playing experience is way better. Big thanks to everyone who contributed to this tool. One small issue: Goko has too small card name length limit and needs to use a fix of having "JackOfAllTrades" instead of "Jack of all Trades" - is it possible to correct this in the parser?
Logged

Polk5440

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1708
  • Respect: +1788
    • View Profile
Re: Goko log parser - v1.5 DONE
« Reply #82 on: February 21, 2013, 05:30:30 pm »
0

Thanks to 1wheel's input I realized that the Goko viewport frame is not constant size. On my small laptop screen is actually a bit smaller (960x640) than on other devices (1024x768). I modified my script to be independent of that:
https://github.com/nutki/Goko-Live-Log-Viewer/raw/master/Goko_Live_Log_Viewer.user.js

This is great. Thanks!

Quote
The chat window can be moved away in similar fashion, I believe. It can be a bit more complex as it also requires input. The added value would be standard editing options and copy and paste for free.

I would love to bum a Greasemonkey script off of someone that moves the chat window, as well. Or has the log as the top 3/4 of the screen area to the right of Goko Dominion and the chat window bottom 1/4 or something like that.
Logged

GwinnR

  • Tactician
  • *****
  • Offline Offline
  • Posts: 417
  • Respect: +786
    • View Profile
    • German Youtube-Videos
Re: Goko log parser - v1.5 DONE
« Reply #83 on: February 22, 2013, 12:22:03 pm »
0

I don't know, if it is already posted, but there is a mistake with the Bishop: When you play it, it tells you, that you gain one point chip less, that you really do.

(Maybe this is wanted, so that it tells you only the point chips you gain form trashing; but I think it would be better to write all point chips you gain. So it wouldn't tell you, that you gain 0 point chips, when you trash a Copper or something like that.)
Logged
Nobody's perfect, but I'm only a nobody o.O

My german Youtube-Channel: http://www.youtube.com/gwinnrdominion

Watno

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2745
  • Shuffle iT Username: Watno
  • Respect: +2984
    • View Profile
Re: Goko log parser - v1.5 DONE
« Reply #84 on: February 22, 2013, 12:24:56 pm »
0

That's a goko side issue, so this is the wrong place for it.
Logged

GwinnR

  • Tactician
  • *****
  • Offline Offline
  • Posts: 417
  • Respect: +786
    • View Profile
    • German Youtube-Videos
Re: Goko log parser - v1.5 DONE
« Reply #85 on: February 22, 2013, 12:47:22 pm »
0

Sorry, it wasn't clear...I ment it for this script here:
I converted my script into a Greasemonkey script (attached), showing the live log on the right of the game window. The result looks like this:

To use it you have to install Firefox with the Greasemonkey plugin and open the attached file with 'File'>'Open File...'
Logged
Nobody's perfect, but I'm only a nobody o.O

My german Youtube-Channel: http://www.youtube.com/gwinnrdominion

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9191
    • View Profile
Re: Goko log parser - v1.5 DONE
« Reply #86 on: February 22, 2013, 12:58:54 pm »
0

Sorry, it wasn't clear...I ment it for this script here:
I converted my script into a Greasemonkey script (attached), showing the live log on the right of the game window. The result looks like this:
(image snipped)
To use it you have to install Firefox with the Greasemonkey plugin and open the attached file with 'File'>'Open File...'

All the script does is stylize the Goko log and make it always visible.  The log itself comes from Goko.  If there is a mistake in what it reports, that is due to Goko itself.
Logged

GwinnR

  • Tactician
  • *****
  • Offline Offline
  • Posts: 417
  • Respect: +786
    • View Profile
    • German Youtube-Videos
Re: Goko log parser - v1.5 DONE
« Reply #87 on: February 22, 2013, 01:05:10 pm »
0

Ah, ok I did't know that.
Logged
Nobody's perfect, but I'm only a nobody o.O

My german Youtube-Channel: http://www.youtube.com/gwinnrdominion

jsh357

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2577
  • Shuffle iT Username: jsh357
  • Respect: +4340
    • View Profile
    • JSH Gaming: Original games
Re: Goko log parser - now for Chrome!
« Reply #88 on: February 22, 2013, 01:20:51 pm »
+1

This is amazing.  Makes Goko so much better.
« Last Edit: February 22, 2013, 01:22:30 pm by jsh357 »
Logged
Join the Dominion community Discord channel! Chat in text and voice; enter dumb tournaments; spy on top players!

https://discord.gg/2rDpJ4N

Beyond Awesome

  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 2941
  • Shuffle iT Username: Beyond Awesome
  • Respect: +2467
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #89 on: February 22, 2013, 02:22:55 pm »
0

I love how it automatically fetches the prettier looking log when you're finished with the game as well. Pretty amazing all around. Someone should send it to Goko so they can implement the code themselves, if they want to.
Logged

loppo

  • 2014 Austrian Champion
  • *
  • Offline Offline
  • Posts: 176
  • Respect: +194
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #90 on: February 22, 2013, 04:13:11 pm »
0

Hi, i just read in the chat that you wanted to try out JoaT with the new parser. I couldnt find you, so i started a solo game. Everything seems to be ok.

Heres a screenshot

and a link to the log
http://dom.retrobox.eu/?/20130222/log.50955175e4b013548a3d58f0.1361567177297.txt
« Last Edit: February 22, 2013, 04:14:28 pm by loppo »
Logged

1wheel

  • Chancellor
  • ***
  • Offline Offline
  • Posts: 24
  • Respect: +86
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #91 on: February 22, 2013, 04:23:17 pm »
+1

hsiale-
I made a fix for Jack of all Trades, but haven't updated the extension yet. I don't have Hinterlands and I wanted to test it first.

Polk5440-
Chat is kinda tricky, I'll take a look at when I get some free time. drheld has already written some code that hooks into their chat, so it is definitely doable.
https://github.com/drheld/goko_dominion_extension/blob/master/inject.js

Beyond Awesome-
I'm not sure they would implement it; there isn't a cross platform way of adding it to the UI.

heron

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1055
  • Shuffle iT Username: heron
  • Respect: +1195
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #92 on: February 24, 2013, 04:57:19 pm »
0

This is really great! One thing I'd like to see added though is a bunch of blank lines or something so that the log doesn't go all of the way to the bottom of the screen. I find it difficult to read the text down there and would appreciate it if it was moved up to a more comfortable area.

But that's a rather minor complaint.
Logged

loppo

  • 2014 Austrian Champion
  • *
  • Offline Offline
  • Posts: 176
  • Respect: +194
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #93 on: February 25, 2013, 02:43:07 am »
0

another thing i noticed is that the brown background for the ruins is rather dark. It's very hard to read which ruins it is in the log. Maybe the brown could be a tad lighter.

Besides that it's great work. it improves the gaming expirience a lot for me. Thanks for all your effort.
Logged

Beyond Awesome

  • Global Moderator
  • *****
  • Offline Offline
  • Posts: 2941
  • Shuffle iT Username: Beyond Awesome
  • Respect: +2467
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #94 on: February 25, 2013, 02:44:38 am »
0

Yes. I love the log! Again, thanks a million.
Logged

Watno

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2745
  • Shuffle iT Username: Watno
  • Respect: +2984
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #95 on: February 26, 2013, 06:50:53 pm »
0

Minor issue: Island doesn't get colored in the log.
Logged

Dsell

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1290
  • He/Him
  • Respect: +932
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #96 on: February 26, 2013, 07:00:21 pm »
+1

Oh wow, this will make Goko so much better...
Logged
"Quiet you, you'll lynch Dsell when I'm good and ready" - Insomniac


Winner of Forum Survivor Season 2!

Insomniac

  • Jester
  • *****
  • Offline Offline
  • Posts: 785
  • Respect: +392
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #97 on: February 27, 2013, 01:46:30 am »
0

I like what the log is trying to do, I don't like that it makes Goko laggy.

(Edit: in chrome using plugin from the chrome extension store)
Logged
"It is one of [Insomniacs] badges of pride that he will bus anyone, at any time, and he has done it over and over on day 1. I am completely serious, it is like the biggest part of his meta." - Dsell

kn1tt3r

  • Minion
  • *****
  • Offline Offline
  • Posts: 585
  • Respect: +278
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #98 on: February 27, 2013, 02:37:42 am »
0

another thing i noticed is that the brown background for the ruins is rather dark. It's very hard to read which ruins it is in the log. Maybe the brown could be a tad lighter.

You can change it yourself by editing this line:
Code: [Select]
ruins
 { background-color:rgb(150,104,51) ; border-radius: 6px; }
Just increase those three numbers a bit, for example to (180,130,70), and see how it looks.

Quote from: Watno
Minor issue: Island doesn't get colored in the log.

Yeah, noticed that too. There should also be no coloring for the other action-victory cards.
This piece of code is missing:
Code: [Select]
action-victory
{ background: -moz-linear-gradient(top, rgb(240,240,240), rgb(146,193,125));
  background: -webkit-linear-gradient(top, rgb(240,240,240), rgb(146,193,125));
  background: -o-linear-gradient(top, rgb(240,240,240), rgb(146,193,125));
  background: -ms-linear-gradient(top, rgb(240,240,240), rgb(146,193,125));
  background: linear-gradient(top, rgb(240,240,240), rgb(146,193,125)); border-radius: 6px; }

There is also no coloring for potential 5th and 6th players, but that's really not that important I guess.
Logged

Fabian

  • 2012 Swedish Champion
  • *
  • Offline Offline
  • Posts: 666
  • Respect: +542
    • View Profile
Re: Goko log parser - now for Chrome!
« Reply #99 on: February 27, 2013, 07:46:03 am »
+3

Non-Goko people

Making Dominion better since 2008

memegenerator

Looks like really nice work guys, thanks for your efforts.
Logged
Pages: 1 2 3 [4] 5 6 ... 8  All
 

Page created in 0.047 seconds with 16 queries.