forum

Custom healthbar generator -- Now with live preview!

posted
Total Posts
232
show more
Haskorion
https://osu.ppy.sh/wiki/Osu!:Rules

Forum-wide Rules point 8:
Advertisements and referral links are also not allowed. We can't stop you from privately linking someone (e.g. a friend) via a referral, but posting them publicly on the forums (be it a thread, post, or signature) is forbidden.

Can you upload to puush or mediafire and do NOT USE SHORTENERS?

Shorteners are generally considered as advertisment and may lead to malicious sites. So please use a direct link.
Topic Starter
agubelu

Haskorion wrote:

https://osu.ppy.sh/wiki/Osu!:Rules

Forum-wide Rules point 8:
Advertisements and referral links are also not allowed. We can't stop you from privately linking someone (e.g. a friend) via a referral, but posting them publicly on the forums (be it a thread, post, or signature) is forbidden.

Can you upload to puush or mediafire and do NOT USE SHORTENERS?

Shorteners are generally considered as advertisment and may lead to malicious sites. So please use a direct link.
fixed
Adhana
Topic Starter
agubelu
Updated to v0.2

Poijo wrote:

Maybe add customizable text instead of your forced username?

[If that works, that is]
Done! :oops:
Mahogany
Very nice, OP! You picked a pretty sweet lifebar to do it with too.

Gonna check this out...whenever I'm bothered enough to play again.
-sev
Nice one mate, worked fine for me. Saves me the hassle of putting together a scorebar on my own, thanks.
Trident
Whenever I try to run it I get this.
http://puu.sh/iglKx/91c8c9fff8.png
Do I maybe need to update Java?

Edit: I updated Java and that did the trick it works now.
Arusamour
Can you make it possible so you can input any color you want, maybe like an custom RGB option?
Korakov
where's the location of this healthbar lol, i can't find it :/

fixed, found it on Downloads lol, nice one mate, really like it.
SomeFinnishAnon
I really like this :D
Though an option to have multiple colors in one bar would be nice, for example:
low hp: red, hp 50% hp: yellow, max hp: blue
Xemious
This is absolutely gorgeous and amazing dude... But you can add some things?

1. More styles of scorebars (or add an option to make your own one...)
2. A RGB color picker.... (pretty sure that someone said that before.. :p )

Besides that it's a very useful tool :D
Palivion
There's an error for me. It's stuck at composing image. Here is the error message

An error occured, if you need to report it please provide the following information:
Username: Palivion
Using flag: true
Selected theme: Blue
Invoked URL: https://osu.ppy.sh/u/Palivion
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:213)
at java.lang.Thread.run(Unknown Source)
rainypuff
Maybe an option to disable the profile picture for people who don't like that would be nice. Someone already suggested this, but different styles/themes would be a great addition too. It's awesome and looks very nice, though. Great work! :)
xLolicore-
An error occured, if you need to report it please provide the following information:
Username: xLolicore-
Using flag: true
Selected theme: Green
Invoked URL: https://osu.ppy.sh/u/xLolicore-
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:213)
at java.lang.Thread.run(Unknown Source)

What on earth happened?
Gumpy
Nice job. Gonna use it when i get home.
Exemmar
Great job, gonna give it a try. ^^
Paraphen
A 2x(HD) option would be amazing 8-)
Topic Starter
agubelu
Changed direct link to dropbox so i dont have to update the link every time i publish a new version :D


Poseidon wrote:

Can you make it possible so you can input any color you want, maybe like an custom RGB option?

AriSphinX wrote:

This is absolutely gorgeous and amazing dude... But you can add some things?

1. More styles of scorebars (or add an option to make your own one...)
2. A RGB color picker.... (pretty sure that someone said that before.. :p )

Besides that it's a very useful tool :D
I thought of adding a color picker instead of fixed color themes but it turns out that programmatically recoloring an image is really tricky. However. I'll try to add it when I have more free time (I have finals this week).

About having more scorebar styles, I could add them but it's definitely a lot more work than just adding an extra color to the existing one :|
Adding an option to provide your own template is not viable because I need to know exactly where to place your avatar and print your text, and that would need a way more complex GUI which would be very similar to just working with <insert your favourite image editing tool>


spintu wrote:

Maybe an option to disable the profile picture for people who don't like that would be nice. Someone already suggested this, but different styles/themes would be a great addition too. It's awesome and looks very nice, though. Great work! :)
Hmm, that seems nice, will add it to the TO-DO



