RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[1.x] Gem Crafting

Hammerhand

Knight
Been a while since I released something original... and you still gotta wait. ;)

GemCrafting
Ya' know all those pesky gems your players keep digging up? Think they'd like more to do with them other than using them to collect dust? Well.. here it is. GemCrafting (I know.. not very original, but just wait..) In this lil set you'll find a Gem Elemental that randomly spawns in the (as close as I could get them) 8 ML gem hues. It has a roughly 1 in 3 chance of dropping either a 5 use RunicGemCraftingTool or a couple gems. In the DefGemCraft.cs you'll see not only GemArmor, GemShields & GemHelmets, but reg armor, weapons, shields & helms. The GemArmor,Shields & Helms are the "higher" level stuff, the rest are reg items you'd find in DefBlacksmithy, but craftable with the GemCraft runics making them a bit better.I was going to do GemWeapons, but decided that with most servers probably having an overload of uber weapons anyway, why add to them? Besides... I didnt feel like spending several hours coding them all.... for each gem type. The GemArmor, Shields & Helms are all of a type.. ie: full armor sets for DarkSapphire, WhitePearl, FireRuby and the like... complete with helmets & shields. Or the players can mix-n-match.The reg GemCraftTool (non runic) CAN be added to the DefTinkering.cs tools region using
AddCraft(typeof(GemCraftTool), 1044046, "GemCraftTool", 50.0, 75.0, typeof(IronIngot), 1044036, 3, 1044037);
so they can have a reg craftable one if you choose.
This does require edits to your ResourceInfo.cs (instructions included in .rar) as I made the gems into a craft resource.. May not have actually needed to, but it was good practice and with the new runics, seemed like the best thing to do. Edits can be copy & pasted. This was done on a stock, unaltered RunUO 2.3 server. Feel free to alter the stats on the elemental, gem armor, shields & helms if you wish. All the "reg" stuff will just be crafted as they would with normal runic hammers.
 

Attachments

  • GemCraft.rar
    48.3 KB · Views: 49

milva

Sorceror
Wow this is quite the gem craft system, make some really good use of all those gems! :) Wonder if the White Pearl is still a tough one to fish up, like next to never? :) If so you could always release your mob which drops the white pearl.
 

fffkingrage

Sorceror
I remember a system like this back in the day, and was about to spend some time making it from the ground up. Thanks! And I'm sure my players will thank you as well!

EDIT: There were a few instances of a recipe calling for a double-dose of ingots and not the proper gems. Easy enough to fix though. And for my own sake I took away the standard blacksmith options (ringmail, etc), and organized the categories by Gem type. "Perfect Emerald", "White Pearl", etc. I plan on eventually simplifying it further by assigning the gem type to be chosen instead of the Ingot type in the bottom menu. Might add in weapons too.
 

pglizerd

Sorceror
Hey Hammer Hand I tried to install on 2.3 with daat 3.01 ore system and it had a ton of errors here is what i can see on the list there are some that i cant see i followed the GemCraftEdits is there something else causing it maybe? one question are all the edits only in ResourceInfo.cs cause that is the only place i changed them at but i did notice it said //hammerhand edits do you have to edit resource helper also ? let me know if you want Me to post my resourceinfo.cs file or if i could get a copy of your resouceinfo.cs and try that When i put the back up resourceinfo in there is no errors Thanks

