What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] AdvancedItemFilter RELOADED !

Status
Not open for further replies.
Adding this to the end is picking up leaguestones and should work for the reliquary

{
"Comment": "",
"Enabled": true,
"Type": 0,
"Rule": "item.FullNameContains("Leaguestone")",
"ShouldLog": false,
"Priority": 1
},
{
"Comment": "",
"Enabled": true,
"Type": 2,
"Rule": "item.FullNameContains("Leaguestone")",
"ShouldLog": false,
"Priority": 1
},
{
"Comment": "",
"Enabled": true,
"Type": 0,
"Rule": "item.FullNameContains("Ancient Reliquary")",
"ShouldLog": false,
"Priority": 1
},
{
"Comment": "",
"Enabled": true,
"Type": 2,
"Rule": "item.FullNameContains("Ancient Reliquary")",
"ShouldLog": false,
"Priority": 1
}
 
Last edited:
{
"Comment": "",
"Enabled": true,
"Type": 0,
"Rule": "item.FullNameContains == "Leaguestone"",
"ShouldLog": false,
"Priority": 1
},
{
"Comment": "",
"Enabled": true,
"Type": 2,
"Rule": "item.FullNameContains == "Leaguestone"",
"ShouldLog": false,
"Priority": 1
},
{
"Comment": "",
"Enabled": true,
"Type": 0,
"Rule": "item.FullNameContains == "Ancient Reliquary"",
"ShouldLog": false,
"Priority": 1
},
{
"Comment": "",
"Enabled": true,
"Type": 2,
"Rule": "item.FullNameContains == "Ancient Reliquary"",
"ShouldLog": false,
"Priority": 1
}
 
does anybody have a profile they can upload please? mine is just picking up everything and stashing it instead of only saving a certain amount of chaos recipe.
 
zzz leagestone still not working, tried a few variations idk why.

Heres mine, rename to .json and then import
 

Attachments

does anybody have a profile they can upload please? mine is just picking up everything and stashing it instead of only saving a certain amount of chaos recipe.

There's an entire thread dedicated to them.. go check it out
 
zzz leagestone still not working, tried a few variations idk why.

Heres mine, rename to .json and then import

Same here. Also, everyone make sure you add:

{
"Comment": "",
"Enabled": true,
"Type": 0,
"Rule": "item.IsCurrency and item.FullName == "Perandus Coin"",
"ShouldLog": false,
"Priority": 1
},

because some leaguestones are perandus, and it's not in the standard files being passed around.
 
item.FullNameContains("Leaguestone") is working 100%

If you add directly (dont forget the backslash):

"Rule": "item.NameContains("Leaguestone")",

OK forum formats the backslashes away, backslash after the first clip and another after the Leaguestone :D:D
 
Last edited:
^ not so sure about that, on certain names in the league stone it won't pick it up, ive seen it ignore enduring warbands leaguestone of something
 
^ not so sure about that, on certain names in the league stone it won't pick it up, ive seen it ignore enduring warbands leaguestone of something
Probably case sensitive function, add new rules for tests
Code:
  {
    "Comment": "",
    "Enabled": true,
    "Type": 0,
    "Rule": "item.FullNameContains(\"leaguestone\")",
    "ShouldLog": false,
    "Priority": 1
  },
  {
    "Comment": "",
    "Enabled": true,
    "Type": 2,
    "Rule": "item.FullNameContains(\"leaguestone\")",
    "ShouldLog": false,
    "Priority": 1
  }
 
can confirm the earlier post with ancient reliquary does work, saw it pick one up myself.
 
Probably case sensitive function, add new rules for tests
Code:
  {
    "Comment": "",
    "Enabled": true,
    "Type": 0,
    "Rule": "item.FullNameContains(\"leaguestone\")",
    "ShouldLog": false,
    "Priority": 1
  },
  {
    "Comment": "",
    "Enabled": true,
    "Type": 2,
    "Rule": "item.FullNameContains(\"leaguestone\")",
    "ShouldLog": false,
    "Priority": 1
  }

lightbulb!
 
Nope still cant get leagustones!

Can someone load a file with leaguestones working
 
Not sure if I'm doing this correctly but shouldn't this be the correct place to add custom rules to? My rules never show up in the bot settings. When I try adding the list to the plugins/advanceditemfilter section, the plugin vanishes.
 
Added all the rules for the legacy league, work for me.
Code:
{
    "Comment": "",
    "Enabled": true,
    "Type": 0,
    "Rule": "item.FullNameContains("Ancient Reliquary")",
    "ShouldLog": false,
    "Priority": 1
  },
  {
    "Comment": "",
    "Enabled": true,
    "Type": 2,
    "Rule": "item.FullNameContains("Ancient Reliquary")",
    "ShouldLog": false,
    "Priority": 1
  },
  {
    "Comment": "",
    "Enabled": true,
    "Type": 0,
    "Rule": "item.FullNameContains("Leaguestone")",
    "ShouldLog": false,
    "Priority": 1
  },
  {
    "Comment": "",
    "Enabled": true,
    "Type": 2,
    "Rule": "item.FullNameContains("Leaguestone")",
    "ShouldLog": false,
    "Priority": 1
  },
  {
    "Comment": "",
    "Enabled": true,
    "Type": 0,
    "Rule": "item.IsCurrency and item.FullNameContains("Perandus Coin")",
    "ShouldLog": false,
    "Priority": 1
  },
  {
    "Comment": "",
    "Enabled": true,
    "Type": 2,
    "Rule": "item.IsCurrency and item.FullNameContains("Perandus Coin")",
    "ShouldLog": false,
    "Priority": 1
  },
  {
    "Comment": "",
    "Enabled": true,
    "Type": 0,
    "Rule": "item.FullNameContains("leaguestone")",
    "ShouldLog": false,
    "Priority": 1
  },
  {
    "Comment": "",
    "Enabled": true,
    "Type": 2,
    "Rule": "item.FullNameContains("leaguestone")",
    "ShouldLog": false,
    "Priority": 1
  }
 
