Waxy.org
Waxy.org is the sandbox of Andy Baio, an independent journalist and programmer living in Portland, Oregon. I created Upcoming.org and some other stuff too.

Contact Me: log@waxy.org or waxpancake on AIM

InfocomBot for AOL Instant Messenger

Posted Mar 21, 2004

If you have an AOL Instant Messenger account, send an IM to InfocomBot, InfocomBot2, or InfocomBot3. I set up an automated bot to play classic Infocom text adventure games from your favorite IM client, T-Mobile Sidekick, or any other device that connects to AIM. It supports "save" and "restore" commands, so you don't need to lose your place.

If you've never played a text adventure game before, Brass Lantern has a great introduction to basic gameplay. There are hints for all of these games on the InvisiClues website.

How's it done? In short, it's a Perl wrapper that glues the compiled game interpreter to the AIM network. I tweaked Tim's excellent Zorkbot script to be a little friendlier, with better (and more secure) support for saving games and cleaner output. (If you want my changes, let me know.)

Thanks to Ilya, who modified dumb-frotz, a "dumb terminal" port of the popular Z-machine interpreter, to properly flush the output buffer after every line.

An example transcript is below. The bot may get overwhelmed, so check back in a couple hours if it gets kicked off AOL's network.

Update: It was posted to Metafilter, so AOL is limiting the messages it responds with. I'm going to set up an additional couple bots you can use instead.

March 25, 2004: The bots are continually getting kicked offline because of the traffic from the Wired News article. I'm posting status updates in a new entry.

Example Transcript:


username: hello?
infocombot: Welcome back! To continue your saved game, choose your game and type 'restore' after it starts. For help and more info, go to http://waxy.org/projects/ifbot

Type a game to play:
deadline, hitchhikers_guide, leather_goddesses, lurking_horror,
planetfall, shade, wishbringer, zork1, zork2, zork3

username: zork1
infocombot: West of House Score: 0 Moves: 0

ZORK: The Great Underground Empire - Part I
Copyright (c) 1980 by Infocom, Inc. All rights reserved.
ZORK is a trademark of Infocom, Inc.
Release 15 / Serial number aaaaa

West of House
You are standing in an open field west of a white house, with a boarded front door.
There is a small mailbox here.

username: open mailbox
infocombot: > West of House Score: 0 Moves: 1

Opening the mailbox reveals a leaflet.

username: read leaflet
infocombot: > West of House Score: 0 Moves: 2

(Taken)
WELCOME TO ZORK
ZORK is a game of adventure, danger, and low cunning. In it you will explore some of the most amazing territory ever seen by mortals.

No computer should be without one!

The original ZORK was created by Tim Anderson, Marc Blank, Bruce Daniels, and Dave Lebling. It was inspired by the ADVENTURE game of Crowther and Woods. This version was created by Marc Blank, Dave Lebling, Joel Berez, and Scott Cutler.

(c) Copyright 1979 & 1980 Infocom, Inc. All rights reserved.

username: w
infocombot: > Forest Score: 0 Moves: 3

Forest
This is a forest, with trees in all directions around you. To the east, there appears to be sunlight.

username: n
infocombot: > Clearing Score: 0 Moves: 4

Clearing
You are in a clearing, with a forest surrounding you on all sides. A path leads south.
On the ground is a pile of leaves.

username: e
infocombot: > Forest Score: 0 Moves: 5

Forest
This is a dimly lit forest, with large trees all around.

username: w
infocombot: > Forest Path Score: 0 Moves: 6

Forest Path
This is a path winding through a dimly lit forest. The path heads north-south here. One particularly large tree with some low branches stands at the edge of the path.

username: climb tree
infocombot: > Up a Tree Score: 0 Moves: 7