text
CS0103: Line 51: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 59: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 66: The name 'CraftResources' does not exist in the current con
text
+ Items/Skill Items/Tools/RunicSewingKit.cs:
CS0103: Line 15: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 17: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 22: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 32: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 34: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 39: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 49: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 56: The name 'CraftResources' does not exist in the current con
text
+ Customs/New/RunicTinkerTools.cs:
CS0103: Line 28: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 29: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 42: The name 'CraftResources' does not exist in the current con
text
+ Customs/New/Resource Helper.cs:
CS0103: Line 47: The name 'CraftResources' does not exist in the current con
text
CS0246: Line 67: The type or namespace name 'CraftResourceInfo' could not be
found (are you missing a using directive or an assembly reference?)
CS0103: Line 67: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 298: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 314: The name 'CraftResources' does not exist in the current co
ntext
+ Customs/Swampy.cs:
CS0103: Line 56: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 80: The name 'CraftResources' does not exist in the current con
text
+ Engines/BulkOrders/Rewards.cs:
CS0103: Line 230: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 627: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 633: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 635: The name 'CraftResources' does not exist in the current co
ntext
+ Engines/Craft/Core/CraftGump.cs:
CS0103: Line 239: The name 'CraftResources' does not exist in the current co
ntext
+ Engines/Craft/Core/CraftItem.cs:
CS0103: Line 1219: The name 'CraftResources' does not exist in the current c
ontext
CS0103: Line 1219: The name 'CraftResources' does not exist in the current c
ontext
+ Engines/Craft/Core/Enhance.cs:
CS0103: Line 42: The name 'CraftResources' does not exist in the current con
text
CS0246: Line 62: The type or namespace name 'CraftResourceInfo' could not be
found (are you missing a using directive or an assembly reference?)
CS0103: Line 62: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 106: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 130: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 268: The name 'CraftResources' does not exist in the current co
ntext
+ Engines/Craft/Core/Resmelt.cs:
CS0103: Line 51: The name 'CraftResources' does not exist in the current con
text
CS0246: Line 54: The type or namespace name 'CraftResourceInfo' could not be
found (are you missing a using directive or an assembly reference?)
CS0103: Line 54: The name 'CraftResources' does not exist in the current con
text
+ Engines/Factions/Definitions/FactionItemDefinition.cs:
CS0103: Line 33: The name 'CraftResources' does not exist in the current con
text
+ Engines/Harvest/Core/HarvestSystem.cs:
CS0103: Line 202: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 207: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 208: The name 'CraftResources' does not exist in the current co
ntext
+ Engines/Harvest/Lumberjacking.cs:
CS0103: Line 50: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 50: The name 'CraftResources' does not exist in the current con
text
+ Engines/Harvest/Mining.cs:
CS0103: Line 315: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 315: The name 'CraftResources' does not exist in the current co
ntext
+ Engines/Treasures of Tokuno/BasePigmentsOfTokuno.cs:
CS0103: Line 173: The name 'CraftResources' does not exist in the current co
ntext
+ Items/Addons/BaseAddonContainer.cs:
CS0103: Line 49: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 121: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 122: The name 'CraftResources' does not exist in the current co
ntext
+ Items/Addons/BaseAddonContainerDeed.cs:
CS0103: Line 26: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 81: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 82: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 93: The name 'CraftResources' does not exist in the current con
text
+ Items/Containers/SalvageBag.cs:
CS0103: Line 52: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 57: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 79: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 96: The name 'CraftResources' does not exist in the current con
text
CS0246: Line 99: The type or namespace name 'CraftResourceInfo' could not be
found (are you missing a using directive or an assembly reference?)
CS0103: Line 99: The name 'CraftResources' does not exist in the current con
text
+ Items/Deeds/DragonBardingDeed.cs:
CS0103: Line 24: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 137: The name 'CraftResources' does not exist in the current co
ntext
+ Items/Resources/Blacksmithing/Ingots.cs:
CS0246: Line 50: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0103: Line 54: The name 'OreInfo' does not exist in the current context
CS0103: Line 55: The name 'OreInfo' does not exist in the current context
CS0103: Line 56: The name 'OreInfo' does not exist in the current context
CS0103: Line 57: The name 'OreInfo' does not exist in the current context
CS0103: Line 58: The name 'OreInfo' does not exist in the current context
CS0103: Line 59: The name 'OreInfo' does not exist in the current context
CS0103: Line 60: The name 'OreInfo' does not exist in the current context
CS0103: Line 61: The name 'OreInfo' does not exist in the current context
CS0103: Line 62: The name 'OreInfo' does not exist in the current context
CS0103: Line 64: The name 'OreInfo' does not exist in the current context
CS0103: Line 65: The name 'OreInfo' does not exist in the current context
CS0103: Line 66: The name 'OreInfo' does not exist in the current context
CS0103: Line 67: The name 'OreInfo' does not exist in the current context
CS0103: Line 68: The name 'OreInfo' does not exist in the current context
CS0103: Line 73: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 87: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 108: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 110: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 115: The name 'CraftResources' does not exist in the current co
ntext
+ Items/Resources/Blacksmithing/Ore.cs:
CS0246: Line 51: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0103: Line 55: The name 'OreInfo' does not exist in the current context
CS0103: Line 56: The name 'OreInfo' does not exist in the current context
CS0103: Line 57: The name 'OreInfo' does not exist in the current context
CS0103: Line 58: The name 'OreInfo' does not exist in the current context
CS0103: Line 59: The name 'OreInfo' does not exist in the current context
CS0103: Line 60: The name 'OreInfo' does not exist in the current context
CS0103: Line 61: The name 'OreInfo' does not exist in the current context
CS0103: Line 62: The name 'OreInfo' does not exist in the current context
CS0103: Line 63: The name 'OreInfo' does not exist in the current context
CS0103: Line 65: The name 'OreInfo' does not exist in the current context
CS0103: Line 66: The name 'OreInfo' does not exist in the current context
CS0103: Line 67: The name 'OreInfo' does not exist in the current context
CS0103: Line 68: The name 'OreInfo' does not exist in the current context
CS0103: Line 69: The name 'OreInfo' does not exist in the current context
CS0103: Line 74: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 100: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 121: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 123: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 128: The name 'CraftResources' does not exist in the current co
ntext
+ Items/Resources/Blacksmithing/Scales.cs:
CS0103: Line 61: The name 'CraftResources' does not exist in the current con
text
+ Items/Resources/Masonry/Granite.cs:
CS0103: Line 54: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 70: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 72: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 77: The name 'CraftResources' does not exist in the current con
text
+ Items/Resources/Tailor/Hides.cs:
CS0246: Line 45: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0246: Line 45: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0103: Line 47: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 64: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 86: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 88: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 93: The name 'CraftResources' does not exist in the current con
text
+ Items/Resources/Tailor/Leathers.cs:
CS0246: Line 45: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0246: Line 45: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0103: Line 47: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 62: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 83: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 85: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 90: The name 'CraftResources' does not exist in the current con
text
+ Items/Skill Items/Carpenter Items/Board.cs:
CS0103: Line 68: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 75: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 77: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 82: The name 'CraftResources' does not exist in the current con
text
+ Items/Skill Items/Lumberjack/Log.cs:
CS0103: Line 19: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 45: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 52: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 54: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 59: The name 'CraftResources' does not exist in the current con
text
+ Items/Skill Items/Tools/RunicDovetailSaw.cs:
CS0103: Line 14: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 27: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 32: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 34: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 39: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 47: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 54: The name 'CraftResources' does not exist in the current con
text
+ Items/Skill Items/Tools/RunicFletcherTool.cs:
CS0103: Line 15: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 28: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 35: The name 'CraftResources' does not exist in the current con
text
+ Items/Special/Bulk Order Rewards/Blacksmithy/ColoredAnvil.cs:
CS0103: Line 12: The name 'CraftResources' does not exist in the current con
text
+ Items/Special/Bulk Order Rewards/Blacksmithy/GlovesOfMining.cs:
CS0103: Line 208: The name 'CraftResources' does not exist in the current co
ntext
+ Misc/ResourceInfo.cs:
CS0117: Line 1046: 'Server.Items.CraftResourceType' does not contain a defin
ition for 'MLGem'
CS0117: Line 1072: 'Server.Items.CraftResourceType' does not contain a defin
ition for 'MLGem'
CS0117: Line 1096: 'Server.Items.CraftResourceType' does not contain a defin
ition for 'MLGem'
+ Mobiles/Animals/Mounts/SwampDragon.cs:
CS0103: Line 47: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 71: The name 'CraftResources' does not exist in the current con
text
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

