Hi,
I have used CloudScript for integrating Clan/Group System in my game. All Clans/Group functions are implemented on server side and I am using ExecuteCloudScript on client side to call these functions.
What I really want is that the CloudScript should return some proper response but what I get is just NULL (Please check screenshot I have attached)
here's my cloudcode:
handlers.joinGroup = function(args,context){ var addMemberToGroup = { "Group":{ "Id": args.groupID }, "Members":[{ "Id": args.userID, "Type": "title_player_account", "TypeString": "title_player_account" }], "RoleId": args.roleID }; var response = entity.AddMembers(addMemberToGroup); return response; };
and here's what I get in response
Now you see even though the cloudscript ran the function successfully but I didn't get a proper response to identify whether the function was a success or failure.