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.
You rock man! Thank you!

Boom, 1.0.2.0 is out !

// EDIT //

PSSSST it's untested (mostly GUI stuff) if some shit in gui is broken, lemme know i'm heading to bederino!
 
Last edited:
Line 245 of StashToSpecificTab.cs

Code:
 Main.Log.DebugFormat("[{0}] Found specific items in inventory, stashing them in given tabs :", Name);

            var arrayList = new IEnumerable<Item>[6];
            arrayList[0] = scrollsAndScraps;
            arrayList[1] = qualitySkillGems;
            arrayList[2] = items5L;
            arrayList[3] = recipeItems;
            arrayList[4] = divinationCards;
            arrayList[5] = jewels;
            arrayList[6] = talismans;

Your array should be 7 items long, not 6. This causes the bot to get stuck in an exception loop.
 
Since ToNyx is asleep and im sure people want stashing to work. As buddyfu2 pointed out the array is causing errors. When ToNyx added additional stash tabbing for talismans, he didnt increase the array by 1.

For those of you that are not programming savvy simply open up ExileBuddy > Plugins > AdvancedItemFilter > Tasks > StashToSpecificTab.cs (open this with notepad).

Around line 245. Replace:

Code:
var arrayList = new IEnumerable<Item>[6];
with
Code:
var arrayList = new IEnumerable<Item>[[color=red]7[/color]];
 
Last edited:
Since ToNyx is asleep and im sure people want stashing to work. As buddyfu2 pointed out the array is causing errors. When ToNyx added additional stash tabbing for talismans, he didnt increase the array by 1.

For those of you that are not programming savvy simply open up ExileBuddy > Plugins > AdvancedItemFilter > Tasks > StashToSpecificTab.cs (open this with notepad).

Around line 245. Replace:

Code:
var arrayList = new IEnumerable<Item>[6];
with
Code:
var arrayList = new IEnumerable<Item>[[color=red]7[/color]];


Thanks.
 
Line 245 of StashToSpecificTab.cs

Code:
 Main.Log.DebugFormat("[{0}] Found specific items in inventory, stashing them in given tabs :", Name);

            var arrayList = new IEnumerable<Item>[6];
            arrayList[0] = scrollsAndScraps;
            arrayList[1] = qualitySkillGems;
            arrayList[2] = items5L;
            arrayList[3] = recipeItems;
            arrayList[4] = divinationCards;
            arrayList[5] = jewels;
            arrayList[6] = talismans;

Your array should be 7 items long, not 6. This causes the bot to get stuck in an exception loop.
Since ToNyx is asleep and im sure people want stashing to work. As buddyfu2 pointed out the array is causing errors. When ToNyx added additional stash tabbing for talismans, he didnt increase the array by 1.

For those of you that are not programming savvy simply open up ExileBuddy > Plugins > AdvancedItemFilter > Tasks > StashToSpecificTab.cs (open this with notepad).

Around line 245. Replace:

Code:
var arrayList = new IEnumerable<Item>[6];
with
Code:
var arrayList = new IEnumerable<Item>[[color=red]7[/color]];

Wupsy, Kappa, fixed in build I'll post this noon (off to work for now ;D)
 
Zip is up to date with fix for the array.


Deleted the old one, and placed the new one.

and i get this:


