Quote:
Originally Posted by MrOmega
When ever you show an image that hasn't been uploaded to the server it give you the correct error in the log 'File download: foo.png not found'. Then when you do upload the file to server, it doesn't bother to try to download it. Reopening Graal fixes this though.
|
Could probably be fixed with a script like this. My function names are off though but the main idea is there.
PHP Code:
function onLevelFileUpdated() {
temp.filename = extractfilename(params[0]);
for (a: allplayers) a.triggerclient(this.name, temp.filename);
}
//#CLIENTSIDE
function onLogMessage() {
if (logmessage.starts("File download: ")) {
this.failed.add(filename);
}
}
function onActionClientSide() {
if (params[0] == "fileuploaded") {
if (params[1] in this.failed) {
downloadfile(params[1]);
this.failed.remove(params[1]);
}
}
}
or something similar if it's really that big of issue.