Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] any one knows that is that possible to use shell script to run game server command like `.gps xyz ..

[DiscordArchive] any one knows that is that possible to use shell script to run game server command like `.gps xyz ..

[DiscordArchive] any one knows that is that possible to use shell script to run game server command like `.gps xyz ..

rektbyfaith
Administrator
0
05-06-2023, 07:22 PM
#1
Archived author: birdnest • Posted: 2023-05-06T19:22:05.014000+00:00
Original source

any one knows that is that possible to use shell script to run game server command like `.gps xyz ...`, `.account list` ?
rektbyfaith
05-06-2023, 07:22 PM #1

Archived author: birdnest • Posted: 2023-05-06T19:22:05.014000+00:00
Original source

any one knows that is that possible to use shell script to run game server command like `.gps xyz ...`, `.account list` ?

rektbyfaith
Administrator
0
05-06-2023, 07:45 PM
#2
Archived author: Roboto • Posted: 2023-05-06T19:45:38.933000+00:00
Original source

I guess you can use telnet or SOAP as described here <https://www.azerothcore.org/wiki/remote-access> or maybe write to stdin directly
rektbyfaith
05-06-2023, 07:45 PM #2

Archived author: Roboto • Posted: 2023-05-06T19:45:38.933000+00:00
Original source

I guess you can use telnet or SOAP as described here <https://www.azerothcore.org/wiki/remote-access> or maybe write to stdin directly

rektbyfaith
Administrator
0
05-06-2023, 07:49 PM
#3
Archived author: birdnest • Posted: 2023-05-06T19:49:41.695000+00:00
Original source

Thank you <@175631911450836993> I deploy my server on AWS EC2 with security group, fire wall and IAM role. Also the command is sent via AWS SSM remote command, so it is all encrypted on the fly. If I am on my game server VM terminal, what would be the recommended way? I am looking for something like writing a Python shell script.
rektbyfaith
05-06-2023, 07:49 PM #3

Archived author: birdnest • Posted: 2023-05-06T19:49:41.695000+00:00
Original source

Thank you <@175631911450836993> I deploy my server on AWS EC2 with security group, fire wall and IAM role. Also the command is sent via AWS SSM remote command, so it is all encrypted on the fly. If I am on my game server VM terminal, what would be the recommended way? I am looking for something like writing a Python shell script.

rektbyfaith
Administrator
0
05-06-2023, 07:51 PM
#4
Archived author: birdnest • Posted: 2023-05-06T19:51:14.363000+00:00
Original source

Looks like telnet is also a interactive shell interface, but I am looking for something like shell script, any clue?
rektbyfaith
05-06-2023, 07:51 PM #4

Archived author: birdnest • Posted: 2023-05-06T19:51:14.363000+00:00
Original source

Looks like telnet is also a interactive shell interface, but I am looking for something like shell script, any clue?

rektbyfaith
Administrator
0
05-06-2023, 07:51 PM
#5
Archived author: Roboto • Posted: 2023-05-06T19:51:23.364000+00:00
Original source

I'm sure there are plenty of python libraries for SOAP
rektbyfaith
05-06-2023, 07:51 PM #5

Archived author: Roboto • Posted: 2023-05-06T19:51:23.364000+00:00
Original source

I'm sure there are plenty of python libraries for SOAP

rektbyfaith
Administrator
0
05-06-2023, 07:52 PM
#6
Archived author: birdnest • Posted: 2023-05-06T19:52:37.174000+00:00
Original source

I see. so it is like run a telnet proxy service on server local machine, and use Python to submit http request to localhost via SOAP protocol including the command. Am I right? BTW Thank you again roboto
rektbyfaith
05-06-2023, 07:52 PM #6

Archived author: birdnest • Posted: 2023-05-06T19:52:37.174000+00:00
Original source

I see. so it is like run a telnet proxy service on server local machine, and use Python to submit http request to localhost via SOAP protocol including the command. Am I right? BTW Thank you again roboto

rektbyfaith
Administrator
0
05-06-2023, 07:54 PM
#7
Archived author: Roboto • Posted: 2023-05-06T19:54:01.143000+00:00
Original source

I don't think you'd need telnet, unless that's something specific to your setup. SOAP alone is sufficient
rektbyfaith
05-06-2023, 07:54 PM #7

Archived author: Roboto • Posted: 2023-05-06T19:54:01.143000+00:00
Original source

I don't think you'd need telnet, unless that's something specific to your setup. SOAP alone is sufficient

rektbyfaith
Administrator
0
05-06-2023, 07:56 PM
#8
Archived author: birdnest • Posted: 2023-05-06T19:56:39.940000+00:00
Original source

Got it, I just figured out. I guess this is how people setup the registration website. So they basically create a login, then automatically send a command via soup from their internal API server. Thank you very much, this is super helpful!
rektbyfaith
05-06-2023, 07:56 PM #8

Archived author: birdnest • Posted: 2023-05-06T19:56:39.940000+00:00
Original source

Got it, I just figured out. I guess this is how people setup the registration website. So they basically create a login, then automatically send a command via soup from their internal API server. Thank you very much, this is super helpful!

rektbyfaith
Administrator
0
05-06-2023, 07:56 PM
#9
Archived author: Roboto • Posted: 2023-05-06T19:56:48.734000+00:00
Original source

Correct
rektbyfaith
05-06-2023, 07:56 PM #9

Archived author: Roboto • Posted: 2023-05-06T19:56:48.734000+00:00
Original source

Correct

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)