Forum

Results 1 to 3 of 3
  1. #1
    Join Date
    December 2012
    Location
    Paris, France
    Posts
    185

    cliententerview add client_lastconnected to data

    Hi,

    can you add client_lastconnected, before database update, to the data when we listen the cliententerview event?

    This would be usefull to skip calling clientinfo when client connect, my bot need to send last news to the client who's not connected before publication timestamp.

    Thank you

    PS: Update client_lastconnected when the client leave or lost connection would be better no?

  2. #2
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,371
    What sense does that make? If a client connects, its last connected time is right now.

    Bot messages are super-nasty anyway, that's why I instantly add all query bots to my ignore list.

  3. #3
    Join Date
    December 2012
    Location
    Paris, France
    Posts
    185
    Quote Originally Posted by numma_cway View Post
    What sense does that make? If a client connects, its last connected time is right now.

    Bot messages are super-nasty anyway, that's why I instantly add all query bots to my ignore list.
    The last connected value is non-sens actualy, rename it client_connected is more appropriate. The last connected should be the timestamp from the last session connection/disconnect before the current session.

    My bot send only the lastest news to members wasn't online before the publication. Currently i save the true last connection into JSON file to ignore clients who's already have the lastest news.

    Bot message are nasty if it used for anything and any old way. My goal is to not spam users and my bot sends, on average, one message per week.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Resolved] clients.client_lastconnected isn't updated anymore - why?
    By FireEmerald in forum Server Support
    Replies: 5
    Last Post: March 21st, 2015, 09:21 PM
  2. client_lastconnected & error db
    By Death_Balgor in forum General Questions
    Replies: 1
    Last Post: October 18th, 2013, 02:48 PM
  3. Replies: 1
    Last Post: April 14th, 2013, 07:51 PM
  4. [BUG] main server process crashes if client_lastconnected IS NULL
    By burnersk in forum Suggestions and Feedback
    Replies: 2
    Last Post: January 10th, 2010, 06:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •