Run SQL:

ALTER TABLE torrents ADD COLUMN slots INT DEFAULT 3;

Copy either version to root and test on active torrents.

** MAKE A BACKUP OF YOUR CURRENT ANNOUNCE.PHP
** DO NOT OVERWRITE WITHOUT BACKING UP FIRST

-- REPORTING 

Keep a eye on the tracker messages from your client. This
will tell you if the script have a problem. Report this
when testing and providing feedback. 

Tested on TorrentTrader v3 (mysqli)

-- REQUIREMENTS

mysqli installed & enabled