EdenEternal Posted July 15, 2012 Posted July 15, 2012 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: http://www.4shared.com/rar/h_7CX6Ju/main_2.html?
Colet Posted July 16, 2012 Posted July 16, 2012 Great script! Thanx a lot :) Can you tell me how you wrote it? Just to learn a bit more about php :)
Pauler Posted July 17, 2012 Posted July 17, 2012 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.
liviudev Posted July 30, 2012 Posted July 30, 2012 SELECT * FROM characters (* not so recommended if you have a lot of characters in DB :P)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now