Custom Identified Flag Serialize
I thought that identified system was fully working and then i removed just check on version in Deserialize of (BaseArmor-BaseWeapon)
At restart server didn't load well items, so i thought this can be usefull for any custom shard using identifying system.
Simply add inBaseArmor.cs
and same thing in BaseWeapon.cs
This is stupid fix but needed!
I thought that identified system was fully working and then i removed just check on version in Deserialize of (BaseArmor-BaseWeapon)
Code:
#region KR Italia - Requiem
if (GetSaveFlag(flags, SaveFlag.Identified))
m_Identified = (reader.ReadBool());
#endregion
At restart server didn't load well items, so i thought this can be usefull for any custom shard using identifying system.
Simply add inBaseArmor.cs
Code:
if ( GetSaveFlag( flags, SaveFlag.EnergyBonus ) )
writer.WriteEncodedInt( (int) m_EnergyBonus );
[COLOR="Red"]if (GetSaveFlag(flags, SaveFlag.Identified))
writer.Write((bool)m_Identified);[/COLOR]
if ( GetSaveFlag( flags, SaveFlag.MaxHitPoints ) )
writer.WriteEncodedInt( (int) m_MaxHitPoints );
This is stupid fix but needed!