Jump to content

[Share]Server Traffic(php)


Recommended Posts

Hello. as you know then on server are too many peoples the server has big traffic and when you loggin to game it Says Traffic:Light,Normal and Heavy

 

So i decided to write it to php. example:

 

ggg.png

 

sssf.png

 

http://www.4shared.com/rar/h_7CX6Ju/main_2.html?

Link to comment
Share on other sites

You have done a mistake.

 

This:

$num=mysql_numrows(mysql_query("SELECT * FROM characters WHERE online=1 and accesslevel=0"));

 

Should be:

$num=mysql_num_rows(mysql_query("SELECT * FROM characters WHERE online=1 and accesslevel=0"));

 

You forgot the dash between the word num and the word rows. Also, it's difficult to find a server which has fsockopen enabled.

Link to comment
Share on other sites

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...