Page 2 of 3

Re: Player stats.

Posted: 22 Mar 2008, 20:35
by ZeroMax
WIth the regular expressions to update the stats... Could we take out the test players?

Code: Select all

if( $player_name == 'FatalError01 1'){
  // do not add...
}
Or...we could form the players into objects:

Code: Select all

class Player{
  $money=0, $int=0, $str=0, $dex=0;
  void Player(){}
  bool is_valid(){
    if($int <= 99 && $str <= 99 && $dex <= 99)
       return true; 
    return false;
  }
}
And then have a list of players, and add their stats:

Code: Select all

LIST $players = []
// read in the files... and put into $players
And then create the top stats TXTs, but first remove the players that are not valid...

Code: Select all

foreach $player in $players{
  if(!$player->is_valid)
    //remove player from list _before_ adding them to the "top stats" TXTs...
}
Cool information Platyna! I love these stats! I've got 2 million GP, thanks to salmon..if I remember correctly. He likes hats!

Disclaimer: the ideas above are now owned by Platyna.

Re: Player stats.

Posted: 27 May 2008, 10:29
by Rotonen
Lowered myself out of the lists finally. (Thanks to trapdoor for making me able to do @ on OS X.)

The other GMs should do the same, IMHO.

Re: Player stats.

Posted: 27 May 2008, 16:38
by Black Don
Rotonen wrote:Lowered myself out of the lists finally. (Thanks to trapdoor for making me able to do @ on OS X.)

The other GMs should do the same, IMHO.
Oh but look Rotonen your still on the list. :shock:

But I think that has more to with the fact the stats page has not updated once since May 20.

Re: Player stats.

Posted: 28 May 2008, 22:10
by Rotonen
Platyna, how about automatizing the stat updating to for example once per day?

Re: Player stats.

Posted: 29 May 2008, 01:03
by Blamoo
GonzoDark wrote:i am the 5. richest player in the game with 54.9M (54988797 GP) :shock: ( not NO.1 :( )
y u hek?

Re: Player stats.

Posted: 29 May 2008, 06:32
by bigglesworth
A fascinating can of worms has been sealed!


Platyna, please update these pages, we miss them very much!

Re: Player stats.

Posted: 31 May 2008, 14:57
by Platyna
They should work ok. When server had problem all cron tasks had been disabled.

Regards.

Re: Player stats.

Posted: 14 Jul 2008, 18:04
by Vhina
Good Stats!
But I Need More lvl, is hard up now =\

Re: Player stats.

Posted: 15 Jan 2009, 05:54
by bigglesworth
Dear Platyna,

I have two humble requests, A & B:

A) Please sort the highest-level player-characters by their experience points secondary to their level, versus the player-characters first alphabetic letter against their level.

For example, under the current script, I believe we see this:

Code: Select all

1. misterX, 99 level, 1 experience points
2. MisterX, 99 level, 52123456 experience points
When it is perhaps more appropriate to see this:

Code: Select all

1. MisterX, 99 level, 52123456 experience points
2. misterX, 99 level, 1 experience points
B) Please publish your "/stats" scripts in the forums.

Thank you for your time.

Re: Player stats.

Posted: 28 Apr 2009, 03:02
by johnnie
Does the $$ stat gen from $$ in the bank or on the character?

I have 1.6m in the bank but didnt show up on the stats list...

???

Re: Player stats.

Posted: 29 Apr 2009, 23:53
by Goku
I'm not sure how it works, but my guess would be the cash on a certain character?

Because banks are now shared between all characters on your account.

Re: Player stats.

Posted: 27 Sep 2009, 08:06
by ariani
i can't player stats to look you can't to look my stats im hacker

Re: Player stats.

Posted: 02 Oct 2009, 09:18
by AnonDuck
Recenly, the player stats appear to have been intentionally disabled. I heard it was to discourage botters by removing their public bragging rights. Seems kind of silly to me, but whatever..

Could we have the marriage stats back at least? Or a list of married players without levels listed? Marriage info should be on public record!

Re: Player stats.

Posted: 02 Oct 2009, 09:39
by swimmy
and... money :mrgreen:

Re: Player stats.

Posted: 12 Oct 2009, 09:10
by Drizak
Forbidden

You don't have permission to access /stats/ on this server.

D: