Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   onRefreshFileNamesCache(); (https://forums.graalonline.com/forums/showthread.php?t=87834)

xXziroXx 09-09-2009 04:43 PM

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.

Deas_Voice 09-09-2009 05:07 PM

happened to me when i loged on maloria.

napo_p2p 09-09-2009 06:31 PM

I've also had problems with some ganis acting funky when first downloaded. Probably tied to the same issue.

xXziroXx 11-13-2009 06:48 PM

Since Stefan appears to be posting a lot more recently, this deserves a bump.

coreys 11-13-2009 09:38 PM

The problems with tiles is entirely too annoying, imho this should've been done ages ago.

cbk1994 11-14-2009 12:31 AM

I approve (though it should be refreshFileNamesCache as on should be reserved for events).


All times are GMT +2. The time now is 01:03 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.