Search results

  1. Jack

    Gump typeid

    The virtue gump that appears when you click on the paperdoll is not predefined in the client, it exists in the scripts under Virtues - "VirtueInfoGump" and "VirtueStatusGump". When you click the button on your paperdoll it triggers the eventsink "VirtueGumpRequest" on your server, you can send...
  2. Jack

    Fun with Layers

    Look in Mobile.cs, it's in the Server folder (not scripts)
  3. Jack

    Introducing XRunUO

    Looks very solid, a lot of work and care has obviously gone into this code. Thanks for sharing.
  4. Jack

    Custom Name Script help

    Add to the top: using Server.Targeting;
  5. Jack

    OnThink method

    Not totally sure it'd work but you could try override the damage method which would probably stop the creature from taking any damage at all, something like: public override void Damage( int amount, Mobile from ) { if( !AddsAliveCondition ) base.Damage( amount, from ); }
  6. Jack

    I Honor Thee - Speech Command

    Jack submitted a new resource: I Honor Thee - Speech Command - "I Honor Thee", as per OSI - grants 10 karma to the target. Read more about this resource...
  7. Jack

    I Honor Thee - Speech Command 2015-07-08

    OSI accurate "I honor thee" command. I do not know if this still exists on OSI servers today. http://www.uoguide.com/Publish_-_February_2,_1999 Granting Karma to Other Players Saying "I honor thee" will bring up a targeting cursor. Targeting another player will remove karma points from you...
  8. Jack

    Creating an assistant

    FYI, Mark posted on Reddit here about the release of the Razor source code: https://www.reddit.com/r/ultimaonline/comments/1yicqj/razor_github_repository/cfkry4z
  9. Jack

    Checking for equipment on Playermobile

    I'm not sure what you're trying to do with typeof. You don't need to use it. You'd use typeof() if you knew the type and were checking something like "if( type == typeof( DexRangerChest ) )" but in this situation, we don't have a type for comparison, we have an object. If DexRangerChest is a...
  10. Jack

    Checking for equipment on Playermobile

    Well in your script "from" is the one doing the damage, not the one receiving it. The PlayerMobile who is receiving the damage is referred to as "this" (since the code is running on 'this'). So you can either refer to them using: this.FindItemOnLayer or simply FindItemOnLayer (we don't need to...
  11. Jack

    Internal Cleaner

    I would warn this is potentially a dangerous script since it can delete items which are supposed to be there. Some custom scripts (and stock scripts, depending on what emulator you use), use internal items to hold/serialize data and do not have a parent entity. Deleting these will cause a loss...
  12. Jack

    Unknown name for players

    PacketHandlers.cs public static void MobileNameRequest( NetState state, PacketReader pvSrc ) { Mobile m = World.FindMobile( pvSrc.ReadInt32() ); if ( m != null && Utility.InUpdateRange( state.Mobile, m ) && state.Mobile.CanSee( m ) ) state.Send( new MobileName( m ) ); } If...
  13. Jack

    Unknown name for players

    I think this would also need some work in the core due to the mobile packet send. It would still be possible to get the player name from nameplates and health bars if I'm not mistaken. Probably journals too. The mobile packet send grabs the name directly with just "m.Name". I believe that covers...
  14. Jack

    Custom region crashing when entering.

    You are not checking if the mobile is a player before checking the account. You are only checking it after checking the account & tags. public override void OnDeath( Mobile m ) { Account acct = (Account)m.Account; bool BGYQuestStarter =...
  15. Jack

    Custom region crashing when entering.

    Just one thing, OnEnter and OnDeath in region are not only triggered by playermobiles, so you can expect a crash when you are checking a null account.
  16. Jack

    Gump 'OnHover'?

    I'm guessing this isn't possible, but wondering if anyone has seen it used anywhere (including OSI). I noticed the menu bar which appears at the top of the client (and is built into the client), has an "OnHover" function where the button you're hovering on changes color. As this is built into...
  17. Jack

    Multiple shards on one server?

    I've used the above script in the past to run 2 servers on one computer and have them in a common shard list on login. It works. But there is an additional issue with it (which I never even attempted to solve). Let's say you have shard 1 and 2. Shard 1 is handling the login and forwarding...
  18. Jack

    Ultima SDK for PHP

    Yes that's what I'm looking for, thanks
  19. Jack

    Ultima SDK for PHP

    Just wondering if such a thing exists, I'm considering adding an item database to my shard website so I can add item trackers. I already generated the art files with the Ultima SDK, but it would be nice to create these (hued) on the fly.
  20. Jack

    UO Portal Source [Deleted]

    Thanks Kyn, will be interesting to look around at and see how the polling is done.

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back