diff --git a/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBFilter.cs b/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBFilter.cs index 4316616f..4a423c08 100644 --- a/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBFilter.cs +++ b/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBFilter.cs @@ -64,7 +64,7 @@ public HuntingBOBFilter( GenericReader reader ) public void Serialize( GenericWriter writer ) { - if ( IsDefault ) + if ( IsDefault || World.ServUOSave ) { writer.WriteEncodedInt( 0 ); // version } diff --git a/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBLargeEntry.cs b/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBLargeEntry.cs index fa43a40f..e1d24c13 100644 --- a/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBLargeEntry.cs +++ b/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBLargeEntry.cs @@ -92,10 +92,11 @@ public void Serialize( GenericWriter writer ) { writer.WriteEncodedInt( 0 ); // version - //writer.Write( (bool) m_RequireExceptional ); - - //writer.WriteEncodedInt( (int) m_DeedType ); - //writer.WriteEncodedInt( (int) m_Material ); + if(World.ServUOSave){ + writer.Write(false); //Require exceptional + writer.WriteEncodedInt( (int) 8 ); //Servuo hunter BODType + writer.WriteEncodedInt(0); //Material, collected points + } writer.WriteEncodedInt( (int) m_AmountMax ); writer.WriteEncodedInt( (int) m_Price ); diff --git a/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBLargeSubEntry.cs b/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBLargeSubEntry.cs index 2ccb8da0..8132b677 100644 --- a/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBLargeSubEntry.cs +++ b/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBLargeSubEntry.cs @@ -57,7 +57,8 @@ public void Serialize( GenericWriter writer ) writer.WriteEncodedInt( (int) m_AmountCur ); writer.WriteEncodedInt( (int) m_Number ); writer.WriteEncodedInt( (int) m_Graphic ); - writer.WriteEncodedInt( (int) m_Level ); + if(!World.ServUOSave) + writer.WriteEncodedInt( (int) m_Level ); } } } \ No newline at end of file diff --git a/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBSmallEntry.cs b/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBSmallEntry.cs index f6e86ccd..fd04dcd5 100644 --- a/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBSmallEntry.cs +++ b/Scripts/Engines/BulkOrders/Books/HuntBook/HuntingBOBSmallEntry.cs @@ -67,12 +67,19 @@ public void Serialize( GenericWriter writer ) writer.WriteEncodedInt( 0 ); // version writer.Write( m_ItemType == null ? null : m_ItemType.FullName ); + if (World.ServUOSave) + { + writer.Write(false); //Require exceptional + writer.WriteEncodedInt( (int) 8 ); //Servuo hunter BODType + writer.WriteEncodedInt(0); //Material, collected points + } writer.WriteEncodedInt( (int) m_AmountCur ); writer.WriteEncodedInt( (int) m_AmountMax ); writer.WriteEncodedInt( (int) m_Number ); writer.WriteEncodedInt( (int) m_Graphic ); writer.WriteEncodedInt( (int) m_Price ); - writer.WriteEncodedInt( (int) m_Level ); + if(!World.ServUOSave) + writer.WriteEncodedInt( (int) m_Level ); } } } \ No newline at end of file diff --git a/Scripts/Nelderim/Commands/ServUOSave.cs b/Scripts/Nelderim/Commands/ServUOSave.cs index 70d3ae22..7b5885e9 100644 --- a/Scripts/Nelderim/Commands/ServUOSave.cs +++ b/Scripts/Nelderim/Commands/ServUOSave.cs @@ -23,8 +23,8 @@ public static class ServUoSave private static readonly List itemsToDelete = new List { typeof(DesCityWallEast), typeof(DesCityWallSouth), typeof(PowerHourScroll), typeof(TrashBarrel), - typeof(FishingPole), typeof(RewardScroll), typeof(SheafOfHay), typeof(ArcaneFocus), typeof(SmallHunterBOD), - typeof(LargeHunterBOD), typeof(Aquarium), typeof(HuntingBulkOrderBook), typeof(ZakrwawioneBandaze), + typeof(FishingPole), typeof(RewardScroll), typeof(SheafOfHay), typeof(ArcaneFocus), + typeof(Aquarium), typeof(ZakrwawioneBandaze), typeof(GoldenWool), typeof(SiegeComponent), typeof(FieryCannonball), typeof(SiegeCannon), typeof(MageSpellbook), typeof(NecroSpellbook), typeof(ChivalrySpellbook), typeof(MaabusCoffinComponent), typeof(IronSiegeLog), typeof(ExplodingCannonball), typeof(SiegeRam), typeof(HeavySiegeLog), @@ -44,7 +44,7 @@ public static class ServUoSave typeof(ChaosGuard), typeof(XmlQuestNPCChlop), typeof(DeadlyImp), typeof(XmlQuestNPCFuglus), typeof(XmlQuestNPCPijak), typeof(EscortableMage), typeof(Noble), typeof(DrowAnimalTrainer), typeof(EvolutionDragon), typeof(EvolutionDragon2), typeof(EvolutionDragon3), typeof(EvolutionDragon4), - typeof(EvolutionDragon5), typeof(FerelTreefellow), typeof(Swoop), typeof(NBurugh) + typeof(EvolutionDragon5), typeof(FerelTreefellow), typeof(Swoop), typeof(NBurugh), typeof(StaffofSnakes) }; public static void Initialize()