Author Topic: Stats website, userbars and server map  (Read 19430 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 naturaltits

  • SA-MP Server Admin
  • *
  • Posts: 2003
  • In all sincerety, i've never been so desperate.
    • 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!
Patriotism
*Littlewhitey's SA:MP Server Member since August 2011*

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: 837
  • GrandDaddy Bikerr, LETS GET IT LETS GO!
  • Awards Littlewhitey's SA-MP Player of the Year 2014
    • Awards
Re: Stats website
« Reply #33 on: July 09, 2015, 09:32:05 pm »
Good job  ;D
myprotein (dot) com whey code if you want a discount -> JOANNA-RM4
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: 811
    • Awards
  • SA-MP username: 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/#%5Bsky%5D- this is sky's page
http://stats.littlewhiteys.com/#rockhardy- this is hardy's page
http://stats.littlewhiteys.com/#%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 »


"Perpetual love and light shine through the branches, opening a new chapter."

Offline Negative

  • SA-MP Donator
  • *
  • Posts: 323
  • sometimes...
    • Awards
Re: Stats website
« Reply #36 on: July 10, 2015, 06:39:48 am »
Better stats signatures first.  :D
blewert, stop failing pls :(

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: 811
    • Awards
  • SA-MP username: 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).


"Perpetual love and light shine through the branches, opening a new chapter."

Offline naturaltits

  • SA-MP Server Admin
  • *
  • Posts: 2003
  • In all sincerety, i've never been so desperate.
    • 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. :/
Patriotism
*Littlewhitey's SA:MP Server Member since August 2011*

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: 837
  • GrandDaddy Bikerr, LETS GET IT LETS GO!
  • Awards Littlewhitey's SA-MP Player of the Year 2014
    • Awards
Re: Stats website
« Reply #43 on: July 10, 2015, 01:02:51 pm »
My original account was registered 7 years ago  ::)
myprotein (dot) com whey code if you want a discount -> JOANNA-RM4
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.