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 » Scripters
Home Search
 

Re: Ownership/HasAsset? userId=261&assetId=1818

Previous Thread :: Next Thread 
Auzer is online. 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 is online. Auzer
Joined: 24 Dec 2011
Total Posts: 1590
25 Jul 2016 11:02 AM
b
Report Abuse
Tynezz is not online. 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
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
25 Jul 2016 11:03 AM
Why do you need this?


Report Abuse
Auzer is online. 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 is not online. 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 is not online. 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 is online. 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 is not online. 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 is online. 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 is not online. 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 is not online. 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
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
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 is not online. 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 is not online. 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
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
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 is not online. 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 is online. 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
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
25 Jul 2016 03:15 PM
what proxy
Report Abuse
Taryo is not online. Taryo
Joined: 06 Aug 2011
Total Posts: 496
25 Jul 2016 03:19 PM
@Aggressive

Do you know what a proxy is?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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