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.
The advanced item filter needs rare rules first before it will save any good rares (afaik, correct me if I'm wrong)
 
temp solution for ppl with problem my problem ( bot gives error after u have to ident from stash ) oldgrindbot -> fill IDscrolls

"It's dangerous to go alone..." never run without id scrolls, it's not safe even for the bot itself. (pushedx words)

how are yall getting it to work? wont even run on mine, just gives a screen of errors when starting bot and stays at stash.

Thanks for joining the log, really appreciated.

hey tony,
is there any way to configurate this filter to pick up armor body/head/boots/ with :
armor
incesed armor
max life
0-3 resist

Yes :

Code:
(item.IsChest or item.IsHelmet or item.IsBoots) and item.TotalArmor >= X and item.MaximumLife >= Y and (item.IsTriRes or item.OverallResistancesPct >= Z)

Replace X/Y/Z

Guys do we have to disable the default item filter from the bot in order to use this one, coz after i do i get this error msg and the bot stops. If i have both this oand the default item filter enabled to bot runs without problem but not sure which rules he will use to evaluate.

[Tick] Exception during execution:System.NullReferenceException: Object reference not set to an instance of an object.
at AdvancedItemFilter.MyItemEvaluator.Match(Item item, EvaluationType type, IItemFilter& filter) in c:\Users\a\Desktop\theshit\Plugins\AdvancedItemFilter\MyItemEvaluator.cs:line 1061
at Loki.Bot.ItemEvaluator.Match(Item item, EvaluationType type, IItemFilter& filter)
at Loki.Bot.Logic.Bots.OldGrindBot.AreaStateCache.****‪‏‎*‏‏​**‏‏***‪*‫*‪*‫*()
at Loki.Bot.Logic.Bots.OldGrindBot.AreaStateCache.Tick()
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.Tick()
at Loki.Bot.BotManager.‪*‬‎***‬**‎‪‬‬‬*‫*‪‪*‏***(IBot )

Nope, keep it activated my bad, I need an instance of the default item filter so it needs to initialize.

So if i configure the original item filter like this

View attachment 184238

will the AdvancedItemFilter still keep all "good" rares even so I activated the vendor filter "All identified rares except accessories" ?

It'll ask the default item filter if nothing is found in the custom rules (if you're using them)
 
The advanced item filter needs rare rules first before it will save any good rares (afaik, correct me if I'm wrong)

But there is an option "Use Jyam's filters for rare items" in the AdvancedItemFilter "Pickup" Tab.
I thought this would do the trick
 
Hm, how do I check an item for being a divination card? =) Is there a ".IsDivinationCard" method?
 
Code:
Reloading AssemblyLoader<Loki.Bot.IPlugin> - Initializing
Exception while loading Python runtime. Exception followsIronPython.Runtime.Exceptions.ImportException: No module named Utilities
   at IronPython.Runtime.Importer.ImportModuleFrom(CodeContext context, Object from, String name)
   at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
   at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run7[T0,T1,T2,T3,T4,T5,T6,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
   at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
   at IronPython.Runtime.Operations.PythonOps.ImportTop(CodeContext context, String fullName, Int32 level)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`4.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   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.SourceUnit.Execute(Scope scope, ErrorSink errorSink)
   at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)
   at Microsoft.Scripting.Hosting.ScriptEngine.Execute(String expression, ScriptScope scope)
   at (ScriptEngine , String , ScriptScope )
   at Loki.Common.ScriptManager.‏‫‏*‪‫*‪‬**​*‏‪‏‬**‏‪*(IEnumerable`1 )
   at Loki.Common.ScriptManager.Initialize(ILog log, IEnumerable`1 shortcutsDefinitions, IEnumerable`1 customNamespaces)

