forum

Dynamic Signature

posted
Total Posts
76
Topic Starter
idk
Now : http://osusig.ppy.sh/

Hi,

(First Sorry for my very bad English --)

Since Peppy removed the signature in profile(was ugly) I planned to make one for me(skinflint <- google trad) but finally I prefer to share.
Hoping you like it.

Exemple with my id:


Link: http://amoniack.olympe.in

if you have more ideas about or report a problem, tell me.

Maybe that peppy will not agree that I continuously so the site could close

Amoniack.

XPJ38 wrote:

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).
you can use your username now.
peppy
As long as you are caching at least 1h for stat retrieval and using s.ppy.sh for the avatar retrieval, this is fine by me.
thelewa
Coolbeans
Topic Starter
idk

peppy wrote:

As long as you are caching at least 1h for stat retrieval and using s.ppy.sh for the avatar retrieval, this is fine by me.
Super, but catching at least 1h i don't know to do it ... I create an image with php directly but I can learn to do if possible.
peppy
do you retrieve the osu! stats each time?
Kurai
The level next to the playcount is broken. It only shows "(Lv)"
Topic Starter
idk

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* :(
Marcin
So everytime, I load this page, your avatar is updating?...
Topic Starter
idk

Marcin wrote:

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

amoniack wrote:

Marcin wrote:

So everytime, I load this page, your avatar is updating?...
Yes
Coolbeans \o/
Marcin
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...
Topic Starter
idk

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 !
peppy
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.
Marblehead
Wouldn't it be easier and faster if the data were cached in a mysql table?
peppy
Most definitely not.
Marblehead

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.
EGOIST-_old
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.
Topic Starter
idk
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 :/ )
Topic Starter
idk
I found it xD
TakuMii

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.
show more
Please sign in to reply.

New reply