For Leaguestones, I can't get @Anjin's rules to work, but since all the stones are corrupted, I added Pickup: item.IsCorrupted and Keep: item.IsCorrupted to my rules. It's janky, but it works, at least for now.
 
idk what im doing wrong, its still not working for me - Anjon can you upload your file?
 
For Leaguestones, I can't get @Anjin's rules to work, but since all the stones are corrupted, I added Pickup: item.IsCorrupted and Keep: item.IsCorrupted to my rules. It's janky, but it works, at least for now.

Can you talk to me like an idiot? Where did you put the thing? in the first option "pickup" or in custom rules?
 
Hi guys i followed the chaos recipe guide step for step but the bot keeps stopping with these items.



Code:
[CustomItemRules] The rule "item.IsNeededForRecipe" has returned an error.
[CustomItemRules] Please consider pasting this part of the log on the following thread : http://bit.ly/AIFReloaded
[CustomItemRules] The error is : System.NullReferenceException: Object reference not set to an instance of an object.
   at AdvancedItemFilter.Classes.GearRecipe.<>c__DisplayClass45_0.<NeededForRecipe>b__0(BaseNameEntry e) in C:\Users\USER\Downloads\FOLDER\3rdParty\_CONFIGS_\Default\AdvancedItemFilter\Content-620107593\Classes\GearRecipe.cs:line 141
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at AdvancedItemFilter.Classes.GearRecipe.NeededForRecipe(Item i, Rarity r, InventoryType type) in C:\Users\USER\Downloads\FOLDER\3rdParty\_CONFIGS_\Default\AdvancedItemFilter\Content-620107593\Classes\GearRecipe.cs:line 141
   at AdvancedItemFilter.Classes.EvaluableItem.get_IsNeededForRecipe() in C:\Users\USER\Downloads\FOLDER\3rdParty\_CONFIGS_\Default\AdvancedItemFilter\Content-620107593\Classes\EvaluableItem.cs:line 92
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Invoke(Object arg0)
   at IronPython.Runtime.Binding.PythonGetMemberBinder.FastPropertyGet`1.GetPropertyBool(CallSite site, TSelfType target, CodeContext context)
   at <unnamed>(Closure , CodeContext , FunctionCode )
   at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
   at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
   at IronPython.Compiler.PythonScriptCode.Run(Scope scope)
   at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
   at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
   at Microsoft.Scripting.Hosting.CompiledCode.Execute(ScriptScope scope)
   at AdvancedItemFilter.Python.ConditionParserPython.EvaluateCondition(Item i, CustomRule cr, Boolean onlyEvaluating) in C:\Users\USER\Downloads\FOLDER\3rdParty\_CONFIGS_\Default\AdvancedItemFilter\Content-620107593\Python\ConditionParserPython.cs:line 81
[CustomItemRules] To avoid any further issues, bot will stop now, plaese verify your file.


[Tick] Exception #21 during execution:Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.NullReferenceException: Object reference not set to an instance of an object.
at AdvancedItemFilter.Classes.GearRecipe.<>c__DisplayClass46_0.<CheckProtectionNeeds>b__0(BaseNameEntry e) in C:\Users\USER\Downloads\FOLDER\3rdParty\_CONFIGS_\Default\AdvancedItemFilter\Content-620107593\Classes\GearRecipe.cs:line 166
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at AdvancedItemFilter.Classes.GearRecipe.<CheckProtectionNeeds>d__46.MoveNext() in C:\Users\USER\Downloads\FOLDER\3rdParty\_CONFIGS_\Default\AdvancedItemFilter\Content-620107593\Classes\GearRecipe.cs:line 166
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at AdvancedItemFilter.Tasks.IdentifyItems.<CheckRecipeProtection>d__20.MoveNext() in C:\Users\USER\Downloads\FOLDER\3rdParty\_CONFIGS_\Default\AdvancedItemFilter\Content-620107593\Tasks\IdentifyItems.cs:line 138
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at AdvancedItemFilter.Tasks.IdentifyItems.<Logic>d__18.MoveNext() in C:\Users\USER\Downloads\FOLDER\3rdParty\_CONFIGS_\Default\AdvancedItemFilter\Content-620107593\Tasks\IdentifyItems.cs:line 120
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Loki.Bot.TaskManager.hbFiNB\.#bcvO`Cy$HOqhnsKP#.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at MapBot.MapBot.<MainCoroutine>d__14.MoveNext() in C:\Users\USER\Downloads\FOLDER\3rdParty\_CONFIGS_\Default\MapBot\Content-620107609\MapBot.cs:line 219
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Buddy.Coroutines.Coroutine.gK|}^-)YqynOx-{CTD\.EYL\,>".7\.\&_\&Arq=D59MTnN9y%Fqqfy.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.‎‫***​*‬‫‪***‬*‫**(Boolean )
at Buddy.Coroutines.Coroutine.​*‬*‪‪**‫‫​**‪*‎*‫‏‪*(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at MapBot.MapBot.Tick() in C:\Users\USER\Downloads\FOLDER\3rdParty\_CONFIGS_\Default\MapBot\Content-620107609\MapBot.cs:line 144
at Loki.Bot.BotManager.​​‬**‫***‫​‎‫**​*‏*(IBot )
 
Last edited:
My bot pickup, and no stash leaguestone item, why? =(
EXtensions plugin ON, other item > stash tab.
 
Status
Not open for further replies.
Back
Top