Author Topic: Echo into console the currently loading file  (Read 460 times)

I would like to know what I'm loading. Could someone make a script that echoes to console the name of the file currently being loaded? Shouldn't be too hard to do right?
« Last Edit: November 10, 2012, 12:27:47 PM by Demian »

You mean when you load a save it echos the save name?

I think he means when you're loading files on a server. Like *loading 1/13 files...* and he wants to know what things he is loading.

I think he means when you're loading files on a server. Like *loading 1/13 files...* and he wants to know what things he is loading.
Correct.

Sorry for bumping this, but would these functions be helpful?

Code: [Select]
   /*!  - Dump info about blobs in our database. */
   virtual void reportBlobs() {}
   /*! dumps everything in the cache into files */
   virtual void dumpCacheFiles() {}
   /*! Store given file in the blob database */
   virtual void addFileToCache() {}
   /*! Store all game assets in the blob database and stuff. */
   virtual string snapshotGameAssets() {}
   /*!  - Dump the manifest under the provided hash. */
   virtual void dumpManifest(hash) {}
   /*! get number of files stored in cache database */
   virtual int getCacheBlobCount() {}
   /*! flags the current file manifest as needing to be regenerated */
   virtual void setManifestDirty() {}
   virtual void setCDNURL(url) {}
   virtual void clearPendingBlobs() {}
   virtual void clearManifest() {}

The only data the client has access to regarding a file they're loading is a hash of the data (which the CDN uses to figure out what they want).