[SellItemsCoroutine] Waiting for the item to be moved.
[Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.MissingMemberException: 'EvaluableItem' object has no attribute 'item'
at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)
at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
at Microsoft.Scripting.Interpreter.DynamicInstruction`4.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
at IronPython.Compiler.PythonCallTargets.OriginalCallTarget0(PythonFunction function)
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at _Scripting_(Object[] )
at AdvancedItemFilter.Python.ConditionParserPython.EvaluateCondition(Item i, String cond, RuleType type, Boolean onlyEvaluating) in c:\Users\Alba\Desktop\New Folder\Plugins\AdvancedItemFilter\Python\ConditionParserPython.cs:line 74
at AdvancedItemFilter.MyItemEvaluator.Match(Item item, EvaluationType type, IItemFilter& filter) in c:\Users\Alba\Desktop\New Folder\Plugins\AdvancedItemFilter\MyItemEvaluator.cs:line 1034
at Loki.Bot.ItemEvaluator.Match(Item item, EvaluationType type, IItemFilter& filter)
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.‪**‬**​*​‬‪*​*‎*‪*‫‬‏‬*(Item , Object )
at Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.|#\\q(/A3s\]kz{\&\[;W`>Z@~G0#.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.ValidateEnd(Task task)
at Loki.Bot.Logic.Bots.OldGrindBot.SellTask.k0F9rW-\*Ck\.Y~GhECAjPioZn$.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 Loki.Bot.TaskManager.0(/f$Kp='gN\,M!}XM)j^Wf\,\,%.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.ValidateEnd(Task task)
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.'^)^3'=\,9|)\[yh$LX~J%R\]XO).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 Buddy.Coroutines.Coroutine."T_<DT4qu\\>1!2<35f@CguXP".M?\&DKw2D5S/FP1E-D\*ZNS<gO!.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.‪‪*​‎*‬‪​*‫‎‎‎*‎**‫*​*‎‎​*(Boolean )
at Buddy.Coroutines.Coroutine.‪‫‎****‎***‫‏*‏​*‫****‎‫‬‬*(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.Tick()
at Loki.Bot.BotManager.‎​‎*‪‬*‏*‏*‬*‫​**‏‬​*‫*(IBot )

[CustomRules][Sell] item.IsRare returned true for Mind Shackle
[SellItemsCoroutine] The Sell window is open. Now moving items to sell.
[CustomRules][Sell] item.IsRare returned true for Mind Strap
[SellItemsCoroutine] Now fast moving the item Leather Belt into the current vendor tab.
[SellItemsCoroutine] InventoryPanel.FastMove returned ItemAlreadyMoved.
[SellTask] SellItemsCoroutine returned FastMoveFailed. This is try #2. Waiting 15000 ms and then trying again.


what am i doing wrong? :(
 
it works now... cleared the inventory, and it's ok now... dunno what happened.
 
Is there a way to keep Talismans like "item.IsRare and item.IsTalisman" it doesnt work this way.
 
yQKQYQA.png

Let's say we have such daggers and I want AIF to detect it.

Question 1
Which rule will work?

Code:
item.IsRare and item.IsDagger and item.GlobalCritMult >= 20 and item.SpellCritChance >= 150

or

Code:
item.IsRare and item.IsDagger and item.GlobalCritMult >= 20 and item.GlobalCritChance >= 60 and item.SpellCritChance >= 90
item.IsRare and item.IsDagger and item.GlobalCritMult >= 20 and item.GlobalCritChance >= 80 and item.SpellCritChance >=70



Question 2
Can I do something like this? Rules say's no but who knows...
Code:
item.IsRare and item.IsDagger and item.GlobalCritMult >= 20 and (item.SpellCritChance+item.GlobalCritChance) >= 150
 
yQKQYQA.png

Let's say we have such daggers and I want AIF to detect it.

Question 1
Which rule will work?

Code:
item.IsRare and item.IsDagger and item.GlobalCritMult >= 20 and item.SpellCritChance >= 150

or

Code:
item.IsRare and item.IsDagger and item.GlobalCritMult >= 20 and item.GlobalCritChance >= 60 and item.SpellCritChance >= 90
item.IsRare and item.IsDagger and item.GlobalCritMult >= 20 and item.GlobalCritChance >= 80 and item.SpellCritChance >=70



Question 2
Can I do something like this? Rules say's no but who knows...
Code:
item.IsRare and item.IsDagger and item.GlobalCritMult >= 20 and (item.SpellCritChance+item.GlobalCritChance) >= 150

1] The pseudo-values you can see greyed on poe.trade isn't the same story as in AIF, you can filter only what is "white" :) so I would say the 2nd ones would work.

2] You can, if it's handled by Python. Basically we retrieve int values so you can probably sum them up :)