Up a Tree
You are about 10 feet above the ground nestled among some large branches. The nearest branch above you is above your reach.
Beside you on the branch is a small bird's nest.
In the bird's nest is a large egg encrusted with precious jewels, apparently scavenged somewhere by a childless songbird. The egg is covered with fine gold inlay, and ornamented in lapis lazuli and mother-of-pearl. Unlike most eggs, this one is hinged and has a delicate looking clasp holding it closed. The egg appears extremely fragile.

username: take egg
infocombot: > Up a Tree Score: 5 Moves: 8

Taken.

username: save
infocombot: Your game has been saved!
username: quit
infocombot: Game over! Would you like to play another game?

85 Comments (Add Yours)

Mar 21, 2004
9:29 PM  
Andy M. wrote:

You've reached a new high, Baio.


Mar 21, 2004
9:55 PM  
Jack wrote:

Man, that is just about the coolest thing ever.


Mar 21, 2004
10:25 PM  
Jack wrote:

Haha, Andy, I think your bot doesn't want to take No for an answer! It's messaged me with its help text three times in the past ten minutes without a response from myself. My network went down after I took a turn in Planetfall and I'm using Trillian if that helps.


Mar 21, 2004
10:34 PM  
phil wrote:

This kicks 6 seperate and distinct kinds of ass.


Mar 22, 2004
12:46 AM  
reeche wrote:

Coolest thing EVAR. Now I get to finish lurking horror.


Mar 22, 2004
1:02 AM  
Josh wrote:

What are you using to power the bot itself? I've done some messing around with JAIMbot, but found it lacking for my needs (which is to simulate/duplicate a content update notification mailing list).


Mar 22, 2004
6:24 AM  
Andy Baio wrote:

I'm using dumb-frotz, a "dumb terminal" version of Frotz for Unix. It doesn't display any of the control codes used for color, cursor movement, or the status bar. The output gets piped into a text file for each user, which is then read and piped into Net::AIM.


Mar 22, 2004
7:36 AM  
matt wrote:

Andy, you're my hero.


Mar 22, 2004
9:37 AM  
Daniel "monk" Pelfrey wrote:

This is perhaps some of the coolest news yet.


Mar 22, 2004
11:55 AM  
fruminator wrote:

having written aim bots before, i bet that your bot, if it gets any traffic, will quickly be throttled off the oscar network. email me if you want some tips.


Mar 22, 2004
12:08 PM  
David wrote:

Damn, I would have never thought I could get eaten by a grue on AIM . . . ick.


Mar 22, 2004
12:08 PM  
jacob wrote:

My god, this is brilliant.


Mar 22, 2004
1:32 PM  
HopeStarlight wrote:

Both bots are down, down, down. Phoo.


Mar 22, 2004
2:11 PM  
Eric wrote:

Yeah, I can't seem to get past the first couple of steps and it dies on me.

This is going to get lots of hits


Mar 22, 2004
2:22 PM  
mat wrote:

Crap! The day it finally gets all the kinks out; I can't get to it!?!


Mar 22, 2004
2:32 PM  
Andy Baio wrote:

Both bots are running, but dropping messages like mad because of AOL's terrible rate limits. Thanks to Fruminator's suggestion, I'm thinking of setting up 10+ more bots and doing an automated rotation between them.


Mar 22, 2004
3:14 PM  
dstroy wrote:

you are my personal hero for creating this! It must be getting flooded with people already, as it's dropping out on me as I try to play... I look forward to seeing the added bots in action!


Mar 22, 2004
4:02 PM  
gluey wrote:

One minor complaint. If I'm idle and get the Game Over message, the bot asks if I'd like to play another game. I typed No just to see if anything would happen and the bot considered me un-idle, gave me the game list and then gave me the Game Over message yet again x minutes later.


Mar 22, 2004
5:18 PM  
Dan wrote:

Wow, that's pretty damn cool.


Mar 22, 2004
7:30 PM  
refurberator wrote:

I'm so lame.. I couldn't solve these when I was a kid, and now I'm not any better.


Mar 22, 2004
7:55 PM  
Sarafina Pekkala wrote:

