Search results

  1. Voxpire

    Writing to a .log file

    It's a method you can throw into a custom class, it's not a complete script. Create a new command class, register the command using Commands.Register(...) (there are a lot of examples), and have it execute the LogActivePlayers method. You can edit it as such if it makes more sense; public...
  2. Voxpire

    Writing to a .log file

    public static void LogActivePlayers() { // using System.Collections.Generic; List<string> results = new List<string>(); DateTime now = DateTime.Now; TimeSpan limit = TimeSpan.FromDays(365); foreach (Mobile mobile in World.Mobiles.Values) { if (mobile is PlayerMobile)...
  3. Voxpire

    is this possible

    You would probably have to modify the body table and add an alias using a 3rd empty slot that points to the secondary animation, and then have your server code pick between those.
  4. Voxpire

    Server holding on to a disconnected client?

    Is your server console running on a windows o/s? That behaviour is usually a symptom of the console waiting for input, or someone clicked inside the console window and paused the application (due to Quick Edit).
  5. Voxpire

    I need the original servuo 57

    https://github.com/ServUO/ServUO/tags
  6. Voxpire

    Server holding on to a disconnected client?

    NetStates will time-out after a period of inactivity, usually 90 seconds after the last packet was transported. TCP sockets don't gracefully disconnect in circumstances where the connection is interrupted and the shutdown request can't be received; the next possible chance to detect a...
  7. Voxpire

    Bag Of 10 Million gold

    You can specify the worth of a check at the time you add it, too; This adds a check to your pack or targeted container, then dupes it 9 times to give 10 checks in total;
  8. Voxpire

    I need the original servuo 57

    It's possible to go back in time with the github repo...
  9. Voxpire

    VitaNex WepApi

    You can register custom http handlers; WebAPI.Register("/create_account", context => { // never reveal the secret key, this is used to prevent spoofing string secret = context.Request.Queries["secret"]; if (secret != "A1B2C3D4E5F6") // this should really be stored in a config file...
  10. Voxpire

    VitaNex WepApi

    Working in what way?
  11. Voxpire

    Linux - Fails to Compile (System.Enum)

    Sorry, I'm not even sure where to begin with that, MONO is fickle at the best of times and the code throwing the null-reference error doesn't have the potential to actually be null. Is it the latest version of MONO?
  12. Voxpire

    Linux - Fails to Compile (System.Enum)

    You can probably just remove the "Enum" part of the constraint, for example; where T : struct, Enum -> where T : struct
  13. Voxpire

    Need help getting started

    It sounds like you still need to configure the data path to the client/game files; Edit the cfg files in the Config directory, set the path to the game files. Make sure the game files you use for your server are not the same ones you are trying to login and play with as this will cause file...
  14. Voxpire

    .Net Frameworkv4.8, Tried Everything, Need Help

    Try installing dotnet 7 or 8 and compile/run using dotnet build
  15. Voxpire

    How to use domain name instead of IP:Port on Razor

    You can do this by creating a DNS A-Record for your subdomain and having the target be your shard public IP. I am not sure CF can handle TCP requests over the CDN, its designed to handle http with headers and such. Razor can be started up with a CLI string that skips the splash and config.
  16. Voxpire

    Compiler Issue ServUO-Master and VitaNex-Core 5.3.1.0

    It really depends on what you need; Pre-AOS: 57 Post-AOS: 58
  17. Voxpire

    Compiler Issue ServUO-Master and VitaNex-Core 5.3.1.0

    Yea, it's not compatible with the current ServUO "master" branch (which isn't stable or recommended for use). It should work fine if you install to P57 or P58 specifically. Also ahead of time, if you have any '.' characters in a folder name in your shard's root path, VitaNex will not properly...
  18. Voxpire

    pet does not travel with the owner

    Use the same code from Moongate for teleporting the pets, copy it to wherever you need it. BaseCreature.TeleportPets( ... ) The only line you need for it to work, be sure to put it before MoveToWorld is used on the player.
  19. Voxpire

    pet does not travel with the owner

    To be more specific, the teleportation is actually handled by Moongate https://github.com/ServUO/ServUO/blob/pub57/Scripts/Items/Internal/Moongate.cs#L95
  20. Voxpire

    pet does not travel with the owner

    Take a look at the gate travel spell, it uses BaseCreature.TeleportPets(), this is the code you need to make it work.

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back