Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rating: Thread Rating: 13 votes, 4.69 average. Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 02-04-2011, 12:52 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by MrOmega View Post
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 (
aallplayersa.triggerclient(this.nametemp.filename);
}

//#CLIENTSIDE
function onLogMessage() {
  if (
logmessage.starts("File download: ")) {
    
this.failed.add(filename);
  }
}

function 
onActionClientSide() {
  if (
params[0] == "fileuploaded") {
    if (
params[1in this.failed) {
      
downloadfile(params[1]);
      
this.failed.remove(params[1]);
    }
  }

or something similar if it's really that big of issue.
__________________
Quote:
Reply With Quote
 

Tags
graal v6, windows


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:23 PM.


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