I'm trying to devise a way of using sessions being active/inactive in a multi-sided game which allows you to see the active users, regardless of how many (though could maybe limit to 30...) in your specific area (comparing coordinates to match yours).
Also, I need a way to log their chat (posting to a database of course) but then have time stamps be correlated between the user's session and the stamps that go on the database.. Basically, this would enable the user to clear their screen by resetting their time stamp to 0 or to carry on the chat posts as they move if they so choose to. (Time stamps would me in mm:ss)
I've thought this out and think it could work great but I just don't know how to approach it code wise...
Also, I need a way to log their chat (posting to a database of course) but then have time stamps be correlated between the user's session and the stamps that go on the database.. Basically, this would enable the user to clear their screen by resetting their time stamp to 0 or to carry on the chat posts as they move if they so choose to. (Time stamps would me in mm:ss)
I've thought this out and think it could work great but I just don't know how to approach it code wise...
Comment