[CommonEvents] Initialize
[AdvancedItemFilter] Initialize
Is this ok? It seems to load and kind of work regardless (though it doesn't seem to work properly regarding to the custom rules). So I am trying to figure out where the problem is - all those python errors gotta mean something, right? =)
 
Hm, how do I check an item for being a divination card? =) Is there a ".IsDivinationCard" method?
Code:
Reloading AssemblyLoader<Loki.Bot.IPlugin> - Initializing
Exception while loading Python runtime. Exception followsIronPython.Runtime.Exceptions.ImportException: No module named Utilities
   at IronPython.Runtime.Importer.ImportModuleFrom(CodeContext context, Object from, String name)
   at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
   at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run7[T0,T1,T2,T3,T4,T5,T6,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
   at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
   at IronPython.Runtime.Operations.PythonOps.ImportTop(CodeContext context, String fullName, Int32 level)
   at Microsoft.Scripting.Interpreter.FuncCallInstruction`4.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   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.SourceUnit.Execute(Scope scope, ErrorSink errorSink)
   at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)
   at Microsoft.Scripting.Hosting.ScriptEngine.Execute(String expression, ScriptScope scope)
   at (ScriptEngine , String , ScriptScope )
   at Loki.Common.ScriptManager.‏‫‏*‪‫*‪‬**​*‏‪‏‬**‏‪*(IEnumerable`1 )
   at Loki.Common.ScriptManager.Initialize(ILog log, IEnumerable`1 shortcutsDefinitions, IEnumerable`1 customNamespaces)

[CommonEvents] Initialize
[AdvancedItemFilter] Initialize
Is this ok? It seems to load and kind of work regardless (though it doesn't seem to work properly regarding to the custom rules). So I am trying to figure out where the problem is - all those python errors gotta mean something, right? =)

Yes this property exists.
And for the python error, it seems like coming from the IronPython dll, nothing I can do about it, and it's not harmful to AIF anyway.

share your custom rules please

A coffee and a cookie with that? =)
 
It's pretty strange regarding customrules tbh.
I don't have anything in my rules (took em from 1.3 mostly and did a little bit of editing) regarding divination cards - yet the bot with AIF and custom rules loaded picks and stashes all the div cards.
I have a system for uniques: pickup any unique -> ID any unique -> Sell shit uniques. (Bot stashed the rest which was not specifically set to get sold). At this time bot ignores the selling part and just stashes all uniques regardless. Though I specifically tested the sell rule on some of the uniques and AIF says it returns "true". Overall I don't understand what's going wrong tbh -_-

just saw a bot pickup and stash a quality divine flask - which is straight out of staticitemfilter and there is nothing about it in the custom. Suspect that staticitemfilter still works together with customrules and sometimes even has top priority over it for some reason.
 
jyam filter is not working properly as i readed in your post when u updated the plugin but is it working at all? i have it enabled for more than 20 hours and there is not a single rare item with better stats kept in there?

also any one have an idea why it could ident my UNIQS and magic items for chrome orbs when i have them to be kept for uniqs and sold for magics unid in my def item filter?
 
Hey Tony,
It seem's like a good plugin; I've read the last 5 pages of threads and I've ran the bot with this plugin a few times. It seems the only thing is to program it to prioritise the orb recipe function and stash what is needed there, then go on and ID all rares and vendor them all unless the user has set it to save certain items. I have attached a log just incase you wanted to browse over it and suggest what I should do. I'd be happy to buy you a couple of meals if this function gets implemented:)
Thanks for your time, it's appreciated.
Azza
 

Attachments

Hey Tony,
It seem's like a good plugin; I've read the last 5 pages of threads and I've ran the bot with this plugin a few times. It seems the only thing is to program it to prioritise the orb recipe function and stash what is needed there, then go on and ID all rares and vendor them all unless the user has set it to save certain items. I have attached a log just incase you wanted to browse over it and suggest what I should do. I'd be happy to buy you a couple of meals if this function gets implemented:)
Thanks for your time, it's appreciated.
Azza

This is actually what I thought it did, and I'd donate if it ended up working like that. Go do runs, picks up items, goes back to town. You have your tab set for holding recipe items (and honestly I think it would work out easier if it was a whitelist vice blacklist. I have 65 tabs and I have to add 60 of them to a blacklist, rather than just adding the 5 tabs I want it to look in and use), it deposits any items in there to use for recipes, then IDs the rest, keeps good items, sells the rest to the vendor. Now maybe that's how it does work, and I'm just retarded, but it's not like there's a ton of options to click.. it's pretty straight forward.
 
Hey tony,

I have almost the issue than the one reported by the other guy, I have ony a sell all rare rule.
but the bot is selling all of them and not keeping the one for the receipe.

for example :

