MAD icon indicating copy to clipboard operation
MAD copied to clipboard

trs_visited not cleaned

Open bigperson5 opened this issue 4 years ago • 3 comments

Using levelup mode, when an account hits lvl30 MAD is instructed to change account. However trs_visited table is not cleaned.

As a consequence, when the new account is charged, there are "Nothing to do!" messages in the log, and the new account don't levelup.

I thing that a possible solution could be add this code in line 374 of WorkerQuests.py self._db_wrapper.flush_levelinfo(self._origin)

bigperson5 avatar Feb 14 '20 08:02 bigperson5

wouldnt it be better to save per account instead of per device ?

ChaosEmpire avatar Feb 14 '20 08:02 ChaosEmpire

wouldnt it be better to save per account instead of per device ?

It is and we would've done already, if it's not much more complicated than storing the device name. It has been discussed on Discord a few months ago already I think.

sn0opy avatar Feb 14 '20 09:02 sn0opy

wouldnt it be better to save per account instead of per device ?

Honestly I don't see the benefit of saving per account. Once the account reaches level 30, the information related to visited stops is no longer useful, and will take place in the database.

Why do you think that to store this information can be useful?

bigperson5 avatar Feb 14 '20 09:02 bigperson5