1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable PVP on Doom

Discussion in 'Windows Support' started by RedDragon, Dec 23, 2013.

  1. RedDragon
    Offline

    RedDragon Member

    Joined:
    Dec 19, 2013
    Messages:
    34
    Likes Received:
    1
    My shard is malas pvp.
    we want to disable pvp on Doom only.

    i done it editing Notoriety
    and adding this:
    now the problem is that players can attack pets, and pets can attack players.

    There is a better way to have doom disabled pvp? or put trammel rules only for doom?
     
  2. Ravenwolfe
    Offline

    Moderator ServUO Developer

    Joined:
    Sep 7, 2013
    Messages:
    1,147
    Likes Received:
    123
    I'm not near my scripts, but I think you could set something in the regions.xml. I can look later if you don't solve it by then.
     
    • Two Thumbs Up Two Thumbs Up x 1
  3. RedDragon
    Offline

    RedDragon Member

    Joined:
    Dec 19, 2013
    Messages:
    34
    Likes Received:
    1
  4. Clayton
    Offline

    Clayton New Member

    Joined:
    Mar 20, 2013
    Messages:
    3
    Likes Received:
    2
    ( from is BaseCrature ) && ( from.Controlled ) && ( target is PlayerMobile )
     
    • Like Like x 1
  5. RedDragon
    Offline

    RedDragon Member

    Joined:
    Dec 19, 2013
    Messages:
    34
    Likes Received:
    1
    basemount is basecreature too?
     
  6. Clayton
    Offline

    Clayton New Member

    Joined:
    Mar 20, 2013
    Messages:
    3
    Likes Received:
    2
    Yes...
    All pets are base creatures
     
    • Like Like x 1
  7. RedDragon
    Offline

    RedDragon Member

    Joined:
    Dec 19, 2013
    Messages:
    34
    Likes Received:
    1
    now, how to make other player's corpses unlooteables on doom?
     
  8. RedDragon
    Offline

    RedDragon Member

    Joined:
    Dec 19, 2013
    Messages:
    34
    Likes Received:
    1
    Doom spawner creates a new region and this region have felucca rules like malas...
     
  9. Ravenwolfe
    Offline

    Moderator ServUO Developer

    Joined:
    Sep 7, 2013
    Messages:
    1,147
    Likes Received:
    123
    In corpse.cs change the CanLoot method to do the same type of region check you did in notoriety.cs
     
Similar Threads: Disable PVP
Forum Title Date
Script Support Disable Client Verification? Friday at 9:30 PM
Script Support Colored item name (Aos disabled) May 1, 2017
General Discussion Disable Anti-Macro or leave it in... Apr 26, 2017
Discussion Disable Trammel spawners excluding New Haven. Apr 3, 2017
Script Support Disable item insurance? Mar 17, 2017
Script Support How to disable seasons effects (e.g. shiny flowers, mushrooms)? Feb 14, 2017
General Discussion disable vvv system Dec 17, 2016