ForumsProgramming ForumHow to know who playing my game ?

13 2863
pictiofunny
offline
pictiofunny
2 posts
0

Hello all,

I have developped a pictionary game, and i want to submit it to this website, but i need to know who is the player which play my game.

I use the ExternalInterface to communicate with javascript code, but i think it's not possible in this website because you demand to upload only the flash file.

How can i identify users ?

Thanks

  • 13 Replies
Xinito
offline
Xinito
111 posts
140

I think you cant..

pictiofunny
offline
pictiofunny
2 posts
0

Is there a way to get the IP of the player in the flash file or something else to identify a player (if he play with IE or firefox for exemple, my game need to know that it's the same player) ?

PixelSmash
offline
PixelSmash
569 posts
630

You could add something like Google Analytics to your game. This will not show you their IP adresses (because that's a privacy issue) but it will most of the time show you what browser and flash version they're using.

arobegamr
offline
arobegamr
130 posts
540

You can't do that without a database. You should set up a server for your game with a database that allows players to login, which is going to cost you some money.

As far as databases go, an easy program to use is called MySQL, which you can use in conjunction with PHP, as long as the server is PHP enabled.

However, you cannot collect data that would identify a player in the manner to which you are referring becaues, as PixelSmash said, it is a privacy issue.

Gepa
offline
Gepa
6 posts
30

you cant :/

master565
offline
master565
4,125 posts
600

you cant :/


Yes you can... people just gave multiple methods how.
WhiskeyedJack
offline
WhiskeyedJack
81 posts
1,535

Actually you best bet is to check the local API of the site where you are submitting your game. It might give you a way to access the current logon data for anyone subscribed to the site.

ooier
offline
ooier
29 posts
1,340

maybe you can use some php functions inside your flashgame to trace the ip

Somewhat49
offline
Somewhat49
1,632 posts
435

How bout have them create a user pw and stuff?

WhiskeyedJack
offline
WhiskeyedJack
81 posts
1,535

And again we are back to secure database management. If you ask for a username and password, then you need some way to track it all.

Darkroot
offline
Darkroot
2,779 posts
1,120

Not that much of a problem even a complete beginner can pick up a book, read through it and whip up a good enough database for their game.

3Aegis3
offline
3Aegis3
6 posts
30

http://www.mochibot.com/
Simple as that.

WhiskeyedJack
offline
WhiskeyedJack
81 posts
1,535

@Darkroot Yar. It just depends on the hosting environment of the game and whether or not our friend pictiofunny has access (or rather what kind of access they have).

@3Aegis3 I think that mochibot mostly tracks who all has hosted the flash file, not who has accessed it.

Showing 1-13 of 13