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.
dobra propozycja >_<

Haha xD


Gently asking to add these :)

Code:
public int IncreasedDamagePct
{
	get { return _myItem.GetStatValue(StatTypeGGG.DamagePosPct); }
}

public int AllAttributes
{
	get { return _myItem.GetStatValue(StatTypeGGG.AdditionalAllAttributes); }
}

public int AddedAttackPhysDamageAverage
{
	get { return _myItem.GetStatRangeAverage(StatTypeGGG.AttackMinimumAddedPhysicalDamage, StatTypeGGG.AttackMaximumAddedPhysicalDamage ); }
}

public int AddedAttackLightningDamageAverage
{
	get { return _myItem.GetStatRangeAverage(StatTypeGGG.AttackMinimumAddedLightningDamage, StatTypeGGG.AttackMaximumAddedLightningDamage); }
}

public int AddedAttackFireDamageAverage
{
	get { return _myItem.GetStatRangeAverage(StatTypeGGG.AttackMinimumAddedFireDamage, StatTypeGGG.AttackMaximumAddedFireDamage); }
}

public int AddedAttackColdDamageAverage
{
	get { return _myItem.GetStatRangeAverage(StatTypeGGG.AttackMinimumAddedColdDamage, StatTypeGGG.AttackMaximumAddedColdDamage); }
}

Would be great to have one func like "item.Stat(AttackMinimumAddedColdDamage)". That would solve everyone's needs :p It's doable, examples here: http://www.csharp-examples.net/string-to-enum/
You could add functions like StatNumber, StatString for various types of return.


Shouldn't IncreasedRarity be ItemFoundRarityPosPct instead BaseItemFoundRarityPosPct? Same with everywhere that use's "Base". It's going to return only implicit modifier, won't sum everything. But I may be wrong.
 
Last edited:
Haha xD


Gently asking to add these :)

Code:
public int IncreasedDamagePct
{
	get { return _myItem.GetStatValue(StatTypeGGG.DamagePosPct); }
}

public int AllAttributes
{
	get { return _myItem.GetStatValue(StatTypeGGG.AdditionalAllAttributes); }
}

public int AddedAttackPhysDamageAverage
{
	get { return _myItem.GetStatRangeAverage(StatTypeGGG.AttackMinimumAddedPhysicalDamage, StatTypeGGG.AttackMaximumAddedPhysicalDamage ); }
}

public int AddedAttackLightningDamageAverage
{
	get { return _myItem.GetStatRangeAverage(StatTypeGGG.AttackMinimumAddedLightningDamage, StatTypeGGG.AttackMaximumAddedLightningDamage); }
}

public int AddedAttackFireDamageAverage
{
	get { return _myItem.GetStatRangeAverage(StatTypeGGG.AttackMinimumAddedFireDamage, StatTypeGGG.AttackMaximumAddedFireDamage); }
}

public int AddedAttackColdDamageAverage
{
	get { return _myItem.GetStatRangeAverage(StatTypeGGG.AttackMinimumAddedColdDamage, StatTypeGGG.AttackMaximumAddedColdDamage); }
}

Would be great to have one func like "item.Stat(AttackMinimumAddedColdDamage)". That would solve everyone's needs :p


Shouldn't IncreasedRarity be ItemFoundRarityPosPct instead BaseItemFoundRarityPosPct? Same with everywhere that use's "Base". It's going to return only implicit modifier, won't sum everything. It's doable, examples here: http://www.csharp-examples.net/string-to-enum/
You could add functions like StatNumber, StatString for various types of return.

I'll take a look at it with fresh mind :D

// EDIT //

Those "base" stats are dumped from items (rings especially) so not sure about those, the only way would be to check on other pieces of gear, but last time I checked it was right.

Code:
Level: 30, Category: ItemFoundRarityIncrease, InternalName: ItemFoundRarityIncrease2, DisplayName: of Raiding, IsHidden: False, IsPrefix: False, IsSuffix: True, Stats: Min: 11, Max: 14, Stat: BaseItemFoundRarityPosPct, Min: 0, Max: 0, Stat: 0, Min: 0, Max: 0, Stat: 0, Min: 0, Max: 0, Stat: 0, Values: 12
 
