Server Status and online players

TR1D3NT

New member
Messages
2
Points
0
Hello, all right? so I'm creating a skin for my Thor Patcher and would like this skin appeared the staus of my server "ON or OFF" would also appear that the amount of players logged into the server, how can I do this?

 
You can add a PHP script to be parsed server-side upon opening the patcher. That option is from the Tools/config.ini file, for noticeboxes. Your PHP script could load a webpage for that purpose.

There's no other way I know than this one, but maybe you can place a small noticebox that gets the info and another noticebox for the regular announcements you want to put there.

I'll move this topic to client-side support since it fits more there than on RO (ingame) scripts section.

 
@jaBote

You know help me build this PHP script? I'm not very good with sometimes program and did not find much on the internet

 
you could use this code:

<?php $resLogin = exec('tasklist /fi "ImageName eq login-server.exe"'); if($resLogin != 'INFO: No tasks are running which match the specified criteria.') { echo $resLogin; }?>
I'm working on it, so if you want, I can send the rest of my code when I'll finish it!
default_biggrin.png


 
Back
Top