![]() |
|
|
#1 |
|
Архивный участник
Join Date: Aug 2005
Posts: 278
|
hello, I finnally got my PHP Ranking Page working,... But Does anyone know the query or just how to remove deleted characters from it (SP_6_9 type of thing) and GM's from it because i think that the Users dont need to see that ...
Thanks For any help Bob1122 |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jul 2005
Posts: 11
|
if(($row['builder']!=1) && ($row['account_id'] != -1))
{ .... } |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
just add "where builder = 0" in your sql.
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: May 2005
Posts: 74
|
Any know a lot php top for l2? ranking, castle, top adena, top pvp/pk...?
|
|
|
|
|
#5 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 278
|
Quote:
Ill Write One if i Can get this anti Builder thing working But also what about those stupid names for deleted characters... |
|
|
|
|
|
#6 | ||
|
Архивный участник
Join Date: Jul 2005
Posts: 11
|
Quote:
builder = 1-9, its a GM. account_id = -1, its a deleted account / char. |
||
|
|
|
|
#7 |
|
Архивный участник
Join Date: Aug 2005
Posts: 54
|
here's my mssql query =)
Code:
select top 100 char_name,lev,exp,gender,class,pledge_id,use_time,PK,Duel,char_id from user_data where account_id>0 and builder=0 order by exp desc |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Aug 2005
Posts: 278
|
Ok Ill Start Writing It.... Im Only Going to write the scripts, php and anti Hack stuff [anti-sqlinjection, remoz and other stupid 'hacks'] You guys can write your own template and shit like that....
|
|
|
|
|