[OpenInventoryPanel]
[OpenInventoryPanel] The InventoryPanel is not opened. Now opening it.
[BlackListFromIdentification] Sorcerer Gloves [TL: {1, 3}] has been Blacklisted from identification.
Added Gloves to CHAOS set (1/2)
[IdentifyItemsTask] Sorcerer Gloves is protected from identification, passing by...
[BlackListFromIdentification] Conjurer Gloves [TL: {3, 3}] has been Blacklisted from identification.
Added Gloves to CHAOS set (2/2)
[IdentifyItemsTask] Conjurer Gloves is protected from identification, passing by...
[IdentifyItemsTask] NeverIdItems is checked, We processed items for recipe(s) just in case
[SellItemsCoroutine] The Npc sell window is not open. Now moving to a vendor to open it.

And the bot sold the gloves.
 
It's pretty strange regarding customrules tbh.
I don't have anything in my rules (took em from 1.3 mostly and did a little bit of editing) regarding divination cards - yet the bot with AIF and custom rules loaded picks and stashes all the div cards.
I have a system for uniques: pickup any unique -> ID any unique -> Sell shit uniques. (Bot stashed the rest which was not specifically set to get sold). At this time bot ignores the selling part and just stashes all uniques regardless. Though I specifically tested the sell rule on some of the uniques and AIF says it returns "true". Overall I don't understand what's going wrong tbh -_-

just saw a bot pickup and stash a quality divine flask - which is straight out of staticitemfilter and there is nothing about it in the custom. Suspect that staticitemfilter still works together with customrules and sometimes even has top priority over it for some reason.

?! I really think that if you're using custom rules ALL default item rules in the other plugin should be disabled. security reason.

jyam filter is not working properly as i readed in your post when u updated the plugin but is it working at all? i have it enabled for more than 20 hours and there is not a single rare item with better stats kept in there?

also any one have an idea why it could ident my UNIQS and magic items for chrome orbs when i have them to be kept for uniqs and sold for magics unid in my def item filter?

It's working, not updated tho.

Hey Tony,
It seem's like a good plugin; I've read the last 5 pages of threads and I've ran the bot with this plugin a few times. It seems the only thing is to program it to prioritise the orb recipe function and stash what is needed there, then go on and ID all rares and vendor them all unless the user has set it to save certain items. I have attached a log just incase you wanted to browse over it and suggest what I should do. I'd be happy to buy you a couple of meals if this function gets implemented:)
Thanks for your time, it's appreciated.
Azza

It's how it works. LEL
Your problem is the latency and the FastMove function, making stashing faster. The function timed out, and fucked things up. I'm pretty sure you're using a vpshit, change it fast, the latency is terribad. Also check FPS.
The plugin blacklisted it as it should, the fact they were not stashed is because after 10 attempts, client failed to move them.

This is actually what I thought it did, and I'd donate if it ended up working like that. Go do runs, picks up items, goes back to town. You have your tab set for holding recipe items (and honestly I think it would work out easier if it was a whitelist vice blacklist. I have 65 tabs and I have to add 60 of them to a blacklist, rather than just adding the 5 tabs I want it to look in and use), it deposits any items in there to use for recipes, then IDs the rest, keeps good items, sells the rest to the vendor. Now maybe that's how it does work, and I'm just retarded, but it's not like there's a ton of options to click.. it's pretty straight forward.

I'll (maybe) add a list of tabs for recipe items, instead of a unique one. Tho I think it's a bad idea to have more than 1 set for this. And oh, the blacklist is just a security. If the tab is NEVER full, blacklist is useless :)

Hey tony,

I have almost the issue than the one reported by the other guy, I have ony a sell all rare rule.
but the bot is selling all of them and not keeping the one for the receipe.

for example :

[OpenInventoryPanel]
[OpenInventoryPanel] The InventoryPanel is not opened. Now opening it.
[BlackListFromIdentification] Sorcerer Gloves [TL: {1, 3}] has been Blacklisted from identification.
Added Gloves to CHAOS set (1/2)
[IdentifyItemsTask] Sorcerer Gloves is protected from identification, passing by...
[BlackListFromIdentification] Conjurer Gloves [TL: {3, 3}] has been Blacklisted from identification.
Added Gloves to CHAOS set (2/2)
[IdentifyItemsTask] Conjurer Gloves is protected from identification, passing by...
[IdentifyItemsTask] NeverIdItems is checked, We processed items for recipe(s) just in case
[SellItemsCoroutine] The Npc sell window is not open. Now moving to a vendor to open it.

