How autoclear online players
I get list of online players by query
select char_name from user_data where login>logout
where I should inject this query:
update user_data set logout=login where login>logout
to clear online status after server crash?
I try it in lin_loadItems, lin_LoadNpcBoss. But 1st procedure calls many times during server works, and second may exec and may not exec. Also I tried this query in lin_LoadAgitAll. But without success. Please tell me what stored procedure calls once this server starting.
|