Dominion Strategy Forum

Please login or register.

Login with username, password and session length

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - ragingduckd

Filter to certain boards:

Pages: 1 ... 3 4 [5] 6 7 ... 42
101
https://github.com/aiannacc/goko-dominion-tools/blob/f0ae8522af6151e4a459eb49dc820c00931c4729/start_logwatcher.py#L81-L97 does look pretty rude: hitting them with 40 new connections all at once. Isn't there a python HTTP client that supports Connection: Keep-Alive and/or pipelining? It looks like urlgrabber, urllib2, httplib2, and pycurl may all support this sort of thing; but I don't have the python experience to judge which of them are actually any good.

Of course I don't know who on their end you'd have to talk to, but if they really are blocking you I'm kinda amazed they decided to do so without even contacting you. If you end up getting your networking code a little more polite but can't convince makingfun to let you back in, you could try connecting over tor.

Whether that's the problem or not, I would definitely appreciate some help in making my connections more "polite."  I'm sure that the Python Requests module supports all the basic protocols and header options, but honestly I haven't a clue what I'm doing with this stuff.  Like I have it doing 40 requests at once because that was the only way I could think to deal with the long delays (often 30 seconds or more) when I request individual log files.

Could you point me towards a useful reference for understanding how to do polite and efficient http requests in high(-ish) volume?  It doesn't have to be Python-specific.

I realize that Tor is an option, but I'd like to try to civil route first.  I'm also surprised to be cut off without being contacted.  But that's assuming that a human made the decision.  Maybe their server defends itself from attacks by automatically cutting off abusive requesters?

Also can you connect to archive-dominionlogs.goko.com ?

That is a different server.

Yes, I can still access that server from Linode.  But it runs about 2 days behind on the game logs.  The only source I know that provides logs in real time is logs.prod.dominion.makingfun.com (the same server as dominionlogs.goko.com).

Try
Code: [Select]
traceroute logs.prod.dominion.makingfun.com
to determine if it is not a network issue.

Ok.  I haven't used traceroute before though.  Does this output mean anything to you?

Code: [Select]
li566-22> traceroute logs.prod.dominion.makingfun.com
traceroute to logs.prod.dominion.makingfun.com (54.213.198.64), 30 hops max, 60 byte packets
 1  23.92.24.3 (23.92.24.3)  0.377 ms  0.522 ms  0.638 ms
 2  10ge8-3.core3.fmt2.he.net (64.71.132.137)  0.153 ms  0.143 ms  0.146 ms
 3  10ge10-1.core1.sjc2.he.net (184.105.222.14)  12.244 ms  12.202 ms  12.149 ms
 4  216.218.193.42 (216.218.193.42)  0.678 ms  0.691 ms  0.656 ms
 5  205.251.229.155 (205.251.229.155)  0.678 ms 205.251.229.157 (205.251.229.157)  0.682 ms 205.251.229.155 (205.251.229.155)  0.703 ms
 6  205.251.232.68 (205.251.232.68)  30.317 ms 205.251.232.112 (205.251.232.112)  22.153 ms 205.251.232.68 (205.251.232.68)  29.517 ms
 7  205.251.232.147 (205.251.232.147)  22.359 ms 205.251.232.153 (205.251.232.153)  22.272 ms 205.251.232.141 (205.251.232.141)  22.262 ms
 8  205.251.232.165 (205.251.232.165)  22.997 ms  22.948 ms 205.251.232.63 (205.251.232.63)  22.938 ms
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

102
The Isotropish leaderboard won't be updating until further notice.  As of yesterday, my Linode instance can no longer access the MF/Goko log server.

From home, I'm able to talk to their server just fine:

Code: [Select]
iron> ping -q -c 10 google.com
PING google.com (74.125.224.200) 56(84) bytes of data.

--- google.com ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9014ms
rtt min/avg/max/mdev = 12.021/15.808/44.671/9.665 ms

But from Linode, my requests just time out:

