of     1   

RafDev
#191089734Monday, June 13, 2016 10:09 AM GMT

Rank doors and many other things use the GetRankInGroup, GetRoleInGroup and IsInGroup methods of the Player class a lot, and they're quite useful. However, it gets cached somehow (even though DataModel.HttpGet does not have a nocache parameter?), and prevents it from being updated regularly. Meaning that if the player's rank/role changes, these methods will return incorrect values. If necessary, a NoCache token could be added, for example: #code game.HttpGet( string.format("https://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRole&playerid=%d&groupid=%d", playerId, groupId) .. "&nocachetoken=" .. math.floor(os.time()*math.random()) ,true) Post Support to support (duh). >BREW htcpcp://www.roblox.com/Default.aspx >>418 I'm a teapot
RafDev
#191089765Monday, June 13, 2016 10:10 AM GMT

I forgot to mention: -> Server cache is cleared when server restarts -> Client cache is cleared when player rejoins
KenjiKenobi
#191095866Monday, June 13, 2016 1:47 PM GMT

Support to support (duh). "It's true hard work never killed anybody, but I figure, why take the chance?" - Ronald Reagan
wind_o
#191095988Monday, June 13, 2016 1:50 PM GMT

Support. Don't ranks update when client-sided? Should be a thing either way though.
Williux
#191101027Monday, June 13, 2016 3:32 PM GMT

I am Williux, and I sign my approval!

    of     1