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
103
S
25
G
39
Posts: 1,875
Reputation: 31,383

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,850

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
103
S
25
G
39
Posts: 1,875
Reputation: 31,383

Post » Wed Jan 23, 2013 3:36 pm

bump
B
103
S
25
G
39
Posts: 1,875
Reputation: 31,383


Return to How do I....?

Who is online

Users browsing this forum: bikachu, blaze ritter, Fenix18, iEatwe, nad10221 and 10 guests