Code: [Select]
li566-22> ping logs.prod.dominion.makingfun.com
PING ec2-54-213-198-64.us-west-2.compute.amazonaws.com (54.213.198.64) 56(84) bytes of data.
^C
--- ec2-54-213-198-64.us-west-2.compute.amazonaws.com ping statistics ---
435 packets transmitted, 0 received, 100% packet loss, time 433999ms

The same happens when I request specific log files using 'curl' or 'wget'.

Anyone have any insight on why this might happen?  Is the most likely thing that they've specifically cut off service to my Linode instance?

Assuming that's the case, can anyone guess who I'd have to contact to resolve that?  There's a decent chance that I'm just doing my log requests inefficiently and in a way that demands more of their server than is really necessary.  It may be that I could fix that to everyone's satisfaction if I could make contact with someone tech-savvy on their end.

103
A few anomalies have occurred. These are some ratings I'm currently seeing. Tuff and Marin have 50k+ games played. While I'm sure they both like Dominion, not sure they really played that many.
Ballsy -108
Tuff_Gong 56
Martin Dambachmair 99
Shihao Koh -179

This is a known bug.  I've put some logging in place that may help me catch it next time it happens.  FWIW, the overall effect on the leaderboard is pretty minimal, except for the lucky few who get massively overrated (temporarily).


104
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: July 01, 2014, 12:38:46 am »
My Isotropish level doesn't appear to be updating on the Dominion site.

Did you used to have a different username?

105
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 27, 2014, 01:54:18 am »
I created a game a moment ago and a user that I have blacklisted was able to join it.  Is the feature not working for anyone else?  (Not sure how to test)

Might be a case sensitivity issue.  If so, it should be on our to-fix list now that Goko isn't allowing duplicate names anymore.

106
I've fixed the gokosalvager.com bug that was making games go missing.  Both the log search and the leaderboard appear to be correct now.

Unfortunately, the MF/Goko that causes some logs not to be generated at all still remains, and they seem to be dropping quite a lot of games.  If you can find the original log file, but it doesn't show up in search, please post here, as it means that something is wrong on my side.  If the log file is missing too, it's just Goko being Goko.

FYI, Goko lists each day's logs at an address like http://dominionlogs.goko.com/20140617/.  Games that you host will be prefixed by "log.[your player id]" (e.g. "log.5101a6c4e4b02b7235c3860f.1402894381446.txt").

107
Goko Dominion Online / Re: gokosalvager.com is moving to Linode!
« on: June 19, 2014, 12:47:56 am »
Then I searched the logs, and it turned out that my league games against QwertZuiop aren't found in the log search any more, so I'd expect they're not counted for the leaderboard either. The games have been played on May 30th between 2PM and 4PM UTC+2.

I found the bug that prevented these games from getting recorded.  They appear correctly in the search now.

I don't want to annoy you, but it seems like this still happens. I wanted to look through my league match logs against Simon (DK) but the log search finds only three out of six (funny how we had to play four pro and two unrated games and the log search finds two/one ;) - all games were hosted by Simon).  http://www.gokosalvager.com/logsearch?p1name=Assemble+Meme&p1score=any&p2name=Simon+%28DK%29&startdate=08%2F05%2F2012&enddate=06%2F10%2F2014&supply=&nonsupply=&rating=any&pcount=2&colony=any&bot=false&shelters=any&guest=false&minturns=&maxturns=&quit=false&resign=any&limit=20&submitted=true&offset=0

I think MF/Goko simply failed to record these three logs.  I found only 3 games hosted by either you or Simon (DK) in Goko's log file directory for June 10.

108
My mistake ragingduckd, you are right. My user name was Jared Grant prior to XD9.

Okay, I corrected that manually in the database.  Isotropish is still all mucked up, but your rating will be correct once I fix the other issues.  It'll include both the games you played as Jared Grant and as XD9.

109
I did!  I changed my ID from Grasoga to XD9 about 2 weeks ago. Should I change it back to Grasoga in order for it to work or does the rating perhaps reset each time you reset the username?  Thanks!

Weird... was your username "Jared Grant" before that?

