Page 1 of 1

Found a bug after using chem

Posted: Sat Oct 22, 2016 3:28 pm
by LunaticChick
Was on blastside today, got in chem with the pack on and the sensor blocker and got killed. When I re-spawned I was in my base but all the invos. said they were the enemy teams. None of our teams turrets fired at me. I controlled-K 3 times and it was the same thing until I dropped and logged back on.

Re: Found a bug after using chem

Posted: Sun Oct 23, 2016 12:54 am
by perrinoia
Interesting... I remember that bug way back in the day... Thought it got fixed.

Re: Found a bug after using chem

Posted: Sun Oct 23, 2016 6:45 pm
by Firefox
its happens but very rarely. Once or twice a year maybe.

Re: Found a bug after using chem

Posted: Mon Oct 24, 2016 8:26 am
by perrinoia
It's easy to fix, though. Just add two lines of code in each instance of "function Player::onKilled"

Code: Select all

function Player::onKilled(%this)
{
	if($debug)
		echo("Player::onKilled("@%this@")");
	DebugFun("Player::onKilled",%this);
	%this.Station = "";
	%cl = GameBase::getOwnerClient(%this);
	%cl.dead = 1;
	%cl.isSpy = false;
	%cl.OrigTeam = "";
---------- Find in Files ---------- wrote:> Searching for the string 'function player::onkilled'...
D:\BR\Annihilation\FlagHunter.cs(117,1): function Player::onKilled(%this)
D:\BR\Annihilation\player.cs(59,1): function Player::onKilled(%this)
> 2 occurrence(s) have been found.