1
0
Fork 0

Emesary notifications: change explanation to match revised property for filtering outgoing properties

Change /sim/multiplay/transmit-only-generics to /sim/multiplay/transmit-filter-property-base, which can be 1 to transmit only generics, or a number greater than 1 to indicate the start index to transmit (e.g. 12000 for new emesary mp bridge properties)
This commit is contained in:
Richard Harrison 2018-01-28 15:45:52 +01:00
parent c228ac0e00
commit d287f23ad8
2 changed files with 31 additions and 12 deletions

View file

@ -60,9 +60,11 @@ var PFDEventNotification_Id = 20;
#-----------
#
# That's all that is required to ship properties between multiplayer modules via emesary.
# set /sim/multiplay/transmit-only-generics to turn off all of the standard properties. this will give a packet
# size of 280 bytes; leaving lots of space for notifications. The F-14 packet size is around 53 bytes on 2017.2
# compared to over 1100 bytes with the traditional method.
# property /sim/multiplay/transmit-filter-property-base can be set to 1 to turn off all of the standard properties and only send generics.
# this will give a packet size of 280 bytes; leaving lots of space for notifications.
# The F-14 packet size is around 53 bytes on 2017.2 compared to over 1100 bytes with the traditional method.
# property /sim/multiplay/transmit-filter-property-base can be set to a number greater than 1 (e.g. 12000) to only transmit properties
# where the ID is greater than the value in the property. This can further reduce packet size by only transmitting the emesary bridge data
#
# The other advantage with this method of transferring data is that the model is in full control of what is
# sent, and also when it is sent. This works on a per notification basis so less important properties could be

View file

@ -167,9 +167,26 @@
</binding>
</checkbox>
<combo>
<checkbox>
<row>2</row>
<col>1</col>
<colspan>2</colspan>
<halign>left</halign>
<visible>
<property>sim/multiplay/transmit-only-generics-available</property>
</visible>
<property>sim/multiplay/transmit-filter-property-base</property>
<live>true</live>
<label>Emesary only multiplayer mode</label>
<binding>
<command>property-toggle</command>
<property>sim/multiplay/transmit-filter-property-base</property>
</binding>
</checkbox>
<combo>
<row>3</row>
<col>1</col>
<halign>left</halign>
<name>protocol-version</name>
<pref-width>300</pref-width>
@ -196,20 +213,20 @@
</binding>
</combo>
<text>
<row>2</row>
<row>3</row>
<col>0</col>
<halign>right</halign>
<label>Compatibility</label>
</text>
<text>
<row>3</row>
<row>4</row>
<col>0</col>
<halign>right</halign>
<label> Callsign:</label>
</text>
<input>
<row>3</row>
<row>4</row>
<col>1</col>
<halign>left</halign>
<property>/sim/multiplay/callsign</property>
@ -220,14 +237,14 @@
</enable>
</input>
<text>
<row>5</row><col>0</col>
<row>6</row><col>0</col>
<halign>right</halign>
<label>Server:</label>
</text>
<combo>
<name>host</name>
<halign>left</halign>
<row>5</row><col>1</col>
<row>6</row><col>1</col>
<colspan>2</colspan>
<pref-width>350</pref-width>
<property>/sim/multiplay/selected-server</property>
@ -237,7 +254,7 @@
</combo>
<group>
<layout>hbox</layout>
<row>3</row>
<row>4</row>
<col>1</col>
<text>
<width>2</width>
@ -260,7 +277,7 @@
<visible>
<not><property>/sim/multiplay/online</property></not>
</visible>
<row>6</row>
<row>7</row>
<col>1</col>
<halign>left</halign>
<label>Not connected</label>
@ -270,7 +287,7 @@
<visible>
<property>/sim/multiplay/online</property>
</visible>
<row>6</row>
<row>7</row>
<col>1</col>
<halign>left</halign>
<label>MMMMMMMMMMMMMMMMM</label>