Dominion Strategy Forum
Dominion => Dominion Online at Shuffle iT => Dominion General Discussion => Dominion Isotropic => Topic started by: Robz888 on November 19, 2012, 01:40:10 pm
-
Now that we don't have Council Room, I was wondering if there is anyway for me to get the link to the log of a game I JUST played against Marin, like, an hour ago. It was such a great game, and I wanted to write it up.
12:47 Marin: It will be a long long long game for you
-
Now that we don't have Council Room, I was wondering if there is anyway for me to get the link to the log of a game I JUST played against Marin, like, an hour ago. It was such a great game, and I wanted to write it up.
12:47 Marin: It will be a long long long game for you
Read the isotropic faq. It will show up in a bundle tonight.
-
Ugh, I have to read something?
-
Can I download all the game logs?
First, you might be interested in rrenaud's site councilroom.com, which does various analyses of and searches over the games logs collected from this site.
The CSV file with a summary of all the completed games is no longer produced. There's a replacement being generated but I haven't documented it yet. Coming soon.
If you want more details on each game, you have to download the daily tarball of complete game logs and be prepared to do a bit of simple HTML parsing (regex matching should work well enough). For 11 October 2010:
http://dominion.isotropic.org/gamelog/201010/11/all.tar.bz2
These can be quite large (in recent days they've had ~6200 games and are around 6 MB). Each day's file should be available by about 15-20 minutes after midnight US Pacific time. Note that the daily tarball will contain logs for all games, even those that aren't finished due to a player aborting or some kind of error. Be prepared to filter those out as appropriate if you're doing some kind of analysis on the games.
There is a monthly transfer cap on the server, and if we start to hit it I will take these down. To avoid that, please:
don't download files unless you're going to actually do something with them,
don't download the same files repeatedly — save each day's file on your own computer if you want to build up a collection,
don't scrape individual game logs (the individual .html.gz URLs; I will probably start making these expire after a week or so anyway) — if you want all or most of them then downloading the daily tarball is much more efficient.
-
So.... I still don't know how to get yesterday's game logs. You're dealing with a complete technological idiot here.
-
201010 is the year/month, 11 is the day.
http://dominion.isotropic.org/gamelog/201010/11/all.tar.bz2
Yesterday was 11/19/12
Get the logs from
http://dominion.isotropic.org/gamelog/201211/19/all.tar.bz2
then use your favorite textual search tool (everyone's (who matters) favorite is grep) to find your logs.
-
Grep? I will go in search of this "grep."
-
Um, do you use Linux?
-
game-20121119-092722-9a488d16.html
game-20121119-093346-4a246cdf.html
game-20121119-095512-7da83891.html
game-20121119-150735-c4f1b528.html
game-20121119-223610-a3adb6f3.html
game-20121119-224035-8d2369e6.html
game-20121119-225015-63d0402b.html
game-20121119-230027-3e9ee8a6.html
-
Anf the how-to for Windows (not tested)
Download the all.tar.bz as described above.
unzip it. If windows can't unzip it, fetch http://www.7-zip.org/
Got to http://gnuwin32.sourceforge.net/packages/grep.htm, fetch the grep, install it
open Terminal (type 'cmd' in "Run" or however this was called)
cd to the directory where you installed grep, and where grep.exe is located
type: grep.exe -l Robz888 "C:\PATH\TO\THE\GAMELOGS\game*.html
This should search for the string "Robz888" in all files named gameSOMETHING.html, which should exactly be all gamelogs, and output the filenames of the ones where a match is found.
-
then use your favorite textual search tool (everyone's (who matters) favorite is grep) to find your logs.
You're not feeding us a pile of grep, are you?
-
So, explain it as if you were talking to a baby.
-
Download the archive of all games and unzip it to some folder. Note the folder you extracted the files to.
Download the setup program from the site that DStu posted and run it. Note where it installs grep.exe.
(Assuming Windows 7:) Click the start button, in the search field type "cmd". This should create a prompt whose header reads "C:\Windows\system32\cmd.exe" or something like that.
In this prompt, type "cd FullFolderPathToWhereYouInstalledGrep"
Then type "grep.exe -l ISOTROPIC_NAME "C:\PATH\TO\THE\GAMELOGS\game*.html"
(I haven't tested this)
-
Seeing stuff here that I'm learning in my computer science courses makes me want to puke. >_< I should get out of this "I hope I'll never see this stuff again" mentality.
So, this grep thing. It takes a regular expression and searches for that regular expression in the given filename. A string of concatenated characters is a regular expression, don't worry so much about this. You can put pretty much any isotropic name into the place Titan has, and grep will search for it. Then, list the filename. The * in the "game*" is a wildcard; it will match any number of characters, so it should match specific game logs as listed by DStu. I forgot what the -l is for. grep has a bunch of options, you shouldn't need them. "grep.exe -l ISOTROPIC_NAME "C:\PATH\TO\THE\GAMELOGS\game*.html" should work.
About cd, make sure the path is something like C:\PATH\TO\PLACE\YOU\INSTALLED\GREP.
Hard to explain this stuff, computers are tricky machines they are.
-
I forgot what the -l is for.
-l tells grep to output the filename of the file where it found the match instead of the match itself.
btw, the gamelogs I posted above are the ones of Robz...
-
I forgot what the -l is for.
-l tells grep to output the filename of the file where it found the match instead of the match itself.
btw, the gamelogs I posted above are the ones of Robz...
I keep pasting them into my browser and they don't lead anywhere...
(Like a baby, remember?)
-
Oh... I figured it out!!!!! Have to have the isotropic/dominion/nonsense first.
-
Oh... I figured it out!!!!! Have to have the isotropic/dominion/nonsense first.
\o/
-
btw, the gamelogs I posted above are the ones of Robz...
people might not have noticed because without citing the root folder it won't show up as a url. for those out there curious, you just need to add dominion.isotropic.org/gamelog/201211/19/ to the front of the game id. (ninja'd)
dominion.isotropic.org/gamelog/201211/19/game-20121119-092722-9a488d16.html (http://dominion.isotropic.org/gamelog/201211/19/game-20121119-092722-9a488d16.html)
dominion.isotropic.org/gamelog/201211/19/game-20121119-093346-4a246cdf.html (http://dominion.isotropic.org/gamelog/201211/19/game-20121119-093346-4a246cdf.html)
dominion.isotropic.org/gamelog/201211/19/game-20121119-095512-7da83891.html (http://dominion.isotropic.org/gamelog/201211/19/game-20121119-095512-7da83891.html)
dominion.isotropic.org/gamelog/201211/19/game-20121119-150735-c4f1b528.html (http://dominion.isotropic.org/gamelog/201211/19/game-20121119-150735-c4f1b528.html)
dominion.isotropic.org/gamelog/201211/19/game-20121119-223610-a3adb6f3.html (http://dominion.isotropic.org/gamelog/201211/19/game-20121119-223610-a3adb6f3.html)
dominion.isotropic.org/gamelog/201211/19/game-20121119-224035-8d2369e6.html (http://dominion.isotropic.org/gamelog/201211/19/game-20121119-224035-8d2369e6.html)
dominion.isotropic.org/gamelog/201211/19/game-20121119-225015-63d0402b.html (http://dominion.isotropic.org/gamelog/201211/19/game-20121119-225015-63d0402b.html)
dominion.isotropic.org/gamelog/201211/19/game-20121119-230027-3e9ee8a6.html (http://dominion.isotropic.org/gamelog/201211/19/game-20121119-230027-3e9ee8a6.html)
i'm guessing robz wanted to talk about the first game in that list.
-
Nope! The third one, actually. It's indicative of the psychology of Marin.
-
And I gave out some +1s to people for helping me out.
-
I did not +1 Frisk for telling me to, and I quote, "Read the isotropic faq."
-
I did not +1 Frisk for telling me to, and I quote, "Read the isotropic faq."
I still picked up 4 respect on 2 posts, giving me 2 freebies like this one.
-
I did not +1 Frisk for telling me to, and I quote, "Read the isotropic faq."
actually, assuming more technical competence, this would be exactly the bit of information that some people need...