=KoG=Rouche Posted May 14, 2014 Share Posted May 14, 2014 Hi all, I'm working on a Lobby Script running on my Lobby Server. This lobby must redirect players to the other servers (DM, OLD, Shooter and Training). 1. Lobby Is it possible to display the number of player online from all servers on the lobby server choice panel ? How to query these informations from other servers (DM, OLD, Shooter and Training) to the lobby server ? 2. Cadena Then i would like to "lock" the different servers (DM, OLD, Shooter and Training) and let only the Lobby Server unlocked. Is it possible to lock a server which is joinable only via the lobby server with his choice server panel ? Link to comment
Moderators Citizen Posted May 14, 2014 Moderators Share Posted May 14, 2014 1.1- Nope it's not possible using built-in functions. But you can by modifying the server source code and then compile it to then use that new mta_server.exe. You can modify how the server will reply to the informations query in ACE.cpp Check lines from line 262 to 265: https://code.google.com/p/mtasa-blue/so ... SE.cpp#261 1.2 - It's possible to query these informations by using callRemote 2 - Just set a password on the other servers and add the password when redirecting from the lobby server using redirectPlayer Link to comment
xXMADEXx Posted May 14, 2014 Share Posted May 14, 2014 I would just call a php code from a website, and have it query the then return it, using the php sdk. Link to comment
Moderators Citizen Posted May 14, 2014 Moderators Share Posted May 14, 2014 I would just call a php code from a website, and have it query the then return it, using the php sdk. That won't help in any way ... He wants to fake the number of players in a server to show the total of players in his other servers. Using an external website will not help at all. Link to comment
MIKI785 Posted May 14, 2014 Share Posted May 14, 2014 I would just call a php code from a website, and have it query the then return it, using the php sdk. That won't help in any way ... He wants to fake the number of players in a server to show the total of players in his other servers. Using an external website will not help at all. I don't think so... He wants to show it in his Lobby GUI. callRemote will be enough for that. Link to comment
Moderators Citizen Posted May 14, 2014 Moderators Share Posted May 14, 2014 I would just call a php code from a website, and have it query the then return it, using the php sdk. That won't help in any way ... He wants to fake the number of players in a server to show the total of players in his other servers. Using an external website will not help at all. I don't think so... He wants to show it in his Lobby GUI. callRemote will be enough for that. Lol you are right, I read his post again, and I quickly (too quick) read what he wanted to achieve because I had the same idea a long time ago but I wanted to fake the number of players in the server list. So yeah he just wants to display the number in his gui. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now