Awesome idea. One bug though: on HHGTTG, the "type" command doesn't seem to work on the keyboard in the Vogon spaceship.


Mar 23, 2004
5:38 AM  
Peter Caputa wrote:

on a related note...
http://overstated.net/04/03/22-my-chat-with-a-nanniebot.asp


Mar 23, 2004
12:17 PM  
Brian wrote:

Excellent... but how do I know it's really a bot? It could be like Kramer on Seinfeld doing MovieFone..."why don't you just tell me the name of the movie you want to see..."


Mar 23, 2004
1:16 PM  
josh wrote:

I would LOVE to see Enchanter (the series, if possible) game put up there as well. I just loved that game!!!!

My favorite was the rainbow turtle, who I mistakenly killed once in the machine room; I almost cried...


Mar 23, 2004
1:20 PM  
Andy Baio wrote:

Done! I added Enchanter.


Mar 23, 2004
3:41 PM  
Dave Bug wrote:

No boss key needed! I just keep this guy next to a few co-worker conversations and there's no suspicion at all that I'm actually racing through space on a Heart of Gold. Thanks!


Mar 23, 2004
4:19 PM  
D wrote:

Is it possible to run the BOT through Yahoo? Does it have that same limitations?


Mar 24, 2004
8:00 AM  
Mike wrote:

Nice job. I hope to one day start contributing more stuff like this to the world.


Mar 24, 2004
8:24 AM  
BB wrote:

This is fantastic! Is it possible to port other (non-Infocom) games written in Inform (and maybe TADS)? Curses!, Balances, Christminster, etc. Stuff from www.ifarchive.org.
Thanks again!


Mar 24, 2004
9:00 AM  
Andy Baio wrote:

Once I work out some of the scaling issues, I'd like to set up a second bot with the best of modern interactive fiction.


Mar 24, 2004
6:42 PM  
Natali wrote:

*worships*

I've just let the h2g2 community know (http://www.bbc.co.uk/dna/h2g2/) about this - methinks you are a new god.

*worships*


Mar 24, 2004
11:01 PM  
Dave Bug wrote:

Wait a second, I can't believe I, and you all, fell for this one. It's obvious that this is no bot! It's clearly a person on the other end. Nice try, Andy, but it's a little early for April Fools.


Mar 25, 2004
7:58 AM  
Matt Hood wrote:

This is the coolest thing I have seen in a long time... Now if only one of the bots would stay online long enough for me to get somewhere in a game... :) Awesome none-the-less!


Mar 25, 2004
8:23 AM  
Brett wrote:

I'm sure you've noticed by now, but this also showed up on Wired news this AM!

http://www.wired.com/news/games/0,2101,62791,00.html?tw=wn_tophead_3


Mar 25, 2004
8:31 AM  
Brett wrote:

(Actually reads Wired article.)

Oh, heh, I guess you are quite aware of the Wired article, being that you were interviewed. :) Never mind.


Mar 25, 2004
10:01 AM  
stx wrote:

Well done!


Mar 25, 2004
12:51 PM  
Tom wrote:

WOW


Mar 25, 2004
12:57 PM  
Tom wrote:

Hey did you know you can warn the bots? Is there a way you can stop that like AIM does with its bots such as SmarterChild?


Mar 25, 2004
3:05 PM  
Rycuda wrote:

Have you thought about porting the bot to Jabber (www.jabber.org)? Would solve the problems with the auto kicking from AIM, and open them up to a wider audience.


Mar 25, 2004
3:10 PM  
Andy Baio wrote:

Unfortunately, it's not very popular. It's not supported by any mobile devices that I know of, and it has a very small install base compared to AIM. I use it, but not many other people do.

But feel free to port it yourself, and I'll happily link to it.


Mar 25, 2004
4:10 PM  
Anonymous Coward wrote:

Found this via /. I hope you can handle the bandwidth.

Can you post all your code? I'd like to install this in my own server.


Mar 25, 2004
5:19 PM  
atomixite wrote:

