Page 1 of 1

Dedicated Server from my tablet?

PostPosted: Mon Jun 29, 2015 5:19 pm
by furbuggy
So, I have a tablet that I don't use (and I have a hunch probably a few other players do too). Is there anyway I could host a dedicated server for Bit Town from it? That would be really cool. Otherwise I'll have to buy a charger for the computer I was planning on using for that purpose.

Re: Dedicated Server from my tablet?

PostPosted: Mon Jun 29, 2015 6:17 pm
by Fordcars
Android? If so, I bet raptor would be more than willing to help you with this :) Raptor has already managed to run Bitfighter server on Android to my knowledge (am I mistaken?)

Re: Dedicated Server from my tablet?

PostPosted: Mon Jun 29, 2015 6:22 pm
by raptor
The answer is: very likely, but you'd need to do some significant work.

I got a dedicated server to run on an android and a raspberry pi. But I had to do at least these things:

1. Install a compiler toolchain. You'll have to compile the code yourself for the platform. This means you need, at the minimum: gcc, g++, cmake, make, etc. as well as the dependencies.
2. Work through any possible platform issues - if it's an ARMv6 (or later) chip on the tablet, then we already support that, but if it's MIPS or other mobile architecture, then there may be compiler issues (which I can probably help with)
3. You'll need to set up a standalone install, which is easy: just copy all the resources into the executable directory and create a file called standalone.txt
4. You'll have to work out network issues with the tablet. This will usually involve opening ports or adjusting firewalls. (The server defaults to using port 28000.) You should probably have the tablet use a wired network connection; wireless connections are notorious for lag.
5. All of the above may require you root your tablet which can be very difficult.
6. Other things... that I probably forgot.

Re: Dedicated Server from my tablet?

PostPosted: Thu Jul 02, 2015 1:47 pm
by amgine
In the future is it possible to make this easier for users to do ?

Re: Dedicated Server from my tablet?

PostPosted: Fri Jul 03, 2015 8:18 pm
by furbuggy
Being very new to programing I looked up what a tool chain was, want "ooooh", downloaded Codepad 2 and the GCC plugin. I attempted to open Codepad 2's "HelloWorld.c" and got hit with an (error?) "device not rooted".

Re: Dedicated Server from my tablet?

PostPosted: Fri Jul 03, 2015 8:41 pm
by Fordcars
Hi,

It might be better for the devs and all to do this over chat at freenode channel #bitfighter :)

Just go on http://webchat.freenode.net/ and type in a username and the channel name '#bitfighter', this is where the devs hang out and might make the responses be more 'live'