Page 1 of 1

dynamic signature

Posted: Thu May 21, 2009 11:12 am
by dot
Hi
What do you thing about make dynamic signature (nick, frags, death, FPH, time play).
I have one question:
how query db to display specify player stats ?
I give parameter on url like sig.php?id=112 where id is Id of player and the script make image witch player stats.
I'm not good in php so I need help with that.
What do you think.

PS. sry for my english xD

Re: dynamic signature

Posted: Thu May 21, 2009 11:24 am
by Panther
Player totals are stored in the ut_players table. Game type specific data is stored in ut_playersgt.

Re: dynamic signature

Posted: Fri May 29, 2009 2:34 pm
by dot
I make it xD alpha version
but i have a problem with fph and time.
I assume that time is in second.
But fph ?
http://polishctf.com/tools/sig.php?id=306 ofcourse you may change id to Your id from stats script.
Soon i add few layout, sig wizard, and few, ussefull option.

//edit
ok i fix all problems xD

Re: dynamic signature

Posted: Fri May 29, 2009 5:44 pm
by Panther
I recommend using gif as your image base - it would look better without all the artifacting.