Actually, there is an extra } around line 243
Code:
                    //daat99 OWLTR start - custom wood
                    else if (m_Material >= BulkMaterialType.OakWood && m_Material <= BulkMaterialType.Petrified && small.Material != m_Material)
                    {
                        from.SendMessage("Both orders must use the same wood type."); // Both orders must use the same leather type.
                    }
                    //daat99 OWLTR end - custom wood
                   } << extra
Just remove that & you should be fine. Its one I missed before I released it.
After remove it :
Errors:
+ Custom/Custom Systems/OWLTR 4.0 for ServUO/Modified/Mobiles/BaseCreature.cs:
CS0246: Line 195: 找不到類型或命名空間名稱 'IHonorTarget' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 1460: 找不到類型或命名空間名稱 'HonorContext' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 1462: 找不到類型或命名空間名稱 'HonorContext' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Systems/OWLTR 4.0 for ServUO/Modified/Mobiles/PlayerMobile.cs:
CS0234: Line 16: 命名空間 'Server.Engines' 中沒有類型或命名空間名稱 'ConPVP' (您是否遺漏了組件參考?)
CS0234: Line 19: 命名空間 'Server.Engines' 中沒有類型或命名空間名稱 'MyRunUO' (您是否遺漏了組件參考?)
CS0246: Line 108: 找不到類型或命名空間名稱 'IHonorTarget' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 4535: 找不到類型或命名空間名稱 'DuelContext' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 4536: 找不到類型或命名空間名稱 'DuelPlayer' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 4538: 找不到類型或命名空間名稱 'DuelContext' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 4540: 找不到類型或命名空間名稱 'DuelPlayer' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 5028: 找不到類型或命名空間名稱 'HonorContext' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 5029: 找不到類型或命名空間名稱 'HonorContext' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 5038: 找不到類型或命名空間名稱 'HonorContext' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 5039: 找不到類型或命名空間名稱 'HonorContext' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Items/Decorative/Halloween 2009/Harbinger.cs:
CS0246: Line 101: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Monsters and Bosses/Normal/Orcs/Mobiles/NewOrcCaptain.cs:
CS0246: Line 123: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Monsters and Bosses/Normal/Orcs/Mobiles/NewOrcScout.cs:
CS0246: Line 102: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Monsters and Bosses/Normal/Orcs/Mobiles/OrcGrunt.cs:
CS0246: Line 98: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Monsters and Bosses/Normal/Orcs/Mobiles/OrcLord.cs:
CS0246: Line 124: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Monsters and Bosses/Normal/Orcs/Mobiles/OrcMage.cs:
CS0246: Line 100: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Monsters and Bosses/Normal/Orcs/Mobiles/OrcRaider.cs:
CS0246: Line 122: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Monsters and Bosses/Normal/Orcs/Mobiles/OrcShaman.cs:
CS0246: Line 103: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Monsters and Bosses/Normal/Orcs/Mobiles/Worg.cs:
CS0246: Line 125: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Monsters and Bosses/Normal/Orcs/Mobiles/WorgRider.cs:
CS0246: Line 126: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Systems/OWLTR 4.0 for ServUO/MasterStorage/MasterStorage.cs:
CS0246: Line 1461: 找不到類型或命名空間名稱 'InstrumentQuality' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 1462: 找不到類型或命名空間名稱 'InstrumentQuality' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 1470: 找不到類型或命名空間名稱 'InstrumentQuality' (您是否遺漏 using 指示詞或組件參考?)
+ Custom/Custom Systems/OWLTR 4.0 for ServUO/Modified/Items/Base Classes/BaseWeapon.cs:
CS0246: Line 92: 找不到類型或命名空間名稱 'WeaponQuality' (您是否遺漏 using 指示詞或組件參考?)
CS0246: Line 345: 找不到類型或命名空間名稱 'WeaponQuality' (您是否遺漏 using 指示詞或組件參考?)
+ Items/Decorative/Fur.cs:
CS0246: Line 16: 找不到類型或命名空間名稱 'FurType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Bosses/LordOaks.cs:
CS0246: Line 140: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Bosses/Silvani.cs:
CS0246: Line 50: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Named/ShadowKnight.cs:
CS0246: Line 85: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/AncientLich.cs:
CS0246: Line 56: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Bogle.cs:
CS0246: Line 59: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/BoneKnight.cs:
CS0246: Line 82: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/BoneMagi.cs:
CS0246: Line 59: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Centaur.cs:
CS0246: Line 52: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/EtherealWarrior.cs:
CS0246: Line 68: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Ghoul.cs:
CS0246: Line 62: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/GrayGoblin.cs:
CS0246: Line 102: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/GrayGoblinKeeper.cs:
CS0246: Line 102: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/GrayGoblinMage.cs:
CS0246: Line 104: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/GreenGoblin.cs:
CS0246: Line 100: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/GreenGoblinAlchemist.cs:
CS0246: Line 101: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/GreenGoblinScout.cs:
CS0246: Line 59: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/HighPlainsBoura.cs:
CS0246: Line 77: 找不到類型或命名空間名稱 'FurType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Kepetch.cs:
CS0246: Line 59: 找不到類型或命名空間名稱 'FurType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/KepetchAmbusher.cs:
CS0246: Line 117: 找不到類型或命名空間名稱 'FurType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Kirin.cs:
CS0246: Line 90: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Lich.cs:
CS0246: Line 68: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/LichLord.cs:
CS0246: Line 66: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/LowlandBoura.cs:
CS0246: Line 60: 找不到類型或命名空間名稱 'FurType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Mummy.cs:
CS0246: Line 70: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OphidianArchmage.cs:
CS0246: Line 67: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OphidianKnight.cs:
CS0246: Line 87: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OphidianMage.cs:
CS0246: Line 79: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OphidianMatriarch.cs:
CS0246: Line 65: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OphidianWarrior.cs:
CS0246: Line 68: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Orc.cs:
CS0246: Line 121: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OrcBomber.cs:
CS0246: Line 81: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OrcBrute.cs:
CS0246: Line 85: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OrcCaptain.cs:
CS0246: Line 114: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OrcChopper.cs:
CS0246: Line 111: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OrcishLord.cs:
CS0246: Line 107: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OrcishMage.cs:
CS0246: Line 93: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/OrcScout.cs:
CS0246: Line 81: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Pixie.cs:
CS0246: Line 82: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/RottingCorpse.cs:
CS0246: Line 82: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/RuddyBoura.cs:
CS0246: Line 76: 找不到類型或命名空間名稱 'FurType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Satyr.cs:
CS0246: Line 54: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Savage.cs:
CS0246: Line 82: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/SavageRider.cs:
CS0246: Line 76: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/SavageShaman.cs:
CS0246: Line 70: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Shade.cs:
CS0246: Line 60: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/SkeletalDragon.cs:
CS0246: Line 65: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/SkeletalDrake.cs:
CS0246: Line 61: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/SkeletalKnight.cs:
CS0246: Line 82: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/SkeletalMage.cs:
CS0246: Line 58: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Skeleton.cs:
CS0246: Line 82: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Spectre.cs:
CS0246: Line 60: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/TerathanAvenger.cs:
CS0246: Line 81: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/TerathanDrone.cs:
CS0246: Line 60: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/TerathanMatriarch.cs:
CS0246: Line 59: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/TerathanWarrior.cs:
CS0246: Line 67: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Treefellow.cs:
CS0246: Line 49: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Unicorn.cs:
CS0246: Line 89: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Wisp.cs:
CS0246: Line 87: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Wraith.cs:
CS0246: Line 60: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Mobiles/Normal/Zombie.cs:
CS0246: Line 63: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Services/Revamped Dungeons/KhaldunDungeon/Creatures/SkelementalKnight.cs:
CS0246: Line 124: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
+ Services/Revamped Dungeons/KhaldunDungeon/Creatures/SkelementalMage.cs:
CS0246: Line 98: 找不到類型或命名空間名稱 'TribeType' (您是否遺漏 using 指示詞或組件參考?)
Scripts: One or more scripts failed to compile or no script files were found.
 
