Browsing alittle more I noticed a "null" check.. I can't remember if when in DM, when you go to spectate people and you switch who you are spec'ing, if there is sometimes a missing person and in place of the name is NULL.
If thats true then maybe in arena, the asm fix is trying to spawn that NULL...
I do know that
Stops the floating bug that is caused from respawning.
I'll be running a server(won't be able to play hl2 :() for awhile, so if you see "Miagi Test Server" up try and get people to join, only can put up 4 slots as I'm only on adsl.
I'll be trying this code.
As far as 2v2...
This little image says it all...:blink:
It looks like its following arena's 1v1 rules where if theres a match in progress remove them from the arena, make them spectate that arena. Then it looks like it just respawns them if its the same "match".
If thats true then maybe in arena, the asm fix is trying to spawn that NULL...
I do know that
Code:
pPlayer->StopObserver();
I'll be running a server(won't be able to play hl2 :() for awhile, so if you see "Miagi Test Server" up try and get people to join, only can put up 4 slots as I'm only on adsl.
I'll be trying this code.
Code:
void CDiscArena::CountDownThink( void )
{
// Freeze everyone until there's 3 seconds to go
if ( m_iSecondsTillStart == 3 )
{
 for ( int i = 0; i < (m_iPlayersPerTeam * 2); i++ )
 {
 //white disc haxxx asm...
 // if the player is "dead" during countdown and they are not NULL respawn
  Â
 CBasePlayer *pPlayer = ((CBasePlayer*)(CBaseEntity*)m_hCombatants[i]);
 if( m_hCombatants[i] != NULL && !m_hCombatants[i]->IsAlive() )
     Â
 {
  pPlayer->StopObserver();
  pPlayer->Spawn(); Â
 }
 Â
Â
 // end hax
As far as 2v2...
This little image says it all...:blink:
It looks like its following arena's 1v1 rules where if theres a match in progress remove them from the arena, make them spectate that arena. Then it looks like it just respawns them if its the same "match".
<@Miagi> !8 Am I spamming?
<@ChanServ> Miagi: Yes.
<@Miagi> !8 Should I stop?
<@ChanServ> Miagi: Oh, please, PLEASE, make it stop!
<@ChanServ> Miagi: Yes.
<@Miagi> !8 Should I stop?
<@ChanServ> Miagi: Oh, please, PLEASE, make it stop!