110
It looks like you've uncovered a bug in how Isotropish matches usernames to user ids.  Did you change your username last month?

111
Hello!  I'm new to this.  I am new to Dominion online and am just starting to understand the ISO rating system.  I noticed that my ISO rating on Dominion Salvager while playing says I'm a -10 rating, but when I go to the actual Isotropish leaderboard it says I'm -27.  Also, it doesn't seem to ever change from -10.  Which one is right, and is there a reason they are different.  My username I play by is XD9.  Thanks for your help!

Isotropish is experiencing technical difficulties at the moment.  Ratings haven't been updating properly for the last week or so.

The "Iso" rating that Salvager displays should match your Isotropish rating.  I'll look into that too when I straighten out the issues with the Isotropish server.

112
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 13, 2014, 06:51:23 pm »
I've added the beta version to the Chrome Store.

If Chrome has been disabling your manually-installed version of the Salvager beta, install this version instead.  If your version is still working fine, you don't need to change anything.

113
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 13, 2014, 04:37:00 pm »
Aaaaaaand it got disabled again.   :-\

I just had the same thing happen, JSYK

It may be this issue, but I'm still finding it hard to understand the Google explanations: specifically the stuff that varies between Chrome, Chrome beta, Chrome developer versions, Chromium, and Canary.  There was this restriction, but that was as of Chrome 33, so I would have expected it to start causing problems earlier.

If this is indeed the issue, then all the solutions on your side are kinda awful.  The easiest might be to install a nearly-identical Chrome variant like Chromium or Canary.  Then the Chrome folks decide that you're an advanced enough user that Google will let you manage your own non-store extensions.

Obviously this isn't ideal.  I'm really surprised that there's no advanced-user way, maybe hiding in chrome://flags or something.  FWIW, you can also avoid the restrictions by unpacking the .crx and installing the extension as an "unpacked" folder, but I suspect that will prevent you from getting Salvager beta updates.  Or you can switch to Mac or Linux. :D

So probably the best solution is for us to put the beta version in the Chrome store alongside the regular version, as yed suggested.

It feels like the wrong answer though.  My current solution feels wrong too... there ought to be some more Chrome-compliant way to handle beta versions of extensions.
If Google Cast, straight from the folks who make the browser, is any indication, then separate store entries for beta and stable is the way to do it.  For automated uploading, this turned up on a quick search. 

This guy is using a macro program to automate clicking through the manual upload.  I'm looking for something fully scripted, like the existing release tasks.

114
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 12, 2014, 10:37:51 pm »
Weird... I haven't encountered that.  Chrome version + OS?  Maybe post a screenshot of the error?

Should be attached

Ok, so I assume it won't let you just click "enable" on the beta version.  What happens if you delete both versions and reinstall the latest beta?

Would it be a lot of work to create another extension in Chrome store for the beta version? I am not sure how far is the deploy process automatized.
It would solve Adam's problems and it might bring more beta testers.

It could be done.  It just means a manual upload via the Chrome Developer Dashboard when we update the beta.  And really, there ought to be some way to automate that as part of the build script too.

It feels like the wrong answer though.  My current solution feels wrong too... there ought to be some more Chrome-compliant way to handle beta versions of extensions.

115
Goko Dominion Online / Re: Log Search Engine
« on: June 12, 2014, 08:12:18 pm »
I justed wanted to write the game summary of my game against qmech, but in the logsearch only 3 of the 6 games show up, weirdly all the games I won.
Any idea what is causing this?

http://gokosalvager.com/logsearch?p1name=Qvist&p1score=any&p2name=qmech&startdate=06%2F12%2F2014&enddate=06%2F12%2F2014&supply=&nonsupply=&rating=any&pcount=2&colony=any&bot=false&shelters=any&guest=false&minturns=&maxturns=&quit=false&resign=any&limit=20&submitted=true&offset=0

I'm not sure... another wrinkle from the database transition.  It's a separate issue from the one I identified in the "moving to Linode" thread.

