Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 22.08.2005, 17:16   #1
bob1122
Архивный участник
 
Join Date: Aug 2005
Posts: 278
Default 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
bob1122 is offline  
Old 22.08.2005, 17:36   #2
MaXx
Архивный участник
 
Join Date: Jul 2005
Posts: 11
Default

if(($row['builder']!=1) && ($row['account_id'] != -1))
{
....
}
MaXx is offline  
Old 22.08.2005, 18:21   #3
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

just add "where builder = 0" in your sql.
archy is offline  
Old 22.08.2005, 20:00   #4
Alarielle
Архивный участник
 
Join Date: May 2005
Posts: 74
Default

Any know a lot php top for l2? ranking, castle, top adena, top pvp/pk...?
Alarielle is offline  
Old 22.08.2005, 20:03   #5
bob1122
Архивный участник
 
Join Date: Aug 2005
Posts: 278
Default

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...
bob1122 is offline  
Old 22.08.2005, 20:59   #6
MaXx
Архивный участник
 
Join Date: Jul 2005
Posts: 11
Default

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.
MaXx is offline  
Old 23.08.2005, 03:48   #7
darkagent
Архивный участник
 
Join Date: Aug 2005
Posts: 54
Default

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
darkagent is offline  
Old 23.08.2005, 04:50   #8
bob1122
Архивный участник
 
Join Date: Aug 2005
Posts: 278
Default

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....
bob1122 is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:49.