Palivion wrote:

There's an error for me. It's stuck at composing image. Here is the error message

An error occured, if you need to report it please provide the following information:
Username: Palivion
Using flag: true
Selected theme: Blue
Invoked URL: https://osu.ppy.sh/u/Palivion
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:213)
at java.lang.Thread.run(Unknown Source)

xLolicore- wrote:

An error occured, if you need to report it please provide the following information:
Username: xLolicore-
Using flag: true
Selected theme: Green
Invoked URL: https://osu.ppy.sh/u/xLolicore-
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:213)
at java.lang.Thread.run(Unknown Source)

What on earth happened?
Looks like you two had the exact same error, and I've not been able to reproduce it. Can you try it again with the current version? It adds more information to the error log which could be useful.

It may could be an outdated java version, that nullpointerexception is really weird
Yuuki68
I don't know, if that's a good idea, but how about an option with which you can change the country flag? If you come for example from Spain, ... live in America and want to have a Spanish flag?

(And good job, the program is great! :D)
Nameless
Great job! Although I did get errors with my first time using it, but then I updated it the next day (today) and now it works like a charm! This deserves to be pinned. Good luck with dealing with any other errors people get.

As for what I'd like to see, I'd like to see more varients of different colours, and maybe even different styles of healthbar, if you can do that.
[ Enigma ]

Yuuki68 wrote:

I don't know, if that's a good idea, but how about an option with which you can change the country flag? If you come for example from Spain, ... live in America and want to have a Spanish flag?

(And good job, the program is great! :D)
Yeah, please do that if possible. I really want my home country's flag D:
-PrinZKittY-
I Love it! Thanks :D
Topic Starter
agubelu

[ Ichiro ] wrote:

Yuuki68 wrote:

I don't know, if that's a good idea, but how about an option with which you can change the country flag? If you come for example from Spain, ... live in America and want to have a Spanish flag?

(And good job, the program is great! :D)
Yeah, please do that if possible. I really want my home country's flag D:
In the meanwhile you could always generate a bar and change your flag with GIMP/PS
Palivion

agubelu wrote:

Changed direct link to dropbox so i dont have to update the link every time i publish a new version :D


Poseidon wrote:

Can you make it possible so you can input any color you want, maybe like an custom RGB option?

AriSphinX wrote:

This is absolutely gorgeous and amazing dude... But you can add some things?

1. More styles of scorebars (or add an option to make your own one...)
2. A RGB color picker.... (pretty sure that someone said that before.. :p )

Besides that it's a very useful tool :D
I thought of adding a color picker instead of fixed color themes but it turns out that programmatically recoloring an image is really tricky. However. I'll try to add it when I have more free time (I have finals this week).

About having more scorebar styles, I could add them but it's definitely a lot more work than just adding an extra color to the existing one :|
Adding an option to provide your own template is not viable because I need to know exactly where to place your avatar and print your text, and that would need a way more complex GUI which would be very similar to just working with <insert your favourite image editing tool>


spintu wrote:

Maybe an option to disable the profile picture for people who don't like that would be nice. Someone already suggested this, but different styles/themes would be a great addition too. It's awesome and looks very nice, though. Great work! :)
Hmm, that seems nice, will add it to the TO-DO



Palivion wrote:

There's an error for me. It's stuck at composing image. Here is the error message

An error occured, if you need to report it please provide the following information:
Username: Palivion
Using flag: true
Selected theme: Blue
Invoked URL: https://osu.ppy.sh/u/Palivion
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:213)
at java.lang.Thread.run(Unknown Source)

xLolicore- wrote:

An error occured, if you need to report it please provide the following information:
Username: xLolicore-
Using flag: true
Selected theme: Green
Invoked URL: https://osu.ppy.sh/u/xLolicore-
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:213)
at java.lang.Thread.run(Unknown Source)

What on earth happened?
Looks like you two had the exact same error, and I've not been able to reproduce it. Can you try it again with the current version? It adds more information to the error log which could be useful.

It may could be an outdated java version, that nullpointerexception is really weird
I think I found a solution. I changed the path to save the files (Which was originally saving to the System32 folder) and updated Java and it worked after.
Zone
I don't get any error messages, however it doesn't seem to work. Whenever I click on "Go!" nothing seems to happen.
Retrieving your osu! profile page...
This stays for a very long time. Multiple minutes without anything happening at all. Any idea why it could be the case?
I'm on windows 7.
Zeil
I had to try a couple times until it worked, dw.
Topic Starter
agubelu

