Search results

  1. Rex

    Khal Ankur Animation

    UO EC Superviewer can view and export EC anims to .vd. Pinco created it, you can get it from that Discord here Join the Pinco's Projects Discord Server!
  2. Rex

    I have a question about the explosion effect.

    The explosion-related animation is hard coded into the client and can't be changed in a simple way. You could code your own variation that would allow you to use a different explosion animation, which would mean editing the client(super hard) or editing your own version of the ClassicUO...
  3. Rex

    Whats this chance means?

    Utility.Random(3) can roll these numbers: 0 1 2 So if DestroyChance rolls a 1 or 2 it will pass as greaterthen 0. "DestroyChance > 0". So a 2/3rd chance, or 66%
  4. Rex

    Independent Spell Timers.

    I’m sure it’s possible but it’s not coded into the existing systems. It would take some custom coding to set up the checks and replies.
  5. Rex

    Independent Spell Timers.

    Sure! It's easy enough, just insert the CheckCast part, and add the bits of code into the same similar spots as in the example. using System; using System.Collections.Generic; using System.Linq; using Server.Targeting; using Server.Multis; using Server.Regions; using Server.Mobiles; using...
  6. Rex

    Independent Spell Timers.

    You can use the built in servuo code to do this using these methods: CanBeginAction BeginAction EndAction Here's a quick example in a spell public override bool CheckCast() { if (!base.CheckCast()) return false; if...
  7. Rex

    Force a crafter name on item

    You'd want to do this with the ICraftable interface like this public class Spellweaving : GoldRing, ICraftable { [Constructable] public Spellweaving() { Name = "Spellweaving"; SkillBonuses.SetValues(0, SkillName.Spellweaving, 10)...
  8. Rex

    Gm Bodyvalue

    It's in the command [gmbody 987 or [self set bodyvalue 987 This one lets you walk through doors.
  9. Rex

    Dragonmod issue

    I’m pretty sure this has to do with the color of those pixel. In photoshop I use the color palette and then right before I prepare the bmp file I change it to indexed color which locks all pixel color values to a color on the palette. If the color is not exactly matching then you get that weird...
  10. Rex

    serializing a type

    Are you trying to serialize a Type? ie a definition of a thing or you are trying to serialize an already constructed Mobile that is then referenced in EssenceBones?
  11. Rex

    [Updated Custom Release] XmlAttach & XmlLevelItem for newest repo

    This worked for me as I had to use ReadSerial in a couple spots.
  12. Rex

    [Updated Custom Release] XmlAttach & XmlLevelItem for newest repo

    I have this same issue "Cannot implicitly convert type 'int' to 'Server.Serial' " in a bunch of scripts. Using pub58.
  13. Rex

    Displaying jpg images ingame using a gump

    You could import them into the art or gump file and load them as a normal gump. Another option could be to load a weblink item and just open to a web page via browser.
  14. Rex

    Player Death

    In ClassicUO this is a hue, located in: src/Game/Constants.cs public const int DEAD_RANGE_COLOR = 0x038E;
  15. Rex

    finding trees near a player [runuo]

    The + 0x4000 is to skip the floor tiles
  16. Rex

    finding trees near a player [runuo]

    If you are searching for actual items you can use this List<Item> items = new List<Item>(); IPooledEnumerable pe = from.GetItemsInRange(p, 3); foreach (Item item in pe) { if (!items.Contains(item)) items.Add(item); } pe.Free(); foreach (Item item in items) { if (item is Tree)...
  17. Rex

    Help with code knowledge

    Those are Cliloc numbers. 1044294 is "Other", and 1041267 is "Runebook".
  18. Rex

    Just wondering

    Yes this is possible, either directly with the switch linked to the lantern (maybe, I’m not 100% sure). Or another way is link the switch to an xmlspawner and then have the xmlspawner set up to turn on and off the lantern.
  19. Rex

    Hide Weight Under Pack Animal

    You could add some checks that return true or false before checking if it is a StrongBackpack public virtual bool DisplayWeight { get { if (this.ControlMaster != null) return true; return this.Backpack...
  20. Rex

    How about this function? Is it practical?

    This is nice. I think if you add an InvalidateProperties(); somewhere it'll update the OPL without having to move the item like you did.
Back