Check GM status from server's site [SGCP]
Posted: 11 Feb 2016, 23:05
Hi, I have an idea on checking the GM status from server's site for a private servers using Starsgames Control Panel
So here's the idea, the openkore check from Server's site for every minutes or second, precisely from http://www.thePrivateServerDomain.com/index.php?showuser=*****
I have figured out that SGCP use MD5 HASH to encrypt their account ID.
In my case the GM account ID is 2000000 which make the website string is
http://www.thePrivateServerDomain.com/index.php?showuser=805f743866591cb5654b0462e0f5f304
The plugins may be coded to read the server's page source, which is to look for
If the page source say its Online, the bot will DC and keep checking the status for every minutes or second, when the GM status is offline (<font class="status_off">Offline</font>), the bot will reconnect again.
That's all, now I'm curious, is this possible? Honestly I have ZERO knowledge about Perl and Openkore's Plugin. But if this thing is possible, maybe I'll try to do so and share my progress here. Thanks!
So here's the idea, the openkore check from Server's site for every minutes or second, precisely from http://www.thePrivateServerDomain.com/index.php?showuser=*****
I have figured out that SGCP use MD5 HASH to encrypt their account ID.
In my case the GM account ID is 2000000 which make the website string is
http://www.thePrivateServerDomain.com/index.php?showuser=805f743866591cb5654b0462e0f5f304
The plugins may be coded to read the server's page source, which is to look for
Code: Select all
<TD>1</TD>
<TD>Game Master</TD>
<TD>High Priest</TD>
<TD>98</TD>
<TD>70</TD>
<TD><font class="status_on">Online</font></TD>
That's all, now I'm curious, is this possible? Honestly I have ZERO knowledge about Perl and Openkore's Plugin. But if this thing is possible, maybe I'll try to do so and share my progress here. Thanks!