Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get online players #34

Closed
jessebuffington opened this issue Dec 10, 2018 · 1 comment
Closed

Get online players #34

jessebuffington opened this issue Dec 10, 2018 · 1 comment

Comments

@jessebuffington
Copy link
Owner

Update all rows in DB to offline only leaving current online players as online -- this will remove unnecessary logic.

ie:

UPDATE players SET onlineStatus = '0';
replace INTO players (playerid, playerName, steamid, onlineStatus) VALUES ('999999', 'NuTcAsE', '76561197976204251', '1');
replace INTO players (playerid, playerName, steamid, onlineStatus) VALUES ('5', 'sanfordthegreat', '76561198065671347', '1');

@jessebuffington
Copy link
Owner Author

This was completed in an early version of the 7DM manager -- lib/syncOnlinePlayers.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant