HTML/Javascript Team Roster

General Discussion, Not necessarily related to Bloodbowl
User avatar
sumbloke
2011 Legend
2011 Legend
Posts: 1354
Joined: Wed Jul 09, 2008 6:44 am

HTML/Javascript Team Roster

Post by sumbloke »

I've been meaning to do this for a while, but only just got around to it. I've created a team roster sheet using HTML and Javascript, so you don't need to have proprietary software on your computer (like all the other automated team rosters I've seen). I've only just finished writing it, so there may be errors in my data entry. Feel free to point them out.

The roster sheet is rather flexible - it doesn't stop you noting SPP for star players, it doesn't restrict the positions and you can update the treasury to buy more stuff. Basically, I didn't make it in such a way as to avoid the need for common sense. The main point of it is to allow nice-looking rosters to be generated quickly and with accurate values and SPP calculations.

Edit: Updated to BB2016, with all supplements (as far as I know) as at 3 Feb 2018

Edit: Corrections pointed out as at 4 Feb 2018. Also Helmut Wulf added to Chaos Renegades

Edit: Fixed the new inducements

Edit: Added Spike! Journals 1-3
Attachments
Blood Bowl Roster.zip
(40.85 KiB) Downloaded 156 times
Last edited by sumbloke on Sat Nov 24, 2018 5:01 pm, edited 17 times in total.
Image
-----
The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine. - Abraham Lincoln

User avatar
Devilsreject
2011 Legend
2011 Legend
Posts: 4380
Joined: Thu Jul 19, 2007 3:32 am
BB League: BABBL
Favourite Race: Pro Elf
Location: Brisbane
Contact:

Re: HTML/Javascript Team Roster

Post by Devilsreject »

looks ok, cant see any mistakes yet. pretty easy to use and quick.

nice work, im sure it will come in handy ;D
Image
Image

http://www.plork.org/canetoadcup - Keep up to date on all things Cane Toad!

User avatar
JoeKano
2011 Legend
2011 Legend
Posts: 4699
Joined: Fri May 18, 2007 9:32 am
BB League: MBBL
Favourite Race: Slaan
Location: Melb, Aus
Contact:

Re: HTML/Javascript Team Roster

Post by JoeKano »

Is nice would be nice to have a notes box to put down that you have a Inducement or something like that for setting your team sheet up for resurrection tournaments etc.
'Sometimes you just need to let the dice do the thinking for you' - Semitence
Stunty King 2011 EucBowl
Champion 6-0-0 Eucbowl 2016
"My KR Multicase Aquila- the best in team transport" - JoeKano.
Melbourne Blood Bowl League
#Nuffleridesmelikeapony

User avatar
JoeKano
2011 Legend
2011 Legend
Posts: 4699
Joined: Fri May 18, 2007 9:32 am
BB League: MBBL
Favourite Race: Slaan
Location: Melb, Aus
Contact:

Re: HTML/Javascript Team Roster

Post by JoeKano »

Ok some comments.

Im thinking most of this could be in a non printable help section or something or a hints and tips thread like maybe thsi one..

1.No ability to remove a skill? Like your playing with the roster working out lists you select a skill, then change your mind? I cant find a way to take it out. You can take the player out and then reenter him i guess would be the best way to do it for now.
2.When you take out a player it doesnt add back to treasury so you have to add back.

Ill have a bit more of a play and see what I can see

Good Effort this m8, I couldn't possibly even attempt this so well done.
'Sometimes you just need to let the dice do the thinking for you' - Semitence
Stunty King 2011 EucBowl
Champion 6-0-0 Eucbowl 2016
"My KR Multicase Aquila- the best in team transport" - JoeKano.
Melbourne Blood Bowl League
#Nuffleridesmelikeapony

User avatar
sumbloke
2011 Legend
2011 Legend
Posts: 1354
Joined: Wed Jul 09, 2008 6:44 am

Re: HTML/Javascript Team Roster

Post by sumbloke »

Good idea about the non-printable tips section. I'd already thought of adding inducements and was most of the way through coding it when I went to bed. For resetting skills you can just select the position again (when you select the position it sets all skills to defaults).
Image
-----
The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine. - Abraham Lincoln

User avatar
sumbloke
2011 Legend
2011 Legend
Posts: 1354
Joined: Wed Jul 09, 2008 6:44 am

Re: HTML/Javascript Team Roster

Post by sumbloke »

Incidentally, the treasury is a pure integer value so it can quite happily go into negatives. I recommend making your team the way you want it and then adjust the treasury accordingly.
Image
-----
The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine. - Abraham Lincoln

doubleskulls
Star Player
Star Player
Posts: 2950
Joined: Fri May 25, 2007 2:38 pm
Favourite Race: Orc
Location: Kent, UK
Contact:

Re: HTML/Javascript Team Roster

Post by doubleskulls »

Very very cool mate. Using Google Chrome (if that helps or hinders)

I can't see a way to remove a skill from a player. Is there one I'm missing?

I don't seem to be able to select Morg 'n' thorg or Brick Far'th (probably the single quote messing them up).

User avatar
sumbloke
2011 Legend
2011 Legend
Posts: 1354
Joined: Wed Jul 09, 2008 6:44 am

