| View previous topic :: View next topic |
| Author |
Message |
Augie Developer

Joined: 27 Aug 2008 Posts: 105
|
Posted: Wed Aug 27, 2008 8:23 pm Post subject: 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
Last edited by Augie on Thu Sep 25, 2008 2:57 pm; edited 1 time in total |
|
| Back to top |
|
 |
mw54finest Site Admin

Joined: 22 Jun 2008 Posts: 160
|
Posted: Thu Aug 28, 2008 5:34 am Post subject: |
|
|
Nice, thanks for the code. It should come in handy. 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 |
|
 |
Augie Developer

Joined: 27 Aug 2008 Posts: 105
|
Posted: Fri Aug 29, 2008 7:11 am Post subject: |
|
|
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 |
|
 |
Augie Developer

Joined: 27 Aug 2008 Posts: 105
|
Posted: Fri Aug 29, 2008 9:56 am Post subject: |
|
|
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 |
|
 |
Kirghiz
Joined: 21 Sep 2008 Posts: 24
|
Posted: Sun Sep 21, 2008 7:23 pm Post subject: Re: Dantae's "Character Creation Helper" |
|
|
Link seems to be broke |
|
| Back to top |
|
 |
Augie Developer

Joined: 27 Aug 2008 Posts: 105
|
Posted: Thu Sep 25, 2008 2:57 pm Post subject: |
|
|
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 |
|
 |
Kirghiz
Joined: 21 Sep 2008 Posts: 24
|
Posted: Thu Sep 25, 2008 9:47 pm Post subject: |
|
|
| 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.
 |
|
| Back to top |
|
 |
Augie Developer

Joined: 27 Aug 2008 Posts: 105
|
Posted: Thu Sep 25, 2008 9:52 pm Post subject: |
|
|
| 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 |
|
 |
Kirghiz
Joined: 21 Sep 2008 Posts: 24
|
Posted: Fri Sep 26, 2008 3:46 pm Post subject: |
|
|
| 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 |
|
 |
reficuul
Joined: 05 Sep 2008 Posts: 19
|
Posted: Thu Oct 02, 2008 10:16 am Post subject: |
|
|
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 |
|
 |
|