• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • So, When will be able to make "intelligent" Loot Filters?

    Discussion in 'Archives' started by Nixon233, Feb 7, 2014.

    1. Mydruid

      Mydruid New Member

      Joined:
      Dec 13, 2010
      Messages:
      226
      Likes Received:
      2
      Trophy Points:
      0
      Im trying to make a filter that vendors rares that have less than 4S4L but am having trouble with the stashing part first. It keeps stashing.

      I have declicked rare in the "Stash all currency, uniques, and skill gems" section and have made two new filters for stashing. They are below

      View attachment 120725
      View attachment 120726

      But it keeps stashing all rares regardless of their socket number.

      I have relaunched the bot several times and checked the details and it does not appear to be a visual gui bug.

      Any help?
       
    2. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      The reason the bot stashes them rather than selling them, is because of filter overlap.

      There's only one case where the bot will vendor something right now, and that's when there is no stash filter that matches the item when it has a sell filter.

      Our default stash filters are really broad, because they used to mean something else. In reality, they are "Do Not Sell" filters right now, since the bot will stash everything left over in your inventory.

      However, it's not been changed yet, because the gui is in need of a revamp, and unexpectedly changing this behavior without giving people enough of a heads-up would result in a lot of problems.

      As a result, the proper way to handle selling right now is to make your own filter where you stash the items you never want to sell, and then make very specific sell filters that don't overlap any stash filters.

      I know it sounds like a pain, but between stashing things people would rather sell, vs selling things people would rather stash, the former is far preferred.
       
    3. Mydruid

      Mydruid New Member

      Joined:
      Dec 13, 2010
      Messages:
      226
      Likes Received:
      2
      Trophy Points:
      0
      Thats the thing though, I was under the impression I had taken care of the filter. I looked at the actual default filter file and it didnt seem to line up properly with what was showing in the gui. If I edit the file directly will that work more reliably?

      Assuming(this may be wrong?):

      normal =0
      magic =1
      rare =2
      unique =3
      gems =4
      currency =5
      quest =6

      and

      Type 1= Pickup
      Type 2= Vendor
      Type 3= Stash

      Code:
      [  {
          "Description": "Default pickup filter.",
          "Type": 1,
          "Filters": [
            {
              "Description": "Pickup all maps.",
              "Enabled": true,
              "Types": [
                "/Maps/"
              ]
            },
            {
              "Description": "Pickup all important items by rarity.",
              "Enabled": true,
              "Rarities": [
                3,
                2,
                6
              ]
            },
            {
              "Description": "Pickup all currency except...",
              "Enabled": true,
              "Names": [
                "Name Goes Here"
              ],
              "NameRegex": false,
              "NameMatchAnyRatherThanAll": false,
              "Rarities": [
                5
              ]
            },
            {
              "Description": "Pickup all quality skill gems.",
              "Enabled": true,
              "Rarities": [
                4
              ],
              "MinQuality": 1
            },
            {
              "Description": "Pickup all non-common, no-quality skill gems.",
              "Enabled": true,
              "Names": [
                "Fireball",
                "Spark",
                "Sweep",
                "Ground Slam",
                "Cleave",
                "Double Strike",
                "Dual Strike",
                "Burning Arrow",
                "Heavy Strike",
                "Glacial Hammer",
                "Freezing Pulse",
                "Split Arrow",
                "Raise Zombie",
                "Ice Nova",
                "Leap Slam",
                "Shield Charge",
                "Whirling Blades",
                "Cold Snap",
                "Detonate Dead",
                "Poison Arrow",
                "Ice Shot",
                "Flicker Strike",
                "Ice Spear",
                "Infernal Blow",
                "Shock Nova",
                "Viper Strike",
                "Explosive Arrow",
                "Rain of Arrows",
                "Firestorm",
                "Puncture",
                "Lightning Arrow",
                "Bear Trap",
                "Fire Trap",
                "Reave",
                "Ethereal Knives",
                "Decoy Totem"
              ],
              "NameRegex": false,
              "NameMatchAnyRatherThanAll": false,
              "Rarities": [
                4
              ],
              "MaxQuality": 0
            },
            {
              "Description": "Pickup all items that can vendor for a Chromatic Orb.",
              "Enabled": true,
              "SocketColors": [
                "R-G-B"
              ]
            },
            {
              "Description": "Pickup all 5/6-link items.",
              "Enabled": true,
              "MinLinks": 5
            },
            {
              "Description": "Pickup all 6-socket items.",
              "Enabled": true,
              "MinSockets": 6
            },
            {
              "Description": "Pickup all items that can vendor for an Armourer's Scrap, Blacksmith Whetstone, or Glassblower's Bauble.",
              "Enabled": true,
              "Rarities": [
                0
              ],
              "MinQuality": 20
            },
            {
              "Description": "Pickup all quality flasks.",
              "Enabled": true,
              "Types": [
                "/Flasks/"
              ],
              "MinQuality": 1
            },
            {
              "Description": "Pickup all utility flasks.",
              "Enabled": true,
              "Types": [
                "FlaskUtility"
              ]
            }
          ]
        },
        {
          "Description": "Default stash filter.",
          "Type": 3,
          "Filters": [
            {
              "Description": "Stash all currency, uniques, and skill gems.",
              "Enabled": true,
              "Rarities": [
                5,
                3,
                4
              ]
            },
            {
              "Description": "Stash all 6 socket items.",
              "Enabled": true,
              "MinSockets": 6
            },
            {
              "Description": "Stash all 5+ linked items.",
              "Enabled": true,
              "MinLinks": 5
            },
            {
              "Description": "Stash all maps and utility flasks",
              "Enabled": true,
              "Types": [
                "/Maps/",
                "FlaskUtility"
              ]
            },
            {
              "Description": "Stash all flasks that will not vendor for a bauble.",
              "Enabled": true,
              "Types": [
                "/Flasks/"
              ],
              "MinQuality": 1,
              "MaxQuality": 19
            },
            {
              "Description": "Stash all Rare armour and weapons with 4S4L.",
              "Enabled": true,
              "Types": [
                "/TwoHandWeapons/",
                "/OneHandWeapons/",
                "/Armours/"
              ],
              "Rarities": [
                2
              ],
              "MinSockets": 4,
              "MinLinks": 4
            }
      	  {
              "Description": "Stash all Rare Offpieces.",
              "Enabled": true,
              "Types": [
                "/Rings/",
                "/Belts/",
                "/Amulets/",
                "/Quivers/"
              ],
              "Rarities": [
                2
              ],
            }
          ]
        },
        {
          "Description": "Default vendor filter.",
          "Type": 2,
          "Filters": [
            {
              "Description": "This filter will sell all normal/magic chromatic items that are 3L and only have 5 or fewer sockets.",
              "Enabled": true,
              "Rarities": [
                0,
                1
              ],
              "MaxSockets": 5,
              "MaxLinks": 3,
            },
            {
              "Description": "Vendors Rares with 3S3L weapons and armor.",
              "Enabled": true,
              "Types": [
                "/TwoHandWeapons/",
                "/OneHandWeapons/",
                "/Armours/"
              ],
              "Rarities": [
                2
              ],
              "MaxSockets": 3,
              "MaxLinks": 3,
            }
          ]
        }
      ]
      EDIT: Doesnt work. Keep getting this error:

      Unhandled exceptionSystem.TypeInitializationException: The type initializer for 'Loki.Bot.Logic.Registry' threw an exception. ---> Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: {. Path '[1].Filters[5]', line 186, position 4.
       
    4. geniusgenius

      geniusgenius New Member

      Joined:
      Mar 7, 2014
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      Hi, I need filter options for pickUP
      i want pickup only Rings, amulets, quivers, belts, daggers :confused:
      I use Default Filter.json
       
    5. IeU

      IeU Member

      Joined:
      Jul 20, 2010
      Messages:
      830
      Likes Received:
      11
      Trophy Points:
      18
      Ah?

      We supposed to do for you?
       

    Share This Page