Player stats.

A place for players to do role playing, discuss their guilds, etc.
ZeroMax
Peon
Peon
Posts: 9
Joined: 22 Mar 2008, 20:23

Re: Player stats.

Post 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.
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: 08 Sep 2004, 19:48
Location: Bern, Switzerland

Re: Player stats.

Post 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.
This message used to be meaningful.
User avatar
Black Don
Knight
Knight
Posts: 660
Joined: 06 Feb 2008, 21:30

Re: Player stats.

Post 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.
"Too much of a good thing is an awesome thing, but too much of an awesome thing is, um, really really dumb. And bad." Strong Bad
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: 08 Sep 2004, 19:48
Location: Bern, Switzerland

Re: Player stats.

Post by Rotonen »

Platyna, how about automatizing the stat updating to for example once per day?
This message used to be meaningful.
Blamoo
Novice
Novice
Posts: 98
Joined: 03 Feb 2006, 22:07

Re: Player stats.

Post 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?
User avatar
bigglesworth
Novice
Novice
Posts: 211
Joined: 11 Nov 2007, 03:23
Location: Land of Ooo

Re: Player stats.

Post by bigglesworth »

A fascinating can of worms has been sealed!


Platyna, please update these pages, we miss them very much!
User avatar
Platyna
Grand Knight
Grand Knight
Posts: 2215
Joined: 19 Nov 2005, 13:19
Location: Poland
Contact:

Re: Player stats.

Post by Platyna »

They should work ok. When server had problem all cron tasks had been disabled.

Regards.
User avatar
Vhina
Peon
Peon
Posts: 10
Joined: 14 Jul 2008, 04:44

Re: Player stats.

Post by Vhina »

Good Stats!
But I Need More lvl, is hard up now =\
i use only karol now :)
User avatar
bigglesworth
Novice
Novice
Posts: 211
Joined: 11 Nov 2007, 03:23
Location: Land of Ooo

Re: Player stats.

Post 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.
johnnie
Peon
Peon
Posts: 1
Joined: 19 Apr 2009, 23:05

Re: Player stats.

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

???
User avatar
Goku
Knight
Knight
Posts: 925
Joined: 15 Feb 2009, 00:57

Re: Player stats.

Post 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.
IGN - Trunks
Pixel Artist In Training
Work On Forest Armor
And Forest Monster
ariani
Peon
Peon
Posts: 37
Joined: 23 May 2009, 18:58

Re: Player stats.

Post by ariani »

i can't player stats to look you can't to look my stats im hacker
User avatar
AnonDuck
TMW Adviser
TMW Adviser
Posts: 645
Joined: 02 Jan 2009, 04:19
Location: Catland

Re: Player stats.

Post 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!
Head of the TMW Illuminati
User avatar
swimmy
Warrior
Warrior
Posts: 439
Joined: 17 Oct 2008, 08:53
Location: Japan
Contact:

Re: Player stats.

Post by swimmy »

and... money :mrgreen:
who was...
User avatar
Drizak
Peon
Peon
Posts: 49
Joined: 07 Feb 2008, 08:32
Location: Santiago @ Chile!

Re: Player stats.

Post by Drizak »

Forbidden

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

D:
Image Drizak
Post Reply