Results 1 to 9 of 9

Thread: Anyone know a script to autoprice shops?

  1. #1

    Joined
    Mar 2014
    Posts
    1,387
    Thanks
    1,217
    Thanked
    3,913/1,165
    DL/UL
    84/1
    Mentioned
    533 times
    Time Online
    134d 9h 16m
    Avg. Time Online
    52m

    Anyone know a script to autoprice shops?

    Similarly something to remove items from SDB's.

    Looking for somethin' that'll mark all items in a shop the same price, i.e every item gets priced at 5k, or 10k or something and something that auto marks the quantity of items in the SDB to quickly remove pages of items.

    Anyone know of any?

  2. #2

    Joined
    Jul 2012
    Posts
    1,888
    Thanks
    1,619
    Thanked
    3,297/1,003
    DL/UL
    223/0
    Mentioned
    469 times
    Time Online
    132d 23h 52m
    Avg. Time Online
    45m
    Quote Originally Posted by Mophead View Post
    Similarly something to remove items from SDB's.

    Looking for somethin' that'll mark all items in a shop the same price, i.e every item gets priced at 5k, or 10k or something and something that auto marks the quantity of items in the SDB to quickly remove pages of items.

    Anyone know of any?
    (you need an account to see links)

    Maybe with some modifications you can set a fixed price.

  3. #3

    Joined
    Jul 2012
    Posts
    717
    Userbars
    3
    Thanks
    105
    Thanked
    201/114
    DL/UL
    24/0
    Mentioned
    88 times
    Time Online
    22d 22h 4m
    Avg. Time Online
    7m
    Somewhat related, have you found a script that moves directly from SDB to your shop?

  4. #4
    looklook123123's Avatar
    Joined
    Aug 2014
    Posts
    1,334
    Userbars
    21
    Thanks
    289
    Thanked
    1,033/423
    DL/UL
    27/0
    Mentioned
    242 times
    Time Online
    123d 34m
    Avg. Time Online
    49m
    Quote Originally Posted by Mophead View Post
    Similarly something to remove items from SDB's.

    Looking for somethin' that'll mark all items in a shop the same price, i.e every item gets priced at 5k, or 10k or something and something that auto marks the quantity of items in the SDB to quickly remove pages of items.

    Anyone know of any?
    You tryin to start a non profitable mall with me? Let's do it

  5. The Following 2 Users Say Thank You to looklook123123 For This Useful Post:

    Infiniti (08-22-2017),Toxahex (07-28-2020)

  6. #5
    Zachafer's Avatar
    Joined
    Dec 2011
    Posts
    1,235
    Userbars
    11
    Thanks
    769
    Thanked
    1,466/678
    DL/UL
    98/0
    Mentioned
    512 times
    Time Online
    24d 13h 9m
    Avg. Time Online
    8m
    @(you need an account to see links) if you post the page source for the edit shop and SDB pages, I can whip up a quick GM script

  7. #6
    Hurricane's Avatar
    Joined
    Aug 2014
    Posts
    531
    Userbars
    10
    Thanks
    64
    Thanked
    199/100
    DL/UL
    70/0
    Mentioned
    86 times
    Time Online
    22d 2h 24m
    Avg. Time Online
    9m
    Would I be able to get this script as well? @(you need an account to see links)

    Would be a very useful script for me
    [center]

  8. #7
    Zachafer's Avatar
    Joined
    Dec 2011
    Posts
    1,235
    Userbars
    11
    Thanks
    769
    Thanked
    1,466/678
    DL/UL
    98/0
    Mentioned
    512 times
    Time Online
    24d 13h 9m
    Avg. Time Online
    8m
    Quote Originally Posted by Hurricane View Post
    Would I be able to get this script as well? @(you need an account to see links)

    Would be a very useful script for me
    Yea just too lazy to make a Neo account. Can you post the page source for the edit shop and SDB pages?

  9. #8

    Joined
    Mar 2014
    Posts
    1,387
    Thanks
    1,217
    Thanked
    3,913/1,165
    DL/UL
    84/1
    Mentioned
    533 times
    Time Online
    134d 9h 16m
    Avg. Time Online
    52m
    Quote Originally Posted by Zachafer View Post
    @(you need an account to see links) if you post the page source for the edit shop and SDB pages, I can whip up a quick GM script
    That'd be dope as fuck. Will +max rep for that.

    Shop Stock page


    Safety Deposit Box Source


    You're a fuckin' hero homie

  10. #9
    Zachafer's Avatar
    Joined
    Dec 2011
    Posts
    1,235
    Userbars
    11
    Thanks
    769
    Thanked
    1,466/678
    DL/UL
    98/0
    Mentioned
    512 times
    Time Online
    24d 13h 9m
    Avg. Time Online
    8m
    @(you need an account to see links) here's the SDB half. I'll do user shop tmrw
    Code:
    // ==UserScript==// @(you need an account to see links)         MopItAll-SDB & Shop
    // @(you need an account to see links)space    (you need an account to see links)
    // @version      0.1
    // @(you need an account to see links)cription  Adds a "price all" button to your shop, and a remove all to SDB
    // @author       Zachafer
    // @(you need an account to see links)ch        (you need an account to see links)
    // @(you need an account to see links)ch        (you need an account to see links)
    // @grant        none
    // ==/UserScript==
    
    
    (function() {
        'use strict';
        if(location.href.indexOf('safetydeposit.phtml')>-1)
        {
            var obj = document.createElement('div');
            obj.innerHTML ='<a href="./safetydeposit.phtml/mop" />Select All</a>'; 
            document.getElementsByClassName('content')[0].getElementsByTagName('td')[13].appendChild(obj);
            if(/mop$/.test(location.href))
            {
                var r = /^<td align="center"><b>([0-9,]+)</img;
                var m = r.exec(document.body.innerHTML);
                var i = 5;
                while(m!=null)
                {
                    document.getElementsByClassName('content')[0].getElementsByTagName('input')[i++].value = m[1];
                    m = r.exec(document.body.innerHTML);
                }
                //document.getElementsByClassName('submit_data')[0].click(); //press the "Move Selected Items" button
            }
        }
        else if(location.href.indexOf('type=your')>-1)
        {
            //usershop here
        }    
    })();

  11. The Following 3 Users Say Thank You to Zachafer For This Useful Post:

    Hurricane (08-26-2017),Mophead (08-25-2017),Toxahex (07-28-2020)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •