Wisling / tibiaauto

Tibia Auto is made to excel in the automation of various aspects of the playing the MMORPG Tibia
31 stars 16 forks source link

Update tibiaauto-items.xml #39

Closed Javieracost closed 8 years ago

Javieracost commented 8 years ago

Added: Insectoid Eggs as food Changed: Capitalized name of wands (Fixes the depositer skipping them)

felipetnh commented 8 years ago

It "fixes" in some cases. This was changed to not capitalize the "of" word a long time ago and only the really old scripts would skip them. An easy fix was to remove them from the depositer, save the script, close TA, open TA, load the script, and re-add them to the depositer.

I think a better fix would be making this case insensitive. No matter the capital letters, it should lowercase everything from the list... xD

Javieracost commented 8 years ago

Interesting, had no idea... But yeah i've been using older scripts as im mostly botting lvl 50- chars and changing this solved it in all of them. Now that you mention, actually the best way to solve it would be to check the item's Id instead of its name, therefore not needing to worry about casing at all anymore (Needless to say, thats sadly out of my expertise).

dmarszk commented 8 years ago

Yeah changing items name casing is a bad idea. Please make another branch with just food changes. I will look into depositer case sensitivity soon.