116
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 12, 2014, 11:34:46 am »
I've been away for a while... was very caught up with work. Started an adventure game just now, but when I am done, clicking the log button doesn't load the external log prettifier like it used to do. Has this feature been removed? sorry if i sound very outdated...

Not removed, but yes, it's mysteriously gone missing.  I'm not sure when or how that bug crept in.

ah ok... anything I can keep an eye out for in the future that might be helpful for you to debug?

also, is there anywhere I can search for it? always want to review and see how i can do better. thanks!

SCSN may be right that it shows you the ordinary log when the external log can't be found and prettified.  I seem to have entirely forgotten where the code that modifies that button lives.

To search for the game you just played, use the log search at gokosalvager.com.  It might take a minute or two before Goko posts it and my server parses it and makes it available.

For ways to help the devs, please just continue to report anything that looks broken here.  Unless you're repeating yourself or another recent report, the odds are good that we actually don't know about the bug yet.  For bonus points, learn how to submit full bug reports and consider switching to the beta version of the extension (follow the links in my signature to the instructions in the github Wiki)

117
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 12, 2014, 10:28:50 am »
I've been away for a while... was very caught up with work. Started an adventure game just now, but when I am done, clicking the log button doesn't load the external log prettifier like it used to do. Has this feature been removed? sorry if i sound very outdated...

Not removed, but yes, it's mysteriously gone missing.  I'm not sure when or how that bug crept in.

118
Dominion League / Re: Regarding the game reports thread and images
« on: June 12, 2014, 02:54:28 am »
Secondly, I'll ask Andrew to add some kind of "generate Game Reports thread bbcode" button to his log search.
In fact, maybe I can write some code for that. I'll contact him and who knows it may result in a new feature.

Can you clarify your feature request?  I'm not following.  Maybe an example usage would help.

119
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 12, 2014, 02:47:40 am »
Weird... I haven't encountered that.  Chrome version + OS?  Maybe post a screenshot of the error?

Should be attached

Ok, so I assume it won't let you just click "enable" on the beta version.  What happens if you delete both versions and reinstall the latest beta?

120
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 11, 2014, 04:29:10 pm »
I use Chrome, and I recently installed the Beta version of Salvager. I happily played with it for a couple of days until Chrome told me it decided to disable the application and never allow me to re-enable it because it didn't come from the Chrome store.

Uhh... wth? That's a load of hooey if you ask me.

Is there any way I can still use the beta version?

Chrome really hates non-store exentions.  Try enabling "developer mode" on the Extensions settings page:



I have developer mode enabled. I'd ask if I should uninstall/reinstall the extension but it won't let me do that...

Weird... I haven't encountered that.  Chrome version + OS?  Maybe post a screenshot of the error?

