James.
Posts: 2
Joined: Wed Apr 04, 2018 5:00 pm

Raspberry Pi terraria server

Wed Apr 04, 2018 5:23 pm

I a man following the guide to create a terraria server as shown on this website; http://www.instructables.com/id/Raspber ... ia-Server/
However when it asks to do the command: mono./TerrariaServer.exe
It says there is no file or directory as mono./TerrariaServer.exe
I've tried spacing it out but it only comes up with mono being an invalid command.
I have definitely got TerrariaServer.exe because when I do cd document
Then ls it says TerrariaServer.exe is there

Does anyone have any idea what is going wrong? Has this happened for anyone else? Is there anything I can do? I would be of tremendous thankfulness if anyone can help me.

User avatar
topguy
Posts: 6491
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Raspberry Pi terraria server

Fri Apr 06, 2018 8:47 am

The instructions for installing Mono is for "Raspbian Wheezy", that is two main releases ago.

I would use the instructions here instead: https://www.mono-project.com/download/s ... n-raspbian

James.
Posts: 2
Joined: Wed Apr 04, 2018 5:00 pm

Re: Raspberry Pi terraria server

Thu May 24, 2018 5:54 pm

Thank you, mono is working now.
I'm sorry but there's another problem;
When I execute the command; mono ./TerrariaServer.exe
It produces this; Unhandled exception: System.TypeLoadException: Could not load type 'TerrariaApi.Server.ServerApi' from assembly 'TerrariaServer, Version=1.3.5.3, Culture=neutral, PublicKeyToken=null'.
What does this mean and what should I do to get the command to work?

Again, thank you for your help

User avatar
WillBoxOwO
Posts: 122
Joined: Wed Jun 27, 2018 10:24 pm

Re: Raspberry Pi terraria server

Sun Jul 08, 2018 2:17 am

I dont know how Terraria servers works on Raspbian/Linux, but im pretty shure these kind of .exe files only works under windows
I like cats

User avatar
topguy
Posts: 6491
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Raspberry Pi terraria server

Sun Jul 08, 2018 11:12 am

If it was a normal .exe file you would be right but that would give a completely different error message. The exception suggest that this is a .NET executable but apart from that I dont know much else to suggest than "google it".

Return to “Gaming”