1.4 modding issues.

Talus

The Destroyer
Hello fellow Terrarians, long time no see! I recently noticed that Tmodloader was updated to 1.4 and now my mod has 5000+ errors from the new syntax, I used a tmodporter to remove about three thousand and have done the rest manually. I only have 142 errors left to solve! If anyone out there with a better understanding of the new changes could help me remove that last errors, it would be greatly appreciated! If anyone also wants to know how to use the Tmodporter to transfer their mod, ask me!

Here is the update migration guide in case you do not have it already.
it does not include everything.
 
Screen Shot 2022-06-20 at 8.42.48 AM.png

Question: how to use the RightClick method in 1.4?
 
Where are you trying to use it, in an accessory, tile, etc.

In a tile, it'd be public override bool RightClick(int i, int j)
 
It is underlined in red and counts as another error.
Do you know if the method is dependent on anything in example chair?
 
No, it shouldn't be. What is the actual error VS is showing you for RightClick? Is it recommending a fix?

Can you post your entire code?
 
Don't worry, I figured it out! it turns out that for some reason it was returning a string "true" instead of true!
Down to 82 errors by now!
Edit: 11:50
20
11:53
19
 
Last edited:
Screen Shot 2022-06-20 at 12.32.27 PM.png

I am having an error with PostDraw, I need to keep sprite batch and Color but find the correct config.
Please help! any assistance will be greatly appreciated!
Figured it out!
 
Last edited:
I officially completed all of my errors!
except for:
Screen Shot 2022-06-20 at 1.59.15 PM.png

I have never encountered this before! please help me!
 
PLEASE HELP
anyone who solves this problem will be credited in the mod...
anyone who solves this problem will be credited in the mod!!
WHAT MORE DO YOU WANT
Hi there @Talus please don't "ping" or "bump" threads, as it is against forum rules. If someone knows the answer, they will reply.
 
Back
Top Bottom