OutdatedTerraria 1.3.0.7 Source Code

Posts 1–11 of 11 · Page 1 of 1
Terraria 1.3.0.7 Source Code
Hello MPGH Members,

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!

Enjoy!

Terraria 1.3.0.7 Source Code_mpgh.net.rar1.8 MB · 716 downloads Clean
Doesn't compile for me, Something about CSteamworks.dll, I have the dll but can't reference it so idk.
Quote Originally Posted by deathstrike1313 View Post
Worldgen is broken.
Really? That's interesting... It seems to be working fine for me. Does it show you a message?

Quote Originally Posted by calum12 View Post
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.
Quote Originally Posted by Xenoxiluna View Post
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!
Quote Originally Posted by David95654 View Post
to fix the steam problem go to Terraria.Social\SocialAPI.cs

find this
Code:
        private static void LoadSteam()
        {
            LoadModule<CoreSocialModule>();
            Friends = SocialAPI.LoadModule<Terraria.Social.Steam.FriendsSocialModule>();
            Achievements = SocialAPI.LoadModule<Terraria.Social.Steam.AchievementsSocialModule>();
            Cloud = SocialAPI.LoadModule<Terraria.Social.Steam.CloudSocialModule>();
#if !SERVER
            Network = LoadModule<NetClientSocialModule>();
#else
            Network = LoadModule<NetServerSocialModule>();
#endif
        }
change it to this
Code:
        private static void LoadSteam()
        {

        }
This will prevent steam from opening
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.
How do I make wings fly forever?
Posts 1–11 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us