Those errors have nothing to do with removing the extra } from when the system was first published. The errors you are getting are due to either a compatibility issue between your current ServUO version and this system, or due to a failure to merge the files correctly. Possibly a combination of those things.
 
I wanna say it has to do with the owltr alone I had to make changes to make it work on 57 itself it was pubish on 54 and the code has changed drastically and im almost 100 percent sure it won't work on 58 after the Era stuff was removed.
Post automatically merged:

Most definitely needs a rewrite IMHO
 
Those errors have nothing to do with removing the extra } from when the system was first published. The errors you are getting are due to either a compatibility issue between your current ServUO version and this system, or due to a failure to merge the files correctly. Possibly a combination of those things.
Ok , thank you .
 
SO been a LONG time since I've even touched UO but once again the game is pulling my strings and I'm eager to get back into things. So with that being said, does anyone have a merged copy of Pub 57 with this working? If not I can always download an older Pub to play around with it, I just know from the brief reading there has been quite a few changes since then.
 
Good to heard that .
And I have another issue : May I have a fault result , if I use AMD CPU to compiling the source code ? thanks .
 
So has anyone played with the Runic Fletchers tools yet? I have not tested all Runic Tools but you can take normal boards put them in your pack select lets say petrified as the crafting resource and it will craft the petrified version of the item but will consume normal wood and doesn't even look for petrified wood, it also doesn't "see" it.
 
