Dominion Strategy Forum

Please login or register.

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

Author Topic: Logsearch and Isotropish leaderboard for 2.0  (Read 23689 times)

0 Members and 1 Guest are viewing this topic.

Titandrake

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2210
  • Respect: +2854
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #25 on: October 28, 2015, 09:47:27 pm »
0

2) Logpretifier only works with this Chrome extension:
https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi (DISABLE this extension after using logprettifier, it can be a security hole)
Reason MF does not add Access-Control-Allow-Origin: * header as Goko did.

Is this something that we could request to have changed on Making Fun forums (so that the prettier logs are available without needing an extension)?

I'd be happy to do it. Would the description "MF does not add Access-Control-Allow-Origin: * header as Goko did" be sufficient for Making Fun to know what change is needed?

You may get better success if you ask MF to list just the log prettifier domain in the header. I can't think of reasons not to use Access-Control-Allow-Origin: * off the top of my head, but that doesn't mean they don't exist.
Logged
I have a blog! It's called Sorta Insightful. Check it out?

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #26 on: October 28, 2015, 10:25:09 pm »
0

It is also possoble to fix logpretifier in gokosalvager.com code. The log would need to be downloaded by gokosalvager.com server. I don't have time for this change though :(
If someone does send me pull request or patch:
https://github.com/yed/goko-dominion-tools

« Last Edit: October 28, 2015, 10:26:14 pm by yed »
Logged

gkrieg13

  • Minion
  • *****
  • Offline Offline
  • Posts: 509
  • Shuffle iT Username: gkrieg
  • Respect: +463
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #27 on: October 28, 2015, 11:00:48 pm »
0

Where is the prettifier?
Logged

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #28 on: October 28, 2015, 11:06:43 pm »
0

https://github.com/yed/goko-dominion-tools/blob/master/web/static/logprettifier.html

Thera are 2 options:
1)Change this static HTML to dynamically generated by python
2)Create python page which would just download and show log. The static pretifier woul use this page instead of original Making Fun log.
Logged

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #29 on: October 28, 2015, 11:11:32 pm »
0


Oh, you probably asked just for this:
http://gokosalvager.com/static/logprettifier.html

2) Logpretifier only works with this Chrome extension:
https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi (DISABLE this extension after using logprettifier, it can be a security hole)
Reason MF does not add Access-Control-Allow-Origin: * header as Goko did.

« Last Edit: October 28, 2015, 11:14:43 pm by yed »
Logged

gkrieg13

  • Minion
  • *****
  • Offline Offline
  • Posts: 509
  • Shuffle iT Username: gkrieg
  • Respect: +463
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #30 on: October 29, 2015, 12:32:56 am »
+1

I have time but very limited skills. I'll see what I can do.
Logged

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #31 on: October 29, 2015, 12:39:09 am »
0

I have time but very limited skills. I'll see what I can do.
The only programming in python I have done was porting Logsearch to 2.0 ;)
Logged

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
« Last Edit: October 29, 2015, 12:46:34 am by yed »
Logged

assemble_me

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1407
  • Shuffle iT Username: assemble me
  • Dominion stream/yt junkie
  • Respect: +807
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #33 on: October 30, 2015, 05:27:16 am »
0

Is the old leaderboard gone for good? http://gokosalvager.com:6080/
Logged
Join the f.ds Dominion league | My Twitch channel

... and none of his posts shall remain unedited

qmech

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1918
  • Shuffle iT Username: qmech
  • What year is it?
  • Respect: +2320
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #34 on: October 30, 2015, 02:32:05 pm »
+1

Logged

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #35 on: October 30, 2015, 03:04:52 pm »
+2

Is the old leaderboard gone for good? http://gokosalvager.com:6080/

Looks fine to me.
Besause I have restarted the old server.
Logged

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #36 on: November 22, 2015, 05:56:11 pm »
+8

« Last Edit: November 23, 2015, 02:34:36 am by yed »
Logged

Deadlock39

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1722
  • Respect: +1757
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #37 on: November 22, 2015, 10:34:34 pm »
+1

That is awsome. I need to find some of his posts to upvote.

I noticed it working yesterday actually.

I found that one of my logs didn't seem to work. Not sure if it is a new issue with the fix or something old.
http://www.gokosalvager.com/static/logprettifier.html?http://dominion-game-logs.s3.amazonaws.com/game_logs/20151118/log.0.1447821646549.txt

assemble_me

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1407
  • Shuffle iT Username: assemble me
  • Dominion stream/yt junkie
  • Respect: +807
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #38 on: November 22, 2015, 11:41:03 pm »
+1

That is awsome. I need to find some of his posts to upvote.

I noticed it working yesterday actually.

I found that one of my logs didn't seem to work. Not sure if it is a new issue with the fix or something old.
http://www.gokosalvager.com/static/logprettifier.html?http://dominion-game-logs.s3.amazonaws.com/game_logs/20151118/log.0.1447821646549.txt
My first guess is that Jack of all Trades with spaces could be the problem.

Edit: Here's another Jack game, the formatter doesn't work for it as well: http://gokosalvager.com/static/logprettifier.html?http://dominion-game-logs.s3.amazonaws.com/game_logs/20151121/log.0.1448122479118.txt
« Last Edit: November 22, 2015, 11:43:01 pm by assemble_me »
Logged
Join the f.ds Dominion league | My Twitch channel

... and none of his posts shall remain unedited

MdLC

  • Scout
  • ****
  • Offline Offline
  • Posts: 40
  • Respect: +83
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #39 on: November 23, 2015, 03:59:34 am »
+18

