EgzoT / -OTClient-Mod-loot_stats

OTClient module who make statistics of loot.
MIT License
8 stars 6 forks source link

error in images according to quantity of objects #1

Open djblah opened 6 years ago

djblah commented 6 years ago

error

https://i14.servimg.com/u/f14/16/75/54/11/xcaptu10.jpg

version otclient 0.6.3

EgzoT commented 6 years ago

I need your loot messages to fix this problem.

djblah commented 6 years ago

18:07 Loot of a demon: a golden sickle, an orb, 2 great mana potions, a platinum coin, 54 gold coins, 30 gold coins. 18:07 Loot of a demon: 3 ultimate health potions, a great mana potion, a double axe, a platinum coin, 29 gold coins, 58 gold coins.

dragon

18:10 Loot of a dragon: a crossbow, 2 gold coins, 71 gold coins, dragon ham. 18:10 Loot of a dragon: a crossbow, 3 gold coins, a gold coin, dragon ham. 18:10 Loot of a dragon: a double axe, 4 gold coins, 40 gold coins, dragon ham, a dragon's tail, a steel shield.

you can not find the article name or article ID when the objects are divided into groups x2 or x100

ejemplo 3 ultimate health potions ----> is not able to find the id of the object to show the image

EgzoT commented 6 years ago

Probably you have incomplete items.xml file. Check in your items.xml, whether "gold coin" / "great mana potion" etc. have plural value. And try test other items.xml files.

djblah commented 6 years ago

item id="2148" article="a" name="gold coin" plural="gold coins">

----> is not able to find the id of the object to show the image

EgzoT commented 6 years ago

Any errors in terminal?

djblah commented 6 years ago

if the problem is that it is not possible to read the items that are grouped in your video I saw that you get the gold coin grouped if you could show me your item.xml of how you have the gold coins in the plural, you could identify the fault and rule out that the code you design is in a fault

EgzoT commented 6 years ago

How gold coin look like in my items.xml: <item id="2148" article="a" name="gold coin" plural="gold coins">

Probably you have problems with load items.xml.