This shows you the differences between two versions of the page.
dswpbot:api_onlinepeople [2010/03/31 02:15] SvaRoX Adding forum settings |
dswpbot:api_onlinepeople [2014/02/08 15:36] (current) Zottel |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====DSWP API: online people===== | + | ======DSWP API: online people====== |
- | ====Introduction==== | + | |
Use this API to get a list of people online on the various DSWP-related servers (game servers, mumble server, forum and IRC channel on Quakenet). Only people registered on the forum are listed. | Use this API to get a list of people online on the various DSWP-related servers (game servers, mumble server, forum and IRC channel on Quakenet). Only people registered on the forum are listed. | ||
- | ====How to use==== | + | =====How to use===== |
Get the data on this link :\\ | Get the data on this link :\\ | ||
http://www.dswp.de/old/dswp_tools/svarox/whoswhere_flat.php | http://www.dswp.de/old/dswp_tools/svarox/whoswhere_flat.php | ||
Line 18: | Line 18: | ||
* **bit mask** (integer): bit mask containing the servers where the user is connected to. Use bitwise AND to handle this value. See below for servers bit masks. | * **bit mask** (integer): bit mask containing the servers where the user is connected to. Use bitwise AND to handle this value. See below for servers bit masks. | ||
- | ====Servers bit masks==== | + | =====Server bit masks===== |
TDM: 1\\ | TDM: 1\\ | ||
Bomb: 2\\ | Bomb: 2\\ | ||
Line 25: | Line 25: | ||
Mumble: 16\\ | Mumble: 16\\ | ||
IRC: 32\\ | IRC: 32\\ | ||
- | Forum: 64 | + | Forum: 64\\ |
+ | TDM4.2: 128 | ||
- | ====Notes==== | + | =====Notes===== |
Game servers and IRC online status are refreshed every 30 seconds, forum and mumble online status are retrieved in real-time, so the best refresh time value is probably 30 seconds (one update ensured for every servers and not much traffic). | Game servers and IRC online status are refreshed every 30 seconds, forum and mumble online status are retrieved in real-time, so the best refresh time value is probably 30 seconds (one update ensured for every servers and not much traffic). | ||
+ | |||
+ | <WRAP categories> | ||
+ | | **[[category:categories|Categories]]**: **[[category:dswp-projects-and-coding|DSWP projects & coding]]** | | ||
+ | </WRAP> |