Welcome Guest ( Log In | Register )

2 Pages V  1 2 >  
Reply to this topicStart new topic
> [Script] Sparroff's Auction Helper, tracks the items you bid on in Noni's DIY auciton so you don't have to wait for update

 
post Oct 14 2023, 12:54
Post #1
Noni



Hataraku Noni-sama
***********
Group: Catgirl Camarilla
Posts: 13,371
Joined: 19-February 16
Level 500 (Ponyslayer)


Sparroff's Auction Helper


Description:
A script to help people with an IQ<200 enter Noni's DIY auction (IMG:[invalid] style_emoticons/default/smile.gif)

Features:
• Tracks selected lots and instantly shows the actual bid
• Shows bid-history for tracked lots
• Creates the correct increase bid
• Creates a post with a batch bid increase for lots where your bid is not the leading one
• Timers for sniping 🙄

Requirements:
• Firefox or Chrome with Tampermonkey

Link:
[gist.githubusercontent.com] Download
* This is a permanent link to the script, it will not change in future updates
** Also the script will automatically update itself according to your tampermonkey settings.

Additional information:
• The lot code on the script panel - a button that adds the bid-string to the clipboard. Just paste it into the post area
• In the tooltip of this button - the bid history of this lot
• The “Refresh” button checks all the current posts in the branch without the need to reload the page. This function is also triggered automatically when a tracked item is added, removed them and every 5 minutes.
• It is recommended to enter your nickname on the forum in the appropriate field - this will allow the script to determine your bids.
• The increase bid is calculated in a way that is convenient for people who don't use this script. This means that the step will not be the minimum allowed and will be rounded to a convenient value. Example:
80k -> 100k (Up to 300k - step minimum available, but rounding to 20k)
350k -> 400k (Up to 1m - step is rounded to 50k)
7m -> 7.4m (Above a 1m - step is rounded to 100k)




This post has been edited by Noni: May 8 2024, 07:09
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 24 2023, 14:48
Post #2
sparroff



🍪 Сookie Eater
*******
Group: Catgirl Camarilla
Posts: 1,550
Joined: 3-August 11
Level 500 (Ponyslayer)


Current version: 0.7.13

history:
0.7.9.3: Little bug. Handling the experimental markup of Noni's second post, where he promises to remove lots if the auction is too large =)
0.7.9.2: fixed regex for lot-codes with occurrence in each other (Bids of the [ang04] kind counted for [fang04])
0.7.9: Optimize parsing of pages when exceeding 300 posts in a thread (thx ccnan23)
0.7.8: Parsing pages over 300 posts (thx FabulousCupcake) (Limiting the printable version of the forum)
0.7.7.4: Interface improvements, corrections to rounding of bids
0.7.7.1: Parsing the second post of the extended auction
0.7.1 -> 0.7.7: Fixing various bugs
0.7.7 -> 0.7.9.3: Fixing various bugs (I forget which ones, but it must have been important)
0.7.9.4: Fixed a bug where a bid could be mistakenly accepted at the minute the timer expired
0.7.10: Support auction-topics started by someone other than Noni
0.7.11: fixed parsing the price of a new template in the SIRIUSs script
0.7.13: fixed a bug in parsing of the starting price


This post has been edited by sparroff: Jun 4 2025, 15:16
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Oct 27 2023, 11:04
Post #3
mathl33t



Active Poster
*******
Group: Gold Star Club
Posts: 1,102
Joined: 9-April 19
Level 500 (Ponyslayer)


For some reason, this version doesn't properly update the current bids of my tracked items, whereas version 0.6.2 works fine for me.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 27 2023, 21:47
Post #4
sparroff



🍪 Сookie Eater
*******
Group: Catgirl Camarilla
Posts: 1,550
Joined: 3-August 11
Level 500 (Ponyslayer)


QUOTE(mathl33t @ Oct 27 2023, 12:04) *

For some reason, this version doesn't properly update the current bids of my tracked items, whereas version 0.6.2 works fine for me.

There was a weird problem with parsing posts dates in firefox, fixed (IMG:[invalid] style_emoticons/default/unsure.gif)

This post has been edited by sparroff: Oct 27 2023, 21:53
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 7 2024, 08:00
Post #5
unitready



