|
| 10 Nov 2012 04:51 PM |
I need to know how I can, having only a package's asset id (example: http://www.roblox.com/Korblox-Skeleton-item?id=95951147), get all the asset ids of the assets that are a part of that package.
I'm pretty sure it's possible, and I think Seranok has done it.
I tried loading it: didn't work. I tried using the LinkedSource property: didn't work. |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2012 04:53 PM |
| I think you can load the body parts individually. If not there is, without exception, one on free models. |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2012 05:06 PM |
| I know I can get them individually. That's exactly what I want to do. But for that, I need to find their IDs. I also know I can find them on the website, but I need to do it from a script. |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 10 Nov 2012 05:23 PM |
As of now, the only way is to create a database of all the information. Otherwise, I suspect Seranok wouldn't have had a massive list of packages and their contents.
Another way you could do it is have an account with the package loaded in it, and then load that character appearance. However, that's pretty expensive. Your best bet is automating a database with Javascript. |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 10 Nov 2012 05:49 PM |
"Otherwise, I suspect Seranok wouldn't have had a massive list of packages and their contents."
AFAIK Seranok has a system set up to gather up all that information automatically with a non-Lua program, and then send it off to the game servers.
There's definitely not a way to do it using only the Roblox Lua interface. It's not possible to get any information out of a web asset using a script. |
|
|
| Report Abuse |
|
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 10 Nov 2012 05:57 PM |
| Julien, what you are seeking to do can only be done with access to DataModel::HttpGet. |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2012 07:31 PM |
| I see. I thought it would be possible through something like the LinkedSource property. After all, you can get mesh information and a lot of other non-script things through it (try setting the LinkedSource property of a script to a mesh's asset id...), so I thought maybe there was a way to do something similar with packages. |
|
|
| Report Abuse |
|
|
Ice1377
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 6432 |
|
|
| 10 Nov 2012 07:50 PM |
Uh.
I think what Arceus said is accurate. |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 10 Nov 2012 10:29 PM |
"I thought it would be possible through something like the LinkedSource property."
The would be the obvious, but it doesn't work. LinkedSource _overrides_ the normal source, it does not set the normal source. That is, setting the LinkedSource will make the script use whatever is queried from the web instead of looking at the normal source, it won't store the downloaded content in the Source.
I believe the reason for that is so that a script could gracefully "degrade" from a linked version to a non-linked version when a linked version failed to be downloaded. |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2012 10:31 PM |
"The would be the obvious, but it doesn't work. LinkedSource _overrides_ the normal source, it does not set the normal source. That is, setting the LinkedSource will make the script use whatever is queried from the web instead of looking at the normal source, it won't store the downloaded content in the Source."
I know that, but I still wanted to ask in case there was some way.
You see, I have seen Seranok post in the past about parsing packages. That's what made me think that there might be a way to do it. |
|
|
| Report Abuse |
|
|
Merely
|
  |
| Joined: 07 Dec 2010 |
| Total Posts: 17266 |
|
|
| 10 Nov 2012 11:17 PM |
| lol forgot about the old InsertService::GetPackageParts method? |
|
|
| Report Abuse |
|
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 11 Nov 2012 12:57 AM |
| I am reluctant to reveal my hard-earned secrets that make Catalog Heaven possible... D: |
|
|
| Report Abuse |
|
|