You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -69,7 +69,7 @@ public static IEnumerator ModMenuLoadStart(List<SceneEdit.SMenuItem> menuList, D
69
69
/*
70
70
if (servantWorker.IsFaulted)
71
71
{
72
-
Main.PLogger.LogError($"Servant task failed due to an unexpected error!");
72
+
ShortMenuLoader.PLogger.LogError($"Servant task failed due to an unexpected error!");
73
73
74
74
throw servantWorker.Exception;
75
75
}
@@ -85,11 +85,11 @@ public static IEnumerator ModMenuLoadStart(List<SceneEdit.SMenuItem> menuList, D
85
85
86
86
if(loaderWorker.IsFaulted)
87
87
{
88
-
Main.PLogger.LogWarning($"Worker task failed due to an unexpected error! SceneEditInstance is considered a full failure: {loaderWorker.Exception.InnerException.Message}\n{loaderWorker.Exception.InnerException.StackTrace}\n\nwe will try restarting the load task...");
88
+
ShortMenuLoader.PLogger.LogWarning($"Worker task failed due to an unexpected error! SceneEditInstance is considered a full failure: {loaderWorker.Exception?.InnerException?.Message}\n{loaderWorker.Exception.InnerException.StackTrace}\n\nwe will try restarting the load task...");
Main.PLogger.LogError("InitModMenuItemScript (例外 : ヘッダーファイルが不正です。) The following header for this file indicates that this is not a mod file: "+text+" @ "+fStrModFileName);
163
+
ShortMenuLoader.PLogger.LogError("InitModMenuItemScript (例外 : ヘッダーファイルが不正です。) The following header for this file indicates that this is not a mod file: "+text+" @ "+fStrModFileName);
Main.PLogger.LogError("InitModMenuItemScript The following MOD item menu file could not be loaded (MODアイテムメニューファイルが読み込めませんでした。) : "+fStrModFileName+"\n\n"+ex.Message+"\n"+ex.StackTrace);
282
+
ShortMenuLoader.PLogger.LogError("InitModMenuItemScript The following MOD item menu file could not be loaded (MODアイテムメニューファイルが読み込めませんでした。) : "+fStrModFileName+"\n\n"+ex.Message+"\n"+ex.StackTrace);
$"There was an error while attempting to load the vanilla cache: \n{cacheLoader.Exception.InnerException.Message}\n{cacheLoader.Exception.InnerException.StackTrace}\n\nAn attempt will be made to restart the load task...");
$"There was an error while attempting to load the vanilla cache: \n{cacheLoader.Exception.InnerException.Message}\n{cacheLoader.Exception.InnerException.StackTrace}\n\nThis is the 4th attempt to kick-start the task. Cache will be deleted and rebuilt next time.");
Main.PLogger.LogInfo("Finished cleaning and saving the mod cache...");
93
+
ShortMenuLoader.PLogger.LogInfo("Finished cleaning and saving the mod cache...");
94
94
});
95
95
96
96
while(cacheSaver.IsCompleted==false)
@@ -107,19 +107,19 @@ public static IEnumerator SaveCache(Dictionary<SceneEdit.SMenuItem, string> file
107
107
{
108
108
if(cacheSaver.Exception?.InnerException!=null)
109
109
{
110
-
Main.PLogger.LogError(
110
+
ShortMenuLoader.PLogger.LogError(
111
111
$"Cache saver task failed due to an unexpected error! SceneEditInstance is considered a minor failure: {cacheSaver.Exception.InnerException.Message}\n{cacheSaver.Exception.InnerException.StackTrace}\n\nAn attempt will be made to restart the task again...");
$"Cache saver task failed due to an unexpected error! SceneEditInstance is considered a minor failure: {cacheSaver.Exception.InnerException.Message}\n{cacheSaver.Exception.InnerException.StackTrace}\n\nNo further attempts will be made to start the task again...");
124
124
125
125
throwcacheSaver.Exception.InnerException;
@@ -155,7 +155,7 @@ public static IEnumerator VanillaMenuLoadStart(List<SceneEdit.SMenuItem> menuLis
155
155
156
156
//SceneEditInstance entire for loop is what loads in normal game menus. It's been left relatively untouched.
157
157
158
-
if(!Main.SmvdLoaded)
158
+
if(!ShortMenuLoader.SmvdLoaded)
159
159
{
160
160
varfileCount=menuDataBase.GetDataSize();
161
161
@@ -181,7 +181,7 @@ public static IEnumerator VanillaMenuLoadStart(List<SceneEdit.SMenuItem> menuLis
0 commit comments