mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
Make file server optional if cache already downloaded (#514)
(cherry picked from commit 669573c660)
This commit is contained in:
@@ -6849,8 +6849,10 @@ public class Game extends RSApplet {
|
||||
}
|
||||
catch(IOException _ex)
|
||||
{
|
||||
s = "Connection problem -- Make sure FileServer is running!!";
|
||||
expectedCRCs[8] = 0;
|
||||
s = "FileServer Connection problem";
|
||||
// Check if we already have cache files, if so then allow the client to load anyway
|
||||
String cacheDir = Signlink.findcachedir();
|
||||
expectedCRCs[8] = new File(cacheDir + "main_file_cache.dat").length() > 0 ? 1 : 0;
|
||||
}
|
||||
catch(Exception _ex)
|
||||
{
|
||||
@@ -6870,7 +6872,7 @@ public class Game extends RSApplet {
|
||||
l = 10;
|
||||
} else
|
||||
{
|
||||
drawLoadingText(10, s + " - Will retry in " + l + " secs.");
|
||||
drawLoadingText(10, s + " - retry in " + l + " secs.");
|
||||
}
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user