Search results

  1. Dramoor

    Issue with OnAdded Method

    You could also on the item initialize movement event handler. I use this to do follow effects on players.
  2. Dramoor

    Issue with OnAdded Method

    Yeah, no idea what my brain was in when I was looking at it.
  3. Dramoor

    Issue with OnAdded Method

    If it is like a mobile, I would say it is detecting as an internal map still. Maybe try using OnAfterSpawn
  4. Dramoor

    I'm asking you a question because I'm curious about the tree collection once again.

    Then it does not in the copy I use I tracked when doing extra textures in and coming up with 1 a lot. So I changed it to != to get around it coming up with a 1 and exiting the verify. So if it is supposed to it might not do it at least my copy does not seem to but I have been butchering mine as...
  5. Dramoor

    I'm asking you a question because I'm curious about the tree collection once again.

    Weird...With that code change and using the ItemIDs 0x4D9C and 0x4DA0 adding in where Vox said they work for me.
  6. Dramoor

    I'm asking you a question because I'm curious about the tree collection once again.

    I think there is an issue in that loop that sometimes marks it as over 0. So I would change : for (int i = 0; dist < 0 && i < Tiles.Length; ++i) to: for (int i = 0; dist != 0 && i < Tiles.Length; ++i) and see if it changes the results. This at least works for me when using mining...
  7. Dramoor

    I'm asking you a question because I'm curious about the tree collection once again.

    Your answer will be found by looking and adjusting this line most likely. https://github.com/ServUO/ServUO/blob/c11047d380248e014a63c54648171cc2890423cf/Scripts/Services/Harvest/Core/HarvestDefinition.cs#L147
  8. Dramoor

    Help adding RunicHammer to loot table

    If you look at the repository here. You can see it needs a CraftResource to add it in. Would look like this public override void GenerateLoot() { this.AddLoot(LootPack.FilthyRich); this.AddLoot(LootPack.Gems, 4); switch (Utility.Random(20)) { case 0: PackItem(new...
  9. Dramoor

    Cooking target

    public InternalTarget(Item list, Mobile from) : base(1, false, TargetFlags.None) In the code above after base() there is a 1. This is the range for the target. The false means you cannot target the ground. And then flags that can be set. You probably should get a different...
  10. Dramoor

    Cooking target

    Looking at the script I sent you a link to it should work if your script is the same. Did you try standing right next to the campfire? It looks like the range is maybe 1. Try using the pub57 to see how they do it. Maybe you are using the pub58 WIP or the master from the repository.
  11. Dramoor

    Cooking target

    I would start by looking at and comparing your CookableFood.cs to the current repository. CookableFood
  12. Dramoor

    Warning: 0x40000070: Amount changed for non-stackable

    Put stackable = true; at the top Ah missed the second half of my sentence, I guess will get merged. It has to be before the Amount gets set. Amount = amount;
  13. Dramoor

    Is this Possible with an Addon ?

    Ok. I re-wrote this for a lil more complexity to show a better way to do it with channels and direct on specific buttons. public class FlatScreenTvEastAddon : BaseAddon { private bool m_TurnedOn; [CommandProperty(AccessLevel.GameMaster)] public bool TurnedOn {...
  14. Dramoor

    Is this Possible with an Addon ?

    So I gave an example earlier to do with one ItemID in the setting just to show a different way for a basic example while showing it. You could directly put all the ItemIDs into the code. But here I just moved where the turn-off message went and added a second turn-off with the other ItemID. This...
  15. Dramoor

    Is this Possible with an Addon ?

    OK let's look at this from a different standpoint. Do you want items added or items already in the addon to be changed? I ask this because do you have the addon of what u wanted with the items on too? So then I can see the offsets to show you the best code for this that I would use. Here I did...
  16. Dramoor

    Is this Possible with an Addon ?

    You can do stuff in the OnComponentUsed, and then check the component being used. Then you would add the items to the addon on used and either set a flag or use the items added if detected or double-clicked, to turn it back off by having it remove the items from the addon.
  17. Dramoor

    UNCHAINED

    Still doing it. And after many reports, the account which is you by the way seifer. Is requesting chats with everyone in the channel, and then linking to your server. Stop your bullshit.
  18. Dramoor

    Looking for items in first backpack level?

    If you are only looking for one time you can also use a boolean if statement. if (from.Backpack.FindItemByType(typeof(Hides)false) == true) { do things } If it is specific that uses say Hides as its base you might want to use var hidelist = from.Backpack.FindItemsByType<Hides>(false)...
  19. Dramoor

    Looking for items in first backpack level?

    One way I think is correct is to use the finditembytype and set the recurse boolean to false. Voxspire hit it while I was writing it.
  20. Dramoor

    UNCHAINED

    Tell your players to stop coming into every other server discord to advertise your server all the time. And when any come to your discord to ask you directly in there to have it stopped you ban them.

Donations

Total amount
$50.00
Goal
$500.00

Shards

Back