Descriptive Problem Summary:
When running multiple instances of a game that outputs any browser content, closing one instance would clear the cache that the other instance was using. This instantly breaks pages being viewed that used hyperlinks or any resources such as images that were pre-cached.
Numbered Steps to Reproduce Problem:
1. Run two instances of a game that outputs a browser form, or uses browse_rsc().
2. Close one instance, and the other instance will not be able to access those files (as the closed instance would have cleared the cache data)
The cache should only clear when all instances are closed.
The cache is cleared when any instance is closed.
Does the problem occur:
Every time? Or how often? Every time.
In other games? Yes.
In other user accounts? Yes.
On other computers? Yes.
When does the problem NOT occur?
Usually this problem won't occur if the game sends all needed data before.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
This problem probably didn't exist before the recent feature of cache clearing was implemented, although I haven't tested it.
Send all data that the browser interface will use before displaying it. This won't always work, since some browser interfaces exist for prolonged periods and another instance closing would break that page.
Aug 25 2009, 3:27 pm