MXSLauncher | Server Launcher
-
- Posts: 1252
- Joined: Sat Dec 20, 2008 4:28 am
- Team: MotoSavage
- Location: Kansas
- Contact:
Re: MXSLauncher | Server Launcher
Thanks man! And thank you for the help when I had a question.Holt_619 wrote:All great points, but the thing is he would still need the ability to run the service locally wherever the servers are actually hosted since all those calls require local access to the server just like xcommand does. I can't think of a way to request the info from a remote server without something already running locally listening for those calls.LKR47 wrote:Super cool, thanks!
Since this really isn't a connected application it would probably be a hassle to get current players since this seems to only be reading from the servers page.
If you could make remote calls to a server you could useto run "server, listplayers" every x seconds. Or maybe even useCode: Select all
mxserver.schedule_command(commandline)
andCode: Select all
mxserver.connect_handler(slotnumber)
, but in the documentation it says you can get disconnects without a connect if the players client fails to connect.Code: Select all
mxserver.disconnect_handler(slotnumber)
It may be a lot more work, but if you wanted to get server info in real-time you can write a service that runs on the server so you can make requests remotely to the IP addresses you already have from the server list and those requests can be executed from the service since it is localhost. Then the server info can be sent as JSON back to the server launcher. That may be too many requests to make depending on how many servers are "active" on the server list.
You'll have to take a look at the documentation for a complete list of functions you'd have to use in the production script. If nobody has any interest in writing an info service, I may give it a go if I have time.
Also, great job on the launcher Ascaped. Really cool stuff!
-
- Posts: 6
- Joined: Fri Oct 19, 2018 8:05 pm
Re: MXSLauncher | Server Launcher
Something like this is long overdue. Great job!
-
- Posts: 1152
- Joined: Fri Nov 24, 2017 3:16 am
- Team: Phil's
- Location: Cold
- Contact:
Re: MXSLauncher | Server Launcher
rip, can't use it because my anti-virus blocked it from accessing the internet, aka the server index.
Re: MXSLauncher | Server Launcher
Just whitelist it?Jakob Hubbard wrote:rip, can't use it because my anti-virus blocked it from accessing the internet, aka the server index.
Discord: StorkeN#6883 - StorkenMXS Youtube - StorkenMXS Instagram - StorkenMXS Facebook - TMFR on Faceboook
-
- Posts: 1152
- Joined: Fri Nov 24, 2017 3:16 am
- Team: Phil's
- Location: Cold
- Contact:
Re: MXSLauncher | Server Launcher
ended up figuring it out, the anti-virus I have was just confusing afWahlamt wrote:Just whitelist it?Jakob Hubbard wrote:rip, can't use it because my anti-virus blocked it from accessing the internet, aka the server index.
Re: MXSLauncher | Server Launcher
If you guys have any feature request I can now take them...
Re: MXSLauncher | Server Launcher
Anyone interested in an overhaul or would it be a waste of my time?