Originally posted by E 
Martin,
I did try adding breaks and a PRINT statement andd they didnot show in the log
	Martin,
I did try adding breaks and a PRINT statement andd they didnot show in the log
Code:
	
	DPRINTF(k_DBG_GAMESTATE, ("Killing City %lx\n", uint32(m_home_city)));
The more interesting part and the part you have to modify is this:
Code:
	
	("Killing City %lx\n", uint32(m_home_city))
Now let's come to these place holders in this example it is %lx. The gap here is filled with a hexadecimal number. Instead of this use %i for an integer in decimal format. Or use %s if you want to insert a string. If you want to know more of these place holders use the the help of MS VS and look for sprintf.
			
			
				   Originally posted by E 
but it kept going to armydata and i found this which might be why its only looking at the attack, but looking at how the event is called I don't think I should add a sneakattack here instead of the regard file I've been messing with. Or am i wrong?
	but it kept going to armydata and i found this which might be why its only looking at the attack, but looking at how the event is called I don't think I should add a sneakattack here instead of the regard file I've been messing with. Or am i wrong?
-Martin
 )
 )
							
						 But anyway it shouldn't presuming it is some sort of code I know more or less. There the break is just there to leave the loop. Some sort of code optimization.
 But anyway it shouldn't presuming it is some sort of code I know more or less. There the break is just there to leave the loop. Some sort of code optimization.

Comment