Currently, the warning part causes the script to break.
I believe that Noni will remove the warning once the auction starts,
but I guess there might be in case a similar warning exists during the auction.
So, here are my solutions.
All work, no need to implement all. I suggest
3.2.
1. Be careful with the warning part format.
2. change the code from
Line 167
CODE
if(/^\[(.*?)\]/.test(inner_string)) array_lots.push(inner_string);
to
CODE
if(FIRST_POST_REGEX.test(inner_string)) array_lots.push(inner_string);
3. Change the code from
Line 78
CODE
if(firstposts[i].querySelector('.bigusername').innerText != 'Noni') break
to
CODE
if(firstposts[i].querySelector('.bigusername').innerText != 'Noni' || firstposts[i].querySelector('.postcolor').innerText.includes("WARNING")) break
Error reason: Different regex standard for array_lots and object_lots,
resulting in null when trying to push items from array_lots to object_lots.
Also, did not ignore warning part.
After changing the code, there will be a button beside the equipment in the warning part.
Users should not "watch" items there.
But even if they do so, the script still works fine.
The observed bugs don't really matter.
This post has been edited by l13763824039: May 10 2024, 00:53