ServUO Version
Publish 57
Ultima Expansion
Lord Blackthorn's Revenge
Hello, i already add some custom ores, and all worked well. But now im trying to change the colored woods, alreaady did and everything is working.

But ingame when i use carpentry or flethcing tool im getting this crashlog:

C#:
Server Crash Report
===================

ServUO Version 0.5, Build 8738.26785
Operating System: Microsoft Windows NT 6.2.9200.0
.NET Framework: 4.0.30319.42000
Time: 04/12/2023 17:54:09
Mobiles: 43370
Items: 211061
Exception:
System.ArgumentOutOfRangeException: O índice estava fora do intervalo. Ele deve ser não-negativo e menor que o tamanho da coleção.
Nome do parâmetro: index
   em System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
   em Server.Engines.Craft.CraftSubResCol.GetAt(Int32 index) na F:\UO\SERVUO\ServUO 57 - LBR\Scripts\Services\Craft\Core\CraftSubResCol.cs:linha 78
   em Server.Engines.Craft.CraftGump..ctor(Mobile from, CraftSystem craftSystem, ITool tool, Object notice, CraftPage page) na F:\UO\SERVUO\ServUO 57 - LBR\Scripts\Services\Craft\Core\CraftGump.cs:linha 173
   em Server.Engines.Craft.CraftGump..ctor(Mobile from, CraftSystem craftSystem, ITool tool, Object notice) na F:\UO\SERVUO\ServUO 57 - LBR\Scripts\Services\Craft\Core\CraftGump.cs:linha 35
   em Server.Items.BaseTool.OnDoubleClickRedirected(Mobile from, Object o) na F:\UO\SERVUO\ServUO 57 - LBR\Scripts\Items\Tools\BaseTool.cs:linha 247
   em Server.Gumps.CaptchaGump.OnResponse(NetState sender, RelayInfo info) na F:\UO\SERVUO\ServUO 57 - LBR\Scripts\Custom\Sistemas\captcha\captcha.cs:linha 488
   em Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc) na F:\UO\SERVUO\ServUO 57 - LBR\Server\Network\PacketHandlers.cs:linha 1453
   em Server.Network.MessagePump.HandleReceive(NetState ns) na F:\UO\SERVUO\ServUO 57 - LBR\Server\Network\MessagePump.cs:linha 346
   em Server.Network.MessagePump.Slice() na F:\UO\SERVUO\ServUO 57 - LBR\Server\Network\MessagePump.cs:linha 136
   em Server.Core.Main(String[] args) na F:\UO\SERVUO\ServUO 57 - LBR\Server\Main.cs:linha 674


Im trying to use only regular wood plus 3 custom, total of 4.

If on defcarpentry i add repeated subres and get 7 or more type of woods (original UO have normal wood plus 6 colored), everything works fine but on the carpentry menu would have multiples choices of the same material.

Idk where servuo set this index to use 7 resources or mroe and if i try to use less, the servers crashs.
 
Just tô update. Couldnt found anything related to this problem. So i added two more custom Woods and work fine
 
Back