Page 2 of 2

Re: MXSLauncher | Server Launcher

Posted: Wed Dec 05, 2018 3:38 pm
by broland278
I chose the background, thought it looked good :)

Re: MXSLauncher | Server Launcher

Posted: Thu Dec 06, 2018 4:28 am
by Ascaped
Holt_619 wrote:
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 use

Code: Select all

mxserver.schedule_command(commandline)
to run "server, listplayers" every x seconds. Or maybe even use

Code: Select all

mxserver.connect_handler(slotnumber)
and

Code: Select all

mxserver.disconnect_handler(slotnumber)
, but in the documentation it says you can get disconnects without a connect if the players client fails to connect.

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.


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.

Also, great job on the launcher Ascaped. Really cool stuff!


Thanks man! And thank you for the help when I had a question.

Re: MXSLauncher | Server Launcher

Posted: Fri Dec 07, 2018 10:28 pm
by SavFinesseCo.
Something like this is long overdue. Great job!

Re: MXSLauncher | Server Launcher

Posted: Fri Dec 07, 2018 10:47 pm
by Jakob Hubbard
rip, can't use it because my anti-virus blocked it from accessing the internet, aka the server index.

Re: MXSLauncher | Server Launcher

Posted: Fri Dec 07, 2018 10:49 pm
by Wahlamt
Jakob Hubbard wrote:rip, can't use it because my anti-virus blocked it from accessing the internet, aka the server index.

Just whitelist it?

Re: MXSLauncher | Server Launcher

Posted: Fri Dec 07, 2018 10:53 pm
by Jakob Hubbard
Wahlamt wrote:
Jakob Hubbard wrote:rip, can't use it because my anti-virus blocked it from accessing the internet, aka the server index.

Just whitelist it?

ended up figuring it out, the anti-virus I have was just confusing af

Re: MXSLauncher | Server Launcher

Posted: Sat Apr 20, 2019 10:09 am
by Ascaped
If you guys have any feature request I can now take them...