I have this system completely working.. waiting for my bur to send back my copy of 57 so I can update sine bug and post it in the forms
 
OK been a long time coming hopefully posting this again will get more attention and development in the future im no scripter or coder this was all trial and error with help of others along the way! Since I cannot make my own thread im blowing this up AGAIN.

Publish 57 with OWLTR 4.0 and a few other additions.

- Level System3 (pet stuff is shut off was having issues with special attacks from pets AOE EVERYTHING. ALSO dont need two level systems in play).
- FS ATS Gen2(Pet levels and breeding with Bio Pets)
- Vita-Nex. (unknown version)

Below is a crash log regarding use of random veins with OWLTR, AS LONG AS YOU LEAVE RANDOM VEINS OFF THE SYSTEM WILL OPERATE JUST FINE. Once you turn it on after a few resource gains or possibly instant it will crash.


System.ArgumentNullException: Key cannot be null.
Parameter name: key
at System.Collections.Hashtable.get_Item(Object key)
at Server.Items.CraftResources.GetFromType(Type resourceType) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Misc\ResourceInfo.cs:line 1036
at Server.Engines.Harvest.Lumberjacking.OnHarvestFinished(Mobile from, Item tool, HarvestDefinition def, HarvestVein vein, HarvestBank bank, HarvestResource resource, Object harvested, Type type) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\Lumberjacking.cs:line 53
at Server.Engines.Harvest.HarvestSystem.FinishHarvesting(Mobile from, Item tool, HarvestDefinition def, Object toHarvest, Object locked) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\HarvestSystem.cs:line 363
at Server.Engines.Harvest.HarvestSoundTimer.OnTick() in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\Core\HarvestSoundTimer.cs:line 31
at Server.Timer.Slice() in D:\DoomsDayUpdateFinal - Copy (2)\Server\Timer.cs:line 409
at Server.Core.Main(String[] args) in D:\DoomsDayUpdateFinal - Copy (2)\Server\Main.cs:line 673
 
OK been a long time coming hopefully posting this again will get more attention and development in the future im no scripter or coder this was all trial and error with help of others along the way! Since I cannot make my own thread im blowing this up AGAIN.

Publish 57 with OWLTR 4.0 and a few other additions.

- Level System3 (pet stuff is shut off was having issues with special attacks from pets AOE EVERYTHING. ALSO dont need two level systems in play).
- FS ATS Gen2(Pet levels and breeding with Bio Pets)
- Vita-Nex. (unknown version)

Below is a crash log regarding use of random veins with OWLTR, AS LONG AS YOU LEAVE RANDOM VEINS OFF THE SYSTEM WILL OPERATE JUST FINE. Once you turn it on after a few resource gains or possibly instant it will crash.


