generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: I can't get BestPrice

Previous Thread :: Next Thread 
ScriptOn is not online. 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 is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
03 Aug 2013 06:21 PM
bump
Report Abuse
cntkillme is not online. 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 is not online. 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 is not online. 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 is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
03 Aug 2013 06:31 PM
Yes, its clockwork shades.
Report Abuse
cntkillme is not online. 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 is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
03 Aug 2013 06:34 PM
It is nil.
Report Abuse
cntkillme is not online. 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 is not online. 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 is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Aug 2013 06:38 PM
idk, I think even merely does it manually
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
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 is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Aug 2013 06:43 PM
^^ I don't see a BestPrice QQ
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
03 Aug 2013 06:45 PM
Same
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
03 Aug 2013 06:57 PM
its not even for sale
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
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 is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Aug 2013 07:01 PM
ohh snap blocco, he told u c:
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
03 Aug 2013 07:02 PM
i dont know how trading works shaddap
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
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 is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Aug 2013 07:03 PM
I'm sorry master yoshi
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
03 Aug 2013 07:06 PM
It's ok, young p̶a̶d̶a̶w̶a̶n grasshopper
Report Abuse
blocco is not online. 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 is not online. 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 is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
03 Aug 2013 07:09 PM
ugm xp is not old shaddap
Report Abuse
cntkillme is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image