Quantcast

Jump to content


Photo

Simple shop pricer / user shop parser


  • This topic is locked This topic is locked
No replies to this topic

#1 gotvacien

gotvacien
  • 74 posts

Posted 08 December 2023 - 08:14 PM

A simple program I wrote years ago but it still works fine so I figured I'd give it a little polish a post it here for everyone to use if they want.

 

How to use:

1) Paste the source from your current shop page / the use shop page you want to parse (Right click view page source).

2) Click one of the 3 buttons:

    a) Parse Shop will set the price for any items on the current shop page that are 0 to the price found in the db. It will also update the db to the current prices. If it finds a price for an item currently at 0 it will also add that item to the shop db.

    b) Parse User Shop will check the current user shop page against the shopping db for items to buy.

    c) Lower Prices It will lower the prices for the current page of you shop using the options above it by default it will drop by 10% any items 10nps or under will lower by 2 and anything under 5 will be set to 1.

3) Copy all the output text and paste it into the console for the page you parsed and hit enter. (Right click inspect if the console doesn't pop up you have to click the tab for it.)

    a) On your shop it will edit the price text boxes to match.

    b) On user shops it will change the background of the items it thinks you should buy to green.

 

Requires .net 8.0

 

Known Issues:

Viewing the source on chrome will "load" the page again this can trigger random events the program WILL NOT catch these so if you suddenly have a fairie quest this is probably why.

Firefox will require you to disable pasting protection to do so Open the console and type "allow pasting" and hit enter.

If the program found nothing both the source and output box will be blank.

Clicking the next 30 button on your shop page wont load the next 30 items when you view the source you have to click on the blue links for each page instead.

 

Download:

Attached File  NeoTools.rar   305.91KB   2 downloads


Edited by gotvacien, 10 December 2023 - 07:28 AM.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users