Skip to content

Commit d558a0e

Browse files
committed
v0.8.1 release, updated to tModLoader v0.11.7.7, fix corruption pits issue
1 parent 1528920 commit d558a0e

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

patches/TerraCustom/Terraria.ModLoader.UI/Interface.cs.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
internal static void MessageBoxShow(string text, string caption = null) {
55
// MessageBox.Show fails on Mac, this method will open a text file to show a message.
66
caption = caption ?? "Terraria: Error" + $" ({ModLoader.versionedName})";
7-
- string message = $"{text}\n\nA client.log file containing error information has been generated in\n{Path.Combine(Main.SavePath, "Logs")}\n(You will need to share this file if asking for help)";
8-
+ string message = $"{text}\n\nA client.log file containing error information has been generated in\n{Logging.LogDir}\n(You will need to share this file if asking for help)";
7+
- string message = Language.GetTextValue("tModLoader.ClientLogHint", text, Path.Combine(Main.SavePath, "Logs"));
8+
+ string message = Language.GetTextValue("tModLoader.ClientLogHint", text, Logging.LogDir);
99
#if !MAC
1010
System.Windows.Forms.MessageBox.Show(message, caption);
1111
#else

patches/TerraCustom/Terraria.ModLoader/ModLoader.cs.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
}
2828
catch when (token.IsCancellationRequested) {
29-
@@ -386,8 +_,8 @@
29+
@@ -387,8 +_,8 @@
3030
if (LastLaunchedTModLoaderVersion < version)
3131
ShowWhatsNew = true;
3232
*/

patches/TerraCustom/Terraria/Main.cs.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@
103103
text += "_";
104104

105105
@@ -4224,18 +_,19 @@
106-
Logging.Terraria.Info($"Steam Cloud Quota: {UIMemoryBar.SizeSuffix((long)puAvailableBytes)} available");
106+
Logging.Terraria.Info($"Steam Cloud Quota: {UIMemoryBar.SizeSuffix((long)ModLoader.Engine.Steam.lastAvailableSteamCloudStorage)} available");
107107
}
108108
if (!Directory.Exists(vanillaContentFolder)) {
109-
- Interface.MessageBoxShow("Terraria Content folder not found. If you installed tModLoader through Steam, make sure that Terraria is installed. If not, make sure to install tModLoader in a folder nested within the Terraria install directory or a folder next to the Terraria install directory.");
109+
- Interface.MessageBoxShow(Language.GetTextValue("tModLoader.ContentFolderNotFound"));
110110
+ Interface.MessageBoxShow("Terraria Content folder not found. Make sure to install TerraCustom in a folder next to the Terraria install directory as described in the ReadMe.txt.");
111111
Environment.Exit(1);
112112
}
@@ -257,7 +257,7 @@
257257
+ string supportMessage = "jopojelly's Pateron - ";
258258
+ string patreonShortURL = @"patreon.com/jopojelly";
259259
+ bool showPatreon = Main.menuMode == 5001;
260-
+ string drawVersion = Main.versionNumber + Environment.NewLine + ModLoader.ModLoader.versionedName + Environment.NewLine + "jopojelly's TerraCustom v0.7" + (showPatreon ? Environment.NewLine + supportMessage : "");
260+
+ string drawVersion = Main.versionNumber + Environment.NewLine + ModLoader.ModLoader.versionedName + Environment.NewLine + "jopojelly's TerraCustom v0.8.1" + (showPatreon ? Environment.NewLine + supportMessage : "");
261261
Vector2 origin3 = fontMouseText.MeasureString(drawVersion);
262262
origin3.X *= 0.5f;
263263
origin3.Y *= 0.5f;

patches/TerraCustom/Terraria/WorldGen.cs.patch

+7-7
Original file line numberDiff line numberDiff line change
@@ -2474,7 +2474,7 @@
24742474
break;
24752475
case 298:
24762476
Item.NewItem(i * 16, j * 16, 32, 32, 2190);
2477-
@@ -35362,7 +_,7 @@
2477+
@@ -35364,7 +_,7 @@
24782478
public static void CrimStart(int i, int j) {
24792479
int crimDir = 1;
24802480
heartCount = 0;
@@ -2483,7 +2483,7 @@
24832483
int k = j;
24842484
if ((double)k > Main.worldSurface)
24852485
k = (int)Main.worldSurface;
2486-
@@ -35531,7 +_,7 @@
2486+
@@ -35533,7 +_,7 @@
24872487
}
24882488

24892489
for (int num34 = 0; num34 < heartCount; num34++) {
@@ -2492,7 +2492,7 @@
24922492
}
24932493

24942494
int num35 = Main.maxTilesX;
2495-
@@ -35773,9 +_,9 @@
2495+
@@ -35775,9 +_,9 @@
24962496
num = 2f;
24972497

24982498
if (num <= 0f) {
@@ -2504,7 +2504,7 @@
25042504
}
25052505
else if (!flag3) {
25062506
flag3 = false;
2507-
@@ -35797,7 +_,14 @@
2507+
@@ -35799,7 +_,14 @@
25082508
num10 = Main.maxTilesY - 5;
25092509

25102510
if ((double)num10 > Main.worldSurface) {
@@ -2520,7 +2520,7 @@
25202520
if (Main.tile[num9, num10].type == 26) {
25212521
flag4 = true;
25222522
continue;
2523-
@@ -35951,7 +_,7 @@
2523+
@@ -35953,7 +_,7 @@
25242524

25252525
public static void GERunner(int i, int j, float speedX = 0f, float speedY = 0f, bool good = true) {
25262526
int num = genRand.Next(200, 250);
@@ -2529,7 +2529,7 @@
25292529
num = (int)((float)num * num2);
25302530
double num3 = num;
25312531
Vector2 vector = default(Vector2);
2532-
@@ -37560,9 +_,9 @@
2532+
@@ -37562,9 +_,9 @@
25332533
}
25342534

25352535
public static void Lakinater(int i, int j) {
@@ -2541,7 +2541,7 @@
25412541
if (genRand.Next(5) == 0) {
25422542
num *= 1.5;
25432543
num2 *= 1.5;
2544-
@@ -37717,9 +_,9 @@
2544+
@@ -37719,9 +_,9 @@
25452545

25462546
int num12 = genRand.Next(7, 10);
25472547
int num13 = genRand.Next(7, 10);

solutions/CompleteRelease.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@ECHO off
55
:: Compile/Build exe
66
echo "Building Release"
7-
set TerraCustomVersion=v0.8
7+
set TerraCustomVersion=v0.8.1
88
call buildRelease.bat
99

1010
set destinationFolder=.\TerraCustom %TerraCustomVersion% Release

0 commit comments

Comments
 (0)