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: Does a get limiteds service exist?

Previous Thread :: Next Thread 
zub74 is not online. zub74
Joined: 13 Sep 2008
Total Posts: 489
22 Jul 2013 05:02 PM
If so, what is the script for it?

Also, is there a get inventory service? It will be very useful for a game I'm making.
Report Abuse
Debranched is not online. Debranched
Joined: 18 Mar 2013
Total Posts: 266
22 Jul 2013 05:02 PM
Limiteds service? What do you mean by that?
Report Abuse
Debranched is not online. Debranched
Joined: 18 Mar 2013
Total Posts: 266
22 Jul 2013 05:03 PM
You might find this useful.


http://wiki.roblox.com/index.php/RBX.lua.MarketplaceService_%28Service%29
Report Abuse
zub74 is not online. zub74
Joined: 13 Sep 2008
Total Posts: 489
22 Jul 2013 05:04 PM
Actually already using that. But no, I mean like at (http://www.roblox.com/Trade-Hangout-place?id=70501379) Where it shows people's limiteds.
Report Abuse
Debranched is not online. Debranched
Joined: 18 Mar 2013
Total Posts: 266
22 Jul 2013 05:05 PM
I guess merely has list of limiteds, and he loops thro all and checks if player has limited with:

http://wiki.roblox.com/index.php/PlayerOwnsAsset_%28Method%29
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Jul 2013 05:06 PM
It does, obviously, Merely is using it, but it's for all items, not only limiteds, so you may have to make a table of each limited asset ID
Report Abuse
12packkid is not online. 12packkid
Joined: 24 Jun 2011
Total Posts: 1418
22 Jul 2013 05:07 PM
I think what he means is, he wants the script.
Then he will edit it and attempt to get free limiteds out of it.
Report Abuse
zub74 is not online. zub74
Joined: 13 Sep 2008
Total Posts: 489
22 Jul 2013 05:12 PM
Lolno, that's not how it works. I was planning on making a gui that allowed you to change clothes that you own without resetting.
Report Abuse
zub74 is not online. zub74
Joined: 13 Sep 2008
Total Posts: 489
22 Jul 2013 06:14 PM
Bump.
Report Abuse
DrWaffler is not online. DrWaffler
Joined: 16 Sep 2011
Total Posts: 4248
22 Jul 2013 06:15 PM
You can check if an item is a limited with

:GetProductInfo()

I am reborn as an ocelot. You disapprove.
Report Abuse
Debranched is not online. Debranched
Joined: 18 Mar 2013
Total Posts: 266
22 Jul 2013 06:15 PM
Well since you can't really see what exactly player owns, you'd have to check every single asset, and then make a table of stuff what that person owns. And don't even try to do that, not worth it.
Report Abuse
Salinas23 is not online. Salinas23
Joined: 28 Dec 2008
Total Posts: 37142
22 Jul 2013 06:47 PM
And also don't try it because there are like 200,000+ shirts, without including pants.
That script would kill any pc.

Randall Boggs = Doom Bucket > 7 > Blu > Emp+Est
Report Abuse
zub74 is not online. zub74
Joined: 13 Sep 2008
Total Posts: 489
22 Jul 2013 07:04 PM
I plan on only adding clothing made by me if there is no other way, or just making it wayyyy simpler with loss of profit.
Report Abuse
Debranched is not online. Debranched
Joined: 18 Mar 2013
Total Posts: 266
22 Jul 2013 07:05 PM
You can make a custom list with ids, that will get checked. Like list with your clothes, limited items and stuff like that.
Report Abuse
12packkid is not online. 12packkid
Joined: 24 Jun 2011
Total Posts: 1418
23 Jul 2013 03:31 AM
Merely does that, but uses a different method.
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
23 Jul 2013 07:07 AM
Doesn't merely use a external program?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jul 2013 07:09 AM
^^ Yes but no

He probably updates his place with the latest prices, but he uses all Rbx.Lua to actually do the GUI and it's functions.
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
23 Jul 2013 07:11 AM
Merely fetches the ID's of every limited item using the RbxUtility library.

He uses EncodeJSON and DecodeJSON to get them.
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
23 Jul 2013 07:14 AM
I don't know how though.

When the server starts, he fetches all the limited ID's then when a player joins he uses BadgeService:UserHasBadge (Which can check if a player has any type of asset).
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jul 2013 07:14 AM
I have his game, but I won't be home for 6 days.
Don't ask how I got it
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
23 Jul 2013 07:17 AM
So he uses this to fetch the items in JSON format:

http://wiki.roblox.com/index.php/Website_APIs

Then he uses this to convert the JSON to a table:

http://wiki.roblox.com/index.php/RbxUtility

Then he uses this to check if a player has that item:

http://wiki.roblox.com/index.php/UserHasBadge_(Method)




You're welcome.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jul 2013 07:20 AM
Badge is not item, but only works with badges.
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
23 Jul 2013 07:26 AM
@cnt

UserHasBad works with any asset
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jul 2013 07:28 AM
Ohh, k then what he said
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jul 2013 07:29 AM
But I'm sure he uses PlayerOwnsAsset, since it's actually recommended
"This is a basic if statement telling you if the user owns the item."
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