Hammerhand

Knight
Next time, please use the code tags. Makes it much easier than having to scroll the page. I did this on an stock, unaltered 2.3 (no OWLTR). I'll see if its possible to use it with OWLTR in a couple days when I have more time.
 

pglizerd

Sorceror
Next time, please use the code tags. Makes it much easier than having to scroll the page. I did this on an stock, unaltered 2.3 (no OWLTR). I'll see if its possible to use it with OWLTR in a couple days when I have more time.


Ok Will do and thanks for checking i will keep a eye on this page
 

Hammerhand

Knight
I couldnt duplicate your errors. In fact the only errors I had, had nothing to do with the ResourceInfo.cs Since your ResourceInfo.cs is ALREADY modified, you should not be following recommended line numbers... line 39 BlueDiamond = 401, //line 39 is now line 68, line 56 is now line 85, line 122 is now line 153, line 388 is now line 696, line 662 is now line 991, line 681 is now line 1009, line 726 is now line 1054, line 757 is now line 1085 & line 774 is now line 1102. And also with using OWLTR, you need to set 1 of the GemCraft files to .bak >> BaseRunicGemCraftTool.cs It is not needed with OWLTR.

*Note* These line numbers will only work if you left the OWLTR headers in place.. ie: //daat99 OWLTR start
 

