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: Services?

Previous Thread :: Next Thread 
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:18 PM
Ex: MarketplaceService, BadgeService, GamePassService, etc.

How do I use these services to award badges/give special powers to gamepass owners/sell items in game?
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:21 PM
(Bump)

And also could you name all of the services?
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:25 PM
Anyone?!

D:
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
30 Aug 2013 07:25 PM
Use the API Dump

http://wiki.roblox.com/index.php/Class_reference/API_dump
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:27 PM
O_O

Dude, I'm an average scripter (and not good at telling sarcasm from seriousness from trolling). I'm not that good.
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
30 Aug 2013 07:30 PM
Oops. Did I hear you say "I'm not that good."?

In that case, use the API Dump! http://wiki.roblox.com/index.php/Class_reference/API_dump

It helps, good or bad, right or wrong, yes or no, true or false, 1 or 0
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:32 PM
I. DO. NOT. KNOW. WHAT. THAT. MEANS.

Okay, you're a troll.
Report Abuse
ZachBloxx is not online. ZachBloxx
Joined: 26 Jun 2013
Total Posts: 2833
30 Aug 2013 07:34 PM
Hmmm, have you tried this yet?

http://wiki.roblox.com/index.php/Class_reference/API_dump
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:36 PM
*Calls table flipping boys*
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
30 Aug 2013 07:36 PM
I'm no troll. But if I were, I definitely would NOT tell you to use the API Dump because of it's excessive amount of awesomeness:

http://wiki.roblox.com/index.php/Class_reference/API_dump
Report Abuse
ZachBloxx is not online. ZachBloxx
Joined: 26 Jun 2013
Total Posts: 2833
30 Aug 2013 07:38 PM
ye blocco is no troll
Report Abuse
josh50000 is not online. josh50000
Joined: 29 Nov 2009
Total Posts: 697
30 Aug 2013 07:38 PM
This will help btw:
http://wiki.roblox.com/index.php/Class_reference/API_dump
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:38 PM
I understand nothing in the API Dump. It makes no sense to me. All I want to know is how to use the Services.

Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
30 Aug 2013 07:39 PM
You'd better get used to using that API Dump. Because that's the only link I'm giving you. :)

http://wiki.roblox.com/index.php/Class_reference/API_dump
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:40 PM
Okay, well allow me to propose a new question:

How do I use the API Dump?
Report Abuse
ZachBloxx is not online. ZachBloxx
Joined: 26 Jun 2013
Total Posts: 2833
30 Aug 2013 07:42 PM
You read it.
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:42 PM
But I do not understand what the purpose of the API Dump is. What does it DO? Can you explain it to me, hm?
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
30 Aug 2013 07:43 PM
The [API Dump](http://wiki.roblox.com/index.php/Class_reference/API_dump) provides an organized, alphabetically sorted list of ROBLOX Objects. Using a simple string-search macro (usually CTRL+F), you can find all of the members (propeties, functions, yieldfunctions, callbacks, events) exclusive to a certain object. It tells you the parameters for all functions, and it tells you the security context too! So you even know what you can and cannot use. :D
Report Abuse
josh50000 is not online. josh50000
Joined: 29 Nov 2009
Total Posts: 697
30 Aug 2013 07:44 PM
This might be easier to understand :P
http://wiki.roblox.com/index.php/GetService_(Method)
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:46 PM
Okay, so I've found what I need (sort of, at least):

Class BadgeService : Instance
Function void BadgeService:SetAwardBadgeUrl(string url) [LocalUserSecurity]
Function void BadgeService:SetHasBadgeCooldown(int seconds) [LocalUserSecurity]
Function void BadgeService:SetHasBadgeUrl(string url) [LocalUserSecurity]
Function void BadgeService:SetIsBadgeDisabledUrl(string url) [LocalUserSecurity]
Function void BadgeService:SetIsBadgeLegalUrl(string url) [LocalUserSecurity]
Function void BadgeService:SetPlaceId(int placeId) [LocalUserSecurity]
YieldFunction bool BadgeService:AwardBadge(int userId, int badgeId)
YieldFunction bool BadgeService:IsDisabled(int badgeId)
YieldFunction bool BadgeService:IsLegal(int badgeId)
YieldFunction bool BadgeService:UserHasBadge(int userId, int badgeId)
Event BadgeService.BadgeAwarded(string message) [RobloxScriptSecurity]

How do I use this to find out how to use the service?
Report Abuse
BloxianBuildingTeam is not online. BloxianBuildingTeam
Joined: 20 Apr 2013
Total Posts: 2137
30 Aug 2013 07:47 PM
THANK YOU! That next link is so much better.
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
30 Aug 2013 07:47 PM
Some quick tips:

No security label means that the member can be used by all forms of executed code.
RobloxPlaceSecurity means that the member can only be used in Script and LocalScript objects running in a ROBLOX place.
LocalUserSecurity means that the member can only be used in the command bar, plugins, or locally executed code (`Execute Script...`).
WritePlayerSecurity is some weird psycho crap dont worry about it
RobloxScriptSecurity means that the member can only be used in CoreScripts and StarterScripts.
RobloxSecurity means that the member can only be used in well-protected code hosted directly on the ROBLOX site as a file.

in order of secured-ness:
RobloxSecurity < RobloxScriptSecurity < WritePlayerSecurity < LocalUserSecurity < RobloxPlaceSecurity < (none)
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
30 Aug 2013 07:53 PM
Hmm.... maybe those arrows were pointing the wrong way.

Awwww whatever. IM GOING TO REPOST SO THAT I CAN FORMAT :D

---

Some quick tips:

* *No security label* means that the member can be used by all forms of executed code.
* **RobloxPlaceSecurity** means that the member can only be used in Script and LocalScript objects running in a ROBLOX place.
* **LocalUserSecurity** means that the member can only be used in the command bar, plugins, or locally executed code `(Execute Script...)`.
* **WritePlayerSecurity** is WritePlayerSecurity. what do you think i know? no i dont know stop asking k
* **RobloxScriptSecurity** means that the member can only be used in CoreScripts and StarterScripts.
* **RobloxSecurity** means that the member can only be used in well-protected code hosted directly on the ROBLOX site as a file.

[Anaminus has a page on the wiki which shows a bunch of cool stuff](http://wiki.roblox.com/index.php/User:Anaminus/Identity)
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