Search results

  1. Juzzver

    How to re-Reset trap after use automatically.

    you must have meant how to install the trap again on the container after it has worked itself out. comment or change next lines: m_TrapType = TrapType.None; m_TrapPower = 0; m_TrapLevel = 0;
  2. Juzzver

    Curse spell is NOT working . . .

    look at the original method: https://github.com/runuo/runuo/blob/master/Scripts/Mobiles/PlayerMobile.cs#L807 and if you test curse spell on GameMaster, he have always = 70% resistance. if ( AccessLevel >= AccessLevel.Player ) return 70;
  3. Juzzver

    Necromancy Spells

    new Server.Spells.Necromancy.LichFormSpell( this, null ).OnCast();
  4. Juzzver

    How to re-Reset trap after use automatically.

    post your script or full method where you cuted this code.
  5. Juzzver

    Necromancy Spells

    try use OnCast methods.
  6. Juzzver

    Server not responding CLR20r3 :( Infinite loop?

    Most likely you have a looped program somewhere, which is working endlessly, as there is no checks to stop it. for exmaple: while(true){ } - and you have some problem. or: for (int i = 0; i < someCollection.Length;) { } or: for (int i = 0; i < 10; i++) { //some logic; i = 0; } and any... all...
  7. Juzzver

    How to re-Reset trap after use automatically.

    you must re-call the method in which this switch is located. In the method signature, you must pass TrapType.DartTrap, after which the switch will select this case and repeat the action.
  8. Juzzver

    Journal = crash client

    there may be a problem with the client and incompatible data that the server sends to the old client. When the client is crushed, a log should be created in the root folder, I do not remember the name, it seems Packets.log, perhaps its contents may be useful.
  9. Juzzver

    Curse spell is NOT working . . .

    buff icon with a curse spell have? If so, does it show a decrease in stats > 0 ? Maybe you just have too much magic resistance?
  10. Juzzver

    "minor" crafting problem..

    If understand how the garbage collector works, then again, there is nothing critical here. All that the collector will do is mark the objects to be deleted with indexes, and cleaning will start only when GC need to free up memory. In addition, in the first two generations (ephemeral), garbage...
  11. Juzzver

    "minor" crafting problem..

    The timer is the easiest solution for the user. The timer will terminate immediately after the specified tick, in this case it is 0.1 second. In addition, the timer performs its action in a separate thread, which will not affect the main thread in any way. I will agree with you only in one...
  12. Juzzver

    need help making custom artifacts have rare mod.

    Replace this: to: double chance = Utility.RandomDouble(); if (chance < 0.5) // 50% chance for drop { switch (Utility.Random(6)) { case 0: Attributes.LowerManaCost = Utility.RandomMinMax(1, 10); break...
  13. Juzzver

    need help making custom artifacts have rare mod.

    add the missing bracket
  14. Juzzver

    need help making custom artifacts have rare mod.

    double chance = Utility.RandomDouble(); if (chance < 0.5) // 50% chance for drop { switch (Utility.Random(6)) { case 0: Attributes.LowerManaCost = Utility.RandomMinMax(1, 10); break; case 1: Attributes.LowerRegCost =...
  15. Juzzver

    Killing doom boss doesn't give you point for artifacts

    I tested it and it works successfully. make sure you save the changes and restart the server. Just make sure that you have disabled the check(it is default in servuo) for the region in DemonKnight.cs Method HandleKill: if ( pm == null || bc == null || bc.NoKillAwards/*||...
  16. Juzzver

    Disable hue retaining

    Yes, certainly. Almost any property can be overridden/changed this way. Resource = CraftResource.Verite;
  17. Juzzver

    XmlMinionstrike constructable, cant figure this out

    you can see constructor signature and: XmlAttach.AttachTo(this, new XmlMinionStrike("PolarBear",25,1,0));
  18. Juzzver

    Disable hue retaining

    if you want that only for some items, use Hue property with timer in Constructor: [Constructable] public Longsword() : base(0xF61) { this.Weight = 7.0; if (this.GetType() == typeof(Longsword))...
  19. Juzzver

    need help making custom artifacts have rare mod.

    if (Utility.RandomDouble() > 0.1) // 10% chance { // your bonuses here }
  20. Juzzver

    Forged Metal Artifact tool giving error...

    you need add NextEnhanceSuccess property for PlayerMobile class you can get it from here: https://github.com/ServUO/ServUO/blob/83ffafa7b4331de0b91251d1ccfa966b8e7cbf81/Scripts/Mobiles/PlayerMobile.cs#L215

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back