fix: Fixes loading multi when client is missing (#996)
* Changes reading multi.mul/multi.idx so it is loaded entirely during bootup. * Fixes finding files in Linux. * Fixes handling HS format. * Removes verdata support. ModernUO will still have issues if there is a multi.mul that is pre-HS loaded when it detects a client that is 7.0.9+.
This commit is contained in:
parent
6c22bb2b97
commit
910549db84
2 changed files with 881 additions and 930 deletions
|
|
@ -249,15 +249,13 @@ namespace Server
|
|||
{
|
||||
fullPath = Path.Combine(p, path);
|
||||
|
||||
if (IsLinux)
|
||||
if (IsLinux && !File.Exists(fullPath))
|
||||
{
|
||||
var fi = new FileInfo(fullPath);
|
||||
fullPath = fi.Directory!.EnumerateFiles(
|
||||
fi.Name,
|
||||
new EnumerationOptions { MatchCasing = MatchCasing.CaseInsensitive }
|
||||
).FirstOrDefault()?.FullName;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
if (File.Exists(fullPath))
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue