https://en.lfsmanual.net/index.php?title=IS_VER&feed=atom&action=historyIS VER - Revision history2024-03-29T14:09:46ZRevision history for this page on the wikiMediaWiki 1.35.0https://en.lfsmanual.net/index.php?title=IS_VER&diff=6893&oldid=prevFlame CZE at 00:57, 2 December 20232023-12-02T00:57:10Z<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">←Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 00:57, 2 December 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l40" >Line 40:</td>
<td colspan="2" class="diff-lineno">Line 40:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>The current InSim version, which at the time of writing is version 4. If this value does not match the version of InSim you are expecting, your program may not work correctly.</div></td><td class='diff-marker'> </td><td style="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;"><div>The current InSim version, which at the time of writing is version 4. If this value does not match the version of InSim you are expecting, your program may not work correctly.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:InSim packets]]</ins></div></td></tr>
<!-- diff cache key wikidb-w1_:diff::1.12:old-3342:rev-6893 -->
</table>Flame CZEhttps://en.lfsmanual.net/index.php?title=IS_VER&diff=3342&oldid=prevDarkTimes at 18:02, 22 June 20092009-06-22T18:02:32Z<p></p>
<p><b>New page</b></p><div>== Introduction ==<br />
<br />
The IS_VER packet contains information about the LFS and InSim versions, allowing you to prevent your program interacting with legacy versions of the game. To request a IS_VER packet to be sent, either set the ReqI to non-zero in the [[IS_ISI]] packet when initialising InSim, or by sending a [[IS_TINY]] packet with a SubT of TINY_VER. <br />
<br />
<big><pre>struct IS_VER // VERsion<br />
{<br />
byte Size; // 20<br />
byte Type; // ISP_VERSION<br />
byte ReqI; // ReqI as received in the request packet<br />
byte Zero;<br />
<br />
char Version[8]; // LFS version, e.g. 0.3G<br />
char Product[6]; // Product : DEMO or S1<br />
word InSimVer; // InSim Version : increased when InSim packets change<br />
};</pre></big><br />
<br />
== Packet Detail ==<br />
<br />
=== Size ===<br />
<br />
The size of the packet, always 20.<br />
<br />
=== Type ===<br />
<br />
The type of packet from the ISP_ enumeration, always ISP_VER.<br />
<br />
=== ReqI ===<br />
<br />
Contains the ReqI as received in the request for an IS_VER to be sent.<br />
<br />
=== Version ===<br />
<br />
The LFS version, E.G. 0.5Z.<br />
<br />
=== Product ===<br />
<br />
The LFS product, E.G. S2.<br />
<br />
=== InSimVer ===<br />
<br />
The current InSim version, which at the time of writing is version 4. If this value does not match the version of InSim you are expecting, your program may not work correctly.</div>DarkTimes