ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
|
| 03 Aug 2013 06:20 PM |
print(game:service'MarketplaceService':GetProductInfo(124746065).PriceInRobux)
Prints 4000
Now when I do
print(game:service'MarketplaceService':GetProductInfo(11748356).BestPrice)
It prints nil.
any idea why? |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 06:22 PM |
| I don't know if BestPrice exists, if so, maybe the asset doesn't have a bestprice? |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
|
| 03 Aug 2013 06:27 PM |
| http://wiki.roblox.com/index.php/Website_APIs |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 06:30 PM |
| Does a best price exist for the asset you are using? |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
|
| 03 Aug 2013 06:31 PM |
| Yes, its clockwork shades. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 06:31 PM |
I have no idea, try doing a loop and see if it's nil:
for i, v in pairs(GetProductThing) do print(i,v) end |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 06:35 PM |
Then that's why. Not a script problem, a Roblox problem. |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
|
| 03 Aug 2013 06:36 PM |
| :/ How else do I get RAP without doing it manually? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 06:38 PM |
| idk, I think even merely does it manually |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2013 06:42 PM |
Iirc Merely wrote a bot to collect the RAP of all of Roblox's limited items for him and he has to update it manually. Here's the table that's returned for Clockwork's Shades using MarketplaceService::GetProductInfo:
{ | AssetTypeId = 8 | Description = "Straight from the ROBLOX archives, these shades are on limited release to commemorate interns from summers past. They're insanely expensive, because that's how Clockwork rolls..." | IsNew = false | Updated = "2013-05-25T16:16:52.897Z" | Remaining = "null" | ProductId = 1976991 | MinimumMembershipLevel = 0 | Created = "2009-06-13T18:12:27.953Z" | Creator = { | | Name = "ROBLOX" | | Id = 1 | } | IsLimited = true | ContentRatingTypeId = 0 | IsPublicDomain = false | AssetId = 11748356 | Name = "Clockwork's Shades" | IsForSale = false | IsLimitedUnique = false | PriceInRobux = "null" | PriceInTickets = "null" | Sales = 1213 } |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 06:43 PM |
| ^^ I don't see a BestPrice QQ |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
| |
|
|
| 03 Aug 2013 06:59 PM |
| @blocco: It's a limited item, and is for sale by other users. If you use the catalog's json feature, it includes 'BestPrice' and other useful information, but apparently it was left out of GetProductInfo. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 07:01 PM |
| ohh snap blocco, he told u c: |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 03 Aug 2013 07:02 PM |
| i dont know how trading works shaddap |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2013 07:02 PM |
| I happen to respect Blocco. He's one of the scripters who inspired me to learn, and in the past I even bought an outfit simply because he wore it. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 03 Aug 2013 07:06 PM |
| It's ok, young p̶a̶d̶a̶w̶a̶n grasshopper |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 03 Aug 2013 07:07 PM |
| lolololol there's boxes between the letters of the word "padawan" in your post |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 07:08 PM |
^ lol ur using old computer i see strikethough |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 07:10 PM |
harharharhahrhrhahr puupuuface
a pro scirpter liak u shud has windows nein |
|
|
| Report Abuse |
|
|