Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Remove Builder [GM] From Top 10 list (https://postpacific.loc-online.com/showthread.php?t=1558)

bob1122 22.08.2005 17:16

Remove Builder [GM] From Top 10 list
 
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

MaXx 22.08.2005 17:36

if(($row['builder']!=1) && ($row['account_id'] != -1))
{
....
}

archy 22.08.2005 18:21

just add "where builder = 0" in your sql.

Alarielle 22.08.2005 20:00

Any know a lot php top for l2? ranking, castle, top adena, top pvp/pk...?

bob1122 22.08.2005 20:03

Quote:

Originally Posted by Alarielle
Any know a lot php top for l2? ranking, castle, top adena, top pvp/pk...?

Umm what i think your saying is : Anyone know where i can find a ranking system for l2 with ranking, castle top 10 and adena and top pvp/pk... (Meclsoft hehehe) j/k

Ill Write One if i Can get this anti Builder thing working


But also what about those stupid names for deleted characters...

MaXx 22.08.2005 20:59

Quote:

Originally Posted by bob1122
Quote:

Originally Posted by Alarielle
Any know a lot php top for l2? ranking, castle, top adena, top pvp/pk...?

Umm what i think your saying is : Anyone know where i can find a ranking system for l2 with ranking, castle top 10 and adena and top pvp/pk... (Meclsoft hehehe) j/k

Ill Write One if i Can get this anti Builder thing working


But also what about those stupid names for deleted characters...

Gosh! You cant read? I wrote the values for your needs.

builder = 1-9, its a GM.
account_id = -1, its a deleted account / char.

darkagent 23.08.2005 03:48

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


bob1122 23.08.2005 04:50

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....


All times are GMT. The time now is 15:40.