Hello E*PvP
I'm setting up a PvP Script for local server and i see my toon with status 16 in list with normal toons
How to remove Admin's , GM's from PvP Rank script ?
Quote:
Tr in users_master "admin"=true or AdminLevel=255
Neither SnickQ or MXD-Takeshi makes sense.Quote:
add where status = 0
it show just the status "normal", no ban or adm or gm....
I think what Takeshi meant to say is that he should try adding 'WHERE Status = 0' to the query in the pvp ranking script so it will only look for normal accounts and ignore admins and banned accounts.Quote:
Neither SnickQ or MXD-Takeshi makes sense.
Why should he change the Database if it can be simple done in PHP ?
select CharName, K1, K2, K3, K4 from PS_GameData.dbo.Chars inner join PS_UserData.dbo.Users_Master on Users_Master.UserUID = Chars.UserUID Where Del = 0 and Status = 0 Order By K1 Desc
Hi Mr.FlipQuote:
The pvp rankings that are released here do not show my GM chars in the ranking page.
I'd recommend to use one of them, or at least as a guideline to use come code from it.
Thanks you for explain what i mean, i'm sorry to haven't explain it before :)Quote:
I think what Takeshi meant to say is that he should try adding 'WHERE Status = 0' to the query in the pvp ranking script so it will only look for normal accounts and ignore admins and banned accounts.