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? Quote
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 :) Quote
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. Quote
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) Quote
Recommended Posts
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.