Mobile Remote Console - Possible ? -
NeXoR - 11.04.2016
Hey guys, I was wondering if it's actually possible to make a remote console for android/apple
I mean that rcon.bat file etc etc
What do you think, possible ?
Re: Mobile Remote Console - Possible ? -
Tasous - 11.04.2016
Well it could be, I guess you need to find a way to compile / connect SAMP with android.
Re: Mobile Remote Console - Possible ? -
Crayder - 11.04.2016
It is very much possible, rather easily with some programming knowledge.
You just need a communication script in PAWN and the app/program itself.
The server-side script would require the socket plugin and a forwarded port, and the program would use client sockets to connect to that port.
R@f has already done this btw, look for his.
Re: Mobile Remote Console - Possible ? -
NaS - 11.04.2016
You don't actually need any special tools or scripts for the server (not even the Socket Plugin), there is an RCON API that let's you connect to RCON like rcon.exe does.
https://sampforum.blast.hk/showthread.php?tid=104299
Idk if it's easy to port to Android but it should be possible.
With this you can query server info and players, read the log and execute RCON commands.
You can also communicate with the script itself (OnRconCommand).
Re: Mobile Remote Console - Possible ? -
NeXoR - 11.04.2016
Quote:
Originally Posted by Crayder
It is very much possible, rather easily with some programming knowledge.
You just need a communication script in PAWN and the app/program itself.
The server-side script would require the socket plugin and a forwarded port, and the program would use client sockets to connect to that port.
R@f has already done this btw, look for his.
|
I am pretty sure you have meant for this one:
https://sampforum.blast.hk/showthread.php?tid=435967
P.S actually hard to find, Raf has tons of mobile tools on SAMP Forums xD
I was wondering if you might have used it, is it possible to send chat commands ? (I mean ZCMD commands)
Re: Mobile Remote Console - Possible ? -
Crayder - 11.04.2016
Quote:
Originally Posted by NeXoR
I am pretty sure you have meant for this one:
https://sampforum.blast.hk/showthread.php?tid=435967
P.S actually hard to find, Raf has tons of mobile tools on SAMP Forums xD
I was wondering if you might have used it, is it possible to send chat commands ? (I mean ZCMD commands)
|
Yes, technically it is possible to send chat commands. It wouldn't be like a client command though. You would manually call the command.
Re: Mobile Remote Console - Possible ? -
Crystallize - 11.04.2016
The link of android version on his thread is dead.Does anybody have latest version of it?
EDIT: I think this is the source of it?
https://github.com/RafaelKeramidas/SAMPApp
https://play.******.com/store/apps/d...afaelk.sampapp
Re: Mobile Remote Console - Possible ? -
NeXoR - 11.04.2016
Quote:
Originally Posted by Crayder
Yes, technically it is possible to send chat commands. It wouldn't be like a client command though. You would manually call the command.
|
Well technically I can do the same using public OnRconCommand, shouldn't I ?
Re: Mobile Remote Console - Possible ? -
CoaPsyFactor - 11.04.2016
this is very simple, either you make your script work with some scheduled commands (cron jobs) or you use RCON API, anyway - you can make it like its part of gamemode itself.