congrats! now i can finally solve a couple of these. (always looked on in wonder at them as a kid.)


Mar 25, 2004
6:58 PM  
David Griffith wrote:

You might not have needed to modify the old dumb-frotz package to get it to do the Right Thing. Frotz 2.43 will let you compile it with a dumb interface, so you get the dumbness you need for bot use and the current Frotz core so it won't barf on newer games. Send me your patches and suggestions so I can put them in the next release.


Mar 26, 2004
5:04 PM  
mark wrote:

First, I will say that I am using attempting to use these bots via the latest Trillian Pro 2.011. I can successfully add all three Infocombots and speak with them, but I cannot get any of them to start any game. By typing the game I want to play, it just responds again and again with the welcome message and instructions on how to start one of the listed games. While I was typing this comment, I left the trillian window open (to Infocombot3), and about 8 minutes after typing "zork1," and having it give me the welcome message, it randomly sent another message to me saying, "Game over! Would you like to play another game?" Odd - I never even started one, at least not that I could see :)

Is this an issue with Trillian, or are the bots just being hammered/slashdotted so bad that they're not responding to new game requests? I searched around and didn't find any other mentions of Trillian users having problems (or even just trillian users, for that matter). Thanks for creating this - it's very cool! Any tips on this issue greatly appreciated.

-m


Mar 27, 2004
2:58 AM  
john wrote:

Such a cool idea Andy, and it inspired me to take a look at bot making myself.

Using AIM to Monitor Weblog

Thanks!


Mar 28, 2004
8:56 AM  
Numnuts™ wrote:

this is a silly game to play. But how come it keeps sending me back a message after I told it I quit? dang bot you got


Mar 28, 2004
8:59 AM  
Numnuts™ wrote:

now spam i got?


Apr 1, 2004
1:56 PM  
jammie wrote:

oh ... my ... god. oh my god. i was addicted -- ADDICTED, i tell you -- to HHGTTG when i was little. sadly, there's a bug when you get to the vogon ship ... won't let you type on the keyboard, i don't think the bot is reading the quotation marks right ... i was bummed. either way, you guys are my new heroes.


Apr 5, 2004
5:20 PM  
Kevin wrote:

Where can I find the materials that used to come with the games? For example, I need to login to the computer on Lurking Horror, and don't have my student ID card from the game. Help!


Apr 5, 2004
5:26 PM  
Andy Baio wrote:

The contents of all the old boxed games are on this site. Here's the Lurking Horror page you need.


Apr 22, 2004
6:48 PM  
Christopher wrote:

I can't add him on my buddy list do you have to be a member?


Apr 27, 2004
7:50 PM  
Beto Escobar III wrote:

I'm a blind PC user and just paid around $250.00 to purchase all of the **major** collection series by Infocom i.e. LTOI 1,2 and Masterpieces. I will also state, I purchased all of these collections new too that is why the high dollar amount!!! They all had their shrink wrap on them as well. I wanted to play these great games, for so long now, and I have just now founda interpretor called Winfrotz 5.3 which works with screen readers like JAWS or JFW, which I use now to manipulate my PC. If **any one** of the guys who worked for Infocom E-mail me I would greatly appreciate it. I have some questions I would like to ask him or them. My E-mail address is betoescobar3@ucd.net. Thanks, Beto Escobar III, LMSW


Apr 29, 2004
6:54 AM  
nick wrote:

hey.. awesome idea man! can't wait to see the bot online !


May 10, 2004
1:22 PM  
casper wrote:

who are other bots?


May 14, 2004
3:24 AM  
Crew wrote:

Are the bots still up? I can't seem to get a reply.


Jun 6, 2004
5:44 PM  
Jaycen Dark wrote:

i have a question well two actualy
1) do the other bots have diffent games ?
2)if not are you planing to add on the other text adventures soon ?


Jun 7, 2004
12:04 PM  
Eric wrote:

How do you begin to play another game? I got bored of ther one I'm playing and would like to try a different one.