System.ArgumentNullException: Key cannot be null.
Parameter name: key
at System.Collections.Hashtable.get_Item(Object key)
at Server.Items.CraftResources.GetFromType(Type resourceType) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Misc\ResourceInfo.cs:line 1036
at Server.Engines.Harvest.Lumberjacking.OnHarvestFinished(Mobile from, Item tool, HarvestDefinition def, HarvestVein vein, HarvestBank bank, HarvestResource resource, Object harvested, Type type) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\Lumberjacking.cs:line 53
at Server.Engines.Harvest.HarvestSystem.FinishHarvesting(Mobile from, Item tool, HarvestDefinition def, Object toHarvest, Object locked) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\HarvestSystem.cs:line 363
at Server.Engines.Harvest.HarvestSoundTimer.OnTick() in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\Core\HarvestSoundTimer.cs:line 31
at Server.Timer.Slice() in D:\DoomsDayUpdateFinal - Copy (2)\Server\Timer.cs:line 409
at Server.Core.Main(String[] args) in D:\DoomsDayUpdateFinal - Copy (2)\Server\Main.cs:line 673
Thank you , and I will try it .
 
OK been a long time coming hopefully posting this again will get more attention and development in the future im no scripter or coder this was all trial and error with help of others along the way! Since I cannot make my own thread im blowing this up AGAIN.

Publish 57 with OWLTR 4.0 and a few other additions.

- Level System3 (pet stuff is shut off was having issues with special attacks from pets AOE EVERYTHING. ALSO dont need two level systems in play).
- FS ATS Gen2(Pet levels and breeding with Bio Pets)
- Vita-Nex. (unknown version)

Below is a crash log regarding use of random veins with OWLTR, AS LONG AS YOU LEAVE RANDOM VEINS OFF THE SYSTEM WILL OPERATE JUST FINE. Once you turn it on after a few resource gains or possibly instant it will crash.


System.ArgumentNullException: Key cannot be null.
Parameter name: key
at System.Collections.Hashtable.get_Item(Object key)
at Server.Items.CraftResources.GetFromType(Type resourceType) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Misc\ResourceInfo.cs:line 1036
at Server.Engines.Harvest.Lumberjacking.OnHarvestFinished(Mobile from, Item tool, HarvestDefinition def, HarvestVein vein, HarvestBank bank, HarvestResource resource, Object harvested, Type type) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\Lumberjacking.cs:line 53
at Server.Engines.Harvest.HarvestSystem.FinishHarvesting(Mobile from, Item tool, HarvestDefinition def, Object toHarvest, Object locked) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\HarvestSystem.cs:line 363
at Server.Engines.Harvest.HarvestSoundTimer.OnTick() in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\Core\HarvestSoundTimer.cs:line 31
at Server.Timer.Slice() in D:\DoomsDayUpdateFinal - Copy (2)\Server\Timer.cs:line 409
at Server.Core.Main(String[] args) in D:\DoomsDayUpdateFinal - Copy (2)\Server\Main.cs:line 673
Was anyone able to figure out this crash, through all my testing I haven't had it happen until just now.

Interestingly enough it also happened when Lumberjacking, mining seemed to work just fine with no issues.
 
Last edited:
OK been a long time coming hopefully posting this again will get more attention and development in the future im no scripter or coder this was all trial and error with help of others along the way! Since I cannot make my own thread im blowing this up AGAIN.

Publish 57 with OWLTR 4.0 and a few other additions.

- Level System3 (pet stuff is shut off was having issues with special attacks from pets AOE EVERYTHING. ALSO dont need two level systems in play).
- FS ATS Gen2(Pet levels and breeding with Bio Pets)
- Vita-Nex. (unknown version)

Below is a crash log regarding use of random veins with OWLTR, AS LONG AS YOU LEAVE RANDOM VEINS OFF THE SYSTEM WILL OPERATE JUST FINE. Once you turn it on after a few resource gains or possibly instant it will crash.


System.ArgumentNullException: Key cannot be null.
Parameter name: key
at System.Collections.Hashtable.get_Item(Object key)
at Server.Items.CraftResources.GetFromType(Type resourceType) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Misc\ResourceInfo.cs:line 1036
at Server.Engines.Harvest.Lumberjacking.OnHarvestFinished(Mobile from, Item tool, HarvestDefinition def, HarvestVein vein, HarvestBank bank, HarvestResource resource, Object harvested, Type type) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\Lumberjacking.cs:line 53
at Server.Engines.Harvest.HarvestSystem.FinishHarvesting(Mobile from, Item tool, HarvestDefinition def, Object toHarvest, Object locked) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\HarvestSystem.cs:line 363
at Server.Engines.Harvest.HarvestSoundTimer.OnTick() in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\Core\HarvestSoundTimer.cs:line 31
at Server.Timer.Slice() in D:\DoomsDayUpdateFinal - Copy (2)\Server\Timer.cs:line 409
at Server.Core.Main(String[] args) in D:\DoomsDayUpdateFinal - Copy (2)\Server\Main.cs:line 673

