BosslandGmbH / Trinity

Combat routines and other logic for Demonbuddy
24 stars 21 forks source link

Trinity stashs items with wrong item properties #77

Open sebflex opened 6 years ago

sebflex commented 6 years ago

So for example the item having 550 vit and 550 strength, 2 sockets... My rule for this item to keep it, is this one: image But the bot keep the item with 5xx vit and 5xx strength, because of wrong value calculations, in the logfile you find something like this: ("Vitality (Item: 1.141801E+09 -v- Rule: 645)", ("Primary Stat (Item: 1.142948E+09 -v- Rule: 645)

As you see, it knows the value which the item should have, but the current values of the current item are totally fucked up <.<

sebflex commented 6 years ago

So, did you look into this matter?

sebflex commented 6 years ago

Another example:

2018-08-01 21:31:28,381 [Main Bot Thread] DEBUG DefaultLogger (null) - [Trinity 2.2018.713]   >>  Inarius's Reticence (Legs) is not a selected item type - Slot
2018-08-01 21:31:28,381 [Main Bot Thread] DEBUG DefaultLogger (null) - [Trinity 2.2018.713]   >>  Inarius's Reticence (467575) is a selected Item with 4 rules.
2018-08-01 21:31:28,382 [Main Bot Thread] DEBUG DefaultLogger (null) - [Trinity 2.2018.713]   >>  1 required rules:
2018-08-01 21:31:28,384 [Main Bot Thread] DEBUG DefaultLogger (null) - [Trinity 2.2018.713]   >>  Evaluated Inarius's Reticence -- Primary Stat  (Item: 1.142768E+09 -v- Rule: 623) = True
2018-08-01 21:31:28,384 [Main Bot Thread] DEBUG DefaultLogger (null) - [Trinity 2.2018.713]   >>  Evaluated Inarius's Reticence -- Vitality  (Item: 1.141654E+09 -v- Rule: 623) = True
2018-08-01 21:31:28,384 [Main Bot Thread] DEBUG DefaultLogger (null) - [Trinity 2.2018.713]   >>  Evaluated Inarius's Reticence -- Armor  (Item: 0 -v- Rule: 733) = False
2018-08-01 21:31:28,385 [Main Bot Thread] INFO  DefaultLogger (null) - [Trinity 2.2018.713] Inarius's Reticence [P6_Necro_Set_3_Pants] [Legs] = ItemListCheck=KEEP
2018-08-01 21:31:28,383 [Main Bot Thread] DEBUG DefaultLogger (null) - [Trinity 2.2018.713]   >>  item must have 2 of 3 optional rules:

"Vitality (Item: 1.141654E+09 -v- Rule: 623) = True".... "Primary Stat (Item: 1.142768E+09 -v- Rule: 623) = True"....