Shazzy

Member
I made the tamable tigers, they have a light and darker body(see attached) and I have them in the shrink/cfg table and the bodtdef.cfg/
But when I shrink the tigers they are just that annoying yellow gem. You can see what the shrunk tiger should look like with the item in my pack. The rarr file has the tiger mount and the fur, etc. files I use with him.
What am I missing????
Appreciate the assistance!

Shazzy

Code:
1254 0x9844 # tiger
1255 0x9844 # tiger darker
1069 0x3FFD # ancient hellhound
Code:
1254    Animal      # Tiger
1255    Animal      # Tiger Darker

non shrinkning tiger.jpg
 

Attachments

  • Tigers.rar
    7 KB · Views: 9
Oh and my ethereal tiger shrinks fine!
Code:
public class EtherealTiger : EtherealMount
   {
     public override int Hue { get { return 0; } }
     public override int LabelNumber { get { return 1154589; } } // Ethereal Tiger Statuette
     
     [Constructable]
     public EtherealTiger() : base(  0x9844, 16071 )
     {
     }

     //public override int EtherealHue { get { return 0; } }

     public EtherealTiger( Serial serial )
       : base( serial )
     {
     }
     
     public override bool Validate( Mobile from )
     {
       #region Mondain's Legacy
       if ( from.NetState != null && !from.NetState.SupportsExpansion( Expansion.ML ) )
       {
         from.SendLocalizedMessage( 1072791 ); // You must upgrade to Mondain's Legacy in order to use that item.         
         return false;
       }
       #endregion
       
       return base.Validate( from );
     }

     public override void GetProperties( ObjectPropertyList list )
     {
       base.GetProperties( list );
       
       #region Mondain's Legacy
       list.Add( 1075085 ); // Requirement: Mondain's Legacy     
       #endregion
     }

     public override void Serialize( GenericWriter writer )
     {
       base.Serialize( writer );

       writer.Write( (int)0 ); // version
     }

     public override void Deserialize( GenericReader reader )
     {
       base.Deserialize( reader );

       int version = reader.ReadInt();

       if( Name == "Ethereal Tiger" )
         Name = null;
     }
   }
 
Try adding them to the Shrink file itself. Thats the Shrink Table that ShrinkItem.cs draws from if I'm not mistaken. Its for converting body values to item numbers. :)

*Edit* Nevermind... same file. (I need sleep again)
 
I don't get because this usually always works, unless the new mobiles need something else added some where :)
 
The hex number (0x****) should match the hex number for the tiger item in the shrink.cfg. ie: The Eagle is body 5 w/ hex number of 0x211D or Item ID # of 8477 So if the 0x9844 isnt the hex for the tiger item, it wouldnt work & just show the default gem.
 
Think I got ya on that, I have to use the hex in the tigermount script that is also in the shrink table so they are recognized - not a item number and the other a 0x number :]....I think!
Will test er out thanks guys!
 
Well I believe the issue is the fact that in the UO game folder the body # is not identified, hence there is a tiger ethereal(that shrinks) but no actual real live tiger that shrinks.
Does that sound correct?
 
This could be the reason :) I even created an item script for the tiger statue just to test if that helped, nope :)
 
@Shazzy
Went into shrink and added the 2nd number-because when I did a shrink on a white tiger it went to the statue correct
Now they all shrink normal

1254 0x9844
1255 0x9844
TigerSS3.JPG
TigerSS2.JPG

For the RidableAncient Hellhound add this in shrink
1069 0x3FFD
 
Last edited:
mine are still gems, can you post your script compared to mine?
I even made them separate and still does not work.
Code:
using System;
using Server.Mobiles;
using Server.Items;

namespace Server.Mobiles
{
   [CorpseName( "a tiger corpse" )]
   public class TigerMount : BaseMount
   {
    
     [Constructable]
     public TigerMount() : this( "a tiger" )
     {
     }

