Announcement

Collapse
No announcement yet.

Jewelcrafting calculator

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • KyrosKrane
    replied
    I fixed the issue with the display causing zero stats to show when you copy it. Now it's worth a sticky.

    Leave a comment:


  • MareeTP
    replied
    Please sticky. This is wonderful.

    Leave a comment:


  • Noshadow
    replied
    Sticky?

    Leave a comment:


  • KyrosKrane
    replied
    Good idea. I uploaded the zero change, but I still want to look for a more elegant solution.

    Leave a comment:


  • thomenthechanter
    replied
    Perhaps just set the values to zero, so if they appear in the scrape-n-paste output as zero, there's no great hullaballoo?

    Leave a comment:


  • KyrosKrane
    replied
    Meh. I'm using styles to hide the fields that aren't there. The stats are all there in the display; they're just hidden from view. I guess IE and Firefox both consider them to be "real" even though I explicitly ask for them to not be displayed.

    Outright removing and adding them as needed will be a much bigger undertaking. I'll see if there's some way for me to modify the script over the weekend, but it will be close to a full rewrite.

    Leave a comment:


  • thomenthechanter
    replied
    Works well, Kyros... but Firefox and IE7 have a bug (not you!). If you scrape-and-paste the stats, you get a whole bunch of hidden fields.

    Case in point --- though it displays correctly on the page, this is what you get when you copy-and-paste (from Firefox 2.0.10, IE7).
    Dwerium Trio Ring
    MAGIC ITEM
    Slot: FINGER
    AC: 19
    STR: 19 DEX: 19 STA: 23 CHA: 23 WIS: 23 INT: 23 AGI: 19 HP: 250 MANA: 250 Endurance: 250
    SV FIRE: 23 SV DISEASE: 37 SV COLD: 23 SV MAGIC: 37 SV POISON: 23
    Regeneration: +5 Mana Regeneration: +4 Damage Shield: +3

    WT: 0.1 Size: TINY
    Class: ALL
    Race: ALL
    Slot 1, type 11: Round Cut Taaffeite
    Slot 2, type 10: Round Cut Cat's Eye Agate
    Slot 3, type 10: Round Cut Lapis Lazuli

    Where'd the 19 Dex and Agility come from, as well as the Regen/Mana Regen/Damage Shield?

    Oddly enough, Opera does it right:
    Dwerium Trio Ring
    MAGIC ITEM
    Slot: FINGER
    AC: 19
    STA: 23 CHA: 23 WIS: 23 INT: 23 HP: 250 MANA: 250 Endurance: 250
    SV FIRE: 23 SV DISEASE: 37 SV COLD: 23 SV MAGIC: 37 SV POISON: 23


    WT: 0.1 Size: TINY
    Class: ALL
    Race: ALL
    Slot 1, type 11: Round Cut Taaffeite
    Slot 2, type 10: Round Cut Cat's Eye Agate
    Slot 3, type 10: Round Cut Lapis Lazuli

    Leave a comment:


  • KyrosKrane
    replied
    Fixed the Goshenite, thank you.

    Leave a comment:


  • Orelli Virbonus
    replied
    Awesome! This will be very helpful for all the people (myself included) still trying to wrap our minds around the new system. Thanks, Kyros!

    I did notice one thing: Goshenite lists stats of STA, WIS, and Endurance. The spreadsheet lists STR, STA, and WIS as the correct stats.

    Leave a comment:


  • Aeia
    replied
    Changing the value of the combo box in IE7 using arrows indeed updates the stats of the jewelry in the calculator.

    Leave a comment:


  • Eirgorn
    replied
    Thanks for putting this together!!

    Leave a comment:


  • KyrosKrane
    replied
    Originally posted by KyrosKrane View Post
    Sadly, that's a bug (if you can call it that) with the browsers themselves. I've had this issue before. Basically, the browser doesn't tell the Javascript engine that there's been a change in the box value when you use the arrow keys until you either hit enter or click on something else. It's roughly the equivalent of mousing over the options in the drop-down list; the display won't update until you actually click on one of the options.

    If I have time tomorrow, I'll play with some options, but I don't think this is one I'll be able to fix.
    WARNING! Techy geek-speak incoming!

    I did some testing of this issue. The core issue is that when you change a SELECT box value using the arrow keys, IE fires the OnChange event, while Firefox does not. The other two standards-based event, OnFocus and OnBlur, aren't useful, since they only fire when the Select box gains or loses focus; they don't fire if you change the box value. I'm not sure what the official W3C or ECMA specs say should happen when a box's value is changed using arrow keys, so I don't know whether IE or Firefox exhibits the correct behavior. Regardless, this is not something that would be easy for me to correct, short of patching the browser itself.

    If anyone here uses IE7, it would be interesting to see whether the display updates automatically if you change the drop down box using the arrow keys. IE7 is supposed to be closer to official standards than IE6 was.

    Short version: In Firefox, hit Enter when you reach the value you want in the drop-down box. In IE, it should update automatically.

    Leave a comment:


  • KyrosKrane
    replied
    Ah, then you probably caught it in the split second when I was uploading the changes. Good timing!

    Leave a comment:


  • Yakk
    replied
    Originally posted by KyrosKrane View Post
    Sadly, that's a bug (if you can call it that) with the browsers themselves. I've had this issue before. Basically, the browser doesn't tell the Javascript engine that there's been a change in the box value when you use the arrow keys until you either hit enter or click on something else. It's roughly the equivalent of mousing over the options in the drop-down list; the display won't update until you actually click on one of the options.

    If I have time tomorrow, I'll play with some options, but I don't think this is one I'll be able to fix.
    It works now. No changes on my end, as far as I know.

    The drop-down boxes where completely unpopulated.

    Firefox/2.0.0.10

    Leave a comment:


  • JodyTheBad
    replied
    Very well done!! Thanks for taking the time to do that.

    The one change I would make - I would suggest in the drop downs what stats/effects each of the gems add. Even very severe abbreviations would help., like 'all around' for taaff/harmonigate/etc.

    If you had your page more vertical than horizontal you would have plenty of room for it.

    Superb work, though, I will be sending people to this page as a reference, as I have been sending them to the spreadsheet.

    Leave a comment:

Working...
X