Search results

  1. Enroq

    Pets max hp

    Uhh.. you should try the code provided..
  2. Enroq

    Pets max hp

    [CommandProperty(AccessLevel.GameMaster)] public override int HitsMax { get { return (int)(50 + (str / 2)); } }
  3. Enroq

    NewLine, Feed Line, Carriage Return.

    I've decided, in effort to do more studying, to begin writing tutorial-ish type documents.. hopefully we'll all learn something from it. For reasons I'm sure some of you are very aware of, I'm going to start with the humble NewLine. Also known as Environment.NewLine. New Line at it's core is a...
  4. Enroq

    Pets max hp

    There is. But it's going to take some work. This is from BaseCreature.cs [CommandProperty(AccessLevel.GameMaster)] public override int HitsMax { get { if( m_HitsMax > 0 ) { int value = m_HitsMax...
  5. Enroq

    NPC that won't summon a gate

    if (pm.Young && pm.IsPlayer() && pm.Profession == 4 && pm.Profession == 6 && pm.Profession == 7 ); if(pm.IsPlayer())
  6. Enroq

    General question about Ser/Deser

    I think that was raven!
  7. Enroq

    General question about Ser/Deser

    One of serializations core fundamentals is the order in which you read and write data. This means you must deserialize objects in the same order that they have been serialized. I think that was it..
  8. Enroq

    NPC that won't summon a gate

    What are the errors?
  9. Enroq

    General question about Ser/Deser

    I thought I misunderstood the question.
  10. Enroq

    Updating an older shard to work with current clients?

    You're going to want to update your networking folder in the core to match servUO's or runUO 2.5's
  11. Enroq

    NPC that won't summon a gate

    You've got a second check for young status above as well. You'll probably want to get rid of the profession checks too.
  12. Enroq

    Account Box Crash

    It looks like you're trying to use a class as a method.. It's kind to hard to tell what's going on from just those lines without knowing what it's in or what the AccountDepositBox class looks like. Basically, if you have the object declared, you need to set those properties from that object. If...
  13. Enroq

    General question about Ser/Deser

    Edit: Guess I didn't!
  14. Enroq

    Dispel Field dispelling gate on both sides

    https://github.com/UOAberration/hubroot/tree/master/Scripts/Spells/Magery https://github.com/UOAberration/hubroot/blob/master/Scripts/Items/Skill%20Items/Magical/Moongate.cs
  15. Enroq

    Account Box Crash

    It's most likely that you're at some point attempting to affect the player object that you deleted. You'll need a null check somewhere.
  16. Enroq

    Void Tracker

    I have no idea how long it took, the better part of two days. I also forget to stop it sometimes. That's why I'm going to add a 'check in' feature.
  17. Enroq

    Dispel Field dispelling gate on both sides

    Go into DispelField.cs and add this ontop of item.Delete(); if(((Moongate)item).PairedGate != null) ((Moongate)item).PairedGate.Delete();
  18. Enroq

    Making Orc Race Attackable On Defense Only

    You should be able to accomplish the task outside of the player mobile through use of Notoriety. Here's an example: int noto = Server.Misc.NotorietyHandlers.MobileNotoriety(this, mobile); bool isEnemy = (noto == Notoriety.Criminal || noto ==...
  19. Enroq

    Void Tracker

    Enroq submitted a new resource: Void Tracker - Time Logging Application Read more about this resource...
  20. Enroq

    Void Tracker Beta 1.1

    Just a small application for those of you, like me, who have trouble keeping track of time spent on a project.

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back