     [Constructable]
     public TigerMount( string name ) : base( name, 0x4E6, 0x3EC7, AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
     {
       Name = "a tiger";

  switch (Utility.Random(2))
  {
  case 0:
  {
  BodyValue = 1254;
  ItemID = 16071; //male
  break;
  }
  case 1:
  {
  BodyValue = 1255;
  ItemID = 16072; //female
  break;
  }

  }
       SetStr( 88, 125 );
      SetDex( 78, 83 );
      SetInt( 58, 68 );
    
      SetHits( 99, 110 );
      SetMana( 58 );
      SetDamage( 18, 25 );

     SetDamageType( ResistanceType.Physical, 100 );

     SetResistance( ResistanceType.Physical, 60, 75 );
       SetResistance( ResistanceType.Fire, 50, 60 );
       SetResistance( ResistanceType.Cold, 10, 30 );
       SetResistance( ResistanceType.Poison, 40, 50 );
       SetResistance( ResistanceType.Energy, 20, 25 );

       SetSkill( SkillName.MagicResist, 75.1, 80.0 );
       SetSkill( SkillName.Tactics, 79.3, 94.0 );
       SetSkill( SkillName.Wrestling, 79.3, 94.0 );
      
       Fame = 550;
       Karma = -550;
      
       Tamable = true;
       ControlSlots = 1;

       MinTameSkill = 69.1;

      
     }
    
     public override int Meat{ get{ return 1; } }
     public override int Hides{ get{ return 10; } }
     public override FoodType FavoriteFood{ get{ return FoodType.Meat | FoodType.Fish; } }
     public override PackInstinct PackInstinct{ get{ return PackInstinct.Feline; } }

     public override void GenerateLoot()
  {
  this.AddLoot(LootPack.AosRich, 3 );
  }
  public override void OnDeath(Container c)
  {
  base.OnDeath(c);

  if (Utility.RandomDouble() < 0.1)
  c.DropItem(new TigerFur());
  }

     public override WeaponAbility GetWeaponAbility()
  {
  return WeaponAbility.BleedAttack;
  }
    
     public override bool CanAngerOnTame
  {
  get
  {
  return true;
  }
  }

  public override bool BleedImmune
  {
  get
  {
  return true;
  }
  }

  public override Poison PoisonImmune
  {
  get
  {
  return Poison.Greater;
  }
  }
    
     public override int GetAngerSound()
     {
  return 0x518;
     }

     public override int GetIdleSound()
     {
  return 0x517;
     }

     public override int GetAttackSound()
     {
  return 0x516;
     }

     public override int GetHurtSound()
     {
  return 0x519;
     }

  public override int GetDeathSound()
     {
  return 0x515;
     }

  public TigerMount(Serial serial): base(serial)
     {
     }

  public override void Serialize(GenericWriter writer)
     {
  base.Serialize(writer);
  writer.Write((int)0); // version
  }

  public override void Deserialize(GenericReader reader)
  {
  base.Deserialize(reader);
       int version = reader.ReadInt();
     }
   }
}
This was my original and it still gets gems on shrink with exactly what you have in your shrink file :(tiger gem.jpg
 
nope doesnt work even on his tiger script, now that is just crazy! I still get a gem and I have the shrink table in!!!
Ancient Hellhound is a gem also, so WTF!
 
Very odd, have you also created an item statue script for the tiger? This would be my only difference, since I created one for the tiger and the ridable hellhound.
 
like a statuette?
edit - no that did not help....this is really buggin the crap out of me!
 
Last edited:
Right with the number which you added in shrink- also I'm sure you used tab and not space in the shrink with the numbers?
I created the statuette for the tiger and the ridable hellhound, put them in the custom folder, just in case this was the problem. I'm using Xantos shrink, but don't think this would make a difference.
 
Yep.....Im gonna take an old shrink.cfg and add them and try that file. Everything else shrinks just fine ! Ill try that and see, but I know it is not going to change anything :(
 
just as an item?
edit: that didnt help. Maybe if I put them elsewhere in the shrink table, like at the TOP!
AAAaaaaerrrrrrrfghhhhhhhhhh!!!!!!!!!!!!!!!!!!!!!!!!!!
 
Last edited:
Game patched, I can shrink everything but the tiger and the ancient hellhound, all tabs in the shrink file.....
Did you add tiger to the bodytable.cfg?
 
Correct I added this in bodytable.cfg
1254 Animal # Tiger Female
1255 Animal # Tiger Male
1069 Animal #Ancient Hellhound Pet
 
Correct I added this in bodytable.cfg
1254 Animal # Tiger Female
1255 Animal # Tiger Male
1069 Animal #Ancient Hellhound Pet
*opens window in computer room and jumps*
Good thing I have a one story house!
You get the 'Sticking With and Trying Everything Award' on this one.
Alas, I'm am stumped.....amiss.....befuddled......UNCLE!
Everything else shrinks like a gem, no pun intended. I can shrink everything!
...except a friggin' tiger and hellhound.
I'm going to stop thinking now because it has to be something incredibly stupid I have mucked up, but we have done the checklist and I see no reason to get the stupid gem. I remember when the Fire Beetle came out, it showed as a gem in the trade window. So does the tiger! And that was sooooo long ago, I do not remember how that got fixed.
Thank you Milva. I appreciate you taking the time to try to help figure this out :)
 
Glad you can still joke about it :) I know how frustrating this stuff can be! Hope this will work out for you, if your using Runuo maybe this would make a difference, not sure though. Hopefully you can get this figured out, hate those gems..
 
I have a psuedo custom mish mosh server going all the way back to RunUO in 2004, Wyatt when he added the SE stuff, MalGannis and Nerum and ArtiGordon.<--Miss arti :(
It will pop into my little pee brain probably at 2am, it usually does.
Just strange that I have gone over everything, even ran documentation again, like that might help 'SEE" the 2 new entried in the shrink file. *sigh*
We shall see :)

Shazzy :]
ShazzyShard2004a.jpg
 
Just wanted to let you know I found the issue in the shrink.cs file
The values only go to 1000 and the tiger is above that as is the ancient hell hound so changes that to 1500 and it now shrinks fine.
Did you have to change that file? Seems so weird to me!
 
Nice glad you did get it working correct! :) I just added the 3 numbers in shrink and it worked fine
 
ok following this thread now because the little yellow gem realy aggravates Me is this the exact way You put this in ?? because I believe this is My problem with a couple other items Im tryin to shrink to a statue they need to be added here and in the shrink cfg also
Correct I added this in bodytable.cfg
1254 Animal # Tiger Female
1255 Animal # Tiger Male
1069 Animal #Ancient Hellhound Pet
 
This would be in shrink-if your not using servuo- other wise you should have it in(Tigers) be sure to use tab and not space for moving
1254 0x9844
1255 0x9844
-----------------------------------------------------------
Bodytable
1254 Animal # Tiger
1255 Animal # Tiger Female
1069 Animal # Ancient Hound
 
would be sweet if it works with JustUo since its missing a few of them but I will still need to add to 2 files to get what Im workin on fixed,, the files are bodytable cfg and shrink cfg
(edit) finaly got the new elf mercs to shrink to a statue :):) use tab not space lol )
now to get the tigers and stuff to work has a error but I almost positive I did it wrong for them
 
Last edited:

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back