I've just finished decompiling 1.3.0.5 and repairing the errors. ILSpy was used but there were a few methods that would not decompile correctly so I used Telerik. If I missed anything please let me know!
WorldFile.cs and MapHelper.SaveMap are broken. Both can be copied from Telerik JustDecompile. These fix issues with generating new worlds and saving the parts of the map you have explored.
Originally Posted by Xenoxiluna
Hello MPGH Members,
I've just finished decompiling 1.3.0.5 and repairing the errors. ILSpy was used but there were a few methods that would not decompile correctly so I used Telerik. If I missed anything please let me know!
Enjoy!
Op wrong thread i posted in sorry
Originally Posted by deathstrike1313
Steam or GOG?
Steam.
Originally Posted by deathstrike1313
Its crashing on "Generating structures"..
I see that. I seem to have overlooked a few things...
Originally Posted by chatrat12
WorldFile.cs and MapHelper.SaveMap are broken. Both can be copied from Telerik JustDecompile. These fix issues with generating new worlds and saving the parts of the map you have explored.
Thanks for the suggestion. I already figured out what was wrong with WorldFile.cs. It was just missing a few byte casts. I will have to take a look at MapHelper.SaveMap.
Originally Posted by FizzingItUp
Op wrong thread i posted in sorry
No Problem.
Please can we get TerrariaServer.exe decompiled?
Originally Posted by NotoriousPyro
Please can we get TerrariaServer.exe decompiled?
I may be able to. Providing someone else hasn't already.
Originally Posted by Xenoxiluna
I may be able to. Providing someone else hasn't already.
I don't think anyone has, not to my knowledge anyway.
Isnt TerrariaServer.exe just the terraria source with a few variables modified? Thats what Yoraiz0r told me anyway. Also, in this source Chest.Unlock(int x, int y) does not work, but that method can be copied from JustDecompile and then chests unlock just fine. Also, waterfalls dont animate, which can be fixed by copying WaterfallManager.cs from DotPeek (JustDecompile doesent decompile it properly)
Originally Posted by deathstrike1313
Isnt TerrariaServer.exe just the terraria source with a few variables modified? Thats what Yoraiz0r told me anyway. Also, in this source Chest.Unlock(int x, int y) does not work, but that method can be copied from JustDecompile and then chests unlock just fine. Also, waterfalls dont animate, which can be fixed by copying WaterfallManager.cs from DotPeek (JustDecompile doesent decompile it properly)
Yes, that's right but I tried merging files from the client into the server and observing changes and I just couldn't get it to work.