Thread: A store that sells everything.

Results 1 to 10 of 10
  1. #1 A store that sells everything. 
    Registered Member
    Join Date
    Sep 2013
    Posts
    25
    Thanks given
    6
    Thanks received
    0
    Rep Power
    11
    I need a lot of help to add an NPC with an ordinary store but sell all the items imaginable, less items that are mini-games or something like that, could someone please help?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Greg's Avatar
    Join Date
    Jun 2010
    Posts
    919
    Thanks given
    148
    Thanks received
    342
    Rep Power
    638
    Quote Originally Posted by akasuma View Post
    I need a lot of help to add an NPC with an ordinary store but sell all the items imaginable, less items that are mini-games or something like that, could someone please help?
    You really don't want that, there's at least 20k items most of which are useless.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2013
    Posts
    25
    Thanks given
    6
    Thanks received
    0
    Rep Power
    11
    So how do I add items to sell at home stores?

    there are few items that I can sell in the home stores, for example DRAGON CLAWS I can sell but ARMADYL GODSWORD I can not, how do I add to be able to sell it?
    Reply With Quote  
     

  4. #4  
    Developer

    Divine's Avatar
    Join Date
    Oct 2013
    Age
    24
    Posts
    918
    Thanks given
    561
    Thanks received
    257
    Rep Power
    140
    There may be a string somewhere in a file that doesn't allow the sale of any item name or ID within it. (unsellable items). dclaws didnt come until much later so the the ags being in it could be due to how old the files are.

    edit: Sometimes it's found in a configuration class

    [Only registered and activated users can see links. ]
    Spoiler for vouches(20+):

    [Only registered and activated users can see links. ]
    PM me for more vouches!

    Reply With Quote  
     

  5. #5  
    Extreme Donator

    TaterMater's Avatar
    Join Date
    Aug 2011
    Posts
    1,508
    Thanks given
    216
    Thanks received
    374
    Rep Power
    121
    At least for Matrix 667 shop data there was a boolean for general store. If it was true, you could sell anything you wanted to that shop.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #6  
    Registered Member Juri's Avatar
    Join Date
    Dec 2018
    Posts
    23
    Thanks given
    4
    Thanks received
    4
    Rep Power
    38
    An actual shop sounds like a ton of unnecessary work, don't most PK servers have this thing where if you try to spawn in an item as a regular player it'd just deduct the cost from your inventory or else deny your command?
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Sep 2013
    Posts
    25
    Thanks given
    6
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by TaterMater View Post
    At least for Matrix 667 shop data there was a boolean for general store. If it was true, you could sell anything you wanted to that shop.



    The store is working with "TRUE" even though there are several items that I can not sell, my real idea is not to sell all items of the server, but at least I can choose which item I want to sell, because the players are complaining that they can not sell items purchased in bosses and because of this can not get money.
    Reply With Quote  
     

  8. #8  
    Extreme Donator

    TaterMater's Avatar
    Join Date
    Aug 2011
    Posts
    1,508
    Thanks given
    216
    Thanks received
    374
    Rep Power
    121
    Quote Originally Posted by akasuma View Post
    The store is working with "TRUE" even though there are several items that I can not sell, my real idea is not to sell all items of the server, but at least I can choose which item I want to sell, because the players are complaining that they can not sell items purchased in bosses and because of this can not get money.
    Those several items that still aren't sell-able will be hard coded then, in Shop class search for the sell method, and go from there.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. Thankful user:


  10. #9  
    Registered Member Selseus's Avatar
    Join Date
    Aug 2017
    Posts
    292
    Thanks given
    8
    Thanks received
    31
    Rep Power
    39
    I’m pretty sure Helwyr 718 that was released had a grand exchange that would auto-complete so you could search anything traceable and buy as many as you wanted and the prices ran off of shop prices. Your best bet is modifying the GE as a base for your shop.

    I’ve made a shop that sells every tradeable armor/weapon with a search function. Not too hard
    Reply With Quote  
     

  11. #10  
    Certified Stoner

    demon dylan001's Avatar
    Join Date
    Feb 2009
    Age
    23
    Posts
    1,117
    Thanks given
    72
    Thanks received
    90
    Rep Power
    460
    Quote Originally Posted by Greg View Post
    You really don't want that, there's at least 20k items most of which are useless.
    if he was smart or someone was to do it for him he could run arrays with certain item ids 1-1000 1200-1400 and sub groups them add them together in one grouping and add a search index for the one main group of items by itemname idk it would be fun to customize but i aint building it unless i get some bread LOL
    Quote Originally Posted by Legitimate View Post
    this kids a str8 leecher
    lol ^ this kid calls me a leecher and buys tons of stuff from me.
    I host Call of duty prestige lobbies on xbox 360
    I can host any call of duty you want just make me an offer pm me if interested
    Spoiler for Sig too big:

    skype-demondylan001 discord demon dylan001#8904
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 01-19-2014, 04:53 AM
  2. Replies: 0
    Last Post: 12-26-2011, 02:14 AM
  3. Shop that buys everything, doesn't
    By Mazterdragoon in forum Help
    Replies: 1
    Last Post: 10-27-2011, 09:04 PM
  4. Replies: 3
    Last Post: 07-08-2010, 12:34 AM
  5. Replies: 1
    Last Post: 06-16-2010, 09:33 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •