Author Topic: Stats website, userbars and server map  (Read 122425 times)

0 Members and 1 Guest are viewing this topic.

Offline Freak

Re: Stats website
« Reply #30 on: July 07, 2015, 03:50:00 PM »
We got already a command /stats in-game.
so I have been surprised :( i slap my brother and i make the ban appeal :(

Offline Runey

  • SA-MP Server Admin
  • *
  • *
  • Posts: 2265
    • Awards
Re: Stats website
« Reply #31 on: July 09, 2015, 11:15:49 AM »
We got already a command /stats in-game.
^
Amazing work btw.Well done blewert!

Offline Naoufal

Re: Stats website
« Reply #32 on: July 09, 2015, 05:46:30 PM »
Awesome thing! Keep it up!

Offline SKY

  • Quad Buddy
  • SA-MP Retirees
  • *
  • *
  • Posts: 842
  • GrandDaddy Bikerr, LETS GET IT LETS GO!
    • Awards
Re: Stats website
« Reply #33 on: July 09, 2015, 09:32:05 PM »
Good job  ;D
Since 2008
If you are not part of the quadbuddy association than we can not be friends.

Offline L0kw

  • SA-MP Donator
  • *
  • Posts: 424
  • History Is Written From Survivors!
    • Awards
Re: Stats website
« Reply #34 on: July 10, 2015, 03:51:28 AM »
this is so dope i like it

Offline blewert

  • The big cheese
  • Management
  • *
  • Posts: 828
    • Awards
  • SA-MP: trewelb
Re: Stats website
« Reply #35 on: July 10, 2015, 06:36:50 AM »
I've just updated this slightly. There are basically two new additions, the first one addresses this problem:

wow dude. The website is really great. I like the awards and exp. stuff. The overall look of the website is just amazing.
 Just one little thing, if it could fit in the page. I mean, i was side scrolling the page to see awards. My resolution is 1366x768 and zoom to 100%.

Awards are now not displayed on the right-hand side of the page as a sticky rail, but can be viewed via a modal popup (click "Show awards for this player" as shown here). The modal window also shows a few more detailed statistics showing the player's progression in terms of exp. Let me know if you have any more issues with the formatting here as I haven't tested it across many browsers (I've only emulated screen resolutions).



Addition #2 adds page history using url fragments. This means if you search for "alice" then "bob" and then hit the back button on the browser, the site will automatically reload the stats of "alice" from the "bob" page. It achieves this by using a # symbol in the url, which also now allows you to permalink to player pages:

http://stats.littlewhiteys.com/stats/#%5Bsky%5D- this is sky's page
http://stats.littlewhiteys.com/stats/#rockhardy- this is hardy's page
http://stats.littlewhiteys.com/stats/#%5Bjoker%5Dfreak- this is freak's page

but how do you get a permalink to a page? Easy. Just search for a name, and then copy the address of the page!



I think the next development from me will be to get some dynamic signatures working using the same backend, or add some leaderboards. Which would you guys prefer first?

p.s. have you guys got any cool screenshots of the server I could use in the background? I'm looking for some really nice photography around LV or something. Something like this.
« Last Edit: July 10, 2015, 06:41:35 AM by blewert »




Offline Negative

  • SA-MP Donator
  • *
  • Posts: 325
  • sometimes...
    • Awards
Re: Stats website
« Reply #36 on: July 10, 2015, 06:39:48 AM »
Better stats signatures first.  :D
Back to topic and stop posting useless shit here.
I can't post you.

Negative: 27 points

[LWC.RW][LWC.StealthOps][LWC.GangDay]Negative

Offline Freak

Re: Stats website
« Reply #37 on: July 10, 2015, 06:45:25 AM »
I think I could search in my PC for such a screenshots, but not sure if I can found them, since I think I've re-install my windows.

Good job with the other updates, blewert!
so I have been surprised :( i slap my brother and i make the ban appeal :(

Offline [JOKER]Zaibatsu

Re: Stats website
« Reply #38 on: July 10, 2015, 06:54:44 AM »
wow nice...

btw is there any way to view all the awards you can possibly get?

ankit

  • Guest
Re: Stats website
« Reply #39 on: July 10, 2015, 07:03:48 AM »
The new one looks great. The 2 page thing and the formatting works fine now.

Offline blewert

  • The big cheese
  • Management
  • *
  • Posts: 828
    • Awards
  • SA-MP: trewelb
Re: Stats website
« Reply #40 on: July 10, 2015, 10:01:05 AM »
wow nice...

btw is there any way to view all the awards you can possibly get?
I've added this now - when you click on a player's awards it should have a link saying "Show locked awards" at the bottom of the dialog, which should show/hide the awards that the player hasn't unlocked yet when clicked. Sometimes the scroll kinda sticks when you toggle them, but I guess i'll look into it later on.

also i fixed some issue where the AJAX to grab the player's stats was firing twice per search (because each search changes the url which fired a callback which in turn, searched again).




Offline Runey

  • SA-MP Server Admin
  • *
  • *
  • Posts: 2265
    • Awards
Re: Stats website
« Reply #41 on: July 10, 2015, 10:05:37 AM »
Got nothing old and cool since i've reinstalled samp thousands of times before. Didn't keep any photos. :/

Offline EnzoMortelli

Re: Stats website
« Reply #42 on: July 10, 2015, 10:11:22 AM »
yaay url fragments! Scraping commence!  8)

Offline SKY

  • Quad Buddy
  • SA-MP Retirees
  • *
  • *
  • Posts: 842
  • GrandDaddy Bikerr, LETS GET IT LETS GO!
    • Awards
Re: Stats website
« Reply #43 on: July 10, 2015, 01:02:51 PM »
My original account was registered 7 years ago  ::)
Since 2008
If you are not part of the quadbuddy association than we can not be friends.

Offline [JOKER]Zaibatsu

Re: Stats website
« Reply #44 on: July 11, 2015, 08:46:08 AM »
yeah signatures should be next step  8)

btw in future maybe u can add even more awards - like longest session ingame, races/events won, k/d ratio over 10.00... etc etc... the more the merrier.