[REQ] move 'lastjoin' & 'lastleave' to Stats_players

Create issue
Issue #180 wontfix
apesgrapes . created an issue

as per the title. in Stats_player they're world specific which seems unnecessary and causes issues with my (fairly basic) php call to check join>leave=online. the value is recorded against the world so they're become mismatched. as a workaround i'm currently running regular updates to set join=leave if join>leave & player is offline (but will look for cleverer mysql for the query..)

cheers apes

Comments (2)

  1. Sybren Gjaltema repo owner

    This is also used to see when a player was seen in a world last/first. As you found out yourself, you can also use MAX() for the actual online time :)

  2. Log in to comment