pglizerd

Sorceror
I couldnt duplicate your errors. In fact the only errors I had, had nothing to do with the ResourceInfo.cs Since your ResourceInfo.cs is ALREADY modified, you should not be following recommended line numbers... line 39 BlueDiamond = 401, //line 39 is now line 68, line 56 is now line 85, line 122 is now line 153, line 388 is now line 696, line 662 is now line 991, line 681 is now line 1009, line 726 is now line 1054, line 757 is now line 1085 & line 774 is now line 1102. And also with using OWLTR, you need to set 2 of the GemCraft files to .bak >> BaseRunicGemCraftTool.cs & BaseGemCraftTool.cs They are not needed with OWLTR.

*Note* These line numbers will only work if you left the OWLTR headers in place.. ie: //daat99 OWLTR start[/ CS0103: Line 26: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 39: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 44: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 46: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 51: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 59: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 66: The name 'CraftResources' does not exist in the current con
text
+ Items/Skill Items/Tools/RunicSewingKit.cs:
CS0103: Line 15: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 17: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 22: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 32: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 34: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 39: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 49: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 56: The name 'CraftResources' does not exist in the current con
text
+ Customs/New/RunicTinkerTools.cs:
CS0103: Line 28: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 29: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 42: The name 'CraftResources' does not exist in the current con
text
+ Customs/New/Resource Helper.cs:
CS0103: Line 47: The name 'CraftResources' does not exist in the current con
text
CS0246: Line 67: The type or namespace name 'CraftResourceInfo' could not be
found (are you missing a using directive or an assembly reference?)
CS0103: Line 67: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 300: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 316: The name 'CraftResources' does not exist in the current co
ntext
+ Customs/Swampy.cs:
CS0103: Line 56: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 80: The name 'CraftResources' does not exist in the current con
text
+ Engines/BulkOrders/Rewards.cs:
CS0103: Line 230: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 627: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 633: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 635: The name 'CraftResources' does not exist in the current co
ntext
+ Engines/Craft/Core/CraftGump.cs:
CS0103: Line 239: The name 'CraftResources' does not exist in the current co
ntext
+ Engines/Craft/Core/CraftItem.cs:
CS0103: Line 1219: The name 'CraftResources' does not exist in the current c
ontext
CS0103: Line 1219: The name 'CraftResources' does not exist in the current c
ontext
+ Engines/Craft/Core/Enhance.cs:
CS0103: Line 42: The name 'CraftResources' does not exist in the current con
text
CS0246: Line 62: The type or namespace name 'CraftResourceInfo' could not be
found (are you missing a using directive or an assembly reference?)
CS0103: Line 62: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 106: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 130: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 268: The name 'CraftResources' does not exist in the current co
ntext
+ Engines/Craft/Core/Resmelt.cs:
CS0103: Line 51: The name 'CraftResources' does not exist in the current con
text
CS0246: Line 54: The type or namespace name 'CraftResourceInfo' could not be
found (are you missing a using directive or an assembly reference?)
CS0103: Line 54: The name 'CraftResources' does not exist in the current con
text
+ Engines/Factions/Definitions/FactionItemDefinition.cs:
CS0103: Line 33: The name 'CraftResources' does not exist in the current con
text
+ Engines/Harvest/Core/HarvestSystem.cs:
CS0103: Line 202: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 207: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 208: The name 'CraftResources' does not exist in the current co
ntext
+ Engines/Harvest/Lumberjacking.cs:
CS0103: Line 50: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 50: The name 'CraftResources' does not exist in the current con
text
+ Engines/Harvest/Mining.cs:
CS0103: Line 315: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 315: The name 'CraftResources' does not exist in the current co
ntext
+ Engines/Treasures of Tokuno/BasePigmentsOfTokuno.cs:
CS0103: Line 173: The name 'CraftResources' does not exist in the current co
ntext
+ Items/Addons/BaseAddonContainer.cs:
CS0103: Line 49: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 121: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 122: The name 'CraftResources' does not exist in the current co
ntext
+ Items/Addons/BaseAddonContainerDeed.cs:
CS0103: Line 26: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 81: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 82: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 93: The name 'CraftResources' does not exist in the current con
text
+ Items/Containers/SalvageBag.cs:
CS0103: Line 52: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 57: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 79: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 96: The name 'CraftResources' does not exist in the current con
text
CS0246: Line 99: The type or namespace name 'CraftResourceInfo' could not be
found (are you missing a using directive or an assembly reference?)
CS0103: Line 99: The name 'CraftResources' does not exist in the current con
text
+ Items/Deeds/DragonBardingDeed.cs:
CS0103: Line 24: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 137: The name 'CraftResources' does not exist in the current co
ntext
+ Items/Resources/Blacksmithing/Ingots.cs:
CS0246: Line 50: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0103: Line 54: The name 'OreInfo' does not exist in the current context
CS0103: Line 55: The name 'OreInfo' does not exist in the current context
CS0103: Line 56: The name 'OreInfo' does not exist in the current context
CS0103: Line 57: The name 'OreInfo' does not exist in the current context
CS0103: Line 58: The name 'OreInfo' does not exist in the current context
CS0103: Line 59: The name 'OreInfo' does not exist in the current context
CS0103: Line 60: The name 'OreInfo' does not exist in the current context
CS0103: Line 61: The name 'OreInfo' does not exist in the current context
CS0103: Line 62: The name 'OreInfo' does not exist in the current context
CS0103: Line 64: The name 'OreInfo' does not exist in the current context
CS0103: Line 65: The name 'OreInfo' does not exist in the current context
CS0103: Line 66: The name 'OreInfo' does not exist in the current context
CS0103: Line 67: The name 'OreInfo' does not exist in the current context
CS0103: Line 68: The name 'OreInfo' does not exist in the current context
CS0103: Line 73: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 87: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 108: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 110: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 115: The name 'CraftResources' does not exist in the current co
ntext
+ Items/Resources/Blacksmithing/Ore.cs:
CS0246: Line 51: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0103: Line 55: The name 'OreInfo' does not exist in the current context
CS0103: Line 56: The name 'OreInfo' does not exist in the current context
CS0103: Line 57: The name 'OreInfo' does not exist in the current context
CS0103: Line 58: The name 'OreInfo' does not exist in the current context
CS0103: Line 59: The name 'OreInfo' does not exist in the current context
CS0103: Line 60: The name 'OreInfo' does not exist in the current context
CS0103: Line 61: The name 'OreInfo' does not exist in the current context
CS0103: Line 62: The name 'OreInfo' does not exist in the current context
CS0103: Line 63: The name 'OreInfo' does not exist in the current context
CS0103: Line 65: The name 'OreInfo' does not exist in the current context
CS0103: Line 66: The name 'OreInfo' does not exist in the current context
CS0103: Line 67: The name 'OreInfo' does not exist in the current context
CS0103: Line 68: The name 'OreInfo' does not exist in the current context
CS0103: Line 69: The name 'OreInfo' does not exist in the current context
CS0103: Line 74: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 100: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 121: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 123: The name 'CraftResources' does not exist in the current co
ntext
CS0103: Line 128: The name 'CraftResources' does not exist in the current co
ntext
+ Items/Resources/Blacksmithing/Scales.cs:
CS0103: Line 61: The name 'CraftResources' does not exist in the current con
text
+ Items/Resources/Masonry/Granite.cs:
CS0103: Line 54: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 70: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 72: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 77: The name 'CraftResources' does not exist in the current con
text
+ Items/Resources/Tailor/Hides.cs:
CS0246: Line 45: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0246: Line 45: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0103: Line 47: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 64: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 86: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 88: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 93: The name 'CraftResources' does not exist in the current con
text
+ Items/Resources/Tailor/Leathers.cs:
CS0246: Line 45: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0246: Line 45: The type or namespace name 'OreInfo' could not be found (ar
e you missing a using directive or an assembly reference?)
CS0103: Line 47: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 62: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 83: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 85: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 90: The name 'CraftResources' does not exist in the current con
text
+ Items/Skill Items/Carpenter Items/Board.cs:
CS0103: Line 68: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 75: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 77: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 82: The name 'CraftResources' does not exist in the current con
text
+ Items/Skill Items/Lumberjack/Log.cs:
CS0103: Line 19: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 45: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 52: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 54: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 59: The name 'CraftResources' does not exist in the current con
text
+ Items/Skill Items/Tools/RunicDovetailSaw.cs:
CS0103: Line 14: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 27: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 32: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 34: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 39: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 47: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 54: The name 'CraftResources' does not exist in the current con
text
+ Items/Skill Items/Tools/RunicFletcherTool.cs:
CS0103: Line 15: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 28: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 35: The name 'CraftResources' does not exist in the current con
text
+ Items/Special/Bulk Order Rewards/Blacksmithy/ColoredAnvil.cs:
CS0103: Line 12: The name 'CraftResources' does not exist in the current con
text
+ Items/Special/Bulk Order Rewards/Blacksmithy/GlovesOfMining.cs:
CS0103: Line 208: The name 'CraftResources' does not exist in the current co
ntext
+ Mobiles/Animals/Mounts/SwampDragon.cs:
CS0103: Line 47: The name 'CraftResources' does not exist in the current con
text
CS0103: Line 71: The name 'CraftResources' does not exist in the current con
text
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
]

