Pet are no longer gaining skill points when you fight with them. Their skills points refuse to go up but quite happily fall on death.
RoninGT said:Not sure about the verison your running, My players say there there shrunken pets still gain skills. I am running a test myself, 2 cows boths skills set 0, One was shrunk and unshrunk, So far they are both gaining wrestling fine. Nothing else however ill run this test for a few hours and see what i get. Do you know if its just a sertain skill thats not gaining or all skills? Also one of my tamers just told me his mare was killed alot and lost alot of skills, he has been fighting in doom for the past few nights and tells me his mares skills are all back at 100 besidnes anatomy and poisoning. So not sure any more info you can supply would be great. Ill conutine to test on differant types of pets
Ronin
RoninGT said:Ok bro download pack 1 again and see those docs, Sorry about that i no longer use Evo dragons, or Dna dragons on my server and sometimes failed to remember to update those readmes. Thanks again for the head ups.
Ronin
#-----[ OPEN ]-----------------------------------------
#
PotionKeg.cs
#
#-----[ FIND ]-----------------------------------------
#
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch ( version )
{
case 0:
{
m_Type = (PotionEffect)reader.ReadInt();
m_Held = reader.ReadInt();
break;
}
}
}
#
#-----[ ADD, AFTER ]-----------------------------------
#
public override void AddNameProperty(ObjectPropertyList list)
{
if ( m_Held > 0 )
{
if ( m_Type == PotionEffect.PetResurrect )
{
list.Add( "a keg of pet resurrection potions" );
}
else if ( m_Type == PotionEffect.PetShrink )
{
list.Add( "a keg of shrink potions" );
}
else if ( m_Type == PotionEffect.PetHeal )
{
list.Add( "a keg of pet heal potions" );
}
else if ( m_Type == PotionEffect.PetGreaterHeal )
{
list.Add( "a keg of pet greater heal potions" );
}
else if ( m_Type == PotionEffect.PetCure )
{
list.Add( "a keg of pet cure potions" );
}
else if ( m_Type == PotionEffect.PetGreaterCure )
{
list.Add( "a keg of pet greater cure potions" );
}
else
{
list.Add( 1041620 + (int)m_Type );
}
}
else
{
list.Add( "an empty potion keg" );
}
}
#
Find:
public BasePotion FillBottle()
{
switch ( m_Type )
{
And make it looks like (Im only using the shrink potion, so....):
public BasePotion FillBottle()
{
switch ( m_Type )
{
default:
case PotionEffect.Nightsight: return new NightSightPotion();
case PotionEffect.CureLesser: return new LesserCurePotion();
case PotionEffect.Cure: return new CurePotion();
case PotionEffect.CureGreater: return new GreaterCurePotion();
case PotionEffect.Agility: return new AgilityPotion();
case PotionEffect.AgilityGreater: return new GreaterAgilityPotion();
case PotionEffect.Strength: return new StrengthPotion();
case PotionEffect.StrengthGreater: return new GreaterStrengthPotion();
case PotionEffect.PoisonLesser: return new LesserPoisonPotion();
case PotionEffect.Poison: return new PoisonPotion();
case PotionEffect.PoisonGreater: return new GreaterPoisonPotion();
case PotionEffect.PoisonDeadly: return new DeadlyPoisonPotion();
case PotionEffect.Refresh: return new RefreshPotion();
case PotionEffect.RefreshTotal: return new TotalRefreshPotion();
case PotionEffect.HealLesser: return new LesserHealPotion();
case PotionEffect.Heal: return new HealPotion();
case PotionEffect.HealGreater: return new GreaterHealPotion();
case PotionEffect.ExplosionLesser: return new LesserExplosionPotion();
case PotionEffect.Explosion: return new ExplosionPotion();
case PotionEffect.ExplosionGreater: return new GreaterExplosionPotion();
case PotionEffect.PetShrink: return new PetShrinkPotion();
}
}
#
#-----[ OPEN ]-----------------------------------------
#
PotionKeg.cs
#
#-----[ FIND ]-----------------------------------------
#
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch ( version )
{
case 0:
{
m_Type = (PotionEffect)reader.ReadInt();
m_Held = reader.ReadInt();
break;
}
}
}
#
#-----[ ADD, AFTER ]-----------------------------------
#
public override void AddNameProperty(ObjectPropertyList list)
{
if ( m_Held > 0 )
{
if ( m_Type == PotionEffect.PetResurrect )
{
list.Add( "a keg of pet resurrection potions" );
}
else if ( m_Type == PotionEffect.PetShrink )
{
list.Add( "a keg of shrink potions" );
}
else if ( m_Type == PotionEffect.PetHeal )
{
list.Add( "a keg of pet heal potions" );
}
else if ( m_Type == PotionEffect.PetGreaterHeal )
{
list.Add( "a keg of pet greater heal potions" );
}
else if ( m_Type == PotionEffect.PetCure )
{
list.Add( "a keg of pet cure potions" );
}
else if ( m_Type == PotionEffect.PetGreaterCure )
{
list.Add( "a keg of pet greater cure potions" );
}
else
{
list.Add( 1041620 + (int)m_Type );
}
}
else
{
list.Add( "an empty potion keg" );
}
}
#
#-----[ FIND ]-----------------------------------------
#
public override int LabelNumber{ get{ return (m_Held > 0 ? 1041620 + (int)m_Type : 1041641); } }
#
#-----[ REPLACE WITH ]-----------------------------------
#
//public override int LabelNumber{ get{ return (m_Held > 0 ? 1041620 + (int)m_Type : 1041641); } }
#
#-----[ FIND ]-----------------------------------------
#
case PotionEffect.ExplosionGreater: return new GreaterExplosionPotion();
#
#-----[ ADD, AFTER ]-----------------------------------
#
case PotionEffect.PetResurrect: return new PetResurrectPotion();
case PotionEffect.PetShrink: return new PetShrinkPotion();
case PotionEffect.PetHeal: return new HealPotionPet();
case PotionEffect.PetGreaterHeal: return new GreaterHealPotionPet();
case PotionEffect.PetCure: return new CurePotionPet();
case PotionEffect.PetGreaterCure: return new GreaterCurePotionPet();
You didn't updated playermobile.cs right.salvation said:RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.net scripts...no files found.
Scripts: Verifying...done (2175 items, 535 mobiles)
World: Loading...An error was encountered while loading a saved object
- Type: Server.Mobiles.PlayerMobile
- Serial: 0x000189C3
Delete the object? (y/n)
n
After pressing return an exception will be thrown and the server will terminate
I got this weird error when installing the new version. Anyone know what is causing it?RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (1 errors, 69 warnings)
- Warning: Scripts\Customs\Special Systems\Nerun's Spawning System v4.0\Samurai
Empire\Mobiles\SE Monsters\YomotsuElder.cs: CS0162: (line 15, column 19) Unreac
hable code detected
- Error: : CS0246: (line 0, column 0) The type or namespace name 'BioCreature'
could not be found (are you missing a using directive or an assembly reference?)