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 |
|
|
|
| 22 Jul 2013 05:02 PM |
| Limiteds service? What do you mean by that? |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 13 Sep 2008 |
| Total Posts: 489 |
|
| |
|
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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 24 Jun 2011 |
| Total Posts: 1418 |
|
|
| 23 Jul 2013 03:31 AM |
| Merely does that, but uses a different method. |
|
|
| Report Abuse |
|
|
bohdan77
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
|
| 23 Jul 2013 07:07 AM |
| Doesn't merely use a external program? |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
|
| 23 Jul 2013 07:26 AM |
@cnt
UserHasBad works with any asset |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
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 |
|
|