does anyone have a version of this that works with ServUO pub57?
The version Doom posted is for and does work with Pub57, the crash I now have a fix for after some troubleshooting and experimentation. I do not know if this is a permanent fix but from all the testing I've done it has not crashed since.

To fix the crash change the OnHavestFinished method in Lumberjacking.cs to:
C#:
public override void OnHarvestFinished(Mobile from, Item tool, HarvestDefinition def, HarvestVein vein, HarvestBank bank, HarvestResource resource, object harvested, Type type)
{
    if (tool is GargoylesAxe && 0.1 >= Utility.RandomDouble())
    {
        HarvestResource res = vein.PrimaryResource;

        Map map = from.Map;
        if (map == null)
            return;
        BaseCreature spawned = null;

        int i_Level = 0;

        if (res == resource)
        {
            try
            {
                i_Level = CraftResources.GetIndex(CraftResources.GetFromType(type)) + 301;
                i_Level = Array.IndexOf(def.Veins, vein) + 301;
            }
            catch { }
        }

        if (i_Level > 300 && OWLTROptionsManager.IsEnabled(OWLTROptionsManager.OPTIONS_ENUM.HARVEST_GIVE_TOKENS))
            TokenSystem.GiveTokensToPlayer(from as PlayerMobile, (i_Level - 300) * 10);

        if (i_Level > 301)
            spawned = new Elementals(i_Level);
        else
            spawned = null;

        try
        {
            if (spawned != null)
            {
                int offset = Utility.Random(8) * 2;

                for (int i = 0; i < m_Offsets.Length; i += 2)
                {
                    int x = from.X + m_Offsets[(offset + i) % m_Offsets.Length];
                    int y = from.Y + m_Offsets[(offset + i + 1) % m_Offsets.Length];

                    if (map.CanSpawnMobile(x, y, from.Z))
                    {
                        spawned.MoveToWorld(new Point3D(x, y, from.Z), map);
                        spawned.Combatant = from;
                        return;
                    }
                    else
                    {
                        int z = map.GetAverageZ(x, y);

                        if (map.CanSpawnMobile(x, y, z))
                        {
                            spawned.MoveToWorld(new Point3D(x, y, z), map);
                            spawned.Combatant = from;
                            return;
                        }
                    }
                }
                spawned.MoveToWorld(from.Location, from.Map);
                spawned.Combatant = from;
            }
        }
        catch
        {
        }
    }
}
 
OK been a long time coming hopefully posting this again will get more attention and development in the future im no scripter or coder this was all trial and error with help of others along the way! Since I cannot make my own thread im blowing this up AGAIN.

Publish 57 with OWLTR 4.0 and a few other additions.

- Level System3 (pet stuff is shut off was having issues with special attacks from pets AOE EVERYTHING. ALSO dont need two level systems in play).
- FS ATS Gen2(Pet levels and breeding with Bio Pets)
- Vita-Nex. (unknown version)

Below is a crash log regarding use of random veins with OWLTR, AS LONG AS YOU LEAVE RANDOM VEINS OFF THE SYSTEM WILL OPERATE JUST FINE. Once you turn it on after a few resource gains or possibly instant it will crash.


System.ArgumentNullException: Key cannot be null.
Parameter name: key
at System.Collections.Hashtable.get_Item(Object key)
at Server.Items.CraftResources.GetFromType(Type resourceType) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Misc\ResourceInfo.cs:line 1036
at Server.Engines.Harvest.Lumberjacking.OnHarvestFinished(Mobile from, Item tool, HarvestDefinition def, HarvestVein vein, HarvestBank bank, HarvestResource resource, Object harvested, Type type) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\Lumberjacking.cs:line 53
at Server.Engines.Harvest.HarvestSystem.FinishHarvesting(Mobile from, Item tool, HarvestDefinition def, Object toHarvest, Object locked) in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\HarvestSystem.cs:line 363
at Server.Engines.Harvest.HarvestSoundTimer.OnTick() in D:\DoomsDayUpdateFinal - Copy (2)\Scripts\Services\Harvest\Core\HarvestSoundTimer.cs:line 31
at Server.Timer.Slice() in D:\DoomsDayUpdateFinal - Copy (2)\Server\Timer.cs:line 409
at Server.Core.Main(String[] args) in D:\DoomsDayUpdateFinal - Copy (2)\Server\Main.cs:line 673
Hi,

