Jump to content

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

Closed 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~!

Brad Copp

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.

Mankus

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
Brad Copp

Posted

Changed Status from Pending to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.3k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.