Results 1 to 11 of 11
  1. #1
    Xenoxiluna's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    106
    Reputation
    10
    Thanks
    4,303
    My Mood
    Asleep

    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!

    <b>Downloadable Files</b> Downloadable Files

  2. The Following 80 Users Say Thank You to Xenoxiluna For This Useful Post:

    1ta41 (08-01-2015),394833062 (07-24-2015),AbintN2 (07-24-2015),alexeyshevchenko (08-29-2015),andreighinea1 (07-27-2015),Boristheviking (08-04-2015),cattailz (07-26-2015),chanchotirao (08-07-2015),COD4-7 (07-24-2015),coldice508 (07-26-2015),crimsonzh (03-04-2016),daai5566 (07-28-2015),Darkprince01 (07-25-2015),Demarche (07-28-2015),desista123 (07-25-2015),destriker01 (08-06-2015),devprogrammer099 (08-10-2015),Diddy_The_Undefineable (12-19-2015),Dorman (07-27-2015),Dryz97 (08-05-2015),dylanwijnen1 (01-01-2016),Edzan (08-18-2015),fozgod (09-10-2019),Fuzzywuff (08-20-2015),GRiM_BoB (07-24-2015),IAMTHEMEMBER (07-24-2015),incarn (07-24-2015),Infinal (07-26-2015),jolsweet (09-21-2015),kacperowski1235 (08-15-2015),keiichi88 (08-05-2015),kellyNielson (08-08-2015),Killas4003 (08-11-2015),kolekelley2 (08-09-2015),L95 (07-21-2016),lebender7 (02-13-2016),Lord_Vinzz (05-06-2016),lukecheng (08-01-2015),luobo123 (07-24-2015),Mad Hatter (07-31-2015),MarzieRosalin (07-30-2015),mathenoob111 (07-24-2015),MinerMaxHD (07-25-2015),morongshu (07-28-2015),Moumoune (07-30-2015),MrBlueSL (08-02-2015),nhokcoilc123 (08-10-2015),nicolas0305 (08-09-2015),NOnaMeSo (08-17-2020),noxious4life (07-29-2015),Nts0710 (08-01-2015),olavoro7 (07-23-2015),oosoup (09-21-2015),ownagex1 (07-30-2015),paidi123 (07-27-2015),pretemders (08-11-2015),qabriel (07-27-2015),Raihnbowkidz (08-01-2015),ranthebb (04-27-2016),Red06660 (01-04-2021),renojonathanr (08-08-2015),shadowwolf404 (07-31-2015),Sharuk (08-11-2015),skillz4sale (08-01-2015),Someone123456 (08-08-2015),SPanjul666 (07-23-2015),superkill999 (08-12-2015),Teleporter (07-24-2015),Terramods (08-12-2015),Thegunamn007 (12-12-2015),theorified (07-26-2015),Thickshake (02-07-2016),Tomeno (08-10-2015),toongke (03-18-2016),wyc (08-03-2015),xtively (07-25-2015),xXPENUT69Xx (07-24-2015),XxWaylanderxX (09-21-2015),zerohunted (07-30-2015),zhy1337 (07-31-2015)

  3. #2
    We always want to see what is hidden by what we see.
    Former Staff
    Premium Member
    Cataclypse's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    ಠ_ಠ
    Posts
    13,870
    Reputation
    1725
    Thanks
    1,750
    My Mood
    Pensive
    /Approved .


    Skype: MPGH.Cataclypse
     


    Member - IX.MMX
    Donator - XII.MMXI
    Middleman - IV.MMXII
    League of Legends Minion - V.MMXIV
    Editor - VI.MMXIV
    Other MMORPGs Minion - X.MMXIV
    Call of Duty Minion - XII.MMXIV
    CrossFire Minion - II.MMXV
    Steam Games Minion - III.MMXV
    Minion+ - IV.MMXV
    Former Staff - XI.MMXV



  4. #3
    deathstrike1313's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    6
    Worldgen is broken.

  5. #4
    calum12's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Doesn't compile for me, Something about CSteamworks.dll, I have the dll but can't reference it so idk.

  6. #5
    Xenoxiluna's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    106
    Reputation
    10
    Thanks
    4,303
    My Mood
    Asleep
    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.

  7. #6
    deathstrike1313's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    6
    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.
    Last edited by deathstrike1313; 07-25-2015 at 01:29 AM.

  8. #7
    Infinal's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Hot
    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

  9. #8
    deathstrike1313's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    6
    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.

  10. #9
    DarkNebula's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    How do I make wings fly forever?

  11. #10
    DarkNebula's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    Has no one ever tried this?

  12. #11
    deathstrike1313's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    6
    I have, and worldgen is broken. :3

Similar Threads

  1. [Outdated] Terraria 1.3.0.6 Source Code
    By Xenoxiluna in forum Terraria Hacks
    Replies: 14
    Last Post: 08-19-2015, 07:06 PM
  2. [Outdated] Terraria 1.3.0.5 Source Code
    By Xenoxiluna in forum Terraria Hacks
    Replies: 11
    Last Post: 07-20-2015, 07:15 AM
  3. [Outdated] Terraria 1.3.0.4 Source Code (Compiles & Runs Flawless)
    By mattparizeau in forum Terraria Hacks
    Replies: 21
    Last Post: 07-19-2015, 03:16 PM
  4. [Source Code] Terraria 1.2.0.1 Source Code
    By Teleporter in forum Terraria Hacks
    Replies: 31
    Last Post: 10-07-2013, 02:16 AM
  5. [Request] Terraria 1.1.2 Server Source Code
    By Shadon1nja in forum Terraria Hacks
    Replies: 2
    Last Post: 08-02-2012, 07:44 AM

Tags for this Thread