And the bot sold the gloves.

Full log or never happend *Kappa*

Some clarifications :

- If your average latency is higher than 200, don't expect the bot to run flawlessly.
- If you're using both of the default item thing and custom rules, consider handling everything in custom rules and disable all the things in the defaut plugin. (NOT THE PLUGIN, THE RULES)
- For those having X millions of tabs, that's a pretty rare case, not mine. Even though I made this plugin available for people doesn't mean I have the time to code everything for those rich guys =)
In addition to this, us, "not even casual" botters we use to bot on 4 tabs toons =) that explains a lot of things.
 
View attachment 184266

Yop it happened again with a ring in log there, you can see that the bot should keep it for receipe but sold it.
I use the same setup than before 2.0 it was working perfectly

Seems like a rules conflict. You are 100% sure the ring was still unid when it was sold?
I ran for 8 hours today and it never sold a blacklisted thing.

Do you use NeverIdItems?
 
It having issues is definitely not latency or FPS related. In town I'm pushing 170fps (outside town is another story with the FPS spikes while running EB). Latency to my regional server is 25ms.. not even using a VPN.

Now, I HAVE noticed that fucking with ANYTHING after you launch EB and hit start really really really screws with AIF. Like.. if you have to hit stop or alt+shift+s for any reason you may as well just quit out of EB and launch it again. I don't know if it confuses the shit out of AIF and screws up some database.. but after a lot of messing around I think I get it running fairly stable as long as I start from a fresh EB launch.

Only way I've gotten the recipe to work though is to ignore trying to keep rares for ID'ing. I set very restrictive pickup rules in the staticfilter, and don't sell anything. Even with the box checked "keep chaos recipe items in xxx tab" checked it won't put anything in there, so I blacklisted everything but my first 10 tabs and it just pulls from those tabs for the recipe. Works, but I can't save shit. Can't get AIF to stash unid rares in the tab i tell it to for chaos recipe, ID everything else, keep stuff that passes jeryms filter, sells the rest.
 
It having issues is definitely not latency or FPS related. In town I'm pushing 170fps (outside town is another story with the FPS spikes while running EB). Latency to my regional server is 25ms.. not even using a VPN.

Now, I HAVE noticed that fucking with ANYTHING after you launch EB and hit start really really really screws with AIF. Like.. if you have to hit stop or alt+shift+s for any reason you may as well just quit out of EB and launch it again. I don't know if it confuses the shit out of AIF and screws up some database.. but after a lot of messing around I think I get it running fairly stable as long as I start from a fresh EB launch.

Only way I've gotten the recipe to work though is to ignore trying to keep rares for ID'ing. I set very restrictive pickup rules in the staticfilter, and don't sell anything. Even with the box checked "keep chaos recipe items in xxx tab" checked it won't put anything in there, so I blacklisted everything but my first 10 tabs and it just pulls from those tabs for the recipe. Works, but I can't save shit. Can't get AIF to stash unid rares in the tab i tell it to for chaos recipe, ID everything else, keep stuff that passes jeryms filter, sells the rest.

You're probably new in the Poe's botting world. this bot is affected by latency and fps.

This plugin is supposed to manage LONG-RUNS what's the point to have a bot doing the stuff for you if you have to stop/start it every 10 minutes? seriously people, this starts to become a fucking shitfest.

Everytime someone have issues you come here and post what happened without even looking at the log or checking stuff on THEIR side.

I can't teleport (yet) to your house to fix your installation or whatever can interfere with the bot.

A funny example is happening also on MapRunner (from ExVault) someone told him that his MAPPING plugin should not run maps. Think twice before you post or actually try to convince a developer.

Before 2.0 this plugin was working almost 100% flawlessly, now it doesn't work. The fun fact about this is that the logic is still the same. And after HOURS AND HOURS of testing it works.
If your mind was clean enough you wouldn't search to try exotic things with this plugin. It's a simple stash & recipes organizer.

Whatever, I'll now ask everyone to post a log in each of their issues reports. If the message don't include the log, forget it I don't care. (I start to understand the buddy staff about logs)
And if you're wife is not happy in his sexual life, I can't help. Neither if your cat has itchy spots.

IMPORTANT THING : This bot is affected by latency and fps.
 
Status
Not open for further replies.
Back
Top