1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you would like to submit a tutorial please visit the main tutorial page here.
    You can not submit them from this forum.
    Dismiss Notice

Disable Features in UOSteam

Discussion in 'Tutorials' started by xG00BERx, Sep 5, 2014.

  1. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    402
    Likes Received:
    39
    Some friends and I that I were playing on Servers did not like the Autoloot feature so we wanted to remove it and got the admins to agree if we could figure it out then they would do it lol

    We ended up figuring it out! We will show you how to keep a lot of issues off your server like the pesky Autolooter (my opinion)

    Moving on:

    Go into your ServUO\Scripts\Services\AssistantNegotiator\Assistants.cs

    You can then go to line 86 or so looking for the following Configure code
    Code (C#):
    1.             public static void Configure()
    2.             {
    3.                 //DisallowFeature( Features.FilterLight );
    4.                 DisallowFeature( Features.AutolootAgent );
    5.                
    6.             }

    Just like the filter light you will add the code below that for removing the AutoLooter

    Once you do that you will have to make sure you turn it on so go to line 74 looking for
    Code (C#):
    1.             static Settings()
    2.             {
    3.                 Enabled = false;
    4.                 KickOnFailure = true;
    5. ...
    You will have to change the Enabled to true;

    I am sure there is a list of how to disable other feature that your server may disagree with, I have not found them yet but I have only been working on this today so I will edit this if I do find them... Until them just make some guesses at it similar to the one I just posted

    Hope this helps!
     
    • Like Like x 3
  2. Nestea
    Offline

    Nestea Member

    Joined:
    Dec 25, 2014
    Messages:
    34
    Likes Received:
    1
    Hello man, you've got to know how to disallow for example mini heal spell on uosteam? i tried it so hard but nothing happens :(
     
  3. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    402
    Likes Received:
    39
    You cannot do it on UOSteams end as far as I know UOSteam casts and as soon as it can it targets self and that is why it is so fast so if the servers don't fix casting to be OSI Like then it is super OP.

    I do believe there is some ways to delay the mini heal casting you just have to modify the Heal.cs script.

    Try this:
    Add:
    Code (C#):
    1. public override TimeSpan GetCastDelay()
    Then also Add:
    Code (C#):
    1. public virtual TimeSpan GetCastDelay()
    2. {
    3.     return TimeSpan.FromSeconds( 2.0 );
    4. }
    or something like that If I remember correctly.

    Try that and edit the amount of seconds that you think would be fine, I am not sure if this affects Faster Casting and Recovery or not but play with a bit and see what happens.
     
  4. Nestea
    Offline

    Nestea Member

    Joined:
    Dec 25, 2014
    Messages:
    34
    Likes Received:
    1
    Thank you for answer me, but i think players whose playing using razor will be affected too.
    I thought about disallow some uosteam's features but i dont know how to put them exactly to dont affect razor too.
     
  5. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    402
    Likes Received:
    39
    Well everything in the Assistants.cs is Razor and UOSteam, for instance If I remove the Light Filter it will affect UOSteam & Razor and the UOSteam Creators did that to make it universal.

    There is no way of penalizing people who use UOSteam to heal vs Razor that I can think of.... But if you get the timer just right you could very much Balance UOSteam and Razor out that way the heals aren't so damn OP when you have 2/6 casting.
     
  6. Nestea
    Offline

    Nestea Member

    Joined:
    Dec 25, 2014
    Messages:
    34
    Likes Received:
    1
    Oh.. do you know how to ban or lock the uosteam's macros system using features? i try to ban some features like the heal self system using bandages but cant get the way to ban his macros system.
    Thank you
     
  7. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    402
    Likes Received:
    39
    Code (C#):
    1.     FilterWeather = 1 << 0, // Weather Filter
    2. FilterLight = 1 << 1, // Light Filter
    3. SmartTarget = 1 << 2, // Smart Last Target
    4. RangedTarget = 1 << 3, // Range Check Last Target
    5. AutoOpenDoors = 1 << 4, // Automatically Open Doors
    6. DequipOnCast = 1 << 5, // Unequip Weapon on spell cast
    7. AutoPotionEquip = 1 << 6, // Un/re-equip weapon on potion use
    8. PoisonedChecks = 1 << 7, // Block heal If poisoned/Macro If Poisoned condition/Heal or Cure self
    9. LoopedMacros = 1 << 8, // Disallow looping or recursive macros
    10. UseOnceAgent = 1 << 9, // The use once agent
    11. RestockAgent = 1 << 10, // The restock agent
    12. SellAgent = 1 << 11, // The sell agent
    13. BuyAgent = 1 << 12, // The buy agent
    14. PotionHotkeys = 1 << 13, // All potion hotkeys
    15. RandomTargets = 1 << 14, // All random target hotkeys (not target next, last target, target self)
    16. ClosestTargets = 1 << 15, // All closest target hotkeys
    17. OverheadHealth = 1 << 16, // Health and Mana/Stam messages shown over player's heads
    18. AutolootAgent = 1 << 17, // The autoloot agent
    19. BoneCutterAgent = 1 << 18, // The bone cutter agent
    20. AdvancedMacros = 1 << 19, // Advanced macro engine
    21. AutoRemount = 1 << 20, // Auto remount after dismount
    22. AutoBandage = 1 << 21, // Auto bandage friends, self, last and mount option
    23. EnemyTargetShare = 1 << 22, // Enemy target share on guild, party or alliance chat
    24. FilterSeason = 1 << 23, // Season Filter
    25. SpellTargetShare = 1 << 24, // Spell target share on guild, party or alliance chat
    Any of these should work for Razor/UOSteam

    I am not sure if it disables the following for Both Programs but I would imagine that it does, you will have to play with it a bit and report back with what you find if you wish to share that information.

    I may look a bit harder after I am done packing, but at this moment in time this is all I have found after about a 5 minute google search
     
  8. Nestea
    Offline

    Nestea Member

    Joined:
    Dec 25, 2014
    Messages:
    34
    Likes Received:
    1
    I have this part of script and the feature that i said last message was :
      1. AutoBandage = 1 << 21, // Auto bandage friends, self, last and mount option
        DisallowFeature (Features.AutoBandage); works well and you cant pick anything of his healing menu (where it appears to pick) but DisallowFeature (Features.AdvancedMacros); dont works which i dont have any idea why not.

        Razor hasnt got all of these Features example (auto remount, bonecutter agent...) then if you disallow them razor cant be affected anyway.
     
    #8 Nestea, Dec 26, 2014
    Last edited: Dec 26, 2014
  9. Nestea
    Offline

    Nestea Member

    Joined:
    Dec 25, 2014
    Messages:
    34
    Likes Received:
    1
    Anyone has another idea?

    I worked disallowing each of these features and them seem to work well:

    AutolootAgent
    BoneCutterAgent
    AutoBandage
     
    #9 Nestea, Jan 6, 2015
    Last edited: Jan 6, 2015
  10. Boss
    Offline

    Boss Member

    Joined:
    Aug 16, 2016
    Messages:
    43
    Likes Received:
    0
    any idea where you would find that in the runuo version?
     
  11. Tasanar
    Offline

    Moderator

    Joined:
    Oct 16, 2014
    Messages:
    4,334
    Likes Received:
    94
    Assistants.cs is the script. It can force UOSteam and Razor to disable some auto features. It is not in most versions of RunUO.
     
  12. Boss
    Offline

    Boss Member

    Joined:
    Aug 16, 2016
    Messages:
    43
    Likes Received:
    0
    I see, been thinking of trying to move over to servuo but im pretty sure i wouldnt be able to redo some of the systems i have in play
     
  13. Tasanar
    Offline

    Moderator

    Joined:
    Oct 16, 2014
    Messages:
    4,334
    Likes Received:
    94
    Yeah probably not. ServUO is the most up to date though.
     
  14. Boss
    Offline

    Boss Member

    Joined:
    Aug 16, 2016
    Messages:
    43
    Likes Received:
    0
    and run uo seems to be gone.. forever
     
  15. Tasanar
    Offline

    Moderator

    Joined:
    Oct 16, 2014
    Messages:
    4,334
    Likes Received:
    94
    Well, besides being a great place to get information it has been out of date for a while too.
     
  16. Boss
    Offline

    Boss Member

    Joined:
    Aug 16, 2016
    Messages:
    43
    Likes Received:
    0
    at LEAST it still exsist for those of us who need help occasionally
     
Similar Threads: Disable Features
Forum Title Date
Script Support Disable hue retaining May 20, 2018
Script Support Looking to disable taming completely? May 3, 2018
ServUO Discussion How to disable PlayerRangeSensitive? Nov 24, 2017
Script Support Looking to disable Special Moves book and racial book from paperdoll Nov 23, 2017
Script Support Disable Client Verification? Oct 20, 2017
Script Support Colored item name (Aos disabled) May 1, 2017
General Discussion Disable Anti-Macro or leave it in... Apr 26, 2017