Blockland Forums > Suggestions & Requests
Echo into console the currently loading file
Demian:
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?
jes00:
You mean when you load a save it echos the save name?
CheeseDragon:
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.
Demian:
--- Quote from: CheeseDragon on November 04, 2012, 07:44:45 AM ---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.
--- End quote ---
Correct.
Greek2me:
Sorry for bumping this, but would these functions be helpful?
--- Code: --- /*! - 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() {}
--- End code ---