devurandom" wrote:This works with a single edit.
Test in cube.. made 3 frostwinds and 3 heavenly garbs - no rares.
Backported from another version because 1.13c misbehaves on memory breaks to this code.
This means you have patched the code in the cube outputs generation. Going from memory, there's another one in the code for drops, gambling perhaps, etc.
Also, if you're going to get rid of this feature, you might as well get rid of all the code that uses pGame+0x1B24. This will give you 512 bytes of repurposable data in pGame, which is pretty nice.
If you want to keep the feature, get the extra space AND get rid of the limit on unique items, you can convert pGame+0x1B24 into a pointer to an array. The size of this array would be allocated based on number of records in uniqueitems.txt