UnReal World forums
UnReal World => Bug reports => Solved'n'fixed bug reports => Topic started by: Plotinus on November 17, 2024, 10:15:55 AM
-
When I try to make blunt arrows, if all my items are dropped, it prompts me to select an Axe or sturdy carving knife from my inventory.
If I pick them up my knives and axes, it wants me to decide which one to use.
When I try to make a javelin, it automatically selects my masterwork handaxe from the ground.
Javelin:
{Axe or carving knife} [wearpct:30]
Blunt arrows:
{Axe or carving knife} '+(for rough shaping)' [wearpct:20]
-
Ah, this revealed a rather long-term issue - which is luckily fixed now.
See, as the number of required items is indicated within the parenthesis, ie. (num), here the game mistakenly tries to parse number of "axe or carving knife" required
from string within the only parenthesis found: (for rough shaping)
And in this case atoi() function naturally returns 0, which confuses the auto select mechanism.
This kind of cases must have existed here and there within craftable items, but they've been usually fixed with indicating the single item requirement manually, ie. (1).
Fixed - persists in 3.85beta.