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.
There is an addon called ReforgeSaver that does that in a convenient way, though.
death knight and Paladins and Warriors tank
why ReforgeLite always Calculate Parry more than Dodge is better?
Isn't 50/50 is the best?
but sometimes like
Druid Tank
+100hit +80crit
ReforgeLite will Calculate hit→dodge
but I thinks crit→dodge may be better??
Paladins Tank same
+100dodge +80hit
ReforgeLite will Calculate dodge→mastery
but I thinks hit→mastery may be better??
That's because gaining 40 mastery and losing 40 dodge might be better than just gaining 32 mastery - because mastery is that much better. You don't always reforge worst stat to best stat, imagine on your bear you had an imaginary item with 200 hit and 10 crit: you could reforge 80 hit to dodge and gain a lot, or you could reforge 4 crit to dodge and gain next to nothing. Even if hit might be better than crit, the first option is still better.
@jw23
That's why it lets you enter your own weights for dodge and parry chances. You could leave dodge as 100, and set parry to 130 or something, depending on whatever the graph shows for your gear.
If you're concerned about current stat weight presets, I'm currently in the process of redoing all of them. Hopefully I will have two different sets of weights for T11/preraid and T12+.
<in C code>
ReforgeLite\ReforgeLite-v1.07-fix.lua:1516: in function "PrintLine"
ReforgeLite\ReforgeLite-v1.07-fix.lua:1540: in function "RefreshMethodStats"
ReforgeLite\ReforgeLite-v1.07-fix.lua:1520: in function "UpdateMethodCategory"
ReforgeLite\ReforgeLite-v1.07-fix.lua:1267: in function <ReforgeLite\ReforgeLite.lua:1263>
Locals:
m = <unnamed> {
1 = <unnamed> {}
2 = <unnamed> {}
3 = <unnamed> {}
4 = <unnamed> {}
5 = <unnamed> {}
6 = <unnamed> {}
7 = <unnamed> {}
8 = <unnamed> {}
9 = <unnamed> {}
10 = <unnamed> {}
0 = <userdata>
PrintLine = <func> @..\ReforgeLite.lua:1513
category = <unnamed> {}
Hide2 = <func> @..\ReforgeLite.lua:544
ClearLines = <func> @..\ReforgeLite.lua:1507
Show2 = <func> @..\ReforgeLite.lua:538
counter = 1
}
text = "閃躲機率(%): %.2f%%"
(*temporary) = <func> =[C]:-1
(*temporary) = <unnamed> {
0 = <userdata>
}
L["Block chance"] = "æ ¼æª”æ©ŸçŽ‡(%)"
L["Dodge chance"] = "閃躲機率(%)"
L["Parry chance"] = "招架機率(%)"
to
L["Block chance"] = "æ ¼æª”æ©ŸçŽ‡"
L["Dodge chance"] = "閃躲機率"
L["Parry chance"] = "招架機率"
looks like can fix the problem
If you want to set a weight for hit/exp, you can use death knight model. You still won't be able to set caps though, because there is no room in the algorithm for 2 more values to track.
Date: 2011-08-19 22:43:15
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\ReforgeLite\ReforgeEngine.lua line 719:
attempt to perform arithmetic on field 'dd' (a nil value)
Debug:
(tail call): ?
[C]: ?
ReforgeLite\ReforgeEngine.lua:719: ?()
ReforgeLite\ReforgeEngine.lua:805:
ReforgeLite\ReforgeEngine.lua:795
(tail call): ?
ReforgeLite\ReforgeLite.lua:1264:
ReforgeLite\ReforgeLite.lua:1263
AddOns:
Swatter, v5.12.5198 (QuirkyKiwi)
NPCScan, v4.2.0.2
NPCScanOverlay, v4.2.0.2
NPCScanOverlayBroker, v1.1.2
AckisRecipeList, v2.2.7
AdvancedTradeSkillWindow, v
Archy, v1.7b8 bugfix12
Arh, v0.91
ArkInventory, v3.02
ArkInventoryRules, v
ArkInventoryRulesExample, v1.00
Atlas, v1.20.0
AtlasBattlegrounds, v1.20.0
AtlasDungeonLocs, v1.20.0
AtlasOutdoorRaids, v1.20.0
AtlasTransportation, v1.20.0
AtlasLootLoader, vv6.04.03
AucAdvanced, v5.12.5198 (QuirkyKiwi)
AucFilterBasic, v5.12.5198 (QuirkyKiwi)
AucFilterOutlier, v5.12.5198.5194(5.12/embedded)
AucMatchUndercut, v5.12.5198.4828(5.12/embedded)
AucScanData, v5.12.5198 (QuirkyKiwi)
AucStatHistogram, v5.12.5198 (QuirkyKiwi)
AucStatiLevel, v5.12.5198 (QuirkyKiwi)
AucStatPurchased, v5.12.5198 (QuirkyKiwi)
AucStatSales, v5.12.5198.4838(5.12/embedded)
AucStatSimple, v5.12.5198 (QuirkyKiwi)
AucStatStdDev, v5.12.5198 (QuirkyKiwi)
AucStatWOWEcon, v5.12.5198.4828(5.12/embedded)
AucUtilAHWindowControl, v5.12.5198.5133(5.12/embedded)
AucUtilAppraiser, v5.12.5198.5194(5.12/embedded)
AucUtilAskPrice, v5.12.5198.5162(5.12/embedded)
AucUtilAutoMagic, v5.12.5198.5184(5.12/embedded)
AucUtilCompactUI, v5.12.5198.5016(5.12/embedded)
AucUtilEasyBuyout, v5.12.5198.4897(5.12/embedded)
AucUtilFixAH, v5.12.5198 (QuirkyKiwi)
AucUtilItemSuggest, v5.12.5198.5144(5.12/embedded)
AucUtilPriceLevel, v5.12.5198.4861(5.12/embedded)
AucUtilScanButton, v5.12.5198.5159(5.12/embedded)
AucUtilScanFinish, v5.12.5198.5159(5.12/embedded)
AucUtilScanProgress, v5.12.5198.4979(5.12/embedded)
AucUtilScanStart, v5.12.5198.5159(5.12/embedded)
AucUtilSearchUI, v5.12.5198.5184(5.12/embedded)
AucUtilSimpleAuction, v5.12.5198.4993(5.12/embedded)
AucUtilVendMarkup, v5.12.5198.4828(5.12/embedded)
AutoProfitX, vr76
Babylonian, v5.1.DEV.312(/embedded)
BadBoy, vv6.532
Bartender4, v4.4.19
Bazooka, vv2.1.3
BeanCounter, v5.12.5198 (QuirkyKiwi)
BloodShieldTracker, v0.11
BrokerDurabilityInfo, v1.9
BrokerTolBarad, v1.6
BrokerWintergrasper, v1.8
CombustionHelper, v2.7.16
Configator, v5.1.DEV.312(/embedded)
DataStore, v4.2.001
DataStoreAchievements, v4.2.001
DataStoreAgenda, v4.2.001
DataStoreAuctions, v4.2.001
DataStoreCharacters, v4.2.001
DataStoreContainers, v4.2.001
DataStoreCrafts, v4.2.001
DataStoreCurrencies, v4.2.001
DataStoreInventory, v4.2.001
DataStoreMails, v4.2.001
DataStorePets, v4.2.001
DataStoreQuests, v4.2.001
DataStoreReputations, v4.2.001
DataStoreSpells, v4.2.001
DataStoreStats, v4.2.001
DataStoreTalents, v4.2.001
DBMCore, v
DebugLib, v5.1.DEV.312(/embedded)
Decursive, v2.7.0.3
epgp, v5.6.4
epgplootmaster, v0.6.15
epgplootmasterml, v0.6.15
ForteCasting, v
ForteCooldown, v
ForteCore, v1.975.5
ForteDeathKnight, v
ForteDruid, v
ForteHunter, v
ForteMage, v
FortePaladin, v
FortePriest, v
ForteRogue, v
ForteShaman, v
ForteTalent, v
ForteTimer, v
ForteVehicle, v
ForteWarlock, v
ForteWarrior, v
FuBarGuildFu, v2.4.4-117
GatherMate2, v1.15.2
GearScore, v4.10.00.00
HealBot, v4.2.0.3
Informant, v5.12.5198 (QuirkyKiwi)
LibExtraTip, v5.12.DEV.311(/embedded)
LibRock10, v
LoggerHead, v4.0.128
MagicRunes, v1.0.83
MagicRunesIconDisplay, v1.0.83
MagicRunesRuneBars, v1.0.83
MikScrollingBattleText, v5.6.108
Omen, v3.1.4
oRA3, v
Postal, v3.4.10
PowerAuras, v4.22
Prat30, v3.4.24
Prat30HighCPUUsageModules, v
Prat30Libraries, v
Quartz, v3.0.7
RaidMobMarker, v3.4
ReforgeLite, v1.07
Reforgenator, v1.3.10
retrot, v
SexyMap, v
Skada, v1.3-5
SkadaAbsorbs, v1.0
SkadaCC, v1.0
SkadaDamage, v1.0
SkadaDamageTaken, v1.0
SkadaDeaths, v1.0
SkadaDebuffs, v1.0
SkadaDispels, v1.0
SkadaEnemies, v1.0
SkadaHealing, v1.0
SkadaPower, v1.0
SkadaThreat, v1.0
Stubby, v5.12.5198 (QuirkyKiwi)
TidyPlates, v6.3.5 (R296)
TidyPlatesGraphite, v
TidyPlatesGrey, v
TidyPlatesNeon, v
TidyPlatesQuatre, v
TidyPlatesThreatPlates, v5.2
TidyPlatesHub, v
TipHelper, v5.12.DEV.310(/embedded)
TomTom, vv40200-1.4.2
WhoTaunted, v1.1.4
XLoot10, v1.0.13
XPerl, v3.1.5
XPerlArcaneBar, v
XPerlParty, v
XPerlPartyPet, v
XPerlPlayer, v
XPerlPlayerBuffs, v
XPerlPlayerPet, v
XPerlRaidAdmin, v
XPerlRaidFrames, v
XPerlRaidHelper, v
XPerlRaidPets, v
XPerlTarget, v
XPerlTargetTarget, v
BlizRuntimeLib_enUS v4.2.0.40200 <eu>
(ck=1151)
If you can, replace 'dd' and 'dp' at the end of lines 719 and 720 in ReforgeEngine.lua with 'd1' and 'd2', respectively.
I'll hotfix that when I get to a computer with svn.