unique id for each player

Get help using Construct 2

Post » Sun Jan 20, 2013 2:16 pm

Any ideas where start wit this? my game must send info to website. My friend is webmaster so i must do all things from C2 side We can use JSON to send informations he saiddelgado2013-01-20 14:40:02
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Sun Jan 20, 2013 3:03 pm

For a new player, if a unique ID webstorage key doesn't exist, use ajax to post to the server and return the new key, then save it as the unique ID webstorage key.

If not a new player just post to the server with the saved webstorage key.

This doesn't sound very secure to me, so hopefully someone can chime in with a way to lock this down.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Sun Jan 20, 2013 3:58 pm

@thehen thanks for your interests, Prabably game will be hve new and old users. Your tips might be included to one event sheet with game events?
And my pal give me two php files 'test request' and 'test response' what i should do with this ?delgado2013-01-20 16:09:00
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Wed Jan 23, 2013 3:36 pm

bump
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests