ThyroDree 3 Posted March 14, 2014 i am using a Thor Patcher how can i add the patcher shows how many Online in my Server and Checks the Login,Char, and Map Server if Online or Offline Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted March 14, 2014 just edit the notice.html and add the php code to show it Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted March 15, 2014 can you give me examples? please? Quote Share this post Link to post Share on other sites
0 Hadeszeus 15 Posted March 15, 2014 Something like this <?php foreach ($serverStatus as $privServerName => $gameServers): ?><table id="server_status"> <?php foreach ($gameServers as $serverName => $gameServer): ?> <tr> <th class="server"><?php echo htmlspecialchars($serverName) ?></th> <td class="status"><?php echo $this->serverUpDown($gameServer['loginServerUp']) ?></td> <td class="status"><?php echo $this->serverUpDown($gameServer['charServerUp']) ?></td> <td class="status"><?php echo $this->serverUpDown($gameServer['mapServerUp']) ?></td> <td class="status"><?php echo $gameServer['playersOnline'] ?></td> </tr> <?php endforeach ?></table> Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted March 15, 2014 Something like this <?php foreach ($serverStatus as $privServerName => $gameServers): ?><table id="server_status"> <?php foreach ($gameServers as $serverName => $gameServer): ?> <tr> <th class="server"><?php echo htmlspecialchars($serverName) ?></th> <td class="status"><?php echo $this->serverUpDown($gameServer['loginServerUp']) ?></td> <td class="status"><?php echo $this->serverUpDown($gameServer['charServerUp']) ?></td> <td class="status"><?php echo $this->serverUpDown($gameServer['mapServerUp']) ?></td> <td class="status"><?php echo $gameServer['playersOnline'] ?></td> </tr> <?php endforeach ?></table> how can i connect this to my server? Quote Share this post Link to post Share on other sites
0 Hadeszeus 15 Posted March 15, 2014 Its really hard if u dont have knowledge in php. Quote Share this post Link to post Share on other sites
i am using a Thor Patcher how can i add the patcher shows how many Online in my Server and Checks the Login,Char, and Map Server if Online or Offline
Share this post
Link to post
Share on other sites