• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run sa-mp server in android terminal
#1
I tried to find out more, found that I can use a terminal to run programs.



My idea is to use a mobile terminal for tests with mobile devices, if it is functional it will be handy for those who travel or cannot afford to have a computer at home (just like me).



The terminal I decided to use is called 'Termux', it serves some purposes well, is there any way to run a server using it?



I have been trying, this is the limit of what I know about the subject, I need a light!

Code:
wget http://files.sa-mp.com/samp037svr_R2-1.tar.gz

tar -zxf samp03 *.tar.gz

cd samp03

chmod 700 *

./samp03svr

Obs: in the middle of that i change the rcon password***
  Reply
#2
The sole reason why you will not be able to run the server on a mobile device(assuming we are talking about android devices as Termux i see is an app for this OS) is because they are running on ARM based CPUs and samp server is not compiled to be used on this arhitecture. Some years back i also asked about running on Raspberry Pi which also uses ARM based CPUs and i faced same issue.

Hopefully open.mp as it will be open source at some point someone will make a build for ARM too.

Edit: Maybe there is a way to emulate the x86-64 software (as samp server) inside android (ofc this will impact a bit the performance). If someone knows please do tell.
Away
  Reply
#3
Even if you could run a server on an android, there's no way it could actually host players, so you'll need a real server anyway. Plus, since you can only play on PC just use that one to host.
  Reply
#4
After a long search I found what I wanted.

https://youtu.be/GWWJIA3t2ok

Yes, it is possible to run on termux, thanks to Banditul and Y_Less for having answered beforehand
  Reply


Forum Jump: