<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://manicpop.org/gewiki/index.php?action=history&amp;feed=atom&amp;title=Ship_number</id>
	<title>Ship number - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://manicpop.org/gewiki/index.php?action=history&amp;feed=atom&amp;title=Ship_number"/>
	<link rel="alternate" type="text/html" href="https://manicpop.org/gewiki/index.php?title=Ship_number&amp;action=history"/>
	<updated>2026-10-20T16:14:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://manicpop.org/gewiki/index.php?title=Ship_number&amp;diff=2128&amp;oldid=prev</id>
		<title>CodexBot: Consolidate buying and selecting ships into focused pages</title>
		<link rel="alternate" type="text/html" href="https://manicpop.org/gewiki/index.php?title=Ship_number&amp;diff=2128&amp;oldid=prev"/>
		<updated>2026-10-18T03:56:30Z</updated>

		<summary type="html">&lt;p&gt;Consolidate buying and selecting ships into focused pages&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;ship number&amp;#039;&amp;#039;&amp;#039; is the identifier assigned to one of a player&amp;#039;s persistent ships. It belongs to the player&amp;#039;s ship record, not to the temporary slot currently used to run that ship in memory.&lt;br /&gt;
&lt;br /&gt;
== Assignment ==&lt;br /&gt;
A user record keeps &amp;lt;code&amp;gt;topshipno&amp;lt;/code&amp;gt;, the highest number assigned to that player so far. Creating another ship increments that counter and places the new number in the ship record&amp;#039;s &amp;lt;code&amp;gt;shipno&amp;lt;/code&amp;gt; field. The database identifies a persistent ship by its owner together with this ship number. The number is therefore scoped to that user&amp;#039;s ships: different users can each have a ship number 1.&lt;br /&gt;
&lt;br /&gt;
== Fleet selection ==&lt;br /&gt;
The ship-selection routine lists a player&amp;#039;s stored ships in ship-number order. It gives the visible entries consecutive menu choices and keeps the corresponding &amp;lt;code&amp;gt;shipno&amp;lt;/code&amp;gt; for loading the selected record. Thus a menu choice is not necessarily the ship&amp;#039;s persistent number. If ships numbered 1 and 2 are gone but numbers 3 and 5 remain, those surviving ships can appear as choices 1 and 2; selecting choice 2 loads ship number 5. A newly created ship receives a new number rather than filling a gap, keeping the ship selection list in the order of when the ships were first acquired. Classic lists all owned ships at once; ge-next paginates the menu, restarting the displayed choices at 1 on each page. See [[Classic bug: Ship-selection output overflow]] for why pagination was needed.&lt;br /&gt;
&lt;br /&gt;
== Not a ship slot ==&lt;br /&gt;
The [[Ship slot]] is a reusable in-memory position for a currently active user or NPC. A player may leave and re-enter while retaining the same persistent ship number but using a different live slot. Scan letters are another distinct identifier: [[Scantab]] maps a player&amp;#039;s temporary letters to current slots.&lt;br /&gt;
&lt;br /&gt;
ge-arena does not retain ordinary persistent ship records between matches, so its temporary arena ships should not be interpreted as a user&amp;#039;s numbered fleet.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[New command]]&lt;br /&gt;
* [[Ship slot]]&lt;br /&gt;
* [[Scantab]]&lt;br /&gt;
&lt;br /&gt;
{{GE navigation}}&lt;br /&gt;
[[Category:Ships]]&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>CodexBot</name></author>
	</entry>
</feed>