Search results

  1. Lokai

    DefCarpentry not pulling certain boards from Wood Storage Key... Stumped!

    Just downloaded that now. Looks like there are 2 sets of Storage Keys systems in that repack, each with it's own Wood storage file. One is the WoodworkerStorage, which is part of daat99's MasterStorage system, the other is WoodKey, which is part of Universal Storage Keys Version 2.0.6. I am...
  2. Lokai

    DefCarpentry not pulling certain boards from Wood Storage Key... Stumped!

    Just curious, are you using a specific custom resource that can be downloaded here or is yours very different from any of the releases here? Is it possible the author is aware of this bug (or feature) and has maybe dealt with it?
  3. Lokai

    DefCarpentry not pulling certain boards from Wood Storage Key... Stumped!

    OK. Sorry this is jumping from one file to the next. We should look at MasterStorageUtils.cs next.
  4. Lokai

    DefCarpentry not pulling certain boards from Wood Storage Key... Stumped!

    Sorry, I think we need to see your CraftGump.cs please.
  5. Lokai

    Factions implementation, latest ServUO and crash question

    It's because m_Rules has a length of 22 and m_Validators has a length of 23. In line 885, the same loop is used to check each element of both arrays at the same time, but that will only work if both arrays are the same length. By removing IsFactionStronghold, you made both the same length. You...
  6. Lokai

    DefCarpentry not pulling certain boards from Wood Storage Key... Stumped!

    OK. The ones on the left are the standard group, and the ones on the right are the "custom" ones. So, let's see your DefCarpentry script.
  7. Lokai

    Gold Rain?

    Attach the script you are using and post the error here also.
  8. Lokai

    DefCarpentry not pulling certain boards from Wood Storage Key... Stumped!

    Can you post the Storage Key script?
  9. Lokai

    Wanting to add daily limit to RegStone

    The snippets I gave were from my Steward script. It's the 14th Anniversary Steward. You can find it on these forums. I was not suggesting you add the Steward to your script, just showing how I created those things in the Steward. You could create the List and the Timer pretty much as is on your...
  10. Lokai

    Wanting to add daily limit to RegStone

    private List<PlayerMobile> mPlayers; public List<PlayerMobile> Players { get { return mPlayers; } set { mPlayers = value; } } private MyTimer myTimer; private class MyTimer : Timer { private...
  11. Lokai

    Wanting to add daily limit to RegStone

    I did something like this for my Steward script. I just store a List<PlayerMobile> on the Steward, and a timer that resets every 24 hours, clearing the List when it ticks. If someone tries to get the item from them, it checks if they are in the List, and if not it gives them the item and adds...
  12. Lokai

    Help for Adventure's mysterious corpse lag (runuo)

    I have some questions about what the actual experience is like. When you open your own corpse and have say 100 items on it, do you see the corpse open, and can you watch as items are slowly moved from corpse to pack one by one? Or does it lag such that you don't see anything happen for several...
  13. Lokai

    Targeting Land Tiles

    I would do this. Instead of having them target a tile, how about you just override the OnDoubleClick method, and have it automatically dig where the player is standing. Then allow it to check Map, X, Y, and Z, and make sure where they are standing is within 1 tile of the entrance. you can still...
  14. Lokai

    Targeting Land Tiles

    You need to have the values of the targeted tiles in an array that it will look through to see if the targeted tile has the same id as one of the ids in the array. Look at the way harvest works for lumberjack, mining, etc. but instead of trees you use the tile ids of the land.
  15. Lokai

    Quest timer - wonky display

    I couldn't say whether the code was changed. Are you using EC? Perhaps it's a recent change to the way EC handles the strings. Not sure.
  16. Lokai

    Quest timer - wonky display

    TotalMinutes is a double, so you need to cast it to an Int if you want it to display just the truncated minute integer. The code for this is in QuestHelper.cs. It looks like this currently: TimeSpan ts = endTime - DateTime.UtcNow; string str...
  17. Lokai

    ServUO - Help with ApprenticeObjective on quest

    I think the easiest way would be to override the OnTalkTo method in the BaseQuester for that quest. In BaseQuester, it looks like this: public virtual bool CanTalkTo(PlayerMobile to) { return true; } So in your quester NPC you would maybe have something...
  18. Lokai

    ServUO - Help with ApprenticeObjective on quest

    All of the Apprentice quests work that way. You need to have lower in that skill than the number it gives you or it will not offer the quest. Which is why if I want to do any of the 50 skill quests, I make sure I don't train past 50 before going to the quest giver.
  19. Lokai

    Adding 2 MainSkills

    There can be only one MainSkill, but you can add a secondary skill requirement by adding a method to the CanCraft method. For example, in DefBlacksmithy.cs, the CanCraft method calls "CheckAnvilAndForge" which is another method that looks to see if the player is near a forge. You could call your...
  20. Lokai

    Tryng to do an extra spawn in Doom,after DF,need help!

    The part you are modifying is the gauntlet generation code, so this would only be done when you first generate the gauntlet using the Generate command. It would not be looked at on dark father death.

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back