Hello, I need to access a script data of the player in the realtime script, I did try this:
RTSession.newRequest().createAccountDetailsRequest().setPlayerId(winnerID).send(function(response){
currentWinerPoints = response.scriptData("currentPoints");
});
and get this error:
"port": 5150, "level": "FATAL", "line": 60, "source": "rt_1.js", "message": null,
What I need to do?
Hello,
I did not get access but I did it differently, I sent what I wanted in session connect and I stored this in a variable,
Thanks
In fact the error is this
"port": 5150, "level": "FATAL", "line": 40, "source": "rt_1.js", "message": "TypeError: response.scriptData is not a function",
I made mistake, the right is:
message: scriptData is not a function
Hey Rômulo Luiz,
Does this mean you fixed the problem?Sean
Rômulo Luiz
Hello, I need to access a script data of the player in the realtime script, I did try this:
RTSession.newRequest().createAccountDetailsRequest().setPlayerId(winnerID).send(function(response){
currentWinerPoints = response.scriptData("currentPoints");
});
and get this error:
"port": 5150, "level": "FATAL", "line": 60, "source": "rt_1.js", "message": null,
What I need to do?
Hello,
I did not get access but I did it differently, I sent what I wanted in session connect and I stored this in a variable,
Thanks
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstRômulo Luiz
In fact the error is this
Rômulo Luiz
I made mistake, the right is:
message: scriptData is not a function
Customer Support
Hey Rômulo Luiz,
Does this mean you fixed the problem?
Sean
Rômulo Luiz
Hello,
I did not get access but I did it differently, I sent what I wanted in session connect and I stored this in a variable,
Thanks
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics