So this isn't a particular version; I'm using a RunUO Fork that's converted to .net 5 SDK for use with windows 10. The code is basically the same, though. So I'm running into this issue:
Core\CraftItem.cs(1133,20): error CS1003: Syntax error, '(' expected
Core\CraftItem.cs(1133,20): error CS1525: Invalid expression term '{'
Core\CraftItem.cs(1133,20): error CS1026: ) expected
Core\CraftItem.cs(1156,24): error CS1003: Syntax error, '(' expected
Core\CraftItem.cs(1156,24): error CS1525: Invalid expression term '{'
Core\CraftItem.cs(1156,24): error CS1026: ) expected
For this snippet of code from the Universal Storage Keys:
else if
// ConstumeType.None ( it's basicaly used to know if the crafter has enough resource before starting the process )
{
index = -1;


if (IsQuantityType(types))
{
for (int i = 0; i < types.Length; i++)
{
if (GetQuantity(ourPack, types) < amounts)
{
// UNIVERSAL STORAGE KEYS BEGIN
if (BaseStoreKey.CraftWithdraw(ourPack, types, amounts))
{
continue;
}
// UNIVERSAL STORAGE KEYS END
index = i;
break;
}
}
}
else if
{
for (int i = 0; i < types.Length; i++)
{
if (ourPack.GetBestGroupAmount(types, true, CheckHueGrouping) < amounts)
{
// UNIVERSAL STORAGE KEYS START
//perform a scan and withdraw of the requested resource if it is found. If not, then let the standard
//operation continue
if (BaseStoreKey.CraftWithdraw(ourPack, types, amounts))
{
//this overrides the failure condition and lets the thread continue on with the next type in the
//types list
continue;
}
//otherwise, report not found and abort
// UNIVERSAL STORAGE KEYS END
index = i;
break;
}
}
}
}

I thought I followed the directions to the letter; but I guess I screwed up my syntax. Any ideas?
 
Fairly sure, all of your if checks need () instead of {}. I don't know if that will fix the issue, but its a good start I'd say
 
Back