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

a guide to how to install? i dont undestand this

That functions you need call in your site :)

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock