Results 1 to 15 of 15
  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.6 Source Code

    Hello MPGH Members,

    I've just finished decompiling 1.3.0.6 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 42 Users Say Thank You to Xenoxiluna For This Useful Post:

    0745dk (07-20-2015),as sia (07-21-2015),BananaPro (07-21-2015),Cabbager001 (07-21-2015),calum12 (07-21-2015),COD4-7 (07-21-2015),Crazy Virus (07-21-2015),Dustin0115 (07-20-2015),eBloox (08-03-2015),equazcion (07-20-2015),Gaoshou (07-21-2015),Guhhhhhh (08-21-2015),hans19999 (07-23-2015),hotaro1991 (09-27-2015),Infinal (07-20-2015),kamil8585 (07-21-2015),kiloptse (07-21-2015),L95 (07-21-2016),leek21 (07-21-2015),LocoPro (12-22-2015),long1111 (07-23-2015),mage123 (09-24-2015),mathenoob111 (07-24-2015),mikewillmade (07-21-2015),MOLTEN NERO (07-22-2015),Monkey1234567 (07-21-2015),Oni-Brian (09-17-2017),oosoup (09-21-2015),pakirrin (10-13-2017),philippe9020 (03-02-2017),qq1207771859 (07-21-2015),rabidslime (07-22-2015),realko (07-21-2015),SkeletonPrime (09-19-2015),SPanjul666 (07-23-2015),superkill999 (07-21-2015),Taylorh112 (07-21-2015),theorified (07-21-2015),VoidOfAbyss (07-21-2015),xXPENUT69Xx (07-21-2015),yerpman214 (11-13-2015),Zeromaru9 (07-20-2015)

  3. #2
    harisonjp's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    1
    Nao update Terrahax pls, also, WATERFALL BUG!

  4. #3
    kiloptse's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Thks I go to test

  5. #4
    calum12's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Can't wait, please approve!

  6. #5
    harisonjp's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    1
    We need this approved so that we can get more stuff put out! Yeah, approve TerraHax but not this.

  7. #6
    Hero's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    memes
    Posts
    40,134
    Reputation
    4764
    Thanks
    9,674
    Approved .
    [] [] [] [][]

    Editor from 06•14•2011 • 2014
    Donator since 09•16•2011
    Minion from 10•10•2011 • 01•06•2011
    Minion+ from 01•06•2012 • 08•08•2012
    Moderator from 08•08•2012 • 10•06•2012
    Global Moderator from 10•06•2012 • 12•05•2017
    Staff Administrator from 12•05•2017 • 05•01•2019
    Trusted Member since 07•13•2019
    Global Moderator since 09•11•2020




  8. The Following 2 Users Say Thank You to Hero For This Useful Post:

    leek21 (07-21-2015),Xenoxiluna (07-21-2015)

  9. #7
    mwbardi's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    I keep getting this message in my crash logs everytime I play-- causing my Terraria to not save my map exploration.
    --was wondering if u might be able to help? thanks it would mean alot.

    Crash Log:

    System****.Compression.ZLibException: The underlying compression routine could not be loaded correctly. ---> System.TypeInitializationException: The type initializer for 'NativeZLibDLLStub' threw an exception. ---> System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
    at System.Runtime.InteropServices.Marshal.ThrowExcept ionForHRInternal(Int32 errorCode, IntPtr errorInfo)
    at System.Runtime.InteropServices.Marshal.ThrowExcept ionForHR(Int32 errorCode, IntPtr errorInfo)
    at System****.Compression.ZLibNative.ZLibStreamHandle .NativeZLibDLLStub.LoadZLibDLL()
    at System****.Compression.ZLibNative.ZLibStreamHandle .NativeZLibDLLStub..cctor()
    --- End of inner exception stack trace ---
    at System****.Compression.ZLibNative.ZLibStreamHandle .DeflateInit2_(CompressionLevel level, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)
    at System****.Compression.DeflaterZLib.DeflateInit(Co mpressionLevel compressionLevel, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)
    --- End of inner exception stack trace ---
    at System****.Compression.DeflaterZLib.DeflateInit(Co mpressionLevel compressionLevel, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)
    at System****.Compression.DeflaterZLib..ctor(Compress ionLevel compressionLevel)
    at System****.Compression.DeflateStream.CreateDeflate r(Nullable`1 compressionLevel)
    at System****.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen)
    at System****.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode)
    at Terraria.Map.MapHelper.SaveMap

  10. #8
    394833062's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Thank you XD I go to test

  11. #9
    SPanjul666's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    1
    My Mood
    Dead
    How do you compile the src Xenoxiluma? My Visual Studio C# 2010 Express can't compile the src. It saysthe referenced component steamworks.net and newtonsoft.json could not be found..

    Edit: Nvm, I found a way to fix it :P
    Last edited by SPanjul666; 07-23-2015 at 11:21 PM.

  12. #10
    Infinal's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Hot
    Quote Originally Posted by SPanjul666 View Post
    How do you compile the src Xenoxiluma? My Visual Studio C# 2010 Express can't compile the src. It saysthe referenced component steamworks.net and newtonsoft.json could not be found..

    Edit: Nvm, I found a way to fix it :P
    Can you please clue us in? The Newtonsoft thing is explained in another thread, but I haven’t been able to get the Steamworks library to compile yet.

  13. #11
    SPanjul666's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    1
    My Mood
    Dead
    Quote Originally Posted by Infinal View Post
    Can you please clue us in? The Newtonsoft thing is explained in another thread, but I haven’t been able to get the Steamworks library to compile yet.
    I downloaded the steamsoft.net.dll from a site and added it to the reference.

  14. The Following User Says Thank You to SPanjul666 For This Useful Post:

    Infinal (07-24-2015)

  15. #12
    Infinal's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Hot
    Quote Originally Posted by SPanjul666 View Post
    I downloaded the steamsoft.net.dll from a site and added it to the reference.
    So it was a precompiled DLL? I’mma have to try that. Thanks!

  16. #13
    Xenoxiluna's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    106
    Reputation
    10
    Thanks
    4,303
    My Mood
    Asleep
    Quote Originally Posted by mwbardi View Post
    I keep getting this message in my crash logs everytime I play-- causing my Terraria to not save my map exploration.
    --was wondering if u might be able to help? thanks it would mean alot.

    Crash Log:

    System****.Compression.ZLibException: The underlying compression routine could not be loaded correctly. ---> System.TypeInitializationException: The type initializer for 'NativeZLibDLLStub' threw an exception. ---> System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
    at System.Runtime.InteropServices.Marshal.ThrowExcept ionForHRInternal(Int32 errorCode, IntPtr errorInfo)
    at System.Runtime.InteropServices.Marshal.ThrowExcept ionForHR(Int32 errorCode, IntPtr errorInfo)
    at System****.Compression.ZLibNative.ZLibStreamHandle .NativeZLibDLLStub.LoadZLibDLL()
    at System****.Compression.ZLibNative.ZLibStreamHandle .NativeZLibDLLStub..cctor()
    --- End of inner exception stack trace ---
    at System****.Compression.ZLibNative.ZLibStreamHandle .DeflateInit2_(CompressionLevel level, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)
    at System****.Compression.DeflaterZLib.DeflateInit(Co mpressionLevel compressionLevel, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)
    --- End of inner exception stack trace ---
    at System****.Compression.DeflaterZLib.DeflateInit(Co mpressionLevel compressionLevel, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)
    at System****.Compression.DeflaterZLib..ctor(Compress ionLevel compressionLevel)
    at System****.Compression.DeflateStream.CreateDeflate r(Nullable`1 compressionLevel)
    at System****.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen)
    at System****.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode)
    at Terraria.Map.MapHelper.SaveMap
    Do you have .NET 4.0 and 4.5 installed?

    Quote Originally Posted by SPanjul666 View Post
    How do you compile the src Xenoxiluma? My Visual Studio C# 2010 Express can't compile the src. It saysthe referenced component steamworks.net and newtonsoft.json could not be found..

    Edit: Nvm, I found a way to fix it :P
    I left DLL's in the Terraria Directory of the RAR. You may try renaming
    Libraries.JSON.NET.Net40.Newtonsoft.Json.dll to Newtonsoft.Json.dll and
    Libraries.Steamworks.NET.Steamworks.NET.dll to Steamworks.NET.dll.
    After doing so, attempt to reference those.
    Last edited by Xenoxiluna; 07-24-2015 at 11:07 AM.

  17. #14
    mwbardi's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    [QUOTE=Xenoxiluna;10756414]Do you have .NET 4.0 and 4.5 installed?


    Im really not sure how to figure that out?.. could that be the problem to my original game not saving map exploration?
    thanks for the respond

  18. #15
    mwbardi's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Whenever I try to open the source code in visual studio it says "the project could not be loaded. Data at the root level is Invalid Line 1, position 1.
    C:\Windows|Microsoft.NET\Framework|v4.0.30319\Micr osoft.WinFx.targets

    --Please help if anyone has the time, thanks

Similar Threads

  1. [Outdated] Terraria 1.3.0.7 Source Code
    By Xenoxiluna in forum Terraria Hacks
    Replies: 10
    Last Post: 08-10-2015, 11:21 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