Yukiine wrote:

I don't get any error messages, however it doesn't seem to work. Whenever I click on "Go!" nothing seems to happen.
Retrieving your osu! profile page...
This stays for a very long time. Multiple minutes without anything happening at all. Any idea why it could be the case?
I'm on windows 7.
Can you access your profile in your web browser?

Maybe your firewall is blocking it? A proxy?
polsn
It's stuck in "Composing image..."

http://prntscr.com/7emjom
Topic Starter
agubelu

m3rk4t wrote:

It's stuck in "Composing image..."

http://prntscr.com/7emjom
Is there any error log or did it just freeze there?
polsn

agubelu wrote:

m3rk4t wrote:

It's stuck in "Composing image..."

http://prntscr.com/7emjom
Is there any error log or did it just freeze there?
An error occured, if you need to report it please provide the following information:
Username: m3rk4t
Text to print:
Using flag: true
Selected theme: Orange
Selected font: [family=Tahoma,name=Tahoma,style=bolditalic,size=17]
Invoked URL: https://osu.ppy.sh/u/m3rk4t
Saving file to:
Java ver: 1.8.0_31
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:247)
at java.lang.Thread.run(Unknown Source)



:o
Mahogany
Would it be possible to add different ways of displaying avatars in the healthbar? Mine doesn't come out very well with the circular display. Maybe a square-shaped frame?

Also, this is awesome, thanks for this.
Topic Starter
agubelu

m3rk4t wrote:

agubelu wrote:

Is there any error log or did it just freeze there?
An error occured, if you need to report it please provide the following information:
Username: m3rk4t
Text to print:
Using flag: true
Selected theme: Orange
Selected font: [family=Tahoma,name=Tahoma,style=bolditalic,size=17]
Invoked URL: https://osu.ppy.sh/u/m3rk4t
Saving file to:
Java ver: 1.8.0_31
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:247)
at java.lang.Thread.run(Unknown Source)



:o
Are you trying to write the images in a sensible folder such as Program Files or something like that?

If you are, try saving them to your desktop/documents. If not, then something's blocking it from writing to your hard drive.
Zone

agubelu wrote:

Can you access your profile in your web browser?
Maybe your firewall is blocking it? A proxy?
Yes I can, just fine. No proxies used. Firewall doesn't seem to block it as well.
Java is updated to the newest version as well :(

edit: Fixed it. Had to run it inside Programs(x86)
Xemious

agubelu wrote:

I thought of adding a color picker instead of fixed color themes but it turns out that programmatically recoloring an image is really tricky. However. I'll try to add it when I have more free time (I have finals this week).

About having more scorebar styles, I could add them but it's definitely a lot more work than just adding an extra color to the existing one :|
Adding an option to provide your own template is not viable because I need to know exactly where to place your avatar and print your text, and that would need a way more complex GUI which would be very similar to just working with <insert your favourite image editing tool>
Well hopefully you can add the color picker (good luck with class c: ) But it's fine the actual scorebar. :D If i only can know a little bit more of programming i would help you.... :C
Diu
damn I like dis ! ♥
Kalvin
Noice, I've been wanting to make a custom healthbar for a while now, but couldn't figure it out/was too lazy.
One question, though. Is there any way to make my avatar look less pixelated or is that just something you have to deal with?
Topic Starter
agubelu

Mahoganytooth wrote:

Would it be possible to add different ways of displaying avatars in the healthbar? Mine doesn't come out very well with the circular display. Maybe a square-shaped frame?

Also, this is awesome, thanks for this.
Hmm, that gave me an idea, if it works I'll add a circle / square selector in the future.


Kmart64 wrote:

Noice, I've been wanting to make a custom healthbar for a while now, but couldn't figure it out/was too lazy.
One question, though. Is there any way to make my avatar look less pixelated or is that just something you have to deal with?
Does it look that bad? I can look for specific methods/libraries to resize images if Java's default isn't good enough.
Mahogany

agubelu wrote:

Hmm, that gave me an idea, if it works I'll add a circle / square selector in the future.
Thanks for considering, man. Since my avatar is oddly positioned it looks kinda awful as-is with your tool. If you could manage that I'd be very grateful.
autoteleology
I feel like I've seen every component of this custom HP bar somewhere else.
Paz
Nice :D, i love it
show more
Please sign in to reply.

New reply