Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   [Request]Ladder/Player Ranking (https://postpacific.mmorpg-game.online/showthread.php?t=1000825)

Jescozen 15.07.2009 10:45

[Request]Ladder/Player Ranking
 
like title says really need Player ranking script and maybe anyone still has _untitled client_launcher, thanks in advanced for providing it if possible, appreciate it a lot, luv u all in PP especially the Sexeh Truffe :p

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-15-2009, 10:45 AM. Открыть источник.

Renobizarro 15.07.2009 10:58

[Request]Ladder/Player Ranking
 
if u get somebody that knows php he will do it... i don't know php... but i can give u the sql part...

top lvl

select top 10 lev,char_name from user_data where builder=0 and account_id!=-1 order by exp desc

top pk

select top 10 duel,char_name from user_data where builder=0 and account_id!=-1 order by duel desc

i think u got it...

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-15-2009, 10:58 AM. Открыть источник.

Jescozen 15.07.2009 11:20

[Request]Ladder/Player Ranking
 
awesome thanks, should I say I luv u? ;)

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-15-2009, 11:20 AM. Открыть источник.

Jescozen 15.07.2009 11:30

[Request]Ladder/Player Ranking
 
if u get somebody that knows php he will do it... i don't know php... but i can give u the sql part...


top lvl


select top 10 lev,char_name from user_data where builder=0 and account_id!=-1 order by exp desc


top pk


select top 10 duel,char_name from user_data where builder=0 and account_id!=-1 order by duel desc


i think u got it...


ok give me the sql part, I think i still remember how to make the table in PHP, thanks bro

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-15-2009, 11:30 AM. Открыть источник.

Marquis 15.07.2009 14:22

[Request]Ladder/Player Ranking
 
if u get somebody that knows php he will do it... i don't know php... but i can give u the sql part...


top lvl


select top 10 lev,char_name from user_data where builder=0 and account_id!=-1 order by exp desc


top pk


select top 10 duel,char_name from user_data where builder=0 and account_id!=-1 order by duel desc


i think u got it...


I did not test it since i'm not deving, but it should work


//Connect to your mssql server

//Do your query : $res


echo '<table>';

echo '<tr><th>Rank</th><th>Name</th><th>Pk Count</th></tr>';

while ( $row = mssql_fetch_array ( $res ) ) {

$i++;

echo '<tr><td>'.$i.'</td><td>'.$row["char_name"].'</td><td>'.$row["duel"].'</td></tr>';

}

echo '</table>';

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-15-2009, 02:22 PM. Открыть источник.


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