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: Checking if a player owns an asset

Previous Thread :: Next Thread 
SamuelKingx is not online. SamuelKingx
Joined: 27 Jan 2012
Total Posts: 3472
30 Dec 2013 03:02 PM
I'm trying to check if a player owns an asset, even when they're not in the game.

You're not able to do this with badgeservice, because the player must be in the game.

and MarketplaceService requires a player object in order to check if the user owns it.

Which other way would you suggest for me to try?
Report Abuse
Undoomed is not online. Undoomed
Joined: 19 Oct 2010
Total Posts: 1662
30 Dec 2013 03:04 PM
Hack roblox and add a new value that makes this happen
Report Abuse
btft is not online. btft
Joined: 19 Feb 2011
Total Posts: 1512
30 Dec 2013 03:06 PM
lolno value
Report Abuse
SamuelKingx is not online. SamuelKingx
Joined: 27 Jan 2012
Total Posts: 3472
30 Dec 2013 03:08 PM
'add a new value that makes this happen'

do u even lau
Report Abuse
Undoomed is not online. Undoomed
Joined: 19 Oct 2010
Total Posts: 1662
30 Dec 2013 03:09 PM
"do u even lau"

Do you even sarcasm or grammar?
Report Abuse
SamuelKingx is not online. SamuelKingx
Joined: 27 Jan 2012
Total Posts: 3472
30 Dec 2013 03:10 PM
In all seriousness, though..

I need some help. I know it can be done, because people always use Lua to check which limiteds Merely does not have.
Report Abuse
Undoomed is not online. Undoomed
Joined: 19 Oct 2010
Total Posts: 1662
30 Dec 2013 03:11 PM
You know about Trade Hangout right, it finds your rap? Every day Merely logs on he checks every BC member in roblox to see their limiteds, and he looks up every limited's RAP. Then he updates his game.
Report Abuse
btft is not online. btft
Joined: 19 Feb 2011
Total Posts: 1512
30 Dec 2013 03:13 PM
Are you sure you can't just put userId in?
if game:GetService("BadgeService"):UserHasBadge(00000, BadgeId) then

end
?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
30 Dec 2013 03:14 PM
One way is that you're going to have to use an HTTP request and just get the HTML of a user page and check through the models or whatever.
Report Abuse
SamuelKingx is not online. SamuelKingx
Joined: 27 Jan 2012
Total Posts: 3472
30 Dec 2013 03:15 PM
^I tried that; ROBLOX sends the error out: 'Sorry, userid=[ID] is not in this game!'
Report Abuse
btft is not online. btft
Joined: 19 Feb 2011
Total Posts: 1512
30 Dec 2013 03:16 PM
Erm
Report Abuse
SamuelKingx is not online. SamuelKingx
Joined: 27 Jan 2012
Total Posts: 3472
30 Dec 2013 03:17 PM
@cnt - how would i change the pages to check?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
30 Dec 2013 03:21 PM
idk =D
Report Abuse
SamuelKingx is not online. SamuelKingx
Joined: 27 Jan 2012
Total Posts: 3472
30 Dec 2013 03:44 PM
^well that really helps. .___.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
30 Dec 2013 03:46 PM
Just find out what request UserOwnsBadge does and just send that from your page and return results?
Report Abuse
HellGames is not online. HellGames
Joined: 17 Oct 2013
Total Posts: 94
30 Dec 2013 04:13 PM
Possible, but it takes time.
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