One of the long standing problems with FleetCommand was that when the teleport was activated and used clients would frequently drop with "Invalid Packet" errors.
This made playing the map all the way through impossible in most cases. If anybody did manage to get the teleport operational - that was pretty much the end of the server.
It turns out the problem is just a simple coding error. In FleetCommand.mis in the
function TeleportEffect::Engage(%this)
change this line:
%player = client::getownedobject(%object);
to
%player = %this ;
another good correction to put in is to change fc::undo to this:
function fc::undo()
{
$TeamItemMax[ScoutVehicle] = 3;
$TeamItemMax[HAPCVehicle] = 1;
$TeamItemMax[LAPCVehicle] = 2;
function GroupTrigger:nEnter(%this, %object){}
}
the above will correctly reset the max number of HPC/LPC after fleet command is played and also correctly erase the teleport trigger.
if you already have the DOX map pack installed you can grab the fixed mis file by downloading:
http://ns2.pu.net/FleetCommand.zip
I've put the corrected FleetCommand on US Base.
Happy FleetCommanding!
This made playing the map all the way through impossible in most cases. If anybody did manage to get the teleport operational - that was pretty much the end of the server.
It turns out the problem is just a simple coding error. In FleetCommand.mis in the
function TeleportEffect::Engage(%this)
change this line:
%player = client::getownedobject(%object);
to
%player = %this ;
another good correction to put in is to change fc::undo to this:
function fc::undo()
{
$TeamItemMax[ScoutVehicle] = 3;
$TeamItemMax[HAPCVehicle] = 1;
$TeamItemMax[LAPCVehicle] = 2;
function GroupTrigger:nEnter(%this, %object){}
}
the above will correctly reset the max number of HPC/LPC after fleet command is played and also correctly erase the teleport trigger.
if you already have the DOX map pack installed you can grab the fixed mis file by downloading:
http://ns2.pu.net/FleetCommand.zip
I've put the corrected FleetCommand on US Base.
Happy FleetCommanding!
Last edited: