Closed Taga91 closed 3 years ago
Is it not working? The space is not recognized by bot, so it seems correct the way it is. I am using the one for sea serpent and is working fine.
doesnt work, but if you do like i send you its working fine...
19:40:43.151 [Waypoint] label check_monster [Action] Monster found ValueError: invalid literal for int() with base 10: '550Buccaneesand117orsair'
I text you on discord but you arent online. So please, change it and try it
You have a comma (,) on the words, that's why you have 10 and 11 Kill 3000 pirates in total to help the rebels on Meriana. So far, you have killed 1898 Marauders, (10 words with comma) 722 Cutthroats, (11 words with comma) 387 Buccaneers and 48 Corsairs.
It is failing to recognize the letters "C" in Corsair and "rs" in Buccaneers. I added a fix, see if it works and I will update here after.
Not working, please add 10 and 11, because have a comma, and need to be count too.
09:38:44.134 [Waypoint] label check_monster [Action] Monster found ValueError: invalid literal for int() with base 10: '117C'
Only letters and number are recognized.
Strange that the first time it didnt recognize the C and now it did.. Try now and let me know the error message
ok, ill try.
So the comma doesnt recognize?
yeah! now is working fine :D
Great, thanks for the help
01:56:27.689 [Waypoint] label check_monster [Action] Monster found ValueError: invalid literal for int() with base 10: '112uccaneesand2'
again :/
I will try another approach. Can you send me a screenshot of quest log?
Sure, check Discord, i send you there
Now should work even if it fails to get some of the letters. Try it and reopen if it fails again.
https://github.com/CloudBotScripts/scripts/blob/4f6f3cbee2a2b82ea3d23cc7894b5ff05de6ad61/lib.py#L971-L972
cutthroats = tracker_text[tracker_text.find("Marauders") + 10:tracker_text.find('Cutthroats')] buccaneers = tracker_text[tracker_text.find("Cutthroats") + 11:tracker_text.find('Buccaneers')]