This project is read-only.

Gemming "Revamp" - What will it include?

Topics: Rawr.Base, Rawr.Base.Items
Jan 6, 2009 at 5:12 PM
Right now the gemming system in rawr is very...clunky, awkward, and confusing.  I keep seeing people talk about this "gemming revamp" that the system is getting and I'm wondering what that will entail?  (The wiki is no help at all...I can't seem to find any pages on "Gems" "Gemming" "Gemmings" "Socket" or "Sockets" to explain exactly how the current gemming system is supposed to work)  I'm really hoping the optimizer & even the list of best-to-worst per slot type will have an option to just *calculate* the best gem combination for any given item.  (Is the item the 'best' when it contains 3 of the highest-valued gems, or is it the 'best' when it matches the proper socket colors to get the bonus while maintaining the best possible gems for those socket colors?).

Is there somewhere that talks about what the revamp will contain, and maybe when we can expect it to be implemented?  Also, is there somewhere that explains how the current gemming is supposed to work?

If I set a series of gemmings for the items, and then exit and come back later to load my character, my gemmings are lost :(  This is especially annoying when I get an updated version of Rawr, since, sure, I can just copy over the item cache file from the previous version and put it in the new version's folder, but then I lose any new items that may have been added to it...leaving me to having to create all of my gemmings over again. I doing this right when I do my gemmings?  Here's what I do  (Note that I'm a jewelcrafter, so the 32 SP gems increase the number of combinations I have to 'try out' exponentially:

(This is a screenshot of my gemming screen when I have them setup...)

I have three different orange ones, all with SP and then either hit, crit, or haste.  Depending on my other stats and spec rawr will oftentimes choose a different one as the 'best', so I make all 3, and I must repeat the process for a regular purple in the purple slot, and then for the prismatic JC'er gem in the prismatic slot.  All-in-all, having to make 10 gemmings every time...very annoying.  Am I even doing it right?  >.<

What happens when there's an item with, say, 2 blue slots, and 2 prismatics are already best in 2 *other* items' blue slots, meaning only one more can be put in this item?  Rawr won't do it at all right?  Instead, it'll put two purple gems or 2 red gems in, and let the last prismatic gem fill a yellow slot elsewhere.

So ya...current system = very clunky.  And how do I save my gemmings between sessions?  (And between versions).
Jan 6, 2009 at 5:17 PM
Also I'd like to add that when I select the "Delete non-listed Gemmings" option and hit "OK" in the FormMassGemReplacement dialog I still see a whole lot of items with the as-yet-unattainable epic gems like "Runed Cardinal Ruby" even though I was only going up to "Runed Scarlet Ruby"  (+23 SP, and +19 SP, respectively).  Is there a reason it's not deleting the items with gemmings I didn't add?
Jan 6, 2009 at 6:09 PM
Don't worry, we're well aware of how clunky the current gemming system is. (Though unless you're end-tasking Rawr or something, you should never lose gemmings; you should only need to use Set Default Gems once per version)

The new gemming revamp will be pretty much everything you hope it will be, within some reason. We obviously can't just try every possible gem combination to find the best, but we can try a variety of per-model suggestions, which you can turn on/off, add to, etc, and show the best one, expandable to the best 5 or so. Here's our current in-development design (hope the programming talk isn't too thick):
Jan 6, 2009 at 6:10 PM
Edited Jan 6, 2009 at 6:12 PM
(I'm a professional programmer, lay it on me)

edit to add:  I setup that gemming I had in the screenshot in my original post, saved my character, exit, opened the program again, and then went back into the gemming dialog and it was empty again >.<  Didn't seem to have saved it at all?  (The items got saved, but not the gemming 'template'.  Also, it still has some gemmings that I didn't set, like uncommon-quality and epic-quality ones, while all I set were rare-quality and JC'er only ones
Jan 6, 2009 at 6:14 PM
'Item' will contain just the data about a general version of the item; not what gems or enchant it as. Stats, Name, Source, Weapon Properties, etc.

'ItemInstance' (open to better names for this) will contain a reference to an Item, as well as what gems it has socketed, and what enchant is on it.

'GemTemplate' will contain:
  • ID: an ID for the gem template for serializing the enabled state of built-in GemTemplates
  • Enabled: whether the gem template should be used
  • Group: a heading that the gem template appears under, and can be mass enabled/disabled by, for ease of usability
  • Red, Yellow, Blue, Meta, Prismatic: What gem to put in each color slot. (Prismatic being colorless slots, ie BS added slots
Models will provide a list of built-in gem templates that are relevant to their model, for a variety of gear requirements and gem quality levels, though only blue quality, commonly used templates should be enabled by default. For example, I expect there will typically be 4 groups of built-in gem templates: Rare Common, Rare Obscure, Epic Common, Epic Obscure, with just Rare Common enabled by default. Users will be able to enable/disable single gem templates, or whole groups of templates with one click. Try not to provide/enable too many gem templates, as performance will suffer; hoping to have ~5 enabled by default for most models, perhaps up to 10. Users will also be able to add custom gem templates, which will go in a "Custom" group, and be saved with the character.

Methods in CalculationsBase will collect all the enabled gem templates. When items need to be compared, ItemInstances will be generated to fulfill each enabled gem template, plus one for the currently equipped gemming, and any custom gemmings (users can define custom gemmings for an item that will be saved in the item cache). The best (or current, if it's equipped) ItemInstance of each Item will be displayed in the chart, and will be expandable to show the top 5.
Jan 6, 2009 at 6:17 PM
Oh, the contents of that dialog doesn't save because there's nothing to save. That dialog is for defining what gemmings you want; as soon as you hit OK, it creates all of those. There's no need to go back to that dialog because you don't need to recreate them, the items are saved. (And again, that's our old system, that's being replaced because it's all clunky and unintuitive, we know. :) )
Jan 6, 2009 at 6:23 PM
Again, though, when I check that "Delete non-listed Gemmings" checkbox it still keeps several non-listed gemmed items in the lists, and I'm not sure why.

The changes sound interesting & intriguing...Here's to hoping it comes out soon ;)

....Did you really have to code it in C#?  Do I *really* have to buy Visual Studio if I want to have a gander at the source code and see how it all plays together?  doh >.<
Jan 6, 2009 at 6:35 PM
Equipped gemmings will also be kept through "Delete non-listed Gemmings". That's probably what you're seeing.

"Did you really have to code it in C#?"
C#/.NET was/is the only really viable platform for Rawr.

"Do I *really* have to buy Visual Studio if I want to have a gander at the source code and see how it all plays together?"
Of course not. Visual C# Express 2008 is free. And I'm pretty sure that there are a few other C# IDEs available too, if you prefer.
Jan 6, 2009 at 6:44 PM
"Equipped gemmings will also be kept through "Delete non-listed Gemmings". That's probably what you're seeing." don't have any items with the epic or uncommon cuts, or oddly-useless gems like the Int/Spellpower Monarch Topaz equipped, but when I set the interface to only equip Potent, Veiled, Reckless Monarch Topazzes, Runed Scarlet Rubies, Glowing Twilight Opals, and Runed Dragon's Eyes (Which are also the only ones found in any of the equipped gear in my Rawr profile), and check that box to delete ones that don't include these gemmings, I still see a whole lot of the epic gems in the items, as well as some uncommon gems, and a few of the afore-mentioned useless rare-quality ones like int/SP  (I'm a mage, I guess these gem types may be nice...for a priest).

The only fix I've found is by going through each slot, right clicking one of the items that is appropriately-gemmed, clicking "delete duplicates", and doing this for all relevant items in the slot before performming the mass gemming.  This is pretty tedious though, and terribly annoying when a new version of rawr comes out and I can't use my item cache anymore :(
Jan 6, 2009 at 6:49 PM
Well, that sounds like a bug. I'm not able to reproduce it locally, but I'm really not that worried about it; just trudge through the mess of gemmings until we get what we're working on done.
Jan 6, 2009 at 6:53 PM
It is "Equipped gemmings and gemmings marked as available for optimizer will also be kept through "Delete non-listed Gemmings".
Jan 6, 2009 at 7:02 PM
Oh that's rather annoying >.<  So i have to un-diamond all the items before I gem, then re-diamond them....ugh.  I think it should only do that for items that have the purple diamond, not the green diamond :(
Jan 6, 2009 at 7:34 PM
Is the new gemming system going to give us the option to view item rankings without gems at all? or is this option already available, and I'm just blind? I would really like this option, would allow me to build a base set, and then optimize for my needs and play style with gems much more easily.
Jan 6, 2009 at 7:43 PM
Edited Jan 6, 2009 at 7:44 PM
Yes I agree that it shouldn't be affecting green diamonds (I very rarely use green diamonds so I never noticed that it doesn't work correctly).

The new system will by default only show the best instance (or currently equipped) of an item (with an option to show best n). Currently the closest thing is "build upgrade list" which will give you only the instance of an item with the highest upgrade value.
Jan 6, 2009 at 7:52 PM
Tools -> Set Default Gems for Equipment, then don't put in any gems, choose to delete non-listed gemmings, and hit OK.  That'll show only gear with no gems (excepting whatever gemmed gear you have equipped).  However, this ranking isn't going to be particularly useful, as the number and type of gem slots on a piece of gear won't be taken into account.  You're better off just setting a reasonable gemming set.
Jan 6, 2009 at 8:18 PM
That new gemming system sounds a lot better.   What kind of ETA are you guys shooting for the new system to be testable?
Jan 6, 2009 at 10:01 PM
Same timeframe as WoW 3.1.