Search results

  1. 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)...
  2. 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...
  3. 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.
  4. 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...
  5. Voxpire

    Question on how to override int itemID

    I think you need to add the Container flag to those ItemIDs in tiledata.mul, then they will support drag drop mechanics.
  6. Voxpire

    Compilation error in UOfont.cs

    If the unix wrapper hasn't added support for 16-bit image formats to gdi+ yet (it wasn't supported in mono afaik) then you can try changing the pixel format to 32-bit to avoid the error, but the UOFont may not work as intended (it will be obvious on things like MenuGump where it measures string...
  7. Voxpire

    Saves Files

    If you have Vita-Nex: Core installed, there is a [PlayerBackup and [PlayerRestore command that can create micro snapshots of a targeted player. This creates a small binary file you can transfer from the old server to the new server, but it will not restore things like houses, etc, only things...
  8. Voxpire

    Saves Files

    It can be done, but the process is complex. There are obstacles such as serials from older deleted items and mobiles being reused by new items/mobiles. Items from the past that still exist in the present, but have different parent containers or mobiles. That only scratches the surface; so it...
  9. Voxpire

    [global interface where --- need help with command

    [global interface where huntingpermit owner != null owner.name ~= "player name"
  10. Voxpire

    How to add a slayer to a fabrication weapon

    switch (Resource) { case CraftResource.Silver: { Slayer = SlayerName.Silver; break; } }
  11. Voxpire

    How to add a slayer to a fabrication weapon

    The code scope you edited is only run for pre-AOS expansions, you'll need to make a new switch(Resource) inside the Core.AOS check, anywhere near this line after the Resource is set: https://github.com/ServUO/ServUO/blob/pub57/Scripts/Items/Equipment/Weapons/BaseWeapon.cs#L6354
  12. Voxpire

    How to add a slayer to a fabrication weapon

    It will probably be easier to modify the BaseWeapon.OnCraft method https://github.com/ServUO/ServUO/blob/pub57/Scripts/Items/Equipment/Weapons/BaseWeapon.cs#L6322
  13. Voxpire

    Spellcasting in town

    You don't necessarily need to edit all the spells to remove those lines if you just force the CheckTown method to always return true. The other part of the puzzle is in regions, spells have an OnCastInTown method you'll need to remove or force it to return true (you will need to check any...
  14. Voxpire

    Forcing Clients

    That makes things easier by having a centralized distribution for the game files, so long as the zip file also contains the modified client files then the IPL isn't required. The mod can be as simple as moving all the packet ID's up by 1, which would confuse non-compliant clients, but there are...
  15. Voxpire

    Hello from the Other side.

    Now there's a name I haven't seen in a while! Welcome back!
  16. Voxpire

    Forcing Clients

    IMO the best option currently is to just use ClassicUO, you can change up the networking or add encryption so only your version is able to connect. You will have to obfuscate whatever changes you do make, or they will be reverse engineered eventually. Since ClassicUO fully supports Razor, it's...
  17. Voxpire

    Vita Nex Core error

    You can safely ignore this error, nothing important is being affected by it currently and it will be fixed in the next update.
  18. Voxpire

    Remove "ADVANCED" option from character creation.

    The trick to skipping character creation lies in sending the character list packet with every slot filled (you only need to use a string, you don't have to create the player character to do this). For example, "Slot 1", "Slot 2", "Slot 3", etc... This causes the "new" character button to be...
  19. Voxpire

    Remove "ADVANCED" option from character creation.

    The only other real option (other than using ClassicUO with mods) is to skip character creation entirely and pre-populate the character slots with dummy characters that go through a custom gump creation process after logging in.
  20. Voxpire

    Requiring NDA for ServUO code?

    As some people have decided to openly complain about this thread being closed 'without reason', as if I'm obliged to give one (pro tip: I'm not), here is a list of what should have been fairly obvious reasons: The original poster got their resolution. The general opinion on NDA's has been made...

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back