I've just finished decompiling 1.3.0.7 and repairing the errors. ILSpy was used but there were a few methods that would not decompile correctly so I used Telerik and dotPeek. As always, If I missed anything please let me know!
Doesn't compile for me, Something about CSteamworks.dll, I have the dll but can't reference it so idk.
Originally Posted by deathstrike1313
Worldgen is broken.
Really? That's interesting... It seems to be working fine for me. Does it show you a message?
Originally Posted by calum12
Doesn't compile for me, Something about CSteamworks.dll, I have the dll but can't reference it so idk.
There are dll files in the Terraria directory contained in the RAR. Try referencing those.
Originally Posted by Xenoxiluna
Really? That's interesting... It seems to be working fine for me. Does it show you a message?
There are dll files in the Terraria directory contained in the RAR. Try referencing those.
Alright, thats interesting. I used this source yesterday, and it would crash at WorldGen.TileFrame due to an overflow exception, but after trying again today it works perfect. Maybe i used the wrong source :3
EDIT: Does actually seem to still be broken around "Chiseling Granite" in worldgen.
StackOverflowException at WorldGen.TileFrame
I didnt notice this when i initially made my message because i forgot to disable the steam api. But now that ive done it worldgen is broken.
So… I’ve been able to compile it just fine using the DLLs provided in the archive, thanks for that, Xenoxiluna. It didn’t require tinkering with the references, either. However, I had to remove the Steam calls as described in the post quoted below (as I am, once again, not allowed to post links). As a consequence, the game is detached from Steam and, and this is bugs me even more, conjures up all the achievements every single time I start it up.
Does anyone have a way to plug it back into Steam? Much appreciated!
Originally Posted by David95654
to fix the steam problem go to Terraria.Social\SocialAPI.cs
Just go into Program.cs and at the top of everything do #define DEBUG
then below, find where it says SocialAPI.initialize(null) and replace that with #if DEBUG
SocialAPI.Initialize(SocialMode.None); #else
SocialAPI.Initialize(null); #endif
this way, steam is disabled when debugging, but when you switch to release and compile its automatically enabled again.