Re: HTML/Javascript Team Roster

Post by sumbloke »

Oh, yeah. That's the single quotes. I'll fix it up tomorrow.
Image
-----
The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine. - Abraham Lincoln

User avatar
sumbloke
2011 Legend
2011 Legend
Posts: 1354
Joined: Wed Jul 09, 2008 6:44 am

Re: HTML/Javascript Team Roster

Post by sumbloke »

Okay, having trouble getting to sleep so I fixed it today.
Image
-----
The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine. - Abraham Lincoln

User avatar
sumbloke
2011 Legend
2011 Legend
Posts: 1354
Joined: Wed Jul 09, 2008 6:44 am

Re: HTML/Javascript Team Roster

Post by sumbloke »

Also, as noted previously in this thread and in the tips section: you can only remove skills by resetting the position.
Image
-----
The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine. - Abraham Lincoln

User avatar
sumbloke
2011 Legend
2011 Legend
Posts: 1354
Joined: Wed Jul 09, 2008 6:44 am

Re: HTML/Javascript Team Roster

Post by sumbloke »

Any admin be willing to sticky this thread?
Image
-----
The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine. - Abraham Lincoln

ozjesting
Rookie
Rookie
Posts: 66
Joined: Thu May 17, 2007 6:44 pm
Favourite Race: High Elf

Re: HTML/Javascript Team Roster

Post by ozjesting »

Great team sheet!

One thing that would help is info on how to get a picture in the team photo box. What is the "right size"?

And every time I tried to put even the smallest photo in it just blanked my whole page!

Any info appreciated.

oz

User avatar
sumbloke
2011 Legend
2011 Legend
Posts: 1354
Joined: Wed Jul 09, 2008 6:44 am

Re: HTML/Javascript Team Roster

Post by sumbloke »

Around 400x300px seems to be okay for me. I'll have a look at the page blanking thing when I get some time. What browser were you using?
Image
-----
The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine. - Abraham Lincoln

sann0638
Rookie
Rookie
Posts: 97
Joined: Fri Aug 27, 2010 12:32 pm
BB League: Cakebowl
Favourite Race: Norse

Re: HTML/Javascript Team Roster

Post by sann0638 »

Added this to thenaf.net, like it a lot. If there were another version that did not add to the cost of players when skills were chosen, that would be great for some tournaments, and presumably quite easy to make if you had the inclination (when you couldn't sleep...)

Other options here, too: http://www.thenaf.net/resources/roster-creation/

User avatar
sumbloke
2011 Legend
2011 Legend
Posts: 1354
Joined: Wed Jul 09, 2008 6:44 am

Re: HTML/Javascript Team Roster

Post by sumbloke »

I've updated it to BB2016, with all the supplementary rules I know of.
Image
-----
The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine. - Abraham Lincoln

User avatar
ksharper
2011 Legend
2011 Legend
Posts: 2056
Joined: Sat Jan 03, 2009 11:46 pm
BB League: MBBL
Favourite Race: Chaos Dwarf
Location: Melbourne, Aus
Contact:

Re: HTML/Javascript Team Roster

Post by ksharper »

sumbloke wrote:I've updated it to BB2016, with all the supplementary rules I know of.
'Ooligan missing for goblins i think.
_________________________
Ausbowl State Champs Vic Rep I, II & IV

Champion - WAACY 2009, Blocktober 2010, Eucbowl 2014, Mayhem on Malop 2015, Ironman 2016, SSB 2016

Image

User avatar
Moraiwe
2011 Legend
2011 Legend
Posts: 5739
Joined: Fri Dec 03, 2010 6:11 pm
BB League: MBBL
Favourite Race: Khemri
Location: Richmond, VIC

Re: HTML/Javascript Team Roster

Post by Moraiwe »

And Doom Diver, and Chaos Pact Orc.
I feel only two things: nothing and nothingness.

User avatar
Moraiwe
2011 Legend
2011 Legend
Posts: 5739
Joined: Fri Dec 03, 2010 6:11 pm
BB League: MBBL
Favourite Race: Khemri
Location: Richmond, VIC

Re: HTML/Javascript Team Roster

Post by Moraiwe »

Oh, and all the new coaching staff.
I feel only two things: nothing and nothingness.

User avatar
sumbloke
2011 Legend
2011 Legend
Posts: 1354
Joined: Wed Jul 09, 2008 6:44 am

Re: HTML/Javascript Team Roster

Post by sumbloke »

Thanks for the review, guys. I was sure I'd missed something ;)

I'd added the configuration for 'Ooligan and Doom Diver, but forgot to add them to the team. I forgot to update the Chaos Renegades players at all. They've been fixed.

The new (In)Famous Coaching Staff are under Inducements.
Image
-----
The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine. - Abraham Lincoln

User avatar
Moraiwe
2011 Legend
2011 Legend
Posts: 5739
Joined: Fri Dec 03, 2010 6:11 pm
BB League: MBBL
Favourite Race: Khemri
Location: Richmond, VIC

Re: HTML/Javascript Team Roster

Post by Moraiwe »

I don't see the coaching staff under inducements.
I feel only two things: nothing and nothingness.

Post Reply