The link doesn't work anymore :(
 
Hi,

The link doesn't work anymore :(
Sorry for the late response, here is a new link that will be up probably forever haha

I do however have another few questions, it looks like on character creation the player is assigned some random recipes if enabled, is that correct? second, is there a way to choose which recipes they spawn with or perhaps add said recipe to their bag so they can learn it? I have buying/selling from NPCs very limited so you really have to craft and mine everything to get started lol.. would make it a little easier to start with at least the basic tool recipes.
 
Sorry for the late response, here is a new link that will be up probably forever haha

I do however have another few questions, it looks like on character creation the player is assigned some random recipes if enabled, is that correct? second, is there a way to choose which recipes they spawn with or perhaps add said recipe to their bag so they can learn it? I have buying/selling from NPCs very limited so you really have to craft and mine everything to get started lol.. would make it a little easier to start with at least the basic tool recipes.
Thank you, I've registered at your site :) waiting for approval hehe.

About the recipes, you should be able to make recipes of your choice pack items for different classes in the charactercreation.cs file not sure about the random recipes being added, I'm at work and can't view the scripts.
 
Apparently I had it set for admin approval, it's turned off now and your accounts are active.

Thank you, I've registered at your site :) waiting for approval hehe.

About the recipes, you should be able to make recipes of your choice pack items for different classes in the charactercreation.cs file not sure about the random recipes being added, I'm at work and can't view the scripts.
I decided to start them with a bag of basic tools.
 
Last edited:
Thanks! I got the file, I have a slightly newer build than yours, I already have players on my shard. I got a couple of error, Any idea?
Scripts: Compiling C# scripts...Failed with: 3 errors, 4 warnings
Warnings:
+ Custom/OWLTR/New/BodRewards/Colored Scissors.cs:
CS0108: Line 22: 'ColoredScissors.UsesRemaining' hides inherited member 'Scissors.UsesRemaining'. Use the new keyword if hiding was intended.
CS0108: Line 25: 'ColoredScissors.ShowUsesRemaining' hides inherited member 'Scissors.ShowUsesRemaining'. Use the new keyword if hiding was intended.
+ Custom/OWLTR/New/BodRewards/Gargoyles Knife.cs:
CS0108: Line 41: 'GargoylesKnife.UsesRemaining' hides inherited member 'BaseWeapon.UsesRemaining'. Use the new keyword if hiding was intended.
CS0108: Line 48: 'GargoylesKnife.ShowUsesRemaining' hides inherited member 'BaseWeapon.ShowUsesRemaining'. Use the new keyword if hiding was intended.
+ Custom/OWLTR/New/BodRewards/Masters Knife.cs:
CS0108: Line 41: 'MastersKnife.UsesRemaining' hides inherited member 'BaseWeapon.UsesRemaining'. Use the new keyword if hiding was intended.
CS0108: Line 48: 'MastersKnife.ShowUsesRemaining' hides inherited member 'BaseWeapon.ShowUsesRemaining'. Use the new keyword if hiding was intended.
+ Custom/OWLTR/New/BodRewards/Tailors Protector.cs:
CS0108: Line 37: 'TailorsProtector.UsesRemaining' hides inherited member 'BaseWeapon.UsesRemaining'. Use the new keyword if hiding was intended.
CS0108: Line 42: 'TailorsProtector.ShowUsesRemaining' hides inherited member 'BaseWeapon.ShowUsesRemaining'. Use the new keyword if hiding was intended.
Errors:
+ Custom/OWLTR/New/RunicFletchersTools.cs:
CS0115: Line 88: 'RunicFletcherTools.GetCraftableType()': no suitable method found to override
+ Custom/OWLTR/New/RunicTinkerTools.cs:
CS0115: Line 63: 'RunicTinkerTools.GetCraftableType()': no suitable method found to override
+ Custom/OWLTR/New/Mule.cs:
CS0115: Line 80: 'Mule.OnBeforeTame()': no suitable method found to override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 
Back