Page 1 of 1

Only last thrown explosion potion explodes

Posted: Sat Apr 16, 2005 7:42 pm
by Xuri
I stand next to an NPC with two players on two different accounts. Each of my characters has an explosion potion in his backpack.

Player A throws an explosion potion at the NPC, and while that potion is counting down to explode, player B throws an explosion potion at player A. Now only the potion player B threw will explode, the one player A threw will remain at the NPC's feet (or wherever it was thrown), won't explode, and will be impossible to pick up.

Also - not sure how smart it is to allow people to throw multiple potions after eachother rapidly. I think we need some sort of "You must wait to throw another potion" timer :)

Posted: Wed Jul 02, 2008 12:47 am
by Xuri
This one looks like it has been fixed, when I throw two potions using two different characters, both potions explode - though no explosion gfx appear on my screen, the potion just vanishes from the screen.

The explosion effect does play on my character if I fail to throw the potion in time, though.

The relevant code-bits:

Code: Select all

	if( nItem->GetCont() != NULL )
	{
		Effects->PlayStaticAnimation( c, 0x36B0, 0x00, 0x09 );
		nItem->SetCont( NULL );
		nItem->SetLocation( c );
		Effects->PlaySound( c, 0x0207 );
	}
	else
	{
		Effects->PlayStaticAnimation( nItem, 0x36B0, 0x00, 0x09, 0x00 );
		Effects->PlaySound( nItem, 0x0207 );
	}

Posted: Sun Jan 18, 2009 10:54 pm
by Xuri
Original issue in this thread is fixed, so will create a new thread for any other issues (like the fact that no explosion gfx appear when the potions explode).