Search results

  1. arvoreen

    Help In Learning how to start

    Some other stuff that will help - Navigating/manipulating files and folders on your computer - Beginning C# (classes, methods, properties, inheritance) (google "C# beginner tutorial" or something like that, there's a billion of them) - Get visual studio community edition or some sort of editing...
  2. arvoreen

    Moindain Quest Cool down timer?

    I usually try to reference ServUO source when attempting to help, but I couldn't even find the ML Quest system classes looking through the repo. Soooo......at least in regards to RunUO, I know the MLQuest class (in RunUO, found in Scripts/Engines/MLQuests) contains the following you can use for...
  3. arvoreen

    paragon artifact drop rate

    If you want to get a bit more visual, add to your output what the random number ends up being, i.e. replace return chance > Utility.RandomDouble(); with double artyRnd = Utility.RandomDouble(); Console.WriteLine("Arty number: {0}", artyRnd); return chance > artyRnd;
  4. arvoreen

    commands

    I think I ran into this problem while using UOSteam, and having the Commands prefix option set to the same character the server was using. I switched it from [ to - and the problem went away. If you're using UO Steam, you should check that out. :)
  5. arvoreen

    paragon artifact drop rate

    I believe that would give a maximum of 20% chance, as Math.Max uses the larger of the 2 values passed to it.
  6. arvoreen

    paragon artifact drop rate

    double chance = 1 / (Math.Max(10, 100 * (0.83 - Math.Round(Math.Log(Math.Round(fame / 6000, 3) + 0.001, 10), 3))) * (100 - Math.Sqrt(m.Luck)) / 100.0); Console.WriteLine("{0} chance of artifact from {1}", chance, bc.Name); return chance > Utility.RandomDouble(); } *edit: Also note, using...
  7. arvoreen

    paragon artifact drop rate

    I see chance = math math math fame math math luck divided by 100. If I were trying to tweak this, I would just add above the return line "chance *= 1.5;" or something, and tweak that up/down until it was where I wanted. Possibly even write the chance to the console so I have a visual of the odds...
  8. arvoreen

    New and hope this is the rightish place.

    I'm going to guess, for whatever reason, the crash is coming from "recipes[Utility.Random(recipes.Count)]", due to the Utility.Random(recipes.Count) returning a number above/below the actual number of recipes present, or perhaps it hits a recipe that is broken, so returns null when created...
  9. arvoreen

    New and hope this is the rightish place.

    For #1, please post your vendor code that the player is attempting to get the bulk order from.
  10. arvoreen

    New and hope this is the rightish place.

    It would appear in Scripts/Items/Containers/TreasureMapChest.cs GetRandomRecipe() is using (or passing?) a value that exceeds the size of the list being worked with. Can you post your GetRandomRecipe()? SVN only shows: public static Item GetRandomRecipe() { List<Server.Engines.Craft.Recipe>...
  11. arvoreen

    Increasing whirlwind area

    a few lines below where you changed that range for it to make the list of targets: if ( !attacker.InRange( m, weapon.MaxRange ) ) weapon.MaxRange is probably 1 for most melee weapons, so may need to make that 10 as well. Good job editing the first post up to explain what you tried!
  12. arvoreen

    Increasing whirlwind area

    Post code that you try, and what it does/does not do as expected. Also make sure to reference full filenames/paths in relation to the Servuo directory, since there is no "Whirlwind.cs" anywhere, but a Scripts\Items\Weapons\Abilites\WhirlwindAttack.cs. Some people will see an incomplete support...
  13. arvoreen

    Smithing Press

    You shouldn't modify the BaseTool class, override the method you want to change in your child class. Then you can do your check just for range/visibility within your own method, skipping any backpack check, and show the craft menu thingy.
  14. arvoreen

    crash bug with custom script

    if (m_defender == null) { m_defender.Sick = false; m_defender.Contagious = false; Stop(); } Pretty sure if m_defender == null, attempting to set Sick/Contagious properties would cause a crash, since m_defender is null.
  15. arvoreen

    Crafting Chance

    Are you a human? Don't they get +20 to all skills? Could that be it? *edit: Nope, that's not it, you did your math in the wrong order. You need to do the division before the addition. So it'd be more like .5 + ((10/40) *.5) PEMDAS: Parenthesis, Exponents, Mult/Divi left->right, Add/Sub...
  16. arvoreen

    copper replacing gold ?

    You should post your solution, so if anyone else has a similar problem, they can find the answer by searching :) Nice work figuring it out!
  17. arvoreen

    Peacemaking OnTarget Crash

    Weird, my QuestHelper doesn't even have a CheckCalm method, and I just got ServUO a week or 2 ago. Is this something new/changed? Although I don't even see that method in the git repository @...
  18. arvoreen

    Peacemaking OnTarget Crash

    Do you know the situation causing the crash? At a glance from what you've provided, somewhere in the Peacemaking script a PlayerMobile is being cast (cast like being used as, not like spell cast) onto a BaseCreature object, which can't be done (since it crashed). Maybe post your peacemaking...
  19. arvoreen

    Stackable ItemIDs

    Correct, however that's where the ItemData.Flags and TileData.Generic comes in. If the item has that flag (this is based on the client, not server) in the tiledata, then it IS stackable, and can be pulled apart, etc. That's why I was looking to figure out what itemIDs had that flag.
  20. arvoreen

    Stackable ItemIDs

    Correct, however that's where the ItemData.Flags and TileData.Generic comes in. If the item has that flag (this is based on the client, not server) in the tiledata, then it IS stackable, and can be pulled apart, etc. That's why I was looking to figure out what itemIDs had that flag.

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back