This patch adds several new features and bugfixes to xpilot 4.1.0. The diff has been made from the standard 4.1.0 xpilot distribution. BUGFIXES The following bugs are fixed: 1. The connector bug. The code calculating the forces between a ball and a ship used the ship position from the previous frame but the already updated ball position from the frame currently being calculated. This caused incorrent behaviour especially at high flying speeds. 2. 4.1.0 lock_nearest. 4.1.0 introduced a bug that caused the LockNearest key to lock on your own teammates. 3. Ball grabbing near own treasure. If you were near your treasure box and couldn't connect to the unmoved ball there, you sometimes were unable to connect to any other balls either. 4. Lasers disappearing. Laser pulses had about 10% change of disappearing when wrapping (crossing the edge of the map and appearing on the other side). 5. LoadLock bug. The code handling the LoadLock key had an error that could cause illegal memory references and crash the whole server. COMMAND MODE The server now recognizes messages starting with / as commands. They are not sent to other players. Because some of the commands could ruin a game if used in a hostile way, there is a password mechanism to restrict access to these commands. To set the password, start the server with the -password option, like xpilots -map teamcup.map -password abc Then, anyone who knows the password 'abc' can send the message '/password abc' to get operator status and gain access to the restricted commands. In the current version, the following commands are recognized. Commands marked with (operator) require operator status to use. /password If string matches the current value of the password option, the player sending the message gets operator status. /set