<3
 
Is there a way to keep Talismans like "item.IsRare and item.IsTalisman" it doesnt work this way.

I believe there was a typo which was fixed in last nights build.

This is working fine for me.

Code:
item.IsRare and item.IsTalisman
 
Im getting an issue were when I have the auto chaos recipe enabled the bot isnt finding one of my stash tabs and wont start. Always seems to be the last stash tab on the list. I have 14 stash tabs. Does anyone know what the issue is? I cant link a log because im on my mobile at work atm. It works fine if i dont have any recipe enabled though?
 
Im getting an issue were when I have the auto chaos recipe enabled the bot isnt finding one of my stash tabs and wont start. Always seems to be the last stash tab on the list. I have 14 stash tabs. Does anyone know what the issue is? I cant link a log because im on my mobile at work atm. It works fine if i dont have any recipe enabled though?

May be wrong, but i believe you need to increase the MaxWithdrawTabs located in OldGrindBot.

Cj6AMYU.png
 
so ive been having troubles with my item filters not working correctly so i downloaded new client , new plug in this morning and fresh installed everything from scratch. now the bot stops when it goes to town.

full log https://dl.dropboxusercontent.com/u/1078011/Exilebuddy%2039132%202015-12-18%2013.16.txt
any ideas where to look would be appreciated. thanks.

[TakeClosestPortal] The portal has been taken.
[CustomRules][Keep] item.IsCurrency returned true for Jeweller's Orb
[CustomRules][Keep] item.IsCurrency returned true for Blacksmith's Whetstone
[CustomRules][Keep] item.IsCurrency returned true for Scroll of Wisdom
[Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.MissingMemberException: 'EvaluableItem' object has no attribute 'Ismagic'
at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)
at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
at Microsoft.Scripting.Interpreter.DynamicInstruction`4.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
at IronPython.Compiler.PythonCallTargets.OriginalCallTarget0(PythonFunction function)
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at _Scripting_(Object[] )
at AdvancedItemFilter.Python.ConditionParserPython.EvaluateCondition(Item i, String cond, RuleType type, Boolean onlyEvaluating) in c:\Users\Darren\Desktop\New folder (7)\Plugins\AdvancedItemFilter\Python\ConditionParserPython.cs:line 74
at AdvancedItemFilter.MyItemEvaluator.Match(Item item, EvaluationType type, IItemFilter& filter) in c:\Users\Darren\Desktop\New folder (7)\Plugins\AdvancedItemFilter\MyItemEvaluator.cs:line 1034
at Loki.Bot.ItemEvaluator.Match(Item item, EvaluationType type, IItemFilter& filter)
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.‏​*‏‎​​*‏‎‫‫‎*‫*‎​**‎‏‫*(Item , Object )
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.‏​*****‏‬*‫‎‫‫*‏‏***(Item )
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.‏*​‏**‏‎​‪****‬‪‏***‬‏**‎‬*()
at Loki.Bot.Logic.Bots.OldGrindBot.SellTask.d<Z: Yvg#(\\36{BZ7`4mEvJs'.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 Loki.Bot.TaskManager.3KCefNN\*y1!dOx}\*1nD\,ocC|\,.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.ValidateEnd(Task task)
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.WX8SD@Ia#TSolnaW\])TIlKBc.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 Buddy.Coroutines.Coroutine.RYQEs0MEF'$>_'rBABxHUVJs).`H;3|\,f`<i_L~Y"sg/U {W_8$.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.‏*‫**‫***‬‫‎‎‏‫‎*‪‬​‬‫****‏*(Boolean )
at Buddy.Coroutines.Coroutine.‫‬**‎‬****​‏​‏‎*‪‫‏‪*(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.Tick()
at Loki.Bot.BotManager.‫‎*‎**‎‫****‪*‬‏‎*‬****‬**(IBot )
 
"Ismagic"

change anything that is "Ismagic" to "IsMagic" in your item filter.
 
Status
Not open for further replies.
Back
Top