Archive for glbscripts.myfreeforum.org Forum dedicated to Greasemonkey Scripts made for Goal Line Blitz online game.
 



       glbscripts.myfreeforum.org Forum Index -> Original Scripts
Augie

Dantae's "Character Creation Helper"

http://userscripts.org/scripts/show/34503

Well it took me 3 days of hacking through code to learn enough that I could make my first real script.


DANTAE's Character Creation Helper
Version 2.1

 This will track the highest rolled stat for your newly created character. This includes height and weight.  Highlighting the statistic depending on how close it is to the max.

Green = This is the max number for the skill you have rolled.
Blue = This is within 2 points of the max rolled skill point.
Red = The skill is more than 5 points lower than the max rolled skill point.

 This program will track for each position that you roll. So no getting a QB confused with your Centers max attributes.  There is a reset button built in that will reset all stored data for the player position that you are currently re-rolling.

 I have a few more toys I want to add into this program eventually. But seeing as I only have been learning this greasemonkey and java junk for 2 days, updates might take a while.  Hopefully  I will learn how to make my code look a bit better. It may be spaghetti code, but it seems to work.

~Dantae
Novaya Zemlya Tsar Bomba
EE AAA#1
mw54finest

Nice, thanks for the code.  It should come in handy. Smile  If I ever decide to create a new player, I will take some screenshots.

Also, if you are planning to do more script writing PM me and let me know.
Augie

So far so good, no major complaints or bug reports =D

I do have a few ideas for the next version.  

-Build a link to the re-roll page for level 1 characters that haven't spent Skill Points. So you can go back to your re-rolling easier.

-rewrite the code for building the display. Right now it is just a huge html mess with cut and pasting all over. Chunk o code just seems sloppy.

-more information on builds for each position.
Augie

Ack, Major fix had to be written.

I added a check to make sure that you only use the GM_xmlhttpRequest once per character. This should stop the script from pulling too much bandwidth from the server.

Code:

   if(GM_getValue(playerId) == null){
         getPosition(playerId)
   }


It causes a slight glitch where it returns undefined as your position right after you create a character, but one reroll will fix it.
Kirghiz

Re: Dantae's "Character Creation Helper"

Augie wrote:
http://userscripts.org/scripts/show/32672


Link seems to be broke
Augie

its back up.  Though it will be taken away again if I get people bitching at me that I am required to make it into an automatic reroller.

I dont get paid to make these, I do them for fun when I get bored.
Kirghiz

Augie wrote:
Though it will be taken away again if I get people bitching at me that I am required to make it into an automatic reroller.


Thank you!!!

I am not so lazy as to not be able to hit the reroll button. That and I understand that an auto-reroller until you hit max stats crosses the line from being a mod script to being a hack.

When I roll characters I figure the totals in my head real fast and by the time I roll 50 times I have an excedrin headache. This script is exactly what I was looking for. Thank you very much.

Very Happy
Augie

eventually ill get rid of the red since it annoys me.  And probably make the total skill points for the high values a bit more visable since thats what I look at while im rolling.
Kirghiz

Augie wrote:
And probably make the total skill points for the high values a bit more visable since thats what I look at while im rolling.


The only improvement I can see that could be made is have the high values reflect against the highest single roll rather than the total of the highest attributes. For example, I rolled about 500 times on a DT and couldn't get a high value roll higher than 49 (STR+AGI+Tak). I am sure that if you roll enough it can be done, but in those 500 rolls it never did.
reficuul

i completely agree w/ kirghiz.  I'd like to know what the highest possible sum roll is.  Compared to the highest overall roll possible.

For example,

I've noticed for a kicker, you can't get higher than 40 when you ADD kicking and confidence together.

However, the max for both is around 24 individually....thus the threshold is telling me i could roll a 48, and that is simply just not possible.
Revolutionhz

Error in Max Stat Values

I did a quick test of the script and noticed you have errors for the Fullbacks max stat values; having them capped at 15, but I've made a fullback within the last few days that had stats at 17.

After reading some of the previous posts I guess this has already been said.  Since it seems like max value doesn't equal the sum of the maxes for each individual stat.
Augie

Re: Error in Max Stat Values

Revolutionhz wrote:
I did a quick test of the script and noticed you have errors for the Fullbacks max stat values; having them capped at 15, but I've made a fullback within the last few days that had stats at 17.

After reading some of the previous posts I guess this has already been said.  Since it seems like max value doesn't equal the sum of the maxes for each individual stat.


If you only run it a few times you wont see the max stat you have rolled.  It only tracks what rolls you have seen since you installed the script.

Nothing is capped. it will set itself when it detects a new high roll. say you only roll 12 for strength, it will only display 12 as the cap untill you roll a higher value.
taurran

Cool script.  I'd love to see an addition of another highlight for when you roll 8's on the off stats.  Or something stating when you roll ALL 8's.
Augie

yeah the data that I set to go red and the total high vs total low stats are a bit awkward to read.

I might fix it up a bit. get rid of the red,  A big popup saying you rolled all 8's actually is a good idea.
starkblade

taurran wrote:
Cool script.  I'd love to see an addition of another highlight for when you roll 8's on the off stats.  Or something stating when you roll ALL 8's.



Question  Shouldn't you look for 7's for the off stats? There is a LB on one of my teams that has 7's in throwing, kicking, and punting.

I've spent an unreal amount of time re-rolling while trying to get the same for my own players. Best I've ever got was 8's in the same attributes as well as carrying.
Augie

you cant get 7's anymore. I wasnt around when 7's were rolled but 8 is the lowest you will get now a days.
Kirghiz

By the way, the season 7 updates broke this script. None of the rolls or the totals are getting saved anymore.
Augie

it got broke bad. I just cant work on this until i finish recruiting for my team.

3 cb's
1 TE
1 SS

When I get those I will be fixing this.
Augie

I started to look at the script and realize I really wrote some crappy code.

Im going ot do a total rewrite this week and make it a bit more user friendly.
Brown304

Cool. Thanks Augie

Augie wrote:
I started to look at the script and realize I really wrote some crappy code.

Im going ot do a total rewrite this week and make it a bit more user friendly.
WlI

Any news on this lately?
Brown304

Last I heard, he was rewriting the code.

anyone know any good free greasemonkey tutorials?

WlI wrote:
Any news on this lately?
ddcunderground

just search google and you should find it.
ddcunderground

http://diveintogreasemonkey.org/
Brown304

Thanks Boss

ddcunderground wrote:
just search google and you should find it.
JTD

I dont suppose anyone can get this existing script modified and working for the off season?  MW54?
Augie

I just havent had any time at all this semester to even look at my scripts.

I may revisit my old plugin that i was working on, and just implement this as the first feature of it. Give it a sidebar that compares the current roll vs. the top rolls recorded to a database on one of my websites.

This would be totally independent from greasemonkey.  And requires a lot of self learning on my part since I am not a professional programmer.

       glbscripts.myfreeforum.org Forum Index -> Original Scripts
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum