Search results

  1. Voxpire

    Checking if player moved in the last 10 min?

    That version of RunUO specifically uses DateTime.Now for these checks, 2.3 and everything after uses DateTime.UtcNow, just something to keep in mind if you port any code from later versions... if ( mobile.LastMoveTime.AddMinutes(10) >= DateTime.Now ) { // they have moved within the last 10...
  2. Voxpire

    Looking for items in first backpack level?

    Depending on the method you are using to search for items, it should have a bool argument for "recursive". FindItemsByType(type, false) for example.
  3. Voxpire

    I have a question about FireField magic damage

    It is possible to provide a damage amount as an additional argument for FireFieldItem (line 86) to override the default base value of 2 (per tick): new FireFieldItem(itemID, pnt, Caster, Caster.Map, duration); Modified: int damage = 2; // increase this to increase base damage per tick new...
  4. Voxpire

    Host?

    If you rent a Virtual Private Server (VPS) you will have remote desktop access to that server and you can treat it the same as your home PC; you transfer your shard to the VPS and run the exe. If you want to make your local shard public on your home network, you can follow this; The default...
  5. Voxpire

    I have a question about the maximum physical strength of a monster

    It's the same limit for each stat; https://github.com/ServUO/ServUO/blob/pub57/Scripts/Mobiles/Normal/BaseCreature.cs#L1881
  6. Voxpire

    Unable to access house menu

    Your version of RunUO houses is set up to require the house key in your backpack; public bool IsOwner( Mobile m ) { if ( m == null ) return false; if ( m.AccessLevel >= AccessLevel.GameMaster ) return true...
  7. Voxpire

    Unable to access house menu

    How did you place the house; with a deed, the house placement tool, or via [add? The first two will set you to the owner of the house, the latter will not. [area interface where basehouse ^ This command will let you access the props gump for the house, you can check if the Owner property is set...
  8. Voxpire

    compile!! i say!!

    You can alternatively run the .bat files in the root directory to compile everything, if you want an alternative IDE, there is VSCode and Rider you can look at.
  9. Voxpire

    Gump HTML auto scroll

    It would only be possible with a client modification, otherwise, no.
  10. Voxpire

    How to display a different History string for each mobile?

    It's because the list is in a static context, meaning it only exists once and everything that references it will be sharing the same list. You need to store the History list on the PlayerMobile itself so each player has their own list, it cannot be defined as 'static'. If you are logging...
  11. Voxpire

    setting spells at initial player's interface Is there a method ?

    Unless you provide a custom client modification, this wouldn't be possible. The server can't tell the client when to create or display spell icons that you would normally drag from the book.
  12. Voxpire

    Can I get an npc or monster to shout magic spells like a player when using magic?

    You can override ShowSpellMantra in individual creature scripts, or you can set the default return value in BaseCreature itself to 'true' to enable it for all mobs... but I recommend only doing it for humanoids...
  13. Voxpire

    How can i add a basefont color to this string?

    The FixHtml method exists to take html tags and turn them into non-functioning html (to prevent players from engraving items with html). The color argument for the basefont tag takes named system colors (red, blue, green, white, etc) as valid arguments as well as the standard hex notation...
  14. Voxpire

    Any help is appreciated.

    If you downloaded and extracted ServUO 57.3 to a folder and it is still named "/ServUO-57.3", rename it to remove the '.' character. If any other folders in your file tree have a '.' in the name, remove the '.'. You don't need to remove the '.' from root folders such as ".git" and ".vs".
  15. Voxpire

    Connection Issues

    One of the most common reasons is Windows Firewall; you may need to add an Inbound exception for your shard's port.
  16. Voxpire

    Pandora's Box 3 Download

    Did you try this version? https://www.servuo.com/archive/pandoras-box-reopened.1012/
  17. Voxpire

    I have a question about the message that pops up when I attack a monster or npc.

    The Mobile class exposes a "Player" bool property that you can check. Assuming you want to check if the Combatant is a player, you can use; if (Combatant is Mobile mob && mob.Player) The alternative is a more expensive test, but will have the same result; if (Combatant is PlayerMobile)...
  18. Voxpire

    All-In-One: Installer, Patcher, Launcher (IPL)

    The button for Razor will show if /Razor/Razor.exe exists. The button for Steam will show if /Steam/UOS.exe exists. The button for ClassicUO will show if /ClassicUO/ClassicUO.exe exists. The button for the official client will show if client.exe exists. Check the launch settings (true/false) in...
  19. Voxpire

    Gumps and font faces

    You can change the font-face using the not-so-intuitive size attribute; "<BASEFONT SIZE=\"4\">TEST TEXT</BASEFONT>" I don't recall which size value is for the runes.
  20. Voxpire

    Compile error

    You shard exe doesn't have permission to access your game files, you can either move your game files to a location that isn't protected by special o/s permissions, or you can run the exe "as administrator". It can also be caused by another application using those files; always use a separate...

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back