Hello all,
I have recently undertook the summer project of standing up my own shard. I have got really far on my own and decided that I would like to use the old style menus rather than what is currently stock. I have made all of the modifications I think I need to except I have one problem. When I compile, I am getting about 200 of these errors (all dealing with skill menus)
Error 215 'Server.Menus.ItemLists.ItemListEntry' does not contain a definition for 'craftIndex' and no extension method 'craftIndex' accepting a first argument of type 'Server.Menus.ItemLists.ItemListEntry' could be found (are you missing a using directive or an assembly reference?)
Here is the specific line of code referenced above:
DefInscription.CraftSystem.CreateItem(m_Mobile, DefInscription.CraftSystem.CraftItems.GetAt((m_Entries[index].craftIndex) +48).ItemType, type, m_Tool, DefInscription.CraftSystem.CraftItems.GetAt((m_Entries[index].craftIndex) +48));
Here is what I have done so far. I went back and did [docgen on RunUO 2.2 and found where craftIndex is part Server.Menus.ItemLists.ItemListEntry - but when I look for it on RunUO 2.5, that does not exist in the same namespace and I guess that's why I am getting the errors because they can't find the same tag. It appears RunUO 2.5 does not have this or has moved it elsewhere. I cannot find any reference to it in the documentation, I wish they had a namespace search. I understand these types of changes are guarded like gold, so if you don't want to share publicly, please PM me. As you can see, I have done my homework and have a good idea what the problem is, I just need a gentle nudge if someone can help - thanks!!
I have recently undertook the summer project of standing up my own shard. I have got really far on my own and decided that I would like to use the old style menus rather than what is currently stock. I have made all of the modifications I think I need to except I have one problem. When I compile, I am getting about 200 of these errors (all dealing with skill menus)
Error 215 'Server.Menus.ItemLists.ItemListEntry' does not contain a definition for 'craftIndex' and no extension method 'craftIndex' accepting a first argument of type 'Server.Menus.ItemLists.ItemListEntry' could be found (are you missing a using directive or an assembly reference?)
Here is the specific line of code referenced above:
DefInscription.CraftSystem.CreateItem(m_Mobile, DefInscription.CraftSystem.CraftItems.GetAt((m_Entries[index].craftIndex) +48).ItemType, type, m_Tool, DefInscription.CraftSystem.CraftItems.GetAt((m_Entries[index].craftIndex) +48));
Here is what I have done so far. I went back and did [docgen on RunUO 2.2 and found where craftIndex is part Server.Menus.ItemLists.ItemListEntry - but when I look for it on RunUO 2.5, that does not exist in the same namespace and I guess that's why I am getting the errors because they can't find the same tag. It appears RunUO 2.5 does not have this or has moved it elsewhere. I cannot find any reference to it in the documentation, I wish they had a namespace search. I understand these types of changes are guarded like gold, so if you don't want to share publicly, please PM me. As you can see, I have done my homework and have a good idea what the problem is, I just need a gentle nudge if someone can help - thanks!!