<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.silentwings.no/index.php?action=history&amp;feed=atom&amp;title=Server%3AWeb_Interface</id>
	<title>Server:Web Interface - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.silentwings.no/index.php?action=history&amp;feed=atom&amp;title=Server%3AWeb_Interface"/>
	<link rel="alternate" type="text/html" href="http://wiki.silentwings.no/index.php?title=Server:Web_Interface&amp;action=history"/>
	<updated>2026-05-26T10:10:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://wiki.silentwings.no/index.php?title=Server:Web_Interface&amp;diff=229&amp;oldid=prev</id>
		<title>Rschider at 09:28, 11 June 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.silentwings.no/index.php?title=Server:Web_Interface&amp;diff=229&amp;oldid=prev"/>
		<updated>2007-06-11T09:28:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:28, 11 June 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot;&gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ID=%d&amp;amp;ServerID=%d&amp;amp;Crashed=%d&amp;amp;OnGround=%d&amp;amp;Idle=%d&amp;amp;Altitude=%d&amp;amp;Latitude=%.5f&amp;amp;Longitude=%.5f&amp;amp;Speed=%.1f&amp;amp;Heading=%d&amp;amp;TaskDist=%.1f&amp;amp;TaskTime=%d&amp;amp;Finished=%d&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ID=%d&amp;amp;ServerID=%d&amp;amp;Crashed=%d&amp;amp;OnGround=%d&amp;amp;Idle=%d&amp;amp;Altitude=%d&amp;amp;Latitude=%.5f&amp;amp;Longitude=%.5f&amp;amp;Speed=%.1f&amp;amp;Heading=%d&amp;amp;TaskDist=%.1f&amp;amp;TaskTime=%d&amp;amp;Finished=%d&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Server]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rschider</name></author>
	</entry>
	<entry>
		<id>http://wiki.silentwings.no/index.php?title=Server:Web_Interface&amp;diff=228&amp;oldid=prev</id>
		<title>Thomas: New page: The MP server will post info by HTTP to a web server at regular intervals.   The web server can be specified with the -web command line switch:  swserver -web=www.silentwings.no   == Serve...</title>
		<link rel="alternate" type="text/html" href="http://wiki.silentwings.no/index.php?title=Server:Web_Interface&amp;diff=228&amp;oldid=prev"/>
		<updated>2007-05-22T15:24:33Z</updated>

		<summary type="html">&lt;p&gt;New page: The MP server will post info by HTTP to a web server at regular intervals.   The web server can be specified with the -web command line switch:  swserver -web=www.silentwings.no   == Serve...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The MP server will post info by HTTP to a web server at regular intervals. &lt;br /&gt;
&lt;br /&gt;
The web server can be specified with the -web command line switch:&lt;br /&gt;
&lt;br /&gt;
swserver -web=www.silentwings.no&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server info ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On startup it sends the following parameters in a HTTP POST:&lt;br /&gt;
&lt;br /&gt;
script name: /multiplayer/server_update/&lt;br /&gt;
&lt;br /&gt;
 Name=&amp;lt;server name&amp;gt;&lt;br /&gt;
 Scenery=&amp;lt;scenery name&amp;gt;&lt;br /&gt;
 Address=&amp;lt;ip address&amp;gt;&lt;br /&gt;
 Task=&amp;lt;task string&amp;gt;&lt;br /&gt;
 TaskDist=&amp;lt;task distance&amp;gt;&lt;br /&gt;
 Port=&amp;lt;port number&amp;gt;&lt;br /&gt;
 NumPlayers=&amp;lt;num players&amp;gt;&lt;br /&gt;
 MaxPlayers=&amp;lt;max num players&amp;gt;&lt;br /&gt;
 Uptime=&amp;lt;current uptime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there is a task, the task points are specified as:&lt;br /&gt;
 &lt;br /&gt;
 TP&amp;lt;n&amp;gt;=&amp;lt;name&amp;gt;,&amp;lt;lat&amp;gt;,&amp;lt;lon&amp;gt;,&amp;lt;elev&amp;gt;,&amp;lt;beercan radius&amp;gt;,&amp;lt;angle1&amp;gt;,&amp;lt;angle2&amp;gt;,&amp;lt;obs.zone&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;n&amp;gt; is a number from 0 to num TP-1.&lt;br /&gt;
&lt;br /&gt;
This script should return a single line&lt;br /&gt;
&lt;br /&gt;
 ID=&amp;lt;integer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This ID will be used for subsequent server updates&lt;br /&gt;
&lt;br /&gt;
At regular intervals, this info is updated with the same script the two parameters&lt;br /&gt;
&lt;br /&gt;
 ID=&amp;lt;server id&amp;gt;&lt;br /&gt;
 NumPlayers=&amp;lt;num players&amp;gt;&lt;br /&gt;
 Uptime=&amp;lt;current uptime&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Player info ==&lt;br /&gt;
&lt;br /&gt;
When a new player joins, the following info is sent:&lt;br /&gt;
&lt;br /&gt;
script name: /multiplayer/player_update/&lt;br /&gt;
&lt;br /&gt;
 Name=%s&amp;amp;Nick=%s&amp;amp;Aircraft=%s&amp;amp;Reg=%s&amp;amp;CompID=%s&amp;amp;ServerID=%d&lt;br /&gt;
&lt;br /&gt;
Returns &lt;br /&gt;
&lt;br /&gt;
 ID=&amp;lt;player id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Subsequent updates:&lt;br /&gt;
&lt;br /&gt;
 ID=%d&amp;amp;ServerID=%d&amp;amp;Crashed=%d&amp;amp;OnGround=%d&amp;amp;Idle=%d&amp;amp;Altitude=%d&amp;amp;Latitude=%.5f&amp;amp;Longitude=%.5f&amp;amp;Speed=%.1f&amp;amp;Heading=%d&amp;amp;TaskDist=%.1f&amp;amp;TaskTime=%d&amp;amp;Finished=%d&lt;/div&gt;</summary>
		<author><name>Thomas</name></author>
	</entry>
</feed>