here is my copy of Resourceinfo.cs but i never change the Header in scripts maybe you can look it over and see where i goofed at but i followed your lines to make changes hope i got the code tag wright
 

Attachments

  • ResourceInfo.cs
    55.6 KB · Views: 3

Hammerhand

Knight
You used quote, not the code tags. The code tags are the {} button you see above where you type your message. Click on that & paste your scripts or errors into that. I'll check your ResourceInfo.cs
 

Hammerhand

Knight
Line 74, remove the , after WhitePearl.
Line 84, remove the , after MLGem.
Line 864, add a }.
Line 1084, the CraftResourceType.None; belongs after the
return CraftResourceType.MLGem;
Line 1248, remove the } you put in to replace the one you deleted earlier.
 

pglizerd

Sorceror
Line 74, remove the , after WhitePearl.
Line 84, remove the , after MLGem.
Line 864, add a }.
Line 1084, the CraftResourceType.None; belongs after the
return CraftResourceType.MLGem;
Line 1248, remove the } you put in to replace the one you deleted earlier.[/RunUO - [www.runuo.com] Version 2.2, Build 4782.3756
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
+ Customs/GemCraft/GemElemental.cs:
CS0118: Line 65: 'Server.Items.BlueDiamond' is a 'type' but is used like a '
variable'
CS0118: Line 66: 'Server.Items.BrilliantAmber' is a 'type' but is used like
a 'variable'
CS0118: Line 67: 'Server.Items.DarkSapphire' is a 'type' but is used like a
'variable'
CS0118: Line 68: 'Server.Items.EcruCitrine' is a 'type' but is used like a '
variable'
CS0118: Line 69: 'Server.Items.FireRuby' is a 'type' but is used like a 'var
iable'
CS0118: Line 70: 'Server.Items.PerfectEmerald' is a 'type' but is used like
a 'variable'
CS0118: Line 71: 'Server.Items.Turquoise' is a 'type' but is used like a 'va
riable'
CS0118: Line 72: 'Server.Items.WhitePearl' is a 'type' but is used like a 'v
ariable'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
]

