Search results

  1. Moody

    Code Integrated Dice Roll Weapon Damage (How to add customisable attributes for objects/C# Basics)

    So @The Real Keith and I worked through this today, figured I'd share a step-by-step integration tutorial with the community of how we did this. If you're not interested in a dice system but just want to learn about how to add attributes that you can toggle from ingame, keep reading too! Our...
  2. Moody

    Characters limit per account

    You need to make it return a variable. Look at how "Name" is done :)
  3. Moody

    Smithing Press

    Just follow the breadcrumbs, Ian!
  4. Moody

    Smithing Press

  5. Moody

    Smithing Press

    Ok, so now you've run into another great keyword abstract : Abstract basically says "Anything that inherits from me needs to have this function in it, but I'm not going to tell you what to put in it!" The CanCraft abstract method is initially declared in the CraftSystem script. However, the...
  6. Moody

    Smithing Press

    Hey Ian! You're almost there. I think your confusion is arising from not fully understanding boolean operators and their truth tables. It's super easy! Boolean logic has two states. True and False. A lot of things end up becoming boolean functions. Something like from.InRange(this, 1) is True...
  7. Moody

    Multiple sets of radio buttons on a gump?

    At the risk of making you vomit - there is a possible way to make it LOOK like this isn't happening. 1) Player selects a radio button 2) Dummy gump gets created on top of current gump. It looks exactly like the original except everything on there is a non-functional image. 3) Old gump is closed...
  8. Moody

    Changing Spell Book Ingredient List

    No. The gump is compiled in the client itself. You can only send it which spells are enabled. That's it.
  9. Moody

    Changing Spell Book Ingredient List

    The ingredient list is client sided. The spellbook gump is compiled inside the client itself. The assets that make it up are all in the gump art, yes, but the ingredient list is all coded inside the client. My suggestion would be to create a new spellbook gump from scratch. But as soon as you...
  10. Moody

    can anyone help me understand what is happening here and how to fix it.

    Ok, so i don't really know too much about this script, but the part that was suspicious for me was the following //TODO: Create Method for how the Gate knows that you previously passed through... if ( m_TakesBackGivenItems ) { if ( MC_ItemsToGive.Count > 0 ) { for( int i = 0; i <...
  11. Moody

    can anyone help me understand what is happening here and how to fix it.

    Can you post the UseGate function from AdvancedPlayerGate?
  12. Moody

    Changing Spell Book Ingredient List

    The spellbook gump is client sided. The packets sent to the client to display the spellbook only say which spells are present, but not what their descriptions or their ingredients are. You'll have to edit the client files, I'm afraid.
  13. Moody

    OSI Accurate Bounty System

    Which is still not what the user was expecting!
  14. Moody

    OSI Accurate Bounty System

    Ok, so that checks out functionally. But what occurs when a typo happens? Someone enters 1000 when they only have 100 will result in no bounty being created. As a player, I'd be confused if that happened. Obviously I want to create a bounty, but because I entered too much money in there, a...
  15. Moody

    List of Freeshard Listing Portals where you can advertise your shard

    As one of the admins of UO:Revealed, we have never been able to contact the owner of UO:Evolution. When we beat his shard in votes on UOPortal, our site disappeared from the main list, but was still accessible. When contacted (through their events manager (on reddit) who was talking to their...
  16. Moody

    OSI Accurate Bounty System

    As for your custom gold eating function. I'd make it search through the bankbox NOT eating gold, but just checking if there is enough gold in there before searching through the bankbox again and eating the gold. I'd also switch it from a void function to a bool function so you can return whether...
  17. Moody

    OSI Accurate Bounty System

    The problem still exists, from what I can see. killer.Kills++; killer.ShortTermMurders++; ....... ((PlayerMobile) from).RecentlyReported.Add(killer); if (bounty > 0) { #if ServUO Banker.Withdraw(from, bounty); #else RemoveGoldFromBank(from, bounty); #endif...
  18. Moody

    OSI Accurate Bounty System

    Hey @Jack - thanks for this resource. We've implemented on our development server and will be rolling it out soon! There are a couple of issues though (but easily fixable)! 1) You're checking for whether or not the new banking system has been activated by checking for the ServUO tag. You...
  19. Moody

    Game Window

    Be sure to select "800x600" in the game, though!
  20. Moody

    Hotbar, almost...

    Hey Rex, hope you don't mind me coming in to criticise some of your suggestions! ;) I agree with your suggestions apart from the following two. Double clicking will be difficult to do, especially over connections with high pings. I'd make it so that the "Use" command from Mobile would link...

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back