Jump to content

Recommended Posts

  • 4 weeks later...
  • 3 weeks later...
Posted

is it possible to divide the shown number? I mean If I suspect a server is using multiplier, can I modify the script to show less online?

What do you mean ? You could add a mathematical function to divide or reduce the amount received from hAuthD

  • 5 weeks later...
Posted (edited)

What do you mean ? You could add a mathematical function to divide or reduce the amount received from hAuthD

 

I guess he means for example:

 

You are running the site l2online.bla and you know that some admin is faking the online amount of players *5. You want to show people the correct amount of players on your site so you have to add something like an arithmetic operator in php wich divides the online amount inside the php script /5.

 

 

 

---------------------------------------------------------------------------------

 

 

 

a guide to how to install? i dont undestand this

 

Paste the code inside your text editor (notepad + or anything else) and save it as php (for example online.php). Upload it to your webhost beside your index.php and on any place on your index.html put:

 

<?php include "online.php"; ?>

 

Now the number of online players connected to your Hauth will be shown. 

 

 

 

Edited by LogicalMind

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...