Last edited:
What if you'll get Gold Ring or Amulet with additional rarity in mods? It's going to be sumed?
 
What if you'll get Gold Ring or Amulet with additional rarity in mods? It's going to be sumed?

Not sure, gonna try to alch/chaos one with double rarity mod and evaluate it, or if someone has one to evaluate, lemme know. for now Im not that that TryGetValue on stats sums things up.

// EDIT //

pushedx confirmed me that the way it's done atm use "MergedStats" which have the sum of both implicit/explicit
 
Last edited:
Idk why but aif keeps stashing 6s4l rare chests unid.I use standart loot filter and aif loot filter is disabled,when i turn off aif the bot id's and vendors the 6s.Older version doesnt have that problem.Using newest on some of my bots.
Stashing nothing enabled,pick up nothing enabled,custom rules and div card section nothing enabled.Its not even stashing the 6s in the recipe tab i assigned.Beside that it works flawlessly.Logs show nothing.
 
Downgraded to an older version of aif and problem is fixed,idk whats wrong with the newest.
 
Last edited:
Downgraded to an older version of aif and problem is fixed,idk whats wrong with then newest.

I'll take a look at what changed in latest version compared to the older ones, and check :) I'll edit this post if I find anything

// EDIT //

I took a look at the commits I made with the previous version, and nothing has changed in terms of identification/itemevaluator, so I don't know lol
 
Last edited:
I'll take a look at what changed in latest version compared to the older ones, and check :) I'll edit this post if I find anything
The strange part is that probably only im getting it since no1 has reported something like this so far.I will try fresh bot reinstal and will report if i notice this again.
 
The strange part is that probably only im getting it since no1 has reported something like this so far.I will try fresh bot reinstal and will report if i notice this again.

Answered u in PM. It comes from the hardcoded 6S handling for identification.

I supposed you don't have a SELL rule specific to 6 sockets unid, this is probably a workaround :)
 
Made something for you boys. AutoIT script to grab all the cards and put it in clipboard (ctrl+v somewhere to see results after the IE windows closes).

Code:
#include <IE.au3>

Local $oIE = _IECreate("http://pathofexile.gamepedia.com/Divination_card")
If @error Then Exit
Local $Source = _IEBodyReadHTML($oIE)

Local $Regex = StringRegExp($Source, '\<tr id\=\"(.*?)\"\>', 3)
If @error Then ExitFunc()

Local $Ret = ""
For $i = 0 To UBound($Regex)-1
	$Regex[$i] = StringReplace($Regex[$i], "_", " ")
	$Regex[$i] = StringReplace($Regex[$i], ".27", "'")
	$Ret &= $Regex[$i] & ",True" & @CRLF
Next

ClipPut($Ret)

ExitFunc()
Func ExitFunc()
	_IEQuit($oiE)
	Exit
EndFunc
 
Hey, toNyx

In regards to my previous statement about not blacklisting the rares for recipes I'll have to withdraw it. I'm not sure what was causing it but after updating EB it's gone and all is A OK ! :)

your plugin is MUCH appreciated I love it thanks man!
 
I apologize if this was answered somewhere within the 188 pages of this thread. I attempted to use the search function and went through a dozen pages after people implied it had been released but came up empty. Is there anyway for me to keep the plugin from manually looking through all the stash tabs every run?

ETA: Or more specifically, I don't want it to go through the tabs I have blacklisted.
 
Last edited:
I apologize if this was answered somewhere within the 188 pages of this thread. I attempted to use the search function and went through a dozen pages after people implied it had been released but came up empty. Is there anyway for me to keep the plugin from manually looking through all the stash tabs every run?

ETA: Or more specifically, I don't want it to go through the tabs I have blacklisted.

The reagents/currency counting has a different behavior beside the recipe one. If you want to limite the counting to specific tabs, the option is in the first tab (last one) name the tab like

