So I wanted to create a custom client for the game. Sort of like Crumbler's client, but with a bit more features that I feel are missing (Also, this is the first time I'm approaching something like this, and I thought its a decent starting point)
And I'm having trouble compiling the source code I found here (first result for "terraria source code" on google):
https://******.com/csnxs/Terraria
I installed visual studio community 2017 to do this, and ticked both "Universal Windows Platform development" and ".NET desktop development" in the visual studio installer.
I have added the following references to the project:
Microsoft.Xna.Framework
Microsoft.Xna.Framework.Game
Microsoft.Xna.Framework.Graphics
Microsoft.Xna.Framework.Xact
ReLogic
Examples for errors I get that I have no idea how to fix:
- type or namespace name "__Null" could not be found (in WorldGen.cs and Main.cs)
- type or namespace name "__Boxed" could not be found (in Main.cs)
- int[*,*] does not contain a definition for 'Address' and no extension method 'Address' accepting a first argument of type 'int[*,*] could be found (in Main.cs)
And basically a lot more syntax errors that I shouldnt get.
another example will be this line:
Microsoft.Xna.Framework.Color transparent = Microsoft.Xna.Framework.Color.get_Transparent();
it should be like this:
Microsoft.Xna.Framework.Color transparent = Microsoft.Xna.Framework.Color.Transparent;
Transparent is a property but for some reason I cant call the function that gives it. but at same time tho, this is not my code, and it should work.
Anyway, I'm lost here. I need help.