ReforgeLite
Overview
ReforgeLite is a lightweight reforging calculator that helps you figure out the optimal strategy to reforge your gear given your stat weights and caps without leaving the game.
The addon now has its own project page, located at http://www.rivsoft.net/projects/reforgelite/
Downloads are still only available through Curse page.
What to do if you're not happy with the results
The quickest way to get response is to e-mail me directly at [email protected]
Please describe your problem, and, most importantly, attach a debug log that you can find by scrolling to the bottom of the main UI window (the "Debug" button inside settings section).
How to use it
To open the addon window, type /reforge or talk to the reforging master. On the left half of the window you can see your current item stats for reference.
On the right side you can set up stat weights/caps, or select an existing preset (presets are regularly updated from http://www.noxxic.com, which in turn gets its information from Elitist Jerks).
In the simplified mode, you can specify the stat priority, along with up to two capped stats (each capped stats can have an arbitrary number of breakpoints). If you want more control, you can go into advanced mode and enter the exact stats specific for your gear, obtained from a tool such as SimulationCraft.
Behind the hood, simplified mode sets the lowest stat to a weight of 100, and each next stat adds 20. When you switch between the two modes, ReforgeLite converts your current weights to the other format.
When you're done setting up weights/caps, press Calculate. The calculations are fairly memory/time intensive, so ReforgeLite might trade some precision for speed, though the losses should be minimal. You can press the Calculate button a few times if you want to try getting a better result, the output will always display the best result so far.
Once the calculation finishes, you will see a section with your stats after reforging, and the difference from your current stats. Click on the Show button to see which items should be reforged.
If the reforging UI is open, you can click on the Reforge button to automatically reforge all items in the selected way. Do not interfere in the process (clicking the cancel button or closing the reforging UI is fine). Caution: I'm only human, so while I try my best, I can not guarantee that this process is absolutely bug free, so its recommended to watch over the process. If you leave to make some tea and come back to find it spending thousands of gold reforging your boots over and over again, don't tell me I didn't warn you.
FAQ: The results seem incorrect. I'm getting too much/too little hit/expertise/etc.
First of all, with Mists of Pandaria, expertise now affects spell hit, so it is not uncommon for casters to reforge into some expertise (on items that already have hit) to reach the cap, especially at lower gear levels. Note that ReforgeLite directly adds your expertise rating to hit rating, which is not the way it is displayed in the game, but it is more convenient when verifying the result.
Also, keep in mind that ReforgeLite uses your currently active spec to decide which stat conversions are in place, so if you're a Paladin trying to reforge your Protection gear while in Holy spec, you will likely get very little hit because it thinks you get enough from expertise.
If you are still not satisfied with the results, feel free to e-mail me (at [email protected]) with a brief description of the problem and a debug log (found at the bottom of the scrollable arera, in the options category).
FAQ: I'm using certain items for my off-spec and I don't want their reforge changed.
Simply click on an item icon in the large stats table, this will lock the item's reforge.
FAQ: More caps?
This is a very popular demand, and I'm sorry to tell you that it is not possible with the algorithm I'm currently using. I'm fairly sure the only other way to go is a brute force approach, which is simply way too slow to work in a Lua environment. There are plenty of external tools that employ it, such as http://www.wowreforge.com. I will be adding an import option in the near future to make it easier to use their results.
FAQ: Decimal weights?
You might notice that you can't enter anything besides digits in the weight boxes. This was done for simplicity's sake, and it does not limit you at all - you can multiply all your weights by a 100 (or whatever you prefer) to make them integers, and that would not affect the result at all.
FAQ: My reforge/results window isn't showing up. What do?
There are a few possible reasons.
First, ensure that the addon is enabled (and not marked as outdated if you haven't checked the box to load out-of-date addons). If the addon isn't loaded, you should get an error when trying to type /reforge in chat.
Second, try enabling Lua errors in the game options. If this causes error messages to show up when you try to open the reforge window, then send me the text of the error and I'll figure something out.
Third, it is possible that you accidentally moved the window off-screen. The easiest way to fix this is by deleting the addon config file located at <game folder>/WTF/Account/<your account>/SavedVariables/ReforgeLite.lua - this should reset the addon settings to default (make sure you're in game when doing that, or the file will simply reappear). This will also delete your custom weight and reforge presets - if you want to avoid that, you can try editing the said file, by changing the values of variables "windowX", "windowY", "methodWindowX" and "methodWindowY". Values such as 100 for X and 500 for Y should make the window(s) visible at least.
Oh not again, that's what happens when you upload without testing (don't have access to wow right now) -_-
In scaling.lua line 3386 gotta remove the last ')'. I'll wait before updating in case something else shows up.
removed the the last ")" at line 3386.
now it works perfect for me :) Thanks!
Same here. After removing the ) it works.
Apparently tooltip parsing didn't work out well, I upgraded the previous algorithm instead by simply adding a huge table of socket multipliers for every item, it might still be 1-2 points off but should be accurate enough.
Iroared - if the best we can do is get within 1/2 points, I hope the algorithim is going to fudge those 1/2 points on the "high side" of the target for haste caps, at least. Haste 1/2 points under a new HOT tick is a problem whereas haste 1/2 points above isn't a big deal. (I don't know that any other stat would be as sensitive. Going over hit/expertise caps obviously wastes item budget but, again, when the rating quantity in question is so small, the wastage is trivial.)
And let me just add-- I for one thank you for your continued work on the addon even when you're not subbed atm.
After the last patch reforge lite will keep charging gold and not finish reforging. usually i go afk when reforging but noticed the "cashier sound" not stop after a bit. I cancelled the action bt lost 1k in the process.
I removed the 1.27 from wowace due to it being unstable, but apparently that didn't remove it from curse(
Since the update it looks like the addon started trying to reforge my enchants? And is returning so many errors that Blizzard notification popped up asking me to disbale or ignore.
Message: Interface\AddOns\ReforgeLite\ReforgeLite.lua:1544: ReforgeItem(index): index out of bounds
Time: 05/31/13 15:46:49
Count: 5400
Stack: [C]: in function `ReforgeItem'
Interface\AddOns\ReforgeLite\ReforgeLite.lua:1544: in function `DoReforgeUpdate'
Interface\AddOns\ReforgeLite\ReforgeLite.lua:1574: in function <Interface\AddOns\ReforgeLite\ReforgeLite.lua:1574>
Locals: (*temporary) = 14
Don't know if that helps at all. The number count keeps increasing while the pannel is still open. I've switched back to an older release for now.
Okay I guess the tooltip parsing doesn't work very well yet; what items does it seem to parse incorrectly (you mentioned enchants)? Ideally, a screenshot of the item tooltip would be great.
Yeah I think it was enchants since it was ok untill I got to bracers and gloves then started trying to reforge Mastery into x which wasn't on either piece, but Mastery enchants were.
Uploaded v1.27, item stats are now parsed from tooltips. Also, changed the way exp-to-hit works a bit, not sure if that fixes anything, I'll have to revise the code sometime later.
I was just wondering is there anyone else having problems with reforging for control as Proctection warrior?
I tell it to got for exp hard cap, but keeps going for soft cap :/ if anyone got this problem please do tell how you fixed it, or if I have to wait for a update of the addon :P
Hmm, it appears noxxic changed their stat priorities again, I'm sure it said soft cap when I last checked. I'll change it back to hard cap; though manually changing it should definitely work too.
please make it support asian servers, i gather some item data
https://gist.github.com/solor/5642953
Where did you get 477,478 and 480? I took the values directly from the game files and they weren't there.
Also my 'spTable' has all the values from 1 to 1000, should be fine for now. However, they changed the formula to calculate upgraded stats, it involves socketMultipliers for every item/stat, so I'd probably have to resort to tooltip scanning.
We use
/dump GetInventoryItemLink('player', X)
to get the upTable from Asia items.
Yes, and you have items that use 477/478/480? That's interesting, maybe ItemUpgrade.dbc is client specific, too..
asian severs have a different ilvl system
25 raid normal drop 2/4 530ilvl (thunderforge 536ilvl), could be upgrade to 4/4 538 544
25 raid heroic drop 2/4 543ilvl (thunderforge 549ilvl), could be upgrade to 4/4 551 557
10 raid normal drop 0/2 522ilvl (thunderforge 528ilvl), could be upgrade to 2/2 530 536
10 raid heroic drop 0/2 535ilvl (thunderforge 541ilvl), could be upgrade to 2/2 541 549
I know, but the file containing upgrade ids is in base MPQ, meaning its not locale dependant. It also contains the regular 0/4-4/4 upgrade path, the only one that's missing is yet another 0/2-2/2. Anyway, I'm pretty sure I'll have to do tooltip parsing now, so it doesn't matter anyway.
In version 1.25 the stats still wrong.
Russian version.
Can you fix it?