Breakfast Stat Sig for Players

Mmmm... What's cookin in the kitchen?

Moderator: Lucifer

User avatar
Lucifer
Project Developer
Posts: 8640
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Breakfast Stat Sig for Players

Post by Lucifer »

Ok, if you want something that looks like this:


Image


Use this code:

Code: Select all

[url=http://breakfast.servegame.com/index.php?option=com_aastats&Itemid=41]
[img]http://breakfast.servegame.com/statsig.php?player=YOURPLAYER&server=SERVER&pic=PICTURE[/img]
[/url]
Use + for spaces, and you'll have to pretty much figure out what your player name is. Color codes aren't supported because they don't exist in the stat files anymore, so don't sweat it. Best way to figure out what to put for your player is to just plug in the url into your browser and then hit return. Then copy the part of the url that is your name.

For servers, you only have "swampland" or "hell" or just leave it blank.

For pic it must be a complete url, and if it's too small you'll get errors.

If you want/need help, let me know. The script doesn't yet interoperate with the breakfast website, but it will. ;)

Here's some examples:

http://breakfast.servegame.com/statsig. ... =root+down

Image


http://breakfast.servegame.com/statsig. ... =swampland

Image


http://breakfast.servegame.com/statsig. ... CKTRON.png

Image


You can also change some of the fonts used by using these directives:

pfnt : player font
servfnt : server font
cfnt : caption font (mattches, rounds, ladder)
sfnt : score font (the numbers themselves)

http://breakfast.servegame.com/statsig. ... t=dienasty

Image

Note: Alpha quality stuff right now. Eventually it'll interoperate with the very script that it's linked to so that all servers on that page will be available for stat boxes here.
Last edited by Lucifer on Wed Feb 23, 2005 3:41 am, edited 1 time in total.
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Lucifer
Project Developer
Posts: 8640
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

v0.0.1 released

Post by Lucifer »

Ok, here's v0.0.1 of this thing, for your enjoyment. I didn't include a picture, and documentation is pretty thin, but here it is anyway. What do you expect from a 0.0.1 release anyway, eh? ;)

Future versions will be hosted on the Breakfast website, and probably on my own as well.
Attachments
statsig.zip
(16.28 KiB) Downloaded 264 times
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
ishAdmin
Match Winner
Posts: 625
Joined: Sun Jul 04, 2004 12:11 am
Contact:

Post by ishAdmin »

as I said in another thread, GJ. Sorry I wasn't able to help. But you didn't need it obviously!

And as an aside, my server exploded the other day. After 4 hours of nail biting, the entire server was swapped except the harddrive. I don't know the full details of what went wrong, as the on site techs never really figured it out. Fortunately, it happened at 10 pm, so most of my customers had no idea it even happened. Just ONE MORE FREAKIN THING that is keeping me behind schedule!
Image
User avatar
Your_mom
Match Winner
Posts: 653
Joined: Sun Jun 06, 2004 1:45 am

Post by Your_mom »

why do my stats have rocks name behind it?
User avatar
Lucifer
Project Developer
Posts: 8640
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer »

Your_mom wrote:why do my stats have rocks name behind it?
To demonstrate that you can have any arbitrary background picture. Look at the url for his and you'll see how that's done. :)
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Lucifer wrote:
Your_mom wrote:why do my stats have rocks name behind it?
To demonstrate that you can have any arbitrary background picture. Look at the url for his and you'll see how that's done. :)
Nice work
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Small Request, could my name and the server text have a little padding? So I could cut of the corners, without my name being drawn outside of them. (look at my current sig).
Anumeric
On Lightcycle Grid
Posts: 10
Joined: Thu Dec 02, 2004 3:34 am
Location: cali
Contact:

heh..

Post by Anumeric »

i like it...
Last edited by Anumeric on Sat Feb 19, 2005 10:34 pm, edited 1 time in total.
woot...

Image
User avatar
Lucifer
Project Developer
Posts: 8640
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer »

nemostultae wrote:Small Request, could my name and the server text have a little padding? So I could cut of the corners, without my name being drawn outside of them. (look at my current sig).
add &sm=SOMENUMBER (the default is three)

sm means "side margin" and is the margin on the left and right side, so it should always be centered. (When I have this integrated with the website, you'll be able to make settings in your user profile for it, and then I"ll make all sorts of cool settings :) )

I realize this isn't exactly what you were shooting for, but it solves the problem for now in a good general-case fashion. ;)
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Lucifer wrote:
nemostultae wrote:Small Request, could my name and the server text have a little padding? So I could cut of the corners, without my name being drawn outside of them. (look at my current sig).
add &sm=SOMENUMBER (the default is three)

sm means "side margin" and is the margin on the left and right side, so it should always be centered. (When I have this integrated with the website, you'll be able to make settings in your user profile for it, and then I"ll make all sorts of cool settings :) )

I realize this isn't exactly what you were shooting for, but it solves the problem for now in a good general-case fashion. ;)
Awesome, works great :)
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

nemostultae wrote:
Lucifer wrote:
nemostultae wrote:Small Request, could my name and the server text have a little padding? So I could cut of the corners, without my name being drawn outside of them. (look at my current sig).
add &sm=SOMENUMBER (the default is three)

sm means "side margin" and is the margin on the left and right side, so it should always be centered. (When I have this integrated with the website, you'll be able to make settings in your user profile for it, and then I"ll make all sorts of cool settings :) )

I realize this isn't exactly what you were shooting for, but it solves the problem for now in a good general-case fashion. ;)
Awesome, works great :)
OK, new request! Can I specify font color?
Swampy
Core Dumper
Posts: 167
Joined: Wed Dec 08, 2004 1:33 am
Location: Southern New Jersey

Post by Swampy »

:P
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

oops, double post
Last edited by dlh on Sun Feb 20, 2005 12:52 am, edited 1 time in total.
Swampy
Core Dumper
Posts: 167
Joined: Wed Dec 08, 2004 1:33 am
Location: Southern New Jersey

Post by Swampy »

:P

Awesome!
(oops, double post)
User avatar
Lucifer
Project Developer
Posts: 8640
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer »

nemostultae wrote: OK, new request! Can I specify font color?
ts is text shadow, tf is text face, both expressed as red,green,blue, numbers ranging from 0-255. This is fun!

http://breakfast.servegame.com/statsig. ... =100,255,0

Image
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
Post Reply