Home » MODDING HQ 1.13 » v1.13 Multiplayer Development & Bug Reports » JA2 1.13 Multiplayer (2)
Re: JA2 1.13 Multiplayer (2)[message #185483] Sat, 17 May 2008 10:41 Go to previous messageGo to previous message
RoWa21

 
Messages:2004
Registered:October 2005
Location: Austria
SpaceViking
haydent, look in AddPossiblePendingEnemiesToBattle in Queen Command.C. There is this bit of code near the top:

	// haydent
	if ((is_client && !is_server) || ENEMY_ENABLED==0)
	{
		return;
	}

I noticed in a single player game that when I was waiting in a sector and soldiers arrived they were not placed on the map. I traced the failure to that spot where the function was returning instead of going on to the code that follows and actually placing soldiers on the map. Notice that if ENEMY_ENABLED is 0 (which it would always be in a single player game, right?) you can NEVER get beyond that point. Perhaps in a single player game ENEMY_ENABLED ought always be 1?



If seems you are right SpaceViking. ENEMY_ENABLED is only a multiplayer that is used for multiplayer code. So I would but at "is_networked" condition around this condition. So that this condition is not exexuted in single player mode.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Issues with video, where best to post (JA2 118)?
Goto Forum:
  


Current Time: Sun Nov 17 11:31:27 EET 2019

Total time taken to generate the page: 0.09590 seconds