PDA

View Full Version : [share] some player statistics for site


godfather
14.10.2007, 22:00
Well some php files i made in my free time,(basic php:P) for my site in order to show some players statistics like,

top players by playtime

top players by pk

top players by exp

top players by duels

top nobless by wins (not showing olympiad points ofc)

Showing statistics in general or by class

It shows only third class ppl

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 15 October 2007. Открыть источник (https://web.archive.org/web/20080307005509id_/http://www.postpacific.com:80/forums/showthread.php?p=102027).

Shakey
14.10.2007, 22:00
Looks nice.

But a few questions.

What happens when a player switches SubClass. From say Soultaker (Main) to an Evas Templar. Do they appear on the Soultaker list or the Evas Templar list?


Nice Share Very Happy

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 15 October 2007. Открыть источник (https://web.archive.org/web/20080307005509id_/http://www.postpacific.com:80/forums/showthread.php?p=102027).

godfather
14.10.2007, 22:00
Quote:


Originally Posted by Shakey
View Post (https://postpacific.mmorpg-game.online/showpost.php?p=1003030)

Looks nice.

But a few questions.

What happens when a player switches SubClass. From say Soultaker (Main) to an Evas Templar. Do they appear on the Soultaker list or the Evas Templar list?

Nice Share Very Happy

If you look at the code, you will see that the query searches for sub_job0 which is main class.Even when being on sub, if your main class is soultaker you will be shown at soultaker rank

The only problem is with the exp.When you switch at the subclass, your main class' data (exp, sp etc) is stored at user_subjob table.

Well in the few days maybe i will update the code, so even in xp, main class is shown even if you are with sub Very Happy

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 15 October 2007. Открыть источник (https://web.archive.org/web/20080307005509id_/http://www.postpacific.com:80/forums/showthread.php?p=102027).