
Originally Posted by
lolislol111
I'm having the same problem, though i have ranking and emblems working. But the login is strange, randomly it works, but most of the time it just refreshes the page. It's a strange problem.
The ranking doesn't work correctly, the mod_ranking.php loads all the characters CID, Ranking, Experience, Level, KillCount and DeathCount and stores them in $ranks. I'd like to make it work, but it doesn't rank people correctly, in the database, on the dbo.Character, everybody is ranked 0 or 1, depending on what you set it. Your page WILL work if you change all the rankings of players to 1 or remove "(DeleteFlag=0 OR DeleteFlag=NULL)" from the mod_ranking player rank query thing, but as all the ranks are "NULL" or "0" or "1" it will just show the first page, because the first page shows TOP 20 ranking people, and the next page should show the next people, TOP 20-40, but it doesn't, because the Ranking is "NULL", "0" or "1" to all the players, so there's nobody who's ranked after more than 1. The other pages try to load the players ranked lower, but it can't, since everybody is rank 1. I hope this helped, it's kind of hard to explain and messy.
EDIT: I got the login fixed, it seems that the "clean" function somehow glitches the login. I compared nolifes' mod_login.php to the original MPOG mod_login.php and saw that in the MPOG original one there was a function called "antisql" i compared that mod_login.php and nolifes' mod_login.php and fixed it like that.