Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I'm using KF Webserver to serve up a number of websites from my home PC. I'm trying to bring online a site for playing Infocom text adventure games. For those of you not familiar with Infocom games, they were a series of popular adventure-style games produced back in the 1980s. The games themselves consist of two parts: the data file and an interpreter that reads the data file and provides the user interface.
There is an Infocom game interpreter written in java called ZPlet. A number of sites are using ZPlet to enable online playing of Infocom games. I'm trying to do the same, but am having difficulty.
All I've done so far is copy the following page down to my local machine:
http://www.xs4all.nl/~pot/infocom/DEADLINE.HTML
In the root directory of my test site, I've put 1) DEADLINE.HTML (renamed to INDEX.HTML), 2) the game data file DEADLINE.Z3, and 3) the ZPlet java app files. Everything is in the root directory.
INDEX.HTML consists in its entirety of this:
[------ BEGIN -------]
<title>Zplet: DEADLINE: An INTERLOGIC Mystery</title> <hr> <applet archive="zplet.jar" code="Zplet.class" width=512 height=387>
<param name="Foreground" value="white">
<param name="Background" value="black">
<param name="StatusForeground" value="black">
<param name="StatusBackground" value="white">
<param name="StoryFile" value="deadline.z3">
</applet>
<hr> Please note that SAVE and RESTORE may not available due to applet security restrictions. Leaving this page may or may not restart the game depending on the behavior of your browser.[------ END -------]
If I go to the above link at www.xs4all.nl the game plays from there (exactly the same code also works at http://www.speakeasy.org/~russotto/zplet/ifol.html ). If I load INDEX.HTML on my machine locally, it plays from there. But if I connect to my own site through the Internet, the java application behaves as if it can't find the game data file.
This wouldn't seem to be a coding issue, as the code works on other sites. Is there something I'm not aware of about java and permissions?
Lee Kaiwen, Taiwan

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |