Toofifty / rl-goal-tracker

BSD 2-Clause "Simplified" License
7 stars 4 forks source link

[Bug]: Item searching with high quantity results in 100% cpu usage #29

Open lewislarsen opened 8 months ago

lewislarsen commented 8 months ago

Steps to Reproduce

I installed the plugin, created a new task and searched for an item to add.

Further investigation:

It appears that appending an M to the numerical value on the right causes the client to struggle immensely. Is it looking to add 1 million of that item perhaps? I think that's where the issue lies and it should be replicatable.

It took a while for the item search box to appear, and searching froze the client, had to be force-closed via Task Manager.

I have attached some screenshots below.

image

image

Expected Results

To search for an item and it to be added to the goal tracker.

Actual Results

The client froze.