Jun 22, 2004
4:57 PM  
Devin wrote:

Add some more of the games on this list?

http://www.infocom-if.org/games/games.html

Bureaucracy, and A Mind Forever Voyaging sound fun.


Jul 14, 2004
1:14 PM  
Nickster wrote:

Pure stinkin Genius!


Jul 17, 2004
5:25 PM  
Ark Angel wrote:

I just played it for the first time....I was searching for a IM on google because i have the main ones and i stumbled upon this and I played it......I just got one thing to say......THIS GAME KICKS ASS!!!!!!!!!!!


Aug 4, 2004
6:31 PM  
Nolan wrote:

This is great. Do you know where I can get the z-code of these games? Most if not all have been released to the public, I have Hithikers and the Zork series, but I would like the rest.


Aug 5, 2004
8:30 AM  
Andy Baio wrote:

This site has all the z-code files.


Aug 6, 2004
10:10 AM  
Chris wrote:

Are you doing anything special with these bots to avoid "send rate" limits, like in the case where one bot might be talking so quickly to so many people that it would exceed the limit for the volume and speed at which it can respond to them?

Or is your bot just subject to the limits like everyone else and your only workaround is to have more than one bot?


Aug 6, 2004
11:05 AM  
Andy Baio wrote:

At some point, I think someone at AOL flipped a switch that made the main Infocombot invulnerable to warns and rate limits. I have no idea why, but possibly because they realized it was a cool use of their tech.


Aug 7, 2004
9:52 PM  
Ryan wrote:

Doesn't work with Trillian.


Oct 18, 2004
9:13 PM  
Brian wrote:

Have there by any other uses of AIM like this? Seems like there should be some other cool things to do in similar ways.


Nov 11, 2004
1:09 AM  
Moi wrote:

