Testing the applet on its own
In your web browser's address bar, type in the web path and file name
for your pandorabots.cgi
file. This will probably be something like
www.yourworld.com/cgi-bin/pandorabots.cgi
This should print out a
message in your browser something like: Hello there
If you want to see how it
should work,
click here to
try out the script on our
site.
If yours doesn't print
anything like this, then you need to experiment with the path name
(check out with your web host how files in the cgi bin are accessed
directly from the web)
If this doesn't work then
you need to check out with your web host where PERL scripts are run
from - If it's different from /usr/bin/perl
then you'll need to alter the file
pandorabots.cgi to suit like
this:
- load the original pandorabots.cgi
file from your computer into Notepad
- carefully alter the line
at the beginning (#!/usr/bin/perl)
so it refers to the location your
web host has given you
- make sure you leave the #! bit at the
beginning)
- now click File on Notepad's menu bar then
Save to save the file
NB it is VERY IMPORTANT to follow these instructions
exactly - only use
Notepad and
Save -
DO NOT use another text editor or
Save as because you
might mess up the hidden line feed characters in the file, which
won't work when you upload it (Unix is VERY fussy about its line
feeds - I know I've wasted hours on this!!!).
Now upload the amended file
to your cg-bin directory and make sure you set its file permission
to 755.
If you're still having
problems then pay a visit to our (HSWorlds.com's)
forum - there's
a topic called Using
Intelligent Chat Bots in Atmosphere where you can find
out more information and
post any questions you may have.
Testing the applet in a world
If the applet is working on its own it's time to test it out in the sample
world page you uploaded to your site. This is called
bot.htm. Type the address in your web browser e.g.
www.yoursite.com/bot/testbot.htm
where yoursite.com is
your site's address and bot is the folder you
saved the main files in.
When the page has loaded, try asking the bot a question by
typing it in starting with B: e.g. B: How are you? You should get an
answer in the chat line starting with
Bot Says: e.g.
Bot Says: Hi. This can take
a few seconds especially if the net is busy.
If you don't get an answer
check whether Adobe's chat server is working by clicking:
and checking whether there
are any names in the User Box that pops up. If it's blank, try
refreshing the web page (F5) - if that doesn't work you'll have to
try again another time when the chat server is working,
sorry!