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?

89 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


Oct 7, 2008
10:31 AM  
Ashish wrote:

Hi

It would be great if you could share some tips about how to get over the warn and rate limitation the chat robots face.

Regards,
Ashish


Dec 12, 2008
1:55 PM  
Steve wrote:

Would be great if infocombot would be resurrected...I never got to play with it but I sure spent a lot of time with the Guide on my PCjr back in the day.


Jan 4, 2009
9:35 AM  
jonatc wrote:

Are you making new ones in 2009 because all of them are offline and im a new user.


Jun 7, 2009
6:41 AM  
Jessi wrote:

I hope Infocom BOT comes back in 2009! I miss playing! :(


 

Leave a comment





Waxy Links
Ads via The Deck
July 3, 2009
Sour's "Hibi no Neiro," crowdsourced music video — choreographing 64 fans with webcams (via)
Slate's Chris Wilson tracks 10,000 random YouTube URLs for 30 days — 3% hit 1,000 views, more than I would've expected (via)
Pinboard, Maciej Ceglowski's lightweight del.icio.us clone — on the roadmap: "Get acquired by Yahoo and slowly grow useless"
Donkey Kong easter egg discovered 25 years later — created by DadHacker and discovered by Don Hodges, two of my favorite gaming nerds
Newspaper Club — building a customizable newspaper printing service in 60 days; they're using InDesign as the backend
Kevin Kelly's Death Clock in Futurama — this might seem morbid to some, but I find it inspiring
July 2, 2009
Paul Lamere's Coolness Index — are female singers uncool?
Kickstarter's Big Day — 13 projects ended on July 1, raising an average 188% of their goals
Anil Dash on Malcolm Gladwell's criticism of Chris Anderson's Free — I read through Gladwell's New Yorker piece twice, and the arguments seem petty and off base
72-year-old retired boxer beats up knife-wielding knucklehead — the inane Facebook photos make this story even more delicious
July 1, 2009
Pez sues Burlingame Museum of Pez for copyright infringement — so disappointing
RIAA wins lawsuit against Usenet.com — judge rules Betamax case doesn't apply; every other Usenet provider is next
June 30, 2009
EveryBlock releases source code — it was a requirement of their funding from the Knight Foundation
Hype Machine detects cheating on charts, names names — one of the bands responds in the comments and gets schooled by Anthony (via)
Ze Frank on black, white, and shades of green — I'm loving this series
China bans gold farming, real-world sale of virtual goods — Eurogamer estimates 1 million Chinese gold farmers with worldwide trade worth more than US$10 billion annually (via)
The Pirate Bay sold to publicly-traded Swedish gaming company — Brokep's statement is delusional; being acquired will almost certainly kill the site
Michael Rubin's "Droidmaker" book now available for free download! — authoritative 518-page history of Lucasfilm, the creation of Pixar, and much more (via)
June 29, 2009
Jason Rohrer interviewed about "selling out" to make iPhone and ad games — he recently switched from free, open-source games; also, EA claims Spielberg's LMNO isn't cancelled
Nedroid's Cosby Experiment — view all 190 Cosbys
How the NYT kept their reporter's Taliban kidnapping off Wikipedia for seven months — they collaborated with Jimmy Wales directly to freeze the entry; NPR asks if it was ethical (via)
David Fincher may direct Facebook film, adapted by Aaron Sorkin — possibly starring Michael Cera or Shia LaBeouf as Zuckerberg; this sounds familiar (via)
Quarrygirl's undercover investigation of non-vegan ingredients used at L.A.-area vegan restaurants — outstanding blog reporting, with industrial food testing from 17 different restaurants and research into suppliers
June 28, 2009
James Barnett's oil paintings of landscapes from video games — looking at the paintings, I felt like I'd actually visited those locations in real-life (via)
WSJ interviews Brenda Brathwaite about "Train," a board game about the Holocaust — not all games need to be fun (via)
June 27, 2009
How Rob Manuel accidentally started a Michael Jackson moonwalk flashmob — I'm in London right now, and I've seen several massive vigils and tributes on the streets (via)
Top teams join forces to win Netflix Prize — check the leaderboard for the first score to break the 10% improvement threshold (via)
Wired on the success of Nike+ — backstory on how it works and the Hawthorne effect; simply measuring something can change its behavior (via)
June 26, 2009
Imeem to delete all user-added photos and videos, with five days' notice — with no way to back up videos at all (via)
Shnabubula's chiptune tribute to Michael Jackson — also: Virt's incredible VRC6 cover of Thriller

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