ok glad that fixed it thank you for looking at it but this fall i am going to take classes on C# so maybe that will help me later on
now it just has to do with the gem elemental i think it has to do with the gem runic tools i will attach the script
 

Attachments

  • GemElemental.cs
    3.6 KB · Views: 5

pglizerd

Sorceror
well finally got it to work and got brilliant amber runic tool off gem elemental i went to make a chest with Brilliant amber runic tool and server crashed here is the crash report
Code:
System.NullReferenceException: Object reference not set to an instance of an object.
  at Server.Items.BaseArmor.get_PhysicalResistance()
  at Server.Item.AddResistanceProperties(ObjectPropertyList list)
  at Server.Items.BaseArmor.GetProperties(ObjectPropertyList list)
  at Server.Item.get_PropertyList()
  at Server.Item.InvalidateProperties()
  at Server.Item.set_Map(Map value)
  at Server.Item.AddItem(Item item)
  at Server.Items.Container.DropItem(Item dropped)
  at Server.Items.BaseContainer.TryDropItem(Mobile from, Item dropped, Boolean sendFullMessage)
  at Server.Mobile.PlaceInBackpack(Item item)
  at Server.Mobile.AddToBackpack(Item item)
  at Server.Engines.Craft.CraftItem.CompleteCraft(Int32 quality, Boolean makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CustomCraft customCraft)
  at Server.Engines.Craft.CraftItem.InternalTimer.OnTick()
  at Server.Timer.Slice()
  at Server.Core.Main(String[] args)
 

Hammerhand

Knight
I know whats causing the error. I'm currently re-writing the system & will release it for both stock 2.3 & 2.3 w/ OWLTR.
 

pglizerd

Sorceror
Hello Oh OK Great Thank You for the update on the system looks nice cant wait to use it
think ill make some coffee while i wait to Toast Hammerhand
 
Top