121
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 11, 2014, 01:15:24 pm »
Feature request: If the string after "for" in the table name matches a prefix of the user name, do NOT kick. (People like me who log in using google gets kicked out of games with "FOR SOULNET" in the title, because it is not "FOR SOULNET GOKO", and there is no way to get rid of the "last name" because Goko gets it automatically from Google's user).

PS: Yes, it is abusable and no, I do not think it is a problem.
You can change your username even when you use Google as your login method. They fixed that about a month ago.
Just click at "Profile" in the main screen.

Nice to know, but that would completely screw up my Isotropish ranking.
That is cool chalenge: how high can you get in a week.

Just ask AI. I think, that he already "merged" two accounts earlier. And to be safe after changing the username, create account "soulnet goko", so that noone else can screw with your ranking.

Yeah, I don't mind manually merging two names.  I'll need to regenerate the leaderboard after I fix the issue with the missing games between May 30 and June 5 anyway.

122
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 11, 2014, 01:12:58 pm »
I use Chrome, and I recently installed the Beta version of Salvager. I happily played with it for a couple of days until Chrome told me it decided to disable the application and never allow me to re-enable it because it didn't come from the Chrome store.

Uhh... wth? That's a load of hooey if you ask me.

Is there any way I can still use the beta version?

Chrome really hates non-store exentions.  Try enabling "developer mode" on the Extensions settings page:


123
Goko Dominion Online / Re: Goko Dominion Salvager Discussion
« on: June 11, 2014, 01:08:09 pm »
Some of the games I've played recently were not recorded down at all. I know this because I see under last recorded game was less than what I last played.
Is it anything to do with this thread? Or is it just some connection problems?

The logs are not being generated by MF/GOKO.
My hash is 51102b6ee4b06719e45eef9d
I played 6 + 2 (restarts) games today.
And Goko/MF knows only about 4:
http://dominionlogs.goko.com/20140611/

This has been a frequent MF/Goko issue for months.  There's nothing we can do about it.

There's also something wrong on the server side since I moved to Linode though.  Some games have been recorded without being fully parsed.  The game info made it into the database, but not the actual player results:

Code: [Select]
goko=# select time, logfile from game left join presult using(logfile) where presult.rank is null and game.time > '20140604' order by time desc limit 10;
            time            |                    logfile                     
----------------------------+------------------------------------------------
 2014-06-05 02:33:13.138    | log.539035cfe4b00f007a6e4f6b.1401960793138.txt
 2014-06-05 02:33:13.009999 | log.51116dc5e4b06719e45efe07.1401960793010.txt
 2014-06-05 02:33:04.460999 | log.52ee1f0ee4b01c2dbe9f0d4f.1401960784461.txt
 2014-06-05 02:32:57.088999 | log.514201e4e4b0434d02d09903.1401960777089.txt
 2014-06-05 02:32:43.726    | log.512ccec7e4b0816301bae27d.1401960763726.txt
 2014-06-05 02:32:40.757999 | log.516ff0f8e4b082c74d7e4f7b.1401960760758.txt
 2014-06-05 02:32:35.487999 | log.53728221e4b0557728cb25ef.1401960755488.txt
 2014-06-05 02:32:33.196    | log.536f178ce4b0c3c58d6c57c1.1401960753196.txt
 2014-06-05 02:32:33.154    | log.516e062be4b082c74d7d039e.1401960753154.txt
 2014-06-05 02:32:27.749    | log.537f393ee4b0557728cc01aa.1401960747749.txt
(10 rows)

It only seems to have happened between May 30 and June 6 though, so that can't explain recent missing games.

124
Goko Dominion Online / Re: Re: gokosalvager.com is moving to Linode!
« on: June 06, 2014, 03:20:03 am »
I just installed the salvager, and it shows up on the start screen. However, when creating a private lobby I liked selecting the types of bots I play against. Now ALL the bots have disappeared, I can't find them by entering their names in the search field either.

I've seen similar behavior on and off over the past few days, including ten minutes ago.  I closed that browser window, logged in and out a few times, and it seems to be working for me now.  And since it's working for me now, I can't grab a log for debugging.  I'll certainly do that if I see this again.

I moved these posts into this thread, since you're asking about the Salvager browser extension and not the server at gokosalvager.com

I'm guessing that by "private lobby," you mean that you are using "Multiplayer" mode, then clicking "Create Game" and checking the "private" box, then trying to add a bot by clicking on one of the empty seats.  Like in this screenshot:



Some old versions of Salvager had a bug that prevented adding a bot to your game.  As far as I know, the current version does not.  So please first verify that you have a current version of Salvager (v2.5.4.5 or higher).  If your version is older, you may need to force your browser to update it or manually install the current version.

If you're having a problem with the current version, please post a bug report with a screenshot and a log (instructions here).

125
Goko Dominion Online / Re: gokosalvager.com is moving to Linode!
« on: June 05, 2014, 04:36:47 am »
Is this where we ask whether you want any cash to help keep this running?

Sure, I'd appreciate that now that I'm actually shelling out money for this stuff.

Anyone know a good way to arrange it?  Ideally the money would go straight to the Linode account, but I don't think that's possible.

Pages: 1 ... 3 4 [5] 6 7 ... 42

Page created in 0.108 seconds with 19 queries.