Code:
1,2,3,4,5
separated by a coma. If you want it to go faster place them at front, it'll stop when reaching the last of the entries.
 
The reagents/currency counting has a different behavior beside the recipe one. If you want to limite the counting to specific tabs, the option is in the first tab (last one) name the tab like

Code:
1,2,3,4,5
separated by a coma. If you want it to go faster place them at front, it'll stop when reaching the last of the entries.



Thank you for the prompt reply. That seems to have sorted the issue, I did notice when attempting to use a named tab that uses non integers it errored out. I fixed it by just removing the named tab from the list.

Code:
1,2,3,4,5,6,Maps,7,8
results in this
[HIDE][Stats] Start
[AdvancedItemFilter] Start
[AdvancedItemFilter] You checked the option to count in specific tabs, but have no tabs set, please consider filling the fields :)
[Stop] Now force stopping the BotThread.
[Stop] BotThread.Abort() failed.System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at (Thread )
at Loki.Bot.BotManager.Stop(Boolean force)

Exception during plugin Start.System.Threading.ThreadAbortException: Thread was being aborted.
at Loki.Bot.BotManager.Stop(Boolean force)
at AdvancedItemFilter.AdvancedItemFilter.Start() in c:\Users\Walker\Desktop\New folder\3rdParty\_CONFIGS_\Default\AdvancedItemFilter\Content\AdvancedItemFilter.cs:line 172
at Loki.Bot.PluginManager.?????????????????????????????????????????(IPlugin )

[Start] Exception during execution:System.Threading.ThreadAbortException: Thread was being aborted.
at Loki.Bot.PluginManager.?????????????????????????????????????????(IPlugin )
at Loki.Bot.PluginManager.Start()
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.Start()
at Loki.Bot.BotManager.?????????????????????????????????????????(IBot )

[Stop] The BotThread is in the process of stopping.[/HIDE]
 
Thank you for the prompt reply. That seems to have sorted the issue, I did notice when attempting to use a named tab that uses non integers it errored out. I fixed it by just removing the named tab from the list.

Code:
1,2,3,4,5,6,Maps,7,8
results in this
[HIDE][Stats] Start
[AdvancedItemFilter] Start
[AdvancedItemFilter] You checked the option to count in specific tabs, but have no tabs set, please consider filling the fields :)
[Stop] Now force stopping the BotThread.
[Stop] BotThread.Abort() failed.System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at (Thread )
at Loki.Bot.BotManager.Stop(Boolean force)

Exception during plugin Start.System.Threading.ThreadAbortException: Thread was being aborted.
at Loki.Bot.BotManager.Stop(Boolean force)
at AdvancedItemFilter.AdvancedItemFilter.Start() in c:\Users\Walker\Desktop\New folder\3rdParty\_CONFIGS_\Default\AdvancedItemFilter\Content\AdvancedItemFilter.cs:line 172
at Loki.Bot.PluginManager.?????????????????????????????????????????(IPlugin )

[Start] Exception during execution:System.Threading.ThreadAbortException: Thread was being aborted.
at Loki.Bot.PluginManager.?????????????????????????????????????????(IPlugin )
at Loki.Bot.PluginManager.Start()
at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.Start()
at Loki.Bot.BotManager.?????????????????????????????????????????(IBot )

[Stop] The BotThread is in the process of stopping.[/HIDE]

Weird, it worked for me when I tested it Kappa
 
Weird shit is happening if you sell 20Q gems. Sum's say's 85 (which is true) but vendor give's 3 GCP only because GGG can't count and AIF detect's it as "something wrong". Also it couldn't stash back to specified Stash saying it's full but it was not

Log sent via PM
 
Weird shit is happening if you sell 20Q gems. Sum's say's 85 (which is true) but vendor give's 3 GCP only because GGG can't count and AIF detect's it as "something wrong". Also it couldn't stash back to specified Stash saying it's full but it was not

Log sent via PM

Yep, took a look at it, what was the vendor offering?
 
Status
Not open for further replies.
Back
Top