Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  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.3 Decompilation

    Has anyone managed to get bug free source code for this new release? I've been able to get TerraHax quickly ported to Terraria 1.3.0.3, however, the decompiled source in which I have dug up does not have a working single player mode and world generation is broken. Multiplayer works though.

  2. #2
    TheCall's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    I have a working source, already added the basics to it (Item spawn, edit, etc). Just having one issue with waterfalls that's being a pain in the ass to fix.

  3. #3
    Infinal's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Hot
    Quote Originally Posted by TheCall View Post
    I have a working source, already added the basics to it (Item spawn, edit, etc). Just having one issue with waterfalls that's being a pain in the ass to fix.
    Could this be your problem? I have to quote the whole post because apparently I’m not allowed to post links yet:
    Quote Originally Posted by foobar37 View Post
    Fix of "frozen" waterfalls... Bug caused by missing declaration of num21 in WaterfallManager.DrawWaterfall()
    Code:
    				int num16 = 0;
    				int num17 = 0;
    				int num18 = 0;
    				int num19 = 0;
    				int num20 = 0;
    				int num21; //Looks like it was missing...
    				int num22;
    And below we must remove declaration
    Code:
    					if (!Main.drewLava && this.waterfalls[i].stopAtStep != 0)
    					{
    						/*!FIX int */num21 = 32 * this.slowFrame;
    						goto IL_3FA;
    					}
    Code:
    						else if (num12 == 2 && Main.drewLava)
    						{
    							goto IL_1879;
    						}
                            			/*!FIX int */num21 = 32 * this.regularFrame;
    						goto IL_3FA;
    And before drawing...
    Code:
    								Main.dust[num55].velocity *= 0f;
    							}
    						}
    						//int num21 = 0;     //Waterfalls was stuck on 0 frame...
    						if (num15 == 0 && num36 != 0 && num16 == 1 && num17 != num18)
    						{
    							num36 = 0;
    							num17 = num18;
    nivlac, can you say what is your "modified version of ILSpy"? It's your mod or I can find it somewhere in public?

  4. #4
    TheCall's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by Infinal View Post
    Could this be your problem? I have to quote the whole post because apparently I’m not allowed to post links yet:
    Thanks for the tip but sadly no that is not the issue or the fix I'm afraid. Right now drawing waterfalls is making Terraria throw Out Of Memory exceptions out the ass and freezing your game.

  5. #5
    B3T4's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    My Mood
    Tired
    The people over at the tAPI irc channel have the fixed source if you still need it

  6. #6
    Infinal's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    My Mood
    Hot
    Quote Originally Posted by B3T4 View Post
    The people over at the tAPI irc channel have the fixed source if you still need it
    Can you upload it? Would love to get my hands on that one. :3

  7. #7
    noobster29's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    228
    Reputation
    10
    Thanks
    1,533
    My Mood
    Amazed
    could someone upload it? im starting to give up trying to do it myself

  8. #8
    B3T4's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    My Mood
    Tired
    Quote Originally Posted by Infinal View Post
    Can you upload it? Would love to get my hands on that one. :3
    Can't either of you just ask for it yourselves? O.o?

  9. #9
    TheCall's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    Just so you guys know, at the moment that TAPI source mention can't access MP, it throws null pointers everywhere.

  10. #10
    B3T4's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    My Mood
    Tired
    Quote Originally Posted by TheCall View Post
    Just so you guys know, at the moment that TAPI source mention can't access MP, it throws null pointers everywhere.
    The source i got from the irc people works fine in all the ways what you talkin boot?

  11. #11
    NotoriousPyro's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    Someone upload the source please. The decompiled version is a mess.

  12. #12
    du5h3r4's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    3
    My Mood
    Psychedelic
    When you fix the waterfall issue, would you mind sending it to me?

  13. #13
    TheCall's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by B3T4 View Post
    The source i got from the irc people works fine in all the ways what you talkin boot?
    Have you tried joining a multiplayer game not hosted by you and with more another person in it? Also waterfall issue is fixed, just need to fix multiplayer.

  14. #14
    FlutterCZ's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Can someone please upload the Source code?

  15. #15
    MrBlueSL's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    Illinois
    Posts
    56
    Reputation
    10
    Thanks
    51
    My Mood
    Happy
    I miss these days. I might just take back up decompiling and modding for Terraria.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Tutorial] Terraria Decompile / Recompile Tutorial
    By atom0s in forum Terraria Hacks
    Replies: 0
    Last Post: 05-20-2013, 05:26 AM
  2. Decompiling terraria.
    By NEoNoxD in forum Terraria Hacks
    Replies: 2
    Last Post: 06-24-2011, 05:31 PM
  3. Main.cs in decompiled Terraria
    By midwest in forum Terraria Hacks
    Replies: 0
    Last Post: 06-06-2011, 07:11 PM
  4. REZ decompiler/unpacker ?
    By IDLH in forum C++/C Programming
    Replies: 1
    Last Post: 07-23-2009, 05:25 PM