愛の素
*******
Group: Catgirl Camarilla
Posts: 2,305
Joined: 22-May 10
Level 500 (Ponyslayer)


Except for #1, floor gear starting at #2 can't be counted correctly in the surveillance plugin
Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 7 2024, 08:15
Post #6
treesloth



नो व्हिनिन्ग अल्लोवेद
********
Group: Catgirl Camarilla
Posts: 3,525
Joined: 6-January 13
Level 500 (Ponyslayer)


Thanks for the nice script. However, I am unable to select 'view' icon for equipment listed in Noni's auction page, on post #2. Script works for everything in post #1. How can I fix this? Thank you
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 7 2024, 11:09
Post #7
ccnan23



Sensei nante Daikirai
****
Group: Gold Star Club
Posts: 269
Joined: 23-January 23
Level 500 (Dovahkiin)


Wrote a version that supports multiple posts (the logic was changed from reading only #1 to reading all Noni's posts)
The changes are as follows:
L74 from
CODE
    let firstpost = document.querySelectorAll('.borderwrap')[2];
    if(firstpost.querySelectorAll('.postdetails')[0].querySelector('a').innerText == '#1'){
        LOT_IN_POST = get_all_lots(firstpost.innerText.split('\n'));
        format_post(firstpost, LOT_IN_POST);
    }

to
CODE
    document.querySelectorAll('.borderwrap').forEach(post => {
        if (post.querySelector('.bigusername')?.innerText === 'Noni') {
            Object.assign(LOT_IN_POST, get_all_lots(post.innerText.split('\n')));
            format_post(post, LOT_IN_POST);
        }
    });


L184 from
CODE
    document.querySelectorAll('.NAE_lot').forEach((btn) => {

to
CODE
    post.querySelectorAll('.NAE_lot').forEach((btn) => {


Or you can use this directly (daring to change the version number)
Attached File  Noni__39_s_DIY_Auction_Helper_0.7.7.user.js.txt ( 23.7k ) Number of downloads: 52


This post has been edited by ccnan23: May 7 2024, 11:16
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 7 2024, 14:08
Post #8
sparroff



🍪 Сookie Eater
*******
Group: Catgirl Camarilla
Posts: 1,550
Joined: 3-August 11
Level 500 (Ponyslayer)


I've updated the script, at the same link - who knew the hentaiverse was still alive enough for a whole 2 post auction? (IMG:[invalid] style_emoticons/default/ohmy.gif)
[gist.githubusercontent.com] https://gist.githubusercontent.com/hvNewbie...uctionHelper.js

If you managed to install the script from the attached file ccnan23 - most likely tampermonkey has turned off autoupdate, just need to click on the date of the last update in the list of installed scripts

Attached Image

This post has been edited by sparroff: May 7 2024, 20:56
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 7 2024, 15:26
Post #9
treesloth



नो व्हिनिन्ग अल्लोवेद
********
Group: Catgirl Camarilla
Posts: 3,525
Joined: 6-January 13
Level 500 (Ponyslayer)


QUOTE(ccnan23 @ May 7 2024, 04:09) *

Wrote a version that supports multiple posts (the logic was changed from reading only #1 to reading all Noni's posts)




QUOTE(sparroff @ May 7 2024, 07:08) *

I've updated the script, at the same link - who knew the hentaiverse was still alive enough for a whole 2 post auction? (IMG:[invalid] style_emoticons/default/ohmy.gif)
If you managed to install the script from the attached file ccnan23 - most likely tampermonkey has turned off autoupdate, just need to click on the date of the last update in the list of installed scripts

Attached Image




You guys are amazing! Thanks so much!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 8 2024, 17:39
Post #10
Zarbo



Casual Poster
****
Group: Gold Star Club
Posts: 264
Joined: 13-August 12
Level 403 (Dovahkiin)


I don't seem to be able to track the latest bids after post 300 or so in the current auction, in either Firefox or Chrome. And for the items I bid on myself, it's showing #start on the right rather than the post number. Is anyone else having this issue?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 8 2024, 18:23
Post #11
Rothschild



Aristocratic Gentleman
*******
Group: Gold Star Club
Posts: 1,043
Joined: 28-January 12
Level 500 (Ponyslayer)


QUOTE(Zarbo @ May 8 2024, 11:39) *

I don't seem to be able to track the latest bids after post 300 or so in the current auction, in either Firefox or Chrome. And for the items I bid on myself, it's showing #start on the right rather than the post number. Is anyone else having this issue?

Same here. Thought I had input an invalid bid.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 8 2024, 18:38
Post #12
sparroff



🍪 Сookie Eater
*******
Group: Catgirl Camarilla
Posts: 1,550
Joined: 3-August 11
Level 500 (Ponyslayer)


I've updated the script. The problem was that the page I was parsing only had 300 posts and we haven't had such a busy auction in a long time to notice that. Fixed, but I don't really like the way it works - maybe when I have time I'll find a better solution (IMG:[invalid] style_emoticons/default/smile.gif)
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 8 2024, 20:13
Post #13
sparroff



🍪 Сookie Eater
*******
Group: Catgirl Camarilla
Posts: 1,550
Joined: 3-August 11
Level 500 (Ponyslayer)


Updated it again. Thanks to ccnan23 for the easier solution for the server (IMG:[invalid] style_emoticons/default/smile.gif)
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 8 2024, 21:49
Post #14
Rothschild



Aristocratic Gentleman
*******
Group: Gold Star Club
Posts: 1,043
Joined: 28-January 12
Level 500 (Ponyslayer)


QUOTE(sparroff @ May 8 2024, 12:38) *

I've updated the script. The problem was that the page I was parsing only had 300 posts and we haven't had such a busy auction in a long time to notice that. Fixed, but I don't really like the way it works - maybe when I have time I'll find a better solution (IMG:[invalid] style_emoticons/default/smile.gif)

QUOTE(sparroff @ May 8 2024, 14:13) *

Updated it again. Thanks to ccnan23 for the easier solution for the server (IMG:[invalid] style_emoticons/default/smile.gif)

Thanks for the speedy fix. (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2024, 00:28
Post #15
l13763824039



Active Poster
*******
Group: Gold Star Club
Posts: 1,243
Joined: 6-July 21
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2024, 00:46
Post #16
sparroff



🍪 Сookie Eater
*******
Group: Catgirl Camarilla
Posts: 1,550
Joined: 3-August 11
Level 500 (Ponyslayer)


QUOTE(l13763824039 @ May 10 2024, 01:28) *
Currently, the warning part causes the script to break.

Yes, i noticed that and fixed it already earlier in version 0.7.9.3
But I've added your correction as well, it's a reasonable one, thx

This post has been edited by sparroff: May 10 2024, 00:46
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2024, 00:47
Post #17
l13763824039



Active Poster
*******
Group: Gold Star Club
Posts: 1,243
Joined: 6-July 21
Level 500 (Ponyslayer)


QUOTE(sparroff @ May 9 2024, 18:46) *

Yes, i noticed that and fixed it already earlier in version 0.7.9.3
But I've added your correction as well, it's a reasonable one, thx

I just made one more correction. The third one is better.
I think just ignore the warning part is the best solution
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2024, 00:49
Post #18
sparroff



🍪 Сookie Eater
*******
Group: Catgirl Camarilla
Posts: 1,550
Joined: 3-August 11
Level 500 (Ponyslayer)


QUOTE(l13763824039 @ May 10 2024, 01:47) *

I just made one more correction. The third one is better.
I think just ignore the warning part is the best solution

In the last auction, the WARNING section was in the same post as the second part of the auction
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 10 2024, 00:52
Post #19
l13763824039



Active Poster
*******
Group: Gold Star Club
Posts: 1,243
Joined: 6-July 21
Level 500 (Ponyslayer)


QUOTE(sparroff @ May 9 2024, 18:49) *

In the last auction, the WARNING section was in the same post as the second part of the auction

Oh. Then only 1st/2rd solution works
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 7 2024, 06:18
Post #20
eramosat



Active Poster
*******
Group: Gold Star Club
Posts: 1,366
Joined: 9-October 10
Level 462 (Godslayer)


My thought is this does not automatically place bids for you, up to an amount...it only proposes the next minimum bid and formats a post for you to make it...yes?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


2 Pages V  1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 13th June 2025 - 22:29