Search results

  1. Ravenwolfe

    PlayerVendor not charging Gold per day.

    Your problem is here: m_NextPayTime = DateTime.Now + delay; Your using DateTime.Now on a server that is calculating time in UTC, so it is throwing off the paytime. Are you using an older playervendor.cs cause the one in ServUO uses DateTime.UtcNow
  2. Ravenwolfe

    PlayerVendor not charging Gold per day.

    Its called from the Paytimer in Playervendor, but your right, no Era check
  3. Ravenwolfe

    PlayerVendor not charging Gold per day.

    Nope, i was thinking of basehouse. It looks like your script is using DateTime.Now instead of DateTime.UtcNow meaning your timer will not trigger correctly.
  4. Ravenwolfe

    PlayerVendor not charging Gold per day.

    Its already expecting an int, so no need to cast as one. It only cast as int in the if statement because it had created a variable total as a long and it needed to be cast as an int. I think the problem is you have your shard set to an early Era correct? I dont think either method is called if...
  5. Ravenwolfe

    Creature File Formal Style

    VS does that to me sometimes, i hate it!
  6. Ravenwolfe

    Creature File Formal Style

    While there is no "official rule" on this, we have a resharper license and it is helpful to code following the standards that resharper uses (otherwise you get warnings in VS. Basically, we will accept code any of the ways you mentioned but we love it if it uses tge following: (using your...
  7. Ravenwolfe

    please help me.

    It appears you have modified the HitsMax in Basecreature, which is causing the server to send a lot of packets to get the statoffset. But yes, you should consider updating your server to ServUO. JustUO is not being actively maintained.
  8. Ravenwolfe

    Soul Crystals

    The possibilities are endless. This is just the mechanism, the charges can be used however you want. If you have something in mind, PM me and I can show you how to implement it.
  9. Ravenwolfe

    Soul Crystals

    Ravenwolfe submitted a new resource: Soul Crystals - Soul Drain Crystals ala Skyrim Read more about this resource...
  10. Ravenwolfe

    Soul Crystals 1.0

    Credit to Lord Zeus for this request a while back, I finally got around to making them. These are crystals that will store a charge from a targeted creature. Double click the crystal and target an undamaged creature. You will have 10 minutes to kill the creature or the soul drain will wear off...
  11. Ravenwolfe

    Weapon Abilities on items with a non-weapon ItemID

    The skill is not hardcoded to the client. The weapon overrides USED to work until the change was made to the client to detect special weapon attacks based on the item id. The overrides were never removed since it was hundreds of weapons that would have to be edited. Notice that the new weapons...
  12. Ravenwolfe

    Trammel problems

    You also need to set your values properly in MapDefinitions.cs when using an older client: TileMatrixPatch.Enabled =false; // OSI Client Patch 6.0.0.0 MultiComponentList.PostHSFormat =true; // OSI Client Patch 7.0.9.0
  13. Ravenwolfe

    Weapon Abilities on items with a non-weapon ItemID

    Of course, if you want special weapon abilities, you could just use the XmlCustomAttacks from XmlSpawner.
  14. Ravenwolfe

    XML Attachment Removal

    Set a variable for the attachment and delete it. var todelete = XmlAttach.FindAttachment(item, typeof(ItemAtt)) todelete.Delete();
  15. Ravenwolfe

    Weapon Abilities on items with a non-weapon ItemID

    Im not 100% on this (not home to test) but if I remember correctly the client actually handles the special abilities based on the item id. You have to modify one of the client files to change the weapon abilities. The overrides for weapon ability dont actually do anything any longer and they...
  16. Ravenwolfe

    Help Server Errors

    You should be able to do everything you want without editing Mobile.cs. Mobile.cs is a "core" file. If you do need to change it, then you must recompile the core. It should VERY rarely be necessary to change a core file (anything in the Server folder).
  17. Ravenwolfe

    Turning Off Virtue System

    I was away when the virtue system was added and I have not looked at it. Was it not added with Era checks?
  18. Ravenwolfe

    Daat'sTokens Problem

    Are the tokens an actual item in the backpack? And if so, are they each a separate item or is it one item with an amount?
  19. Ravenwolfe

    Hey guys! can i get a little help?

    Anytime. Visual Studio is well worth it, its very good at catching when a using directive is missing :)
  20. Ravenwolfe

    Hey guys! can i get a little help?

    I'm gonna guess you aren't using Visual Studio :) You need to add this to the using directives up top: using Server.Engines.Craft; And its no bother, its why we are here.

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back