View Single Post
  #1  
Old 09-09-2009, 04:43 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
onRefreshFileNamesCache();

PHP Code:
onRefreshFileNamesCache() - updates FILENAMESCACHE.txt with all files downloaded since last session 
Something along these lines would be very useful. For example, I'm using a clientsided cache for item data that stores information in a .txt file in the client's Graal folder. The first time data is stored and the file is created, Graal doesn't recognize the existence of that file until the client restarts the game. If I at that point could force a refresh of it, it would allow the script to continue to function normally instead of having to wait for the client to restart.

Another example is the problem with players seeing all tiles as completely black the first time they logon a server far too often, due to the game not recognizing the location of the tile graphics.

FILENAMESCACHE.txt only causes troubles really. Either allow it to be manually refreshed by script, or change the way it currently functions, please.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote