Jump to content
  • 0

How to check account is loggedin?


Brotherpray

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  12/12/16
  • Last Seen:  

How to check account is loggedin or player online by php script?

or

How to kick account disconnect from server which php?
or

How to disable Database cach on memory ?

ploblem is if player online database is not update.

Edited by Brotherpray
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

Q: How to check account is loggedin or player online by php script?

A: Use this MySQL query.

SELECT COUNT(*) FROM `char` WHERE online = 1 AND account_id = <your variable>

Q:  How to disable Database cach on memory ?

A: No, you can't. That would require some serious rewrite on rAthena source code and its performance would drop by a lot.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  12/12/16
  • Last Seen:  

Thanks  secrets

Link to comment
Share on other sites

×
×
  • Create New...