Auzer
|
  |
| Joined: 24 Dec 2011 |
| Total Posts: 1590 |
|
|
| 25 Jul 2016 11:02 AM |
URL: http://api.roblox.com/Ownership/HasAsset?userId=261&assetId=1818
The reason I choose to send a request to the web api above instead of using BadgeService is because I want a script to check if a player who is not in the current server owns the following asset. But unfortunately it keeps telling me "Trust check failed". Is there any other way of doing this? |
|
|
| Report Abuse |
|
|
Auzer
|
  |
| Joined: 24 Dec 2011 |
| Total Posts: 1590 |
|
| |
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 25 Jul 2016 11:03 AM |
| its still on the top and why would you want to check? |
|
|
| Report Abuse |
|
|
| |
|
Auzer
|
  |
| Joined: 24 Dec 2011 |
| Total Posts: 1590 |
|
|
| 25 Jul 2016 11:04 AM |
| Why do you guys bother asking? I'm too lazy to go in detail what I will use it for. |
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 25 Jul 2016 11:05 AM |
why do you bother asking for help when you won't share information
you can do a different approach but apparently, you are being ignorant. |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 25 Jul 2016 11:06 AM |
| You need a proxy server. You can't do this with httpservice because you can't send requests to roblox.com |
|
|
| Report Abuse |
|
|
Auzer
|
  |
| Joined: 24 Dec 2011 |
| Total Posts: 1590 |
|
|
| 25 Jul 2016 11:06 AM |
| @Tynezz Why do I have to share information? |
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 25 Jul 2016 11:07 AM |
qq
stop being ignorant, you are trying to achieve something but you don't want to learn other ways of doing so and the only way you can try different approach is know why you want to get to x |
|
|
| Report Abuse |
|
|
Auzer
|
  |
| Joined: 24 Dec 2011 |
| Total Posts: 1590 |
|
|
| 25 Jul 2016 11:09 AM |
| @Tynezz I still think Kodran gave me a good explanation without having me sharing information. |
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 25 Jul 2016 11:10 AM |
| my point is, if you don't share you can't get better approaches to this problem, but hey do whatever |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 25 Jul 2016 11:10 AM |
What are you even saying tynezz? Who cares what he's using it for?
The only way to use those web apis is to ping it from a different server. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 11:11 AM |
That is the same thing I posted in the thread that you posted before this one.
|
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 25 Jul 2016 11:11 AM |
@Kodran, I don't understand why he would need to check if someone owns an asset if they aren't in-game.
I feel that it would be cheaper to use a datastore to check if they have the asset or not |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 25 Jul 2016 11:13 AM |
| You don't need to understand why he needs it. Maybe he wants to see if your friend owns a certain item, if so then suggest they buy it. If you spend enough time thinking about it you can find a use. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 11:19 AM |
He wants to see if the owner of the place owns an item. From the limited info we have, I am assuming he wants to make a script that deletes itself if the owner of the game didn't buy a T-Shirt or something. DataStores don't work for that.
However, I still don't see how Kodran gave you more info than I did:
"You can do it with HttpService and a proxy, preferably your own server but whatever." "Do you think there is a roblox api that does the exact same thing? I'm not good at javascript." "Not with HttpService, and I don't think so with anything else. There could be though."
And then Kodran:
"You need a proxy server. You can't do this with httpservice because you can't send requests to roblox.com"
|
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 25 Jul 2016 11:26 AM |
Yeah for sure you gave more info, I was just trying to answer the question.
And sorry for the ambiguity in my answer; I meant you can't use that url with httpservice for the desired effect. You NEED to use httpservice in some form to have this work. |
|
|
| Report Abuse |
|
|
Auzer
|
  |
| Joined: 24 Dec 2011 |
| Total Posts: 1590 |
|
|
| 25 Jul 2016 03:14 PM |
| I found out a way to bypass the roblox web api by using a proxy and it worked. |
|
|
| Report Abuse |
|
|
| |
|
Taryo
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 496 |
|
|
| 25 Jul 2016 03:19 PM |
@Aggressive
Do you know what a proxy is? |
|
|
| Report Abuse |
|
|