glbscripts.myfreeforum.org Forum Index glbscripts.myfreeforum.org
Forum dedicated to Greasemonkey Scripts made for Goal Line Blitz online game.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   Join! (free) Join! (free)
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Dantae's "Character Creation Helper"
Page 1, 2, 3  Next
 
Post new topic   Reply to topic    glbscripts.myfreeforum.org Forum Index -> Original Scripts
View previous topic :: View next topic  
Author Message
Augie
Developer


Joined: 27 Aug 2008
Posts: 105

PostPosted: Wed Aug 27, 2008 8:23 pm    Post subject: Dantae's "Character Creation Helper" Reply with quote

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




Last edited by Augie on Thu Sep 25, 2008 2:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
mw54finest
Site Admin


Joined: 22 Jun 2008
Posts: 160

PostPosted: Thu Aug 28, 2008 5:34 am    Post subject: Reply with quote

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.
_________________
Eat, Sleep, Live GLB!
Back to top
View user's profile Send private message
Augie
Developer


Joined: 27 Aug 2008
Posts: 105

PostPosted: Fri Aug 29, 2008 7:11 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Augie
Developer


Joined: 27 Aug 2008
Posts: 105

PostPosted: Fri Aug 29, 2008 9:56 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Kirghiz



Joined: 21 Sep 2008
Posts: 24

PostPosted: Sun Sep 21, 2008 7:23 pm    Post subject: Re: Dantae's "Character Creation Helper" Reply with quote

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


Link seems to be broke
Back to top
View user's profile Send private message
Augie
Developer


Joined: 27 Aug 2008
Posts: 105

PostPosted: Thu Sep 25, 2008 2:57 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Kirghiz



Joined: 21 Sep 2008
Posts: 24

PostPosted: Thu Sep 25, 2008 9:47 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Augie
Developer


Joined: 27 Aug 2008
Posts: 105

PostPosted: Thu Sep 25, 2008 9:52 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Kirghiz



Joined: 21 Sep 2008
Posts: 24

PostPosted: Fri Sep 26, 2008 3:46 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
reficuul



Joined: 05 Sep 2008
Posts: 19

PostPosted: Thu Oct 02, 2008 10:16 am    Post subject: Reply with quote

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.


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    glbscripts.myfreeforum.org Forum Index -> Original Scripts All times are GMT - 6 Hours
Page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum