1. osu! forums
  2. osu!
  3. Development

posted
do you retrieve the osu! stats each time?
posted
The level next to the playcount is broken. It only shows "(Lv)"
posted

Kurai wrote:

The level next to the playcount is broken. It only shows "(Lv)"
repair.

peppy wrote:

do you retrieve the osu! stats each time?
I open with a fonction http://osu.ppy.sh/pages/include/profile ... =ID&m=MODE and close, After i search with Preg_match interesting parts and then write the image.

*Caching is so difficult* :(
posted
So everytime, I load this page, your avatar is updating?...
posted

Marcin wrote:

So everytime, I load this page, your avatar is updating?...
Yes
posted

amoniack wrote:

Marcin wrote:

So everytime, I load this page, your avatar is updating?...
Yes
Coolbeans \o/
posted
Imagine, what'll happen if for example, 50 people will use it...
You should consider caching, because I don't think peppy will allow you live updates...
posted

Marcin wrote:

Imagine, what'll happen if for example, 50 people will use it...
You should consider caching, because I don't think peppy will allow you live updates...
I work xD i block right now !
posted
Easiest way would be to cache the final image to disk (using a php image output function) and read from it if it exists, and the modified date is within 24 hours or something similar.
posted
Wouldn't it be easier and faster if the data were cached in a mysql table?
posted
Most definitely not.
posted

peppy wrote:

Most definitely not.
You're the pro. If you say so, I believe you. :P

With my amateur php skills, I learned how to use mysql and do that most of the time. I don't know how much easier is to manipulate a text file than a database. That's why I asked. Thanks for the answer. I'll look into it. It's just that I already know how to do the caching with mysql in case amoniack needed any help. If text files are easier, I guess he'll figure it out soon enough.
posted
Neato idea, but the font could be changed (it's not the same)

What font does osu! use anyway?

EDIT: no it just appears that the font rendering sucks.
posted
I can't work ( im in Algeria now ._. ) But have ideas.

-Record every 1h-24h all stats ? (need server?)
-Cache navigator ? ( refresh every 1H ? )
-I still thought ...

(Olympe-network have problems :/ )
posted
I found it xD
posted

amoniack wrote:

I found it xD
Problem with that signature is that the rank it displays is based off of the old score-based ranking system.
posted


whyyy
posted

theowest wrote:



whyyy
huh? It's working correctly here.

posted
it's might be something wrong with my browser. nevermind me.
posted
For everybody here just in case: for now you must provide your ID and not your username. It is visible when you hover your name on the top of the osu! website (the link is http://osu.ppy.sh/u/XXXXXX, "XXXXXX" being your ID).
Please sign in to reply.