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.
View attachment 195320

thanks tony but when i replace all the "item.item." with "item." I get this

PHP:
2016-01-04 22:44:40,579 [20] ERROR CustomLogger (null) - [Tick] Exception during execution:
Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> Microsoft.Scripting.SyntaxErrorException: syntax error
   at IronPython.Runtime.ThrowingErrorSink.Add(SourceUnit sourceUnit, String message, SourceSpan span, Int32 errorCode, Severity severity)
   at IronPython.Compiler.Parser.ReportSyntaxError(Int32 start, Int32 end, String message, Int32 errorCode)
   at IronPython.Compiler.Parser.ReportSyntaxError(String message)
   at IronPython.Compiler.Parser.ReadNameMaybeNone()
   at IronPython.Compiler.Parser.AddTrailers(Expression ret, Boolean allowGeneratorExpression)
   at IronPython.Compiler.Parser.ParsePower()
   at IronPython.Compiler.Parser.ParseFactor()
   at IronPython.Compiler.Parser.ParseExpr(Int32 precedence)
   at IronPython.Compiler.Parser.ParseComparison()
   at IronPython.Compiler.Parser.ParseNotTest()
   at IronPython.Compiler.Parser.ParseAndTest()
   at IronPython.Compiler.Parser.ParseAndTest()
   at IronPython.Compiler.Parser.ParseOrTest()
   at IronPython.Compiler.Parser.ParseExpression()
   at IronPython.Compiler.Parser.FinishTupleOrGenExp()
   at IronPython.Compiler.Parser.ParsePrimary()
   at IronPython.Compiler.Parser.ParsePower()
   at IronPython.Compiler.Parser.ParseFactor()
   at IronPython.Compiler.Parser.ParseExpr(Int32 precedence)
   at IronPython.Compiler.Parser.ParseComparison()
   at IronPython.Compiler.Parser.ParseNotTest()
   at IronPython.Compiler.Parser.ParseAndTest()
   at IronPython.Compiler.Parser.ParseOrTest()
   at IronPython.Compiler.Parser.ParseExpression()
   at IronPython.Compiler.Parser.FinishTupleOrGenExp()
   at IronPython.Compiler.Parser.ParsePrimary()
   at IronPython.Compiler.Parser.ParsePower()
   at IronPython.Compiler.Parser.ParseFactor()
   at IronPython.Compiler.Parser.ParseExpr(Int32 precedence)
   at IronPython.Compiler.Parser.ParseComparison()
   at IronPython.Compiler.Parser.ParseNotTest()
   at IronPython.Compiler.Parser.ParseAndTest()
   at IronPython.Compiler.Parser.ParseAndTest()
   at IronPython.Compiler.Parser.ParseAndTest()
   at IronPython.Compiler.Parser.ParseOrTest()
   at IronPython.Compiler.Parser.ParseExpression()
   at IronPython.Compiler.Parser.ParseTestListAsExpr()
   at IronPython.Compiler.Parser.ParseTestListAsExpression()
   at IronPython.Compiler.Parser.ParseTopExpression()
   at IronPython.Runtime.PythonContext.ParseAndBindAst(CompilerContext context)
   at IronPython.Runtime.PythonContext.CompilePythonCode(SourceUnit sourceUnit, CompilerOptions options, ErrorSink errorSink)
   at IronPython.Runtime.FunctionCode.FromSourceUnit(SourceUnit sourceUnit, PythonCompilerOptions options, Boolean register)
   at IronPython.Modules.Builtin.eval(CodeContext context, String expression, PythonDictionary globals, Object locals)
   at IronPython.Modules.Builtin.eval(CodeContext context, String expression)
   at CallSite.Target(Closure , CallSite , CodeContext , Object , Object )
   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\HarleyC\Desktop\EB\Plugins\AdvancedItemFilter\Python\ConditionParserPython.cs:line 74
   at AdvancedItemFilter.MyItemEvaluator.Match(Item item, EvaluationType type, IItemFilter& filter) in c:\Users\HarleyC\Desktop\EB\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.Ro\]%:1\]^nv9dY!\\N^`i-pFJx$.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.=p2=a@\,@ P\,7T\*Qm0ZWbb4M\]\*.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.c=OwL/Jd\]ZD|7$C<OgV"?\,I).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.F\&nwXV-z2Y:a%OZd0PqYl9HD\,.R}Dsge4/rF6=3dEs\,hPfZsGV".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 )[ATTACH]195320[/ATTACH]

I couldn't even get the bot to open the sell screen. It just immediatly starting throwing this error.

You still have an issue in your rules, dunno where, but the next version will include a little logging concerning those errors and what has caused them.
 
I'll code a behavior to avoid being out/stashing scrolls in the next days. (since I can now count the number in stash h3h3)

ok thanks.

and what about the divination cards?
which settings i need to fix the AIF card blacklisting?

i guess i can blacklist most of the cards via .json file, but it's more comfortable if the AIF blacklisting via GUI would work.
 
hello!

i dont know why, but chaos recipe isnt working properly.
i have
-> checked chaos recipe
-> amount of pieces to keep: everywhere is a 1 except rings, amulets and belts - theres a 2

i though that means, that he is checking if he can do the chaos recipe if theres is more then 1 piece of everything and more then 2 ring sets, amulets and belts.

and despite the fact i have checked "id all rares except accessories" he starts ID my rings and amulets at some point :-(
 
ok thanks.

and what about the divination cards?
which settings i need to fix the AIF card blacklisting?

i guess i can blacklist most of the cards via .json file, but it's more comfortable if the AIF blacklisting via GUI would work.

The blacklisting is working, make sure it's not an issue on your side. Check the debug box in the Divination Cards tab, see if it returns wrong values in the log (it should say something about specific handling)

hello!

i dont know why, but chaos recipe isnt working properly.
i have
-> checked chaos recipe
-> amount of pieces to keep: everywhere is a 1 except rings, amulets and belts - theres a 2

i though that means, that he is checking if he can do the chaos recipe if theres is more then 1 piece of everything and more then 2 ring sets, amulets and belts.

and despite the fact i have checked "id all rares except accessories" he starts ID my rings and amulets at some point :-(

No, Basically AIF keeps the number of X item types you've put in settings, 10 amulets will keep 10 amulets, if there's no 2H weapons in stash, it'll start iding amulets.

AIF does a chaos recipe when every single type of gear needed is saved.

// EDIT //

I'll be testing the new scroll/Stones/scraps behavior today, most of the other fixes are working, I'm waiting for my bot to execute quality on recipe to make sure the counting is not derping.

Should fix most of the issues with AIF
 
Last edited:
so i dont understand why he isnt doing the chaos recipe. i have everything i need in my stash. he just doesnt do it. i set amount to keep to 1. but he still doesnt do the chaos recipe.

ChaosSet] Helms: [ 1 ] (Max)
[ChaosSet] Body: [ 1 ] (Max)
[ChaosSet] Gloves: [ 1 ] (Max)
[ChaosSet] Boots: [ 2 ]
[ChaosSet] Belts: [ 2 ]
[ChaosSet] Two Hand Weapons: [ 2 ]
[ChaosSet] Rings: [ 1 ] (Max)
[ChaosSet] Amulets: [ 1 ] (Max)
[ChaosSet] Is Ready For Selling = False
 
so i dont understand why he isnt doing the chaos recipe. i have everything i need in my stash. he just doesnt do it. i set amount to keep to 1. but he still doesnt do the chaos recipe.

ChaosSet] Helms: [ 1 ] (Max)
[ChaosSet] Body: [ 1 ] (Max)
[ChaosSet] Gloves: [ 1 ] (Max)
[ChaosSet] Boots: [ 2 ]
[ChaosSet] Belts: [ 2 ]
[ChaosSet] Two Hand Weapons: [ 2 ]
[ChaosSet] Rings: [ 1 ] (Max)
[ChaosSet] Amulets: [ 1 ] (Max)
[ChaosSet] Is Ready For Selling = False

You need 2 rings. KappaKeepoKappaClausKappaRoss This is the only slider thas has to remain 2 or higher, I'll change the step in the GUI

For the recipe you need :

- 1x Helmet
- 1x Body
- 1x Gloves
- 1x Boots
- 1x Belt
- 1x 2H Weapon
- 2x Rings
- 1x Amulet

;)
 
Last edited:
i dont know why he thinks i have only 1 ring there. i have stashed 3 rings and 2 amulets. i can do the chaos recipe manually and it works.
 
oh noooo. they are itemlvl 75. im just doing maps till lvl 70. why hes getting this kind of items :( thank you man. just one last question:

if i set amulets, rings and belts to... 20 or so. hes not going to ID them till he gets 20 of them, but hes goint to do the chaos recipe, even though i have less than 20? jesus my english sucks, i hope you understand what i mean.
 
oh noooo. they are itemlvl 75. im just doing maps till lvl 70. why hes getting this kind of items :( thank you man. just one last question:

if i set amulets, rings and belts to... 20 or so. hes not going to ID them till he gets 20 of them, but hes goint to do the chaos recipe, even though i have less than 20? jesus my english sucks, i hope you understand what i mean.

Don't worry for your english, there's way worse around.

Yep they're filtered by level, the only eligible items are shown when the bot goes into your stash and counts them (you can see a little report in the log).

And yes, it'll wait until it has 20 rings or whatever to start processing the others.
 
Thank you man. you did an excellent job @ d3 with your gearswap plugin. now here. hail toNyx <3

i dont want to get greedy with my questions but.... do you know why hes goign through all my stash slots, even though i have blacklisted most of them? he needs really long because of

"[WaitForStashTabContents] Waiting for a page control to become visible."

so im wasting much time in the long run.
 
Thank you man. you did an excellent job @ d3 with your gearswap plugin. now here. hail toNyx <3

i dont want to get greedy with my questions but.... do you know why hes goign through all my stash slots, even though i have blacklisted most of them? he needs really long because of

"[WaitForStashTabContents] Waiting for a page control to become visible."

so im wasting much time in the long run.

Yes it goes through all tabs regardless of the blacklist, because that's how the plugins iterates, it'll get notified if it's blacklisted as soon as it's loaded, no way to do it in another way :)
 
Hello

I dont know how pick up items only for chaos recipe. I try Pickup rule :
1. item.IsRecipeItem (but nothing)
2. item.IsRare and item.IsRecipeItem (nothing to pick up)
3. I try with out some rare rule (but nothing)
Help me pls how to do the rule for this, I wanna farm only chaos not alts
Thx
 
Hello

I dont know how pick up items only for chaos recipe. I try Pickup rule :
1. item.IsRecipeItem (but nothing)
2. item.IsRare and item.IsRecipeItem (nothing to pick up)
3. I try with out some rare rule (but nothing)
Help me pls how to do the rule for this, I wanna farm only chaos not alts
Thx

You cant atm.
 
:(
Thank you

And dosn't have any method to pickup items only for chaos recipe?
 
Last edited:
:(
Thank you

And dosn't have any method to pickup items only for chaos recipe?

Not yet, but I can think about doing one ;D

// EDIT //

Well, it took me 5 seconds to figure it out, It's gonna be added in next build (experimental)
 
Last edited:
Not yet, but I can think about doing one ;D

I made a more stricted HighEnd loot thingie... That picks fewer armours, fewer 2H, etc.

My ideea was to pick only astral plates and glorious plates(for example) Those are the more common sold, and high lvl gear.

That goes for all the armours, all 2h, no quivers, no shields, it picks all the daggers, claws, boots, helms.. Bla bla :-)

If someone is interested i can post it when i get to work.

Probably this would be also an emprovement to a chaos recipe? Havn't tested tbh :-D
 
Now Iam testing this rule mostly for "chaos recipe". I wanna look how many will be the "Avarage time per map" with this rules and with "no id" for all this rare. ATPM befor this was 8:30-9 min without scrolls and scraps.
item.IsRare and item.ItemLevel > 59 and item.IsAmulet
item.IsRare and item.ItemLevel > 59 and item.IsRing
item.IsRare and item.ItemLevel > 59 and item.IsBelt
item.IsRare and item.ItemLevel > 59 and item.IsBoot
item.IsRare and item.ItemLevel > 59 and item.IsChest
item.IsRare and item.ItemLevel > 59 and item.IsGloves
item.IsRare and item.ItemLevel > 59 and item.IsHelmet
item.IsRare and item.ItemLevel > 59 and item.Is2HSword
 
Last edited:
Now Iam testing this rule mostly for "chaos recipe". I wanna look how many will be the "Avarage time per map" with this rules and with "no id" for all this rare. ATPM befor this was 8:30-9 min without scrolls and scraps.
item.IsRare and item.ItemLevel > 59 and item.IsAmulet
item.IsRare and item.ItemLevel > 59 and item.IsRing
item.IsRare and item.ItemLevel > 59 and item.IsBelt
item.IsRare and item.ItemLevel > 59 and item.IsBoot
item.IsRare and item.ItemLevel > 59 and item.IsChest
item.IsRare and item.ItemLevel > 59 and item.IsGloves
item.IsRare and item.ItemLevel > 59 and item.IsHelmet
item.IsRare and item.ItemLevel > 59 and item.Is2HSword
item.IsRare and item.ItemLevel > 59 and (item.IsAmulet or item.IsRing or item.IsBelt or item.IsBoot or item.IsChest or item.IsGloves or item.IsHelmet or item.Is2HSword)
 
Status
Not open for further replies.
Back
Top