I found that one of my logs didn't seem to work. Not sure if it is a new issue with the fix or something old.
http://www.gokosalvager.com/static/logprettifier.html?http://dominion-game-logs.s3.amazonaws.com/game_logs/20151118/log.0.1447821646549.txt
My first guess is that Jack of all Trades with spaces could be the problem.

Edit: Here's another Jack game, the formatter doesn't work for it as well: http://gokosalvager.com/static/logprettifier.html?http://dominion-game-logs.s3.amazonaws.com/game_logs/20151121/log.0.1448122479118.txt

Your guess is spot on. The formatter works fine on both those logs once it learns Jack's new name.

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #40 on: November 23, 2015, 12:56:20 pm »
+1

Merged and updated from Android phone :) Thank you again MdLC!
Logged

Infthitbox

  • Explorer
  • *****
  • Offline Offline
  • Posts: 317
  • Respect: +440
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #41 on: December 03, 2015, 09:42:22 pm »
+7

Submitted a pull request for fixing the problem with cards with apostrophes (King's Court, Worker's Village, etc) breaking resubmission of log search when inserted back into the Kingdom/Not In Kingdom fields.
Logged

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #42 on: December 05, 2015, 04:09:16 am »
0

Merged and updated from Android phone  ;)
Thank you Infthitbox!

Submitted a pull request for fixing the problem with cards with apostrophes (King's Court, Worker's Village, etc) breaking resubmission of log search when inserted back into the Kingdom/Not In Kingdom fields.
Logged

assemble_me

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1407
  • Shuffle iT Username: assemble me
  • Dominion stream/yt junkie
  • Respect: +807
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #43 on: January 07, 2016, 01:19:02 am »
0

Quote
Last recorded game finished 148507 seconds ago.

So, no leaderboard update yesterday. Anything to be worried about?

/edit: Seems like it did not update today as well.
« Last Edit: January 07, 2016, 06:34:15 am by assemble_me »
Logged
Join the f.ds Dominion league | My Twitch channel

... and none of his posts shall remain unedited

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #44 on: January 07, 2016, 03:55:07 pm »
+2

Out of space... will be back in a few hours.


I am considering deleting Goko (1.0) database...
Logged

Elanchana

  • Minion
  • *****
  • Offline Offline
  • Posts: 697
  • Princess of Derpminion
  • Respect: +1013
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #45 on: January 10, 2016, 06:55:02 pm »
0

Hey yed, if I change my username on 2.0, can you make it work on the Iso leaderboard? I think the broken Elanchana account might have gotten deleted so I could change back to Elanchana on the server (to make it easier to challenge me)...
Logged
Sure it's just a game. The same way that your best friend in the whole world is "just a friend".

TwitchYouTubeMusic

!!CHANGED MY USERNAME ON 2.0!!

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #46 on: January 11, 2016, 06:28:16 pm »
0

Hey yed, if I change my username on 2.0, can you make it work on the Iso leaderboard? I think the broken Elanchana account might have gotten deleted so I could change back to Elanchana on the server (to make it easier to challenge me)...
If you change your username, it will reset your rating.
I won't be adding any exceptions. I don't like them and don't have time to deal with that.
Logged

Elanchana

  • Minion
  • *****
  • Offline Offline
  • Posts: 697
  • Princess of Derpminion
  • Respect: +1013
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #47 on: January 11, 2016, 07:26:19 pm »
0

Hey yed, if I change my username on 2.0, can you make it work on the Iso leaderboard? I think the broken Elanchana account might have gotten deleted so I could change back to Elanchana on the server (to make it easier to challenge me)...
If you change your username, it will reset your rating.
I won't be adding any exceptions. I don't like them and don't have time to deal with that.
Sigh... guess I'll have to live with a long username until we switch servers again if that ever happens.
Logged
Sure it's just a game. The same way that your best friend in the whole world is "just a friend".

TwitchYouTubeMusic

!!CHANGED MY USERNAME ON 2.0!!

yed

  • Minion
  • *****
  • Offline Offline
  • Posts: 620
  • Shuffle iT Username: yed
  • Respect: +571
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #48 on: January 12, 2016, 02:07:30 am »
0

Hey yed, if I change my username on 2.0, can you make it work on the Iso leaderboard? I think the broken Elanchana account might have gotten deleted so I could change back to Elanchana on the server (to make it easier to challenge me)...
If you change your username, it will reset your rating.
I won't be adding any exceptions. I don't like them and don't have time to deal with that.
Sigh... guess I'll have to live with a long username until we switch servers again if that ever happens.
You are better now so if your rating gets restarted you will probably have also better rating (after about 150 games).
Logged

Elanchana

  • Minion
  • *****
  • Offline Offline
  • Posts: 697
  • Princess of Derpminion
  • Respect: +1013
    • View Profile
Re: Logsearch and Isotropish leaderboard for 2.0
« Reply #49 on: January 13, 2016, 03:21:58 pm »
0

Hey yed, if I change my username on 2.0, can you make it work on the Iso leaderboard? I think the broken Elanchana account might have gotten deleted so I could change back to Elanchana on the server (to make it easier to challenge me)...
If you change your username, it will reset your rating.
I won't be adding any exceptions. I don't like them and don't have time to deal with that.
Sigh... guess I'll have to live with a long username until we switch servers again if that ever happens.
You are better now so if your rating gets restarted you will probably have also better rating (after about 150 games).
I... guess so. I survived a fresh start once, I guess I can do it again.
Logged
Sure it's just a game. The same way that your best friend in the whole world is "just a friend".

TwitchYouTubeMusic

!!CHANGED MY USERNAME ON 2.0!!
Pages: 1 [2] 3  All
 

Page created in 0.144 seconds with 21 queries.