Estiah Forum

Pages: [1] 2
  Print  
Author Topic: New banner  (Read 832 times)
Starwarskid
Faithful
**
Posts: 223



New banner (12:37:07 - 02/22/10)

After thinking how minimal the default banner was, and getting annoyed with how Linoa's banner seems to have problems updating, I decided writing a banner would be a good exercise. I'd get to keep my python skills frosty, and play with image generation and html parsing.

Some cool stuff I put in here
  • pvp stats
  • bounty skull and gold if you are bountied
  • used full class graphic instead of clipping off a portion

The banners and relevant data are generated dynamically, cached and update hourly on demand.

If you are interested in how this all works, or perhaps want to make it better, here is the cgi calling script and the main code at the time of this post (I'll probably be tinkering with a bit). I wrote this in the Python programming language.

Here are some examples, using sample characters:

Code:
[img]http://www.disasterzone.net/~h4ngedm4n/cgi-bin/estiahbanner.cgi?userid=23611[/img]


Tests long character name.
Code:
[img]http://www.disasterzone.net/~h4ngedm4n/cgi-bin/estiahbanner.cgi?userid=10071[/img]


Tests long guild name.
Code:
[img]http://www.disasterzone.net/~h4ngedm4n/cgi-bin/estiahbanner.cgi?userid=18101[/img]


Tests low level character.
Code:
[img]http://www.disasterzone.net/~h4ngedm4n/cgi-bin/estiahbanner.cgi?userid=10000[/img]

The general bbcode to use this (replacing xxxxx with your user number):
Code:
[img]http://www.disasterzone.net/~h4ngedm4n/cgi-bin/estiahbanner.cgi?userid=xxxxx[/img]

In case I mess up the code while changing things, here is a static example:
« Last Edit: 05:13:14 - 02/24/10 by Starwarskid » Logged

Arimith
Bunny Cultist
**
Posts: 1100



#1 Re: New banner (13:18:13 - 02/22/10)



Not bad, but I think I still prefer the official one



Although it would be nice if it also took the epithet...
« Last Edit: 13:38:52 - 02/22/10 by Arimith » Logged

Loose is what your underwear is when the elastic breaks
Lose is what then happens to your dignity
Lancaster
Wanderer
*
Posts: 60


Rookie DK


#2 Re: New banner (14:01:10 - 02/22/10)


Wow, good job.
But I think the offical one is more impressive?  Since it marks your efforts directly with stars, which i think is better than just giving numbers.
Logged

<Lancaster>   Anyone attacking me with 5 Pre Crown will be forgived by me if he is moe.
 <Evangeline88>   he?   -_-
 <Lancaster>   =_=|||
Schutzengel
Veteran
***
Posts: 1380


Tired of burning.


#3 Re: New banner (14:40:33 - 02/22/10)


Wow, good job.
But I think the offical one is more impressive?  Since it marks your efforts directly with stars, which i think is better than just giving numbers.

They aren't stars. They are PHÖNIX!!!
Logged

[20:01]   <wl>   that happens if you let schutz design a dungeon! only charms for himself Tongue
Lancaster
Wanderer
*
Posts: 60


Rookie DK


#4 Re: New banner (14:51:50 - 02/22/10)

They aren't stars. They are PHÖNIX!!!

 Lips Sealed Well it's time for a new pair of glasses....
Logged

<Lancaster>   Anyone attacking me with 5 Pre Crown will be forgived by me if he is moe.
 <Evangeline88>   he?   -_-
 <Lancaster>   =_=|||
Starwarskid
Faithful
**
Posts: 223



#5 Re: New banner (21:40:57 - 02/22/10)


Wow, good job.
But I think the offical one is more impressive?  Since it marks your efforts directly with stars, which i think is better than just giving numbers.

yeah I thought the stars took up too much space. and I also didn't notice it was a 10 point scale with the stars until it was pointed out to me. with the numbers, it is unmistakable.
Logged

Blacksol
Faithful
**
Posts: 169


#6 Re: New banner (03:52:05 - 02/23/10)

yeah I thought the stars took up too much space. and I also didn't notice it was a 10 point scale with the stars until it was pointed out to me. with the numbers, it is unmistakable.

Although the first 5 ranks are achieved pretty easily (except maybe PVP if a player never got active in that area)... or perhaps gimped ironmen Smiley
Logged
Thatguy
Wanderer
*
Posts: 148



#7 Re: New banner (05:04:35 - 02/23/10)



I like this new banner.
« Last Edit: 00:04:57 - 03/04/10 by Thatguy » Logged

Kosiciel
Bunny Cultist
**
Posts: 337


DoT Guild officer


#8 Re: New banner (11:06:36 - 02/23/10)

Not bad, not bad at all. But I prefer smaller one  Roll Eyes
Logged

Antiviper
Faithful
**
Posts: 219


The Icy Slasher


#9 Re: New banner (21:06:49 - 02/23/10)



hmm, very good Smiley
« Last Edit: 21:09:37 - 02/23/10 by Antiviper » Logged

Morthalius
Bunny Cultist
**
Posts: 395



#10 Re: New banner (22:03:35 - 02/23/10)



Not bad at all.
Logged

Mcbee
Veteran
***
Posts: 403



#11 Re: New banner (19:48:40 - 03/03/10)



Wanted to see this anyway.
Logged

[15:45] <@slalderma> stupid aids
[15:45] <@slalderma> that qq gave me
[15:45] <qqchampion> stupid contagious aids
Sparky
Bunny Cultist
**
Posts: 756


◄◄Wishmaster►►


#12 Re: New banner (19:56:17 - 03/03/10)


Kewl !
Logged

[15:57]   <Evangeline88>   nah, Slyguy is exceptional ... he can deal with everyone easily?
Rdshepherd
Faithful
**
Posts: 279



#13 Re: New banner (22:03:12 - 03/03/10)



I kinda like all the details.  Nice one.   Smiley
Logged

Mcbee
Veteran
***
Posts: 403



#14 Re: New banner (22:47:51 - 03/03/10)



I kinda like all the details.  Nice one.   Smiley

Shep, you're avatar is amazing. That is all.
Logged

[15:45] <@slalderma> stupid aids
[15:45] <@slalderma> that qq gave me
[15:45] <qqchampion> stupid contagious aids
Pages: [1] 2
  Print  
 
Jump to:  

Estiah Forum | Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC