Jump to content

Way to call the local ogg files instead of calling out to dropbox every second?

Pending 1.0.8

Rust Admin
Rust Admin

Posted

Wondering if there is a way to call the local .ogg files or do a check to see if the files exist before making the call on Tape Library to dropbox.com for every single death?

if( file exists in /rustserver/serverfiles/oxide/data/ogg)
{
   use it
}
else{
   call out to dropbox
}

This will eliminate a lot of unnecessary overhead.  Thanks~!

  • Like 1
Bad Cop

Posted

Hey @Rust Admin👋

There are already checks to ensure the file exists, with the download only proceeding if file is missing.

The enqueue message comes from the dependency plugin. Tbh there should be a debug message switch, i'll check with the orignal dev if he's happy for me to add that in to hide the extra console messages.

  • Like 1
Malkizid

Posted (edited)

Yeah can definitely confirm it doesnt even attamept to download if the local file is present, I've never had to redownload the files again,
since the links to my original files are on a server I lost access too several months ago, and I've never  removed the local files.
(that was just pure lazyness on my part, until I need to make some new files 😅)

So the messages aren't a big deal and are informative.
 
but yes since links can be very long its difficult to see through console sometimes would be nice if that could be masked,
some servers have many npcs dying and spawning often, when this is on most of them it can make for a chaotic console.

Edited by Malkizid
  • Like 1
2.1m

Downloads

Total number of downloads.

9.9k

Customers

Total customers served.

144.5k

Files Sold

Total number of files sold.

3.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.