The Project Getting started The Details Appendices

 

Appendix : A few words about the internals:

This appendix is certainly not a necessary addition for those that want only want to use the program. You can trust UOBod to find the best solution for combining Sbods to LBods within the limitations that UO sets.But for those of you who want to know a bit more about the internal logic of the program it may be helpful to read this:

UoBod does an excellent job in suggesting the ideal usage for your Sbods. If you follow its suggestions you will always find your Sbod in the most profitable position.

The program's primary objective is to make the best use of your Sbods by not needlessly sacrificing its value.The secondary objective is to complete your Lbods as soon as possible.

In detail that means that a "fit" is preferred to anything else, and in case you have more than one Lbod that offers a fit, the one closer to completion will be suggested.

Once you allow the program to consider any sacrifices you are basically trading the primary objective for the secondary one. Allowing for "sacrifices" will of course increase your chances of filling your Lbods, but it will still not allow you to waste your Sbod on anything else than the best combination, taking into account the sacrifices you are willing to suffer. Still, the same principles apply within the now changed ruleset: The "Confirm sacrifice" Window that appears following a Sacrifice exc., Sacrifice superior or Sacrifice superior+exc. command will only offer you the most profitable solution and among two or more similar choices the one that is filled to a higher degree. Please also keep in mind that only non-matching Sbods qualify for sacrifices - i.e. only such that connot be "fit" into an LBod

However, answering the question "Should I save this Sbod and keep it until I obtain the suitable LBod, or rather sacrifice it now to fill an inferior Lbod" is beyond the scope of this program. It will remain a decision for you to make.

When you allow a "sacrifice exc." as well as a "sacrifice superior" a new question arises: Which one of those should UOBod suggest first? There is no general rule to answer this question, so there is another switch in the program to determine this preference.

The last of the sacrifice option (sacrifice exp.+superior) however will always be considered last, and only if this option is enabled in the filter setting window. If there is any normal Lbod (iron or plain leather only) with an empty slot, that can neither be filled by the proper Sbod (fit), nor with an exceptional Sbod of the same material (exc), nor with a normal Bod of a superior material (col), UOBod will suggest a superior and exceptional Sbod (ecol), if one is available and unassigned. In order to guarantee that Sacrifice+Exc. will not ever be considered as a first choice option, you are not able to invoke this option alone. At least one of the other sacrifice option must be checked prior to this option.

 

Combine Alternative, however, lets you override the programs internal logic by making assignments that differ from what UOBod has figured to be the wisest solution. With almost any Sbod Combine Alternative only comes into the picture when you allow sacrifices thus broadening the possible uses for an individual Sbod. You will still find the presumably best use for your SBod displayed as Sacrifice exc., Sacrifice superior or Sacrifice superior+exc. in the context menu. But to alert you to any other possibilities that exist, you will be offered a list in the Combine alternative window. This way, you will have the final say about where you want your Sbod to go. Once you do make any assignment here, the Sbod is no longer available and everything is updated to reflect the new situation.

There is one tricky item in the game that makes using Combine alternative a necessity, and that is Footware. Unlike any other Sbod, each Footware item has not one genuine LBod to go into, but three. (There are two Cloth Sets for each plus the Footware LBods). UOBod will treat Cloth and plain leather as being of equal value and will primarily try to use your plain leather footware Sbods to fill your Cloth Lbods without the need for any sacrifice option being set. This behavior makes sense. Footware Bods and most notably the exceptional quality tend to always be a the limiting factor in filling Cloth LBods. You can possibly fill 4 Cloth sets for the price of one Footware LBod. So it seems wise to give the preference to Cloth Lbods rather than the Footware LBods. Also, take a look at the possible rewards!

Consequently the Combine ! command from the context menu will use your footware to fill some Cloth Lbod. This behavior is hinted at by showing a "cloth" (=grey) background where fit is displayed in the Match column. So, as long as you have Cloth Sets that lack their shoes, your plain leather footware will be used for them, not to fill your plain Footware LBod. Should you want to fill your Footware LBod and ignore the Cloth sets, you will need to use Combine Alternative. Please note that this not only applies for Plain leather Footware. The Footware Sbods for higher leather qualities will also be considered for Cloth Bods first, but only if Sacrifice superior is set. So UOBod will suggest to fill a fitting horned leather shoes Sbod into a cloth set rather than into a plain leather Footware Lbod. Like always, true matches (i.e. a horned leather Footware LBod) would take precedence.