Mobile Remote Console - Possible ?
#1

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 ?
Reply
#2

Well it could be, I guess you need to find a way to compile / connect SAMP with android.
Reply
#3

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.
Reply
#4

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).
Reply
#5

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)
Reply
#6

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.
Reply
#7

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
Reply
#8

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 ?
Reply
#9

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)