|
| 07 Aug 2012 06:27 PM |
game:GetService("SocialService"):SetGroupRankUrl("http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRank&playerid=%d&groupid=%d")
game:GetService("SocialService"):SetGroupRoleUrl("http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRole&playerid=%d&groupid=%d") |
|
|
| Report Abuse |
|
|
Seynok
|
  |
| Joined: 08 Apr 2009 |
| Total Posts: 52 |
|
|
| 07 Aug 2012 06:29 PM |
| I hate accidently posting on my alts. >_> |
|
|
| Report Abuse |
|
|
HotThoth
|
  |
 |
| Joined: 24 Aug 2010 |
| Total Posts: 1176 |
|
|
| 07 Aug 2012 06:35 PM |
I can neither confirm nor deny these egregious accusations!
- HotThoth
~ I Thoth so ~ |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 06:37 PM |
What's a group role?
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 06:37 PM |
^
umg 3 line sig rep00trted |
|
|
| Report Abuse |
|
|
HotThoth
|
  |
 |
| Joined: 24 Aug 2010 |
| Total Posts: 1176 |
|
|
| 07 Aug 2012 06:37 PM |
Oh wait, nvm, I guess I can.
These two methods should be available soon (like the release after next). See my earlier posts / vids for details.
- HotThoth
|
|
|
| Report Abuse |
|
|
| |
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 07 Aug 2012 06:41 PM |
| Hmm I wonder if those pages are vulnerable to SQL injection... |
|
|
| Report Abuse |
|
|
Seranoob
|
  |
| Joined: 10 Nov 2010 |
| Total Posts: 108 |
|
|
| 07 Aug 2012 06:43 PM |
| yes of course i'm sure they are unprotected ROBLOX definitely wouldn't validate the data you give to those APIs |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 06:43 PM |
answer my question anybody pl0x...
what's a group role?
And, instead of doing that big URL thing...
game:GetService("SocialService"):SetGroupRankUrl("http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRank&playerid=%d&groupid=%d")
Can't we just do:
game:GetService("SocialService"):SetGroupRankUrl(GROUPID,Rank)
?
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance. |
|
|
| Report Abuse |
|
|
Seranoob
|
  |
| Joined: 10 Nov 2010 |
| Total Posts: 108 |
|
|
| 07 Aug 2012 06:45 PM |
Candy, this is the code from Join.ashx that sets all the base URLs that the different services will use. Obviously the method will be.
Player:GetGroupRank(groupID)
You won't have to mess with the URLs. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 07:15 PM |
http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRank&playerid=1021153&groupid=657274
It already works =3 |
|
|
| Report Abuse |
|
|
ihaveamac
|
  |
| Joined: 27 Jan 2009 |
| Total Posts: 7511 |
|
|
| 07 Aug 2012 07:27 PM |
http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRank&playerid=2090435&groupid=595994 It works. :D (that is my group)
- ihaveamac |
|
|
| Report Abuse |
|
|
| |
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 07 Aug 2012 07:55 PM |
"SocialService"
But what happens if it's a warclan.. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 08:12 PM |
I thought SocialService was locked?
o.e
|
|
|
| Report Abuse |
|
|
ENET
|
  |
| Joined: 01 Jan 2010 |
| Total Posts: 4820 |
|
|
| 07 Aug 2012 08:17 PM |
I bet setGroupRank will be locked but getGroupRank won't.....
I see no point in setting ranks in game and imagine this....
User sets rank to admin.... User goes and removes everyone from group.... Destroyed!!!!! |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 08:20 PM |
| Enet, I'm assuming SocialService checks if the place owner has permissions to change ranks before doing any of this. |
|
|
| Report Abuse |
|
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 07 Aug 2012 08:22 PM |
@techboy
Distribute fort with this. Have it change your rank to leader when you enter the server. Destroy clan. Profit. yey |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 08:30 PM |
@aboy
Why would a group owner want to do that?
Also, what do you mean by "distribute"?
In any place where a script uses this, it would check if the place owner has permissions in the group to change ranks.
So even if you made this a free model, it would error because anyone other than yourself who uses this will have the script error (unless they have said permissions) |
|
|
| Report Abuse |
|
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 07 Aug 2012 08:36 PM |
| The code that the OP posted is from a CoreScript... |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 08:40 PM |
| Does this mean you can promote anyone in any group? e.e |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 08:42 PM |
| Oh, nevermind. Stupid me, I didn't notice there wasn't a SetGroupRank function (fail). |
|
|
| Report Abuse |
|
|
oxcool1
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 15444 |
|
| |
|
8SunTzu8
|
  |
| Joined: 30 Sep 2011 |
| Total Posts: 8199 |
|
|
| 07 Aug 2012 09:02 PM |
Well, this is good to hear.
How often are releases? :p
"Improvise, Overcome, and Adapt." -Captain (RIP) |
|
|
| Report Abuse |
|
|