This would be way cool... if it worked :(


Jan 1, 2005
9:33 PM  
Rob wrote:

What happened to it?


Jan 3, 2005
2:36 PM  
Jaybo wrote:

Is Marvin here yet?


Jan 18, 2005
7:13 AM  
Solle wrote:

Please have my babies.


Feb 9, 2005
3:18 AM  
Sandra wrote:

What happened to Infocombot(s)? I want my ZORK!


Apr 15, 2005
7:04 PM  
Amber wrote:

is this another form of iming a person on AOL?


Apr 22, 2005
9:52 AM  
nabinnyc wrote:

where are they!? i haven't seen these bots online in ages. way to come up with a mad cool thing and take it away thereby spawning a sense of loss on top of the infocom void there already was in IM land.


May 4, 2005
2:01 PM  
Meredith wrote:

Good to see the infocombot online again today! Thanks for providing the service.


Jul 5, 2005
1:50 PM  
ab wrote:

how do i add these bots what are there emails


Aug 2, 2005
1:43 PM  
buntz wrote:

Is there anyway to just download the games?
Do you have access to them?
Can we buy them (although I'd prefer NOT to :)


Nov 17, 2005
9:20 AM  
amanda wrote:

It sounds cool but it doesn't work


Dec 31, 2005
9:15 AM  
BRIELLE wrote:

IT LOOKS COOL.BUT DOES IT BRAK YOUR COUMPUTTER???


Jan 23, 2006
10:02 AM  
CaryMG wrote:

MEGAcoolnessosity, Baio!


Later!
8^ ]


Feb 15, 2006
3:28 PM  
Harry wrote:

not bad! nice to see them back! a bit more user frendly would be nice, perhaps a 'help' command, but all things considered, great!


Mar 17, 2006
8:35 PM  
Cow in a well wrote:

THIS IS AMAZING WITH I HAD FOUND IT SOONER


Apr 11, 2006
12:22 PM  
Legolas wrote:

Hmm Is your bot down? because i havent been able to use it


Apr 28, 2006
6:53 PM  
glider wrote:

i tryed it and it sayed he was offline


Jul 8, 2006
10:40 AM  
pop wrote:

uhh
none work for me


Mar 29, 2008
4:26 PM  
squeaky wrote:

halthepenguin is the worst and meanest robot ever


 

Leave a comment





Waxy Links
Ads via The Deck
July 24, 2008
Amir's Super Mega Burn — anonymity can turn anyone, even superfans, into superjerks in no time flat (via)
The Balcony Is Closed — Roger Ebert on Gene Siskel and the end of "At the Movies"
The Onion's Random Roles with Teri Garr — like Random Rules, this format teases out insights and anecdotes from interview subjects
July 23, 2008
Bush: 'Our Long National Nightmare Of Peace And Prosperity Is Finally Over' — remarkably prescient article from January 2001
Jeffrey McManus runs the numbers on Dr. Horrible's Sing-Along Blog — Joss Whedon himself confirmed the estimates were close (via)
QA Deathmatch — bug reporting as a multiplayer game (via)
Fox News affiliate tries product placement with fake McDonald's iced coffees — even if it's a morning show, this is a huge credibility hit and creates new conflicts of interest (via)
GameBridge, Jabber/XMPP bot for Z-Machine, MUSH, and other text games — nice list of text adventures on the Jabber bot
I-Fluid, PC game pilots a water droplet through a kitchen — with a nice be-bop soundtrack
July 22, 2008
43 Folders on iPhone security — is the time saved for convenience worth the potential hassles of identity theft?
Baby's First Internet — "It doesn't matter what you say, just publish it twelve times per day." (via)
July 21, 2008
Something Awful tries the 5-minute microwave chocolate cake recipe — don't miss the handy microwaved huevos rancheros recipe (via)
July 20, 2008
Multiplayer Minesweeper — brilliant collaborative game, but only takes one jackass to ruin everyone's fun (via)
Cliche Watch: Pushing over the Leaning Tower of Pisa — many more in Pisa Pushers on Flickr
July 18, 2008
The Quirkbook — Rands polls Twitter for everyone's odd quirks and mildly OCD mannerisms
Jane McGonigal on Werewolf at Foo Camp 2008 — ideal strategies, a sneaky all-villager variation, and the impact of the werewolf metaphor
Google interviews the creators of WarGames — great trivia about the making of the film and its impact on tech culture
July 17, 2008
Logan Aube's Hockey Night theme — Something Awful goons tweak an online contest with funny results (via)
July 16, 2008
Sean Tevis is running for Kansas State Representative, XKCD-style — help a computer geek defeat the incumbent, a hard-right, anti-privacy Creationist; he's trying to get 3,000 to donate $9 each
How to Fake Being a Wine Snob — there might be supertasters out there, but most people are just faking it
The Economist responds to Freakonomics co-author's pasty/pastry mixup — tasty response to this original post (via)
Mike Arrington interviews Evan Williams at Foo Camp — great interview; thoughtful questions and brimming with information, without the sensationalism
Rick Trooper — The Empire rolls you.
Mocha VNC Lite, free VNC client for the iPhone — link opens in iTunes; like others, I'm hoping an SSH client is next
Annalee Newitz on Dr. Horrible's Sing Along Blog — exceeds the hype; the site's been down all day, so I just bought the season in iTunes for $3.99
July 15, 2008
The Sound of Young America Live interviews Ze Frank — strange interview, but talks about the end of The Show and current projects; see also: Jay Smooth from Ill Doctrine (via)
Defender of the favicon — staggering hack puts a playable Defender clone in your browser's 16x16 favicon; Firefox and Opera only
Twitter officially acquires Summize — search.twitter.com is now live
July 14, 2008
Deep Note, the Guitar Hero bot — it got 820k points and 98% playing Through the Fire and Flames; amazingly, some humans can still beat it, for now (via)
Unofficial RSS feed of newly-added App Store applications — until Apple adds their own, I've been keeping tabs using this

Andy Baio lives here. Some rights reserved, for your pleasure.