Page 7 of 7

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Fri Apr 11, 2014 12:40 am
by Commando
G66 does have custom rigs, but not they use stock models and animations. G66 does have at least two custom walkers, the Land Master and Gorgon. Not sure if either of those two are the culprit. I'm out of town and don't have a very good desk for doing anything, so I haven't looked into this much. Even if I did host a mp game, no one would show anyways.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Fri Apr 11, 2014 3:04 am
by GSH
FYI- the first side of that if branch can go off either end of the array based on what's passed in. Code now looks like this:

Code: Select all

	if(Step >= 0)
	{
		i1 = i0;
		// Note: both sides of the if, a postcondition is that i0 + 1 == i1.
		// We read m_Positions[i1] below. Thus, need to ensure that i1 is kept
		// under the count.
		while((i1 < (_countof(m_Positions) - 1)) && (m_Positions[i1] < Dist))
		{
			++i1;
		}
		if(i1 > 0)
		{
			i0 = i1 - 1;
		}
		else
		{
			// Ensure we won't go off the beginning of the array if we
			// started at i0==0 and the while loop did nothing.
			i0 = 0;
			i1 = 1;
		}
	}
	else
	{
		// Precondition: i0 is [0..(_countof(m_Positions) - 2)) by
		// clamps above.
		while((i0 > 0) && (m_Positions[i0] > Dist))
		{
			--i0;
		}
		i1 = i0 + 1;
	}
Readability factor is improved somewhat. FYI, in 1.2, this function looked like the bit below. The only buffer check (and comments!) was mine.

Code: Select all

	float Next_Index (float Frame0, float Step)
	{
		int i0;
		int i1;
		float Dist;
		float Frac;
		float Dist0;
		float Dist1;
		
		Frame0 += 1.0;
		
		i0 = (int)(Frame0 * Frames);
		Frac = Frame0 * Frames - i0;

		// SANITY CHECK: do NOT go off end of buffer
		if((i0<0)|| (i0>=SIZEOF(Positions)))
			i0=0;
		
		Dist0 = Positions[i0] + (Positions[i0 + 1] - Positions[i0]) * Frac;
		
		Dist = Dist0 + Step;
		
		if (Step >= 0) {
			for (i1 = i0; ((Positions[i1] < Dist) && (i1<SIZEOF(Positions))); i1 ++); 
			i0 = i1 - 1;
		} else {
			for ( ; ((Positions[i0] > Dist) && (i0>0)); i0 --); 
			i1 = i0 + 1;
		}
		
		Dist1 = Positions[i1];
		Dist0 = Positions[i0];
		
		Frac = Dist1 - Dist0;
		if (fabs (Frac)	> EPSILON) {
			Frame0 = (i0 + (Dist - Dist0) / Frac) / Frames;
		}
		
		
		if (Frame0 < 1.0) {
			Frame0 += 1.0;
		}
		if (Frame0 > 2.0) {
			Frame0 -= 1.0f;
		}

		return Frame0 - 1.0f;
	}
-- GSH

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Fri Apr 11, 2014 4:04 am
by General BlackDragon
wow, the 1.2 code was ugly

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Fri Apr 11, 2014 5:20 am
by mase
Most G66 games are ISDF only, so should be the landmaster.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Fri Apr 11, 2014 5:27 am
by Red Devil
new version is more readable now. nice to see the negative subtraction check.

should there also be an explicit sanity check before performing i1 = i0 + 1; if only for the sake of readability?

*looks at 1.2 code* nice comments in there... for some reason, the computer nerd in Wargames comes to mind.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Sun Apr 13, 2014 3:16 pm
by mase
Starting G66 on insane gives this error. It crashes right after the start:

Code: Select all

DIAG|            maininit:547  |17:08:29|4      |Version Information Section
DIAG|            maininit:548  |17:08:29|5      | BZ2 build 1.3.6.4z28 Public Beta
DIAG|            maininit:559  |17:08:29|5      |Session started Sun Apr 13 17:08:29 2014
DIAG|            maininit:565  |17:08:29|5      |CPU: 2 processors, type 586
DIAG|            maininit:566  |17:08:29|5      |CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
DIAG|            maininit:567  |17:08:29|5      |CPU: x86 Family 15 Model 107 Stepping 1
DIAG|            maininit:570  |17:08:29|5      |Executed by MASE-PC\mase on Windows Version: 6.1.7601 'Service Pack 1' PlatformID=2
DIAG|                DXUT:2097 |17:08:29|80     | DXUT pause on change device
DIAG|                DXUT:1352 |17:08:29|88     | DXUT pause on minimize
DIAG|                DXUT:1525 |17:08:29|89     | DXUT pause on minimize
DIAG|                 vid:549  |17:08:32|2809   |In Vid::OnCreateDevice, pd3dDevice = 0x10060048
DIAG|                 vid:566  |17:08:32|2809   |d3d: supports range based fog
DIAG|                 vid:575  |17:08:32|2809   |d3d: supports pixel based fog
DIAG|                 vid:588  |17:08:32|2809   |d3d: supports border address mode
DIAG|                 vid:634  |17:08:32|2809   |d3d: Has EMBM texture format support
DIAG|                 vid:536  |17:08:32|2809   |DXT Textures - allowing because your GPU seems new enough. Edit render*.cfg to force it on/off
DIAG|                 vid:659  |17:08:32|2809   |D3D Adapter Identifier info:
DIAG|                 vid:660  |17:08:32|2809   | Driver:                nvd3dum.dll
DIAG|                 vid:661  |17:08:32|2810   | Description:           NVIDIA GeForce 7300 GS
DIAG|                 vid:662  |17:08:32|2810   | DeviceName:            \\.\DISPLAY1
DIAG|                 vid:663  |17:08:32|2810   | DriverVersion:         0x00090012000D030F
DIAG|                 vid:664  |17:08:32|2810   | VendorId:              0x000010DE
DIAG|                 vid:665  |17:08:32|2810   | DeviceId:              0x000001DF
DIAG|                 vid:666  |17:08:32|2810   | SubSysId:              0x342A1458
DIAG|                 vid:667  |17:08:32|2810   | Revision:              0x000000A1
DIAG|                 vid:669  |17:08:32|2810   |Dumping D3D9 Device Caps:
DIAG|                 vid:671  |17:08:32|2810   | DeviceType:            0x00000001
DIAG|                 vid:672  |17:08:32|2810   | AdapterOrdinal:        0
DIAG|                 vid:673  |17:08:32|2810   | Caps:                  0x00020000
DIAG|                 vid:674  |17:08:32|2810   | Caps2:                 0xE0020000
DIAG|                 vid:675  |17:08:32|2810   | Caps3:                 0x000003A0
DIAG|                 vid:676  |17:08:32|2810   | PresentationIntervals: 0x8000000F
DIAG|                 vid:677  |17:08:32|2810   | CursorCaps:            0x00000001
DIAG|                 vid:678  |17:08:32|2810   | DevCaps:               0x001BBEF0
DIAG|                 vid:679  |17:08:32|2810   | PrimitiveMiscCaps:     0x000BCEF2
DIAG|                 vid:680  |17:08:32|2810   | RasterCaps:            0x07732191
DIAG|                 vid:681  |17:08:32|2810   | ZCmpCaps:              0x000000FF
DIAG|                 vid:682  |17:08:32|2810   | SrcBlendCaps:          0x00003FFF
DIAG|                 vid:683  |17:08:32|2810   | DestBlendCaps:         0x00003FFF
DIAG|                 vid:684  |17:08:32|2810   | AlphaCmpCaps:          0x000000FF
DIAG|                 vid:685  |17:08:32|2810   | ShadeCaps:             0x00084208
DIAG|                 vid:686  |17:08:32|2810   | TextureCaps:           0x0001ECC5
DIAG|                 vid:687  |17:08:32|2810   | TextureFilterCaps:     0x03030700
DIAG|                 vid:688  |17:08:32|2810   | CubeTextureFilterCaps: 0x03030300
DIAG|                 vid:689  |17:08:32|2810   | VolumeTextureFilterCaps: 0x03030300
DIAG|                 vid:690  |17:08:32|2810   | TextureAddressCaps:    0x0000003F
DIAG|                 vid:691  |17:08:32|2810   | VolumeTextureAddressCaps: 0x0000003F
DIAG|                 vid:692  |17:08:32|2810   | LineCaps:              0x0000001F
DIAG|                 vid:693  |17:08:32|2810   | MaxTextureWidth:       4096
DIAG|                 vid:694  |17:08:32|2811   | MaxTextureHeight:      4096
DIAG|                 vid:695  |17:08:32|2811   | MaxVolumeExtent:       512
DIAG|                 vid:696  |17:08:32|2811   | MaxTextureRepeat:      8192
DIAG|                 vid:697  |17:08:32|2811   | MaxTextureAspectRatio: 4096
DIAG|                 vid:698  |17:08:32|2811   | MaxAnisotropy:         16
DIAG|                 vid:699  |17:08:32|2811   | StencilCaps:           0x000001FF
DIAG|                 vid:700  |17:08:32|2811   | FVFCaps:               0x00180008
DIAG|                 vid:701  |17:08:32|2811   | TextureOpCaps:         0x03FEFFFF
DIAG|                 vid:702  |17:08:32|2811   | MaxTextureBlendStages: 8
DIAG|                 vid:703  |17:08:32|2811   | MaxSimultaneousTextures: 8
DIAG|                 vid:704  |17:08:32|2811   | VertexProcessingCaps:  0x0000017B
DIAG|                 vid:705  |17:08:32|2811   | MaxActiveLights:       10
DIAG|                 vid:716  |17:08:32|2811   | MaxUserClipPlanes:     6
DIAG|                 vid:717  |17:08:32|2811   | MaxVertexBlendMatrices: 4
DIAG|                 vid:718  |17:08:32|2811   | MaxVertexBlendMatrixIndex: 8
DIAG|                 vid:719  |17:08:32|2811   | MaxPrimitiveCount:     1048575
DIAG|                 vid:720  |17:08:32|2811   | MaxVertexIndex:        1048575
DIAG|                 vid:721  |17:08:32|2811   | MaxStreams:            16
DIAG|                 vid:722  |17:08:32|2811   | MaxStreamStride:       255
DIAG|                 vid:723  |17:08:32|2811   | VertexShaderVersion:   0xFFFE0300
DIAG|                 vid:724  |17:08:32|2811   | MaxVertexShaderConst:  256
DIAG|                 vid:725  |17:08:32|2811   | PixelShaderVersion:    0xFFFF0300
DIAG|                 vid:726  |17:08:32|2811   | DevCaps2:              0x00000071
DIAG|                 vid:727  |17:08:32|2811   | Reserved5:             0x00000000
DIAG|                 vid:728  |17:08:32|2811   | MasterAdapterOrdinal:  0
DIAG|                 vid:729  |17:08:32|2811   | AdapterOrdinalInGroup: 0
DIAG|                 vid:730  |17:08:32|2811   | NumberOfAdaptersInGroup: 1
DIAG|                 vid:731  |17:08:32|2811   | DeclTypes:             0x0000030F
DIAG|                 vid:732  |17:08:32|2811   | NumSimultaneousRTs:    4
DIAG|                 vid:733  |17:08:32|2811   | StretchRectFilterCaps: 0x03000300
DIAG|                 vid:734  |17:08:32|2811   | VertexTextureFilterCaps: 0x01010100
DIAG|                 vid:735  |17:08:32|2811   | MaxVShaderInstructionsExecuted: 65535
DIAG|                 vid:736  |17:08:32|2811   | MaxPShaderInstructionsExecuted: 65535
DIAG|                 vid:737  |17:08:32|2811   | MaxVertexShader30InstructionSlots: 544
DIAG|                 vid:738  |17:08:32|2811   | MaxPixelShader30InstructionSlots: 4096
DIAG|                 vid:741  |17:08:32|2812   | MaxPointSize:          8192.00
DIAG|                 vid:742  |17:08:32|2812   | PixelShader1xMaxValue: 65504.00
DIAG|                 vid:743  |17:08:32|2812   | MaxNpatchTessellationLevel: 0.00
DIAG|                 vid:744  |17:08:32|2812   | MaxVertexW:            10000000000.00
DIAG|                 vid:745  |17:08:32|2812   | GuardBandLeft:         -100000000.00
DIAG|                 vid:746  |17:08:32|2812   | GuardBandTop:          -100000000.00
DIAG|                 vid:747  |17:08:32|2812   | GuardBandRight:        100000000.00
DIAG|                 vid:748  |17:08:32|2812   | GuardBandBottom:       100000000.00
DIAG|                 vid:749  |17:08:32|2812   | ExtentsAdjust:         0.00
DIAG|                 vid:791  |17:08:32|2812   |In Vid::OnResetDevice, pd3dDevice = 0x10060048
DIAG|                DXUT:2584 |17:08:32|2813   | DXUT unpause on change device done
DIAG|               setup:77   |17:08:32|2814   |Drive type : Fixed
DIAG|               setup:147  |17:08:32|2814   |Startup directory : C:\Users\mase\Documents\battlezone2\battlezone13bz
ERR |             filesys:80   |17:08:32|3091   |File clash: @rootdir\addon\config\game\bzgame_keys.cfg
ERR |             filesys:80   |17:08:32|3091   |File clash: @rootdir\addon\Custom\bzgame_keys.cfg
DIAG|                 vid:1271 |17:08:33|3579   |Vid::SetMode - ord(0) fmt(22), w(1024), h(768) bbCount 1
DIAG|                 vid:1291 |17:08:33|3580   | bFmt(22), MSType(0), MSQual(0), DSFmt(75), Win(0)
DIAG|                 vid:1302 |17:08:33|3580   | Refresh(60), Interval(-2147483648), Flags(2)
DIAG|                 vid:1303 |17:08:33|3580   | hWnds = 000201B8 000201B8 000201B8 000201B8
DIAG|                DXUT:2097 |17:08:33|3580   | DXUT pause on change device
DIAG|                 vid:833  |17:08:33|3972   |In Vid::OnLostDevice
DIAG|                DXUT:1392 |17:08:33|4107   | DXUT unpause on restore
DIAG|                DXUT:1491 |17:08:33|4167   | DXUT unpause on restore
DIAG|                DXUT:2584 |17:08:33|4183   | DXUT unpause on change device done
DIAG|                 vid:1311 |17:08:33|4183   |DXUTCreateDeviceFromSettings = 00000000, lost = 1
DIAG|                 vid:1321 |17:08:33|4183   |Trycount 0, device lost = 1 1
DIAG|                DXUT:5453 |17:08:33|4198   | AttemptAcquire device = 0x10060048, lost = 1, paused = 0
DIAG|                DXUT:5467 |17:08:33|4198   | noticed device lost
DIAG|                DXUT:5471 |17:08:33|4198   | Coop level check failed.
DIAG|                DXUT:5535 |17:08:33|4198   | Try to reset the device
DIAG|                 vid:791  |17:08:36|6982   |In Vid::OnResetDevice, pd3dDevice = 0x10060048
DIAG|                 vid:1332 |17:08:36|7039   |Attempted acquire & render, lost = 0 0
DIAG|               input:1108 |17:08:36|7115   |Double click time=500 ms, threshold=4,4
DIAG|               input:1129 |17:08:36|7115   |5 button mouse, Left=0 Right=1
DIAG|               input:143  |17:08:36|7116   |Keyboard repeat delay=[500] speed=[31]
DIAG|      MissionHandler:1420 |17:08:36|7139   |Expanded game UI file of 'bzgame_moves_1024x768.cfg' not found. Using default of 'bzgame_moves.cfg'
DIAG|              dsutil:143  |17:08:36|7361   |DirectSound 8 System started. Noted capabilities:
DIAG|              dsutil:150  |17:08:36|7362   | DSCAPS_CONTINUOUSRATE
DIAG|              dsutil:150  |17:08:36|7362   | DSCAPS_PRIMARY16BIT
DIAG|              dsutil:150  |17:08:36|7362   | DSCAPS_PRIMARY8BIT
DIAG|              dsutil:150  |17:08:36|7362   | DSCAPS_PRIMARYMONO
DIAG|              dsutil:150  |17:08:36|7362   | DSCAPS_PRIMARYSTEREO
DIAG|              dsutil:150  |17:08:36|7362   | DSCAPS_SECONDARY16BIT
DIAG|              dsutil:150  |17:08:36|7362   | DSCAPS_SECONDARY8BIT
DIAG|              dsutil:150  |17:08:36|7362   | DSCAPS_SECONDARYMONO
DIAG|              dsutil:150  |17:08:36|7362   | DSCAPS_SECONDARYSTEREO
DIAG|              dsutil:156  |17:08:36|7362   | dwPrimaryBuffers = 1
DIAG|              dsutil:157  |17:08:36|7362   | dwMaxHwMixingAllBuffers = 1
DIAG|              dsutil:158  |17:08:36|7362   | dwMaxHwMixingStaticBuffers = 1
DIAG|              dsutil:159  |17:08:36|7362   | dwMaxHwMixingStreamingBuffers = 1
DIAG|              dsutil:160  |17:08:36|7362   | dwFreeHwMixingAllBuffers = 0
DIAG|              dsutil:161  |17:08:36|7362   | dwFreeHwMixingStaticBuffers = 0
DIAG|              dsutil:162  |17:08:36|7362   | dwFreeHwMixingStreamingBuffers = 0
DIAG|              dsutil:163  |17:08:36|7362   | dwMaxHw3DAllBuffers = 0
DIAG|              dsutil:164  |17:08:36|7362   | dwMaxHw3DStaticBuffers = 0
DIAG|              dsutil:165  |17:08:36|7362   | dwMaxHw3DStreamingBuffers = 0
DIAG|              dsutil:166  |17:08:36|7362   | dwFreeHw3DAllBuffers = 0
DIAG|              dsutil:167  |17:08:36|7362   | dwFreeHw3DStaticBuffers = 0
DIAG|              dsutil:168  |17:08:36|7362   | dwFreeHw3DStreamingBuffers = 0
DIAG|              dsutil:202  |17:08:36|7362   | -- SW buffers in use. Using 32 channels max
DIAG|              dsutil:208  |17:08:36|7362   | -- AUTO-DISABLING 3D Audio, as soundcard can't handle!
DIAG|              dsutil:228  |17:08:36|7362   | Audio buffers will be placed in: Software
DIAG|              dsutil:241  |17:08:36|7362   |-- Prefsfile set audio mem purge at 33554432 bytes
DIAG|              dsutil:244  |17:08:36|7362   |Done with audio caps log
DIAG|            AudioSys:322  |17:08:36|7364   |Audio: DirectSound8 setup complete
DIAG|              icroot:193  |17:08:36|7365   |Root window now 640x480
DIAG|            runcodes:159  |17:08:36|7365   |[Main] Entering run code [SHELL]
DIAG|              icroot:193  |17:08:36|7366   |Root window now 640x480
DIAG|               iface:1462 |17:08:38|8836   |UnsetModal: throwing away [WarningDupfiles]
DIAG|         WSInterface:213  |17:08:44|14917  |Determined private IP address: 192.168.178.30
DIAG|         WSInterface:199  |17:08:44|14917  |Determined public IP address: 77.188.163.141
DIAG|          UPNPThread:690  |17:08:48|18966  |UPNP_DeletePortMapping('http://192.168.178.1:49000/upnp/control/WANIPConn1', 'urn:schemas-upnp-org:service:WANIPConnection:1', '17770', 'UDP')
DIAG|          UPNPThread:583  |17:08:48|18985  |UPNP_GetExternalIPAddress('http://192.168.178.1:49000/upnp/control/WANIPConn1', 'urn:schemas-upnp-org:service:WANIPConnection:1', '77.188.163.141')
DIAG|          UPNPThread:606  |17:08:48|19004  |UPNP_AddPortMapping('http://192.168.178.1:49000/upnp/control/WANIPConn1', 'urn:schemas-upnp-org:service:WANIPConnection:1', '17770', '17770', '192.168.178.30', 0, 'UDP', NULL)
DIAG|          UPNPThread:620  |17:08:48|19034  |UPNP_GetSpecificPortMappingEntry('http://192.168.178.1:49000/upnp/control/WANIPConn1', 'urn:schemas-upnp-org:service:WANIPConnection:1', '17770', 'UDP', '', '')
DIAG|          UPNPThread:690  |17:08:52|22841  |UPNP_DeletePortMapping('http://192.168.178.1:49000/upnp/control/WANIPConn1', 'urn:schemas-upnp-org:service:WANIPConnection:1', '17770', 'UDP')
DIAG|       RaknetManager:544  |17:08:58|28666  |Raknet connect incoming with status code 16

DIAG|            runcodes:159  |17:09:13|44292  |[Main] Entering run code [INIT]
DIAG|              icroot:193  |17:09:13|44293  |Root window now 1024x768
DIAG|      MissionHandler:1420 |17:09:13|44303  |Expanded game UI file of 'bzgame_init_1024x768.cfg' not found. Using default of 'bzgame_init.cfg'
DIAG|      MissionHandler:1420 |17:09:13|44320  |Expanded game UI file of 'bzshell_cam_record_x1_5_1024x768.cfg' not found. Using default of 'bzshell_cam_record_x1_5.cfg'
DIAG|               ifvar:41   |17:09:13|44320  |Var[script.record.name] Ctrl[NewMove] needs to be resolved
DIAG|      MissionHandler:1425 |17:09:13|44321  |Using expanded game UI file of 'bzescape_1024x768.cfg'
DIAG|      MissionHandler:1420 |17:09:13|44354  |Expanded game UI file of 'bznopause_1024x768.cfg' not found. Using default of 'bznopause.cfg'
DIAG|      MissionHandler:1420 |17:09:13|44401  |Expanded game UI file of 'bzgame_base_1024x768.cfg' not found. Using default of 'bzgame_base.cfg'
DIAG|      MissionHandler:1425 |17:09:13|44407  |Using expanded game UI file of 'bzgame_command_1024x768.cfg'
DIAG|      MissionHandler:1420 |17:09:13|44413  |Expanded game UI file of 'bzgame_factory_1024x768.cfg' not found. Using default of 'bzgame_factory.cfg'
DIAG|      MissionHandler:1425 |17:09:13|44415  |Using expanded game UI file of 'bzgame_group_1024x768.cfg'
DIAG|      MissionHandler:1420 |17:09:13|44418  |Expanded game UI file of 'bzgame_info_1024x768.cfg' not found. Using default of 'bzgame_info.cfg'
DIAG|      MissionHandler:1420 |17:09:13|44419  |Expanded game UI file of 'bzgame_satellite_1024x768.cfg' not found. Using default of 'bzgame_satellite.cfg'
DIAG|      MissionHandler:1420 |17:09:13|44419  |Expanded game UI file of 'bzgame_scrap_1024x768.cfg' not found. Using default of 'bzgame_scrap.cfg'
DIAG|               ifvar:41   |17:09:13|44420  |Var[scrap.supply] Ctrl[Gauge] needs to be resolved
DIAG|               ifvar:41   |17:09:13|44420  |Var[scrap.supply] Ctrl[Count] needs to be resolved
DIAG|      MissionHandler:1420 |17:09:13|44421  |Expanded game UI file of 'bzgame_weapon_1024x768.cfg' not found. Using default of 'bzgame_weapon.cfg'
DIAG|      MissionHandler:1425 |17:09:13|44423  |Using expanded game UI file of 'bzgame_team_1024x768.cfg'
DIAG|      MissionHandler:1420 |17:09:13|44424  |Expanded game UI file of 'bzgame_stats_1024x768.cfg' not found. Using default of 'bzgame_stats.cfg'
DIAG|      MissionHandler:1420 |17:09:13|44426  |Expanded game UI file of 'bznopause_game_1024x768.cfg' not found. Using default of 'bznopause_game.cfg'
DIAG|      MissionHandler:1420 |17:09:13|44429  |Expanded game UI file of 'bzgame_keys_1024x768.cfg' not found. Using default of 'bzgame_keys.cfg'
DIAG|        LoadSaveGame:372  |17:09:16|46649  |Loaded from file mpichill662.bzn
DIAG|            runcodes:159  |17:09:16|46661  |[View] Entering run code [COCKPIT]
DIAG|            runcodes:159  |17:09:16|46789  |[Main] Entering run code [MISSION]
DIAG|              icroot:193  |17:09:16|46794  |Root window now 1024x768
DIAG|            runcodes:159  |17:09:16|46801  |[Mission] Entering run code [RUN]
DIAG|            Planners:3330 |17:09:17|47880  |SetAIP - cfg(gaips661_i0.aip) team(6)
ERR |              bitmap:1355 |17:09:17|47944  |Can't load texture bhole.tga.
DIAG|         ParameterDB:209  |17:09:17|47944  |Last few opened ODFs:
DIAG|         ParameterDB:214  |17:09:17|47944  | 1 : BaseShield.odf
DIAG|         ParameterDB:214  |17:09:17|47944  | 2 : mpichill662.TRN
DIAG|         ParameterDB:214  |17:09:17|47944  | 3 : shieldeffect.odf
DIAG|         ParameterDB:214  |17:09:17|47944  | 4 : MPIIsland.inf
ERR |              bitmap:1355 |17:09:17|47944  |Can't load texture bhole2.tga.
DIAG|         ParameterDB:209  |17:09:17|47944  |Last few opened ODFs:
DIAG|         ParameterDB:214  |17:09:17|47944  | 1 : BaseShield.odf
DIAG|         ParameterDB:214  |17:09:17|47944  | 2 : mpichill662.TRN
DIAG|         ParameterDB:214  |17:09:17|47944  | 3 : shieldeffect.odf
DIAG|         ParameterDB:214  |17:09:17|47944  | 4 : MPIIsland.inf
ERR |    ExceptionHandler:188  |17:09:17|47980  |---- Battlezone II Log File ----
ERR |    ExceptionHandler:188  |17:09:17|48050  |//=====================================================
ERR |    ExceptionHandler:188  |17:09:17|48079  |App version: bzone 1.3.6.4z28 Public Beta Mar 31 2014 21:23:05
ERR |    ExceptionHandler:188  |17:09:17|48112  |Windows version: Windows Version: 6.1.7601 'Service Pack 1' PlatformID=2

ERR |    ExceptionHandler:188  |17:09:17|48146  |Last few battlezone.log lines (may or may not be relevant):
ERR |    ExceptionHandler:188  |17:09:17|48179  |DIAG|         ParameterDB:214  |17:09:17|47944  | 3 : shieldeffect.odf
ERR |    ExceptionHandler:188  |17:09:17|48219  |DIAG|         ParameterDB:214  |17:09:17|47944  | 4 : MPIIsland.inf
ERR |    ExceptionHandler:188  |17:09:17|48254  |ERR |              bitmap:1355 |17:09:17|47944  |Can't load texture bhole2.tga.
ERR |    ExceptionHandler:188  |17:09:17|48287  |DIAG|         ParameterDB:209  |17:09:17|47944  |Last few opened ODFs:
ERR |    ExceptionHandler:188  |17:09:17|48320  |DIAG|         ParameterDB:214  |17:09:17|47944  | 1 : BaseShield.odf
ERR |    ExceptionHandler:188  |17:09:17|48354  |DIAG|         ParameterDB:214  |17:09:17|47944  | 2 : mpichill662.TRN
ERR |    ExceptionHandler:188  |17:09:17|48394  |DIAG|         ParameterDB:214  |17:09:17|47944  | 3 : shieldeffect.odf
ERR |    ExceptionHandler:188  |17:09:17|48429  |DIAG|         ParameterDB:214  |17:09:17|47944  | 4 : MPIIsland.inf
ERR |    ExceptionHandler:188  |17:09:17|48462  |(done)

ERR |    ExceptionHandler:188  |17:09:17|48495  |Exception code: C0000094 INT_DIVIDE_BY_ZERO
ERR |    ExceptionHandler:188  |17:09:18|48528  |Message :  Exception
ERR |    ExceptionHandler:188  |17:09:18|48568  |Error occurred at 4/13/2014 17:09:20.
ERR |    ExceptionHandler:188  |17:09:18|48605  |C:\Users\mase\Documents\battlezone2\battlezone13bz\bzone.exe, run by mase.
ERR |    ExceptionHandler:188  |17:09:18|48657  |C:\Users\mase\Documents\battlezone2\battlezone13bz\bzone.exe, run by mase.
ERR |    ExceptionHandler:188  |17:09:18|48679  |CPU: 2 processor(s), AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
ERR |    ExceptionHandler:188  |17:09:18|48729  |     x86 Family 15 Model 107 Stepping 1
ERR |    ExceptionHandler:188  |17:09:18|48762  |Process Memory :   1400 MB free out of   2048 MB total
ERR |    ExceptionHandler:188  |17:09:18|48795  |Physical memory:    873 MB free out of   2048 MB total
ERR |    ExceptionHandler:188  |17:09:18|48828  |Page(swap) file:   2180 MB free out of   4095 MB total
ERR |    ExceptionHandler:188  |17:09:18|48861  |This exe is using 279 MB (87 MB dlmalloc), peak use 279 MB

ERR |    ExceptionHandler:188  |17:09:18|48902  |Fault address:  1F266D47 01:00015D47 C:\Users\mase\Documents\battlezone2\battlezone13bz\G66_3.1\missions\mpinstant66.dll
ERR |    ExceptionHandler:188  |17:09:18|48937  |
Registers:
ERR |    ExceptionHandler:188  |17:09:18|48970  |EAX:0000000B
EBX:1F4F0A6B
ECX:0000029E
EDX:00000000
ESI:1F4F6DD8
EDI:1F4F7258
ERR |    ExceptionHandler:188  |17:09:18|49003  |CS:EIP:001B:1F266D47
ERR |    ExceptionHandler:188  |17:09:18|49036  |SS:ESP:0023:0045E174  EBP:00000000
ERR |    ExceptionHandler:188  |17:09:18|49089  |DS:0023  ES:0023  FS:003B  GS:0000
ERR |    ExceptionHandler:188  |17:09:18|49120  |Flags:00210202
ERR |    ExceptionHandler:188  |17:09:18|49153  |
Call stack:
ERR |    ExceptionHandler:188  |17:09:18|49187  |Address  Offset1  Offset2  Module              SourceFile
ERR |    ExceptionHandler:188  |17:09:18|49255  |1F266D47 +00016D47 00015777 mpinstant66      (mpinstant66): : GetMisnAPI

ERR |    ExceptionHandler:188  |17:09:18|49286  |
Edit: Happens on every map and I couldn't find any particular setting that would cause this.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Sun Apr 13, 2014 5:16 pm
by Ded10c

Code: Select all

ERR |    ExceptionHandler:188  |17:09:17|48495  |Exception code: C0000094 INT_DIVIDE_BY_ZERO

Code: Select all

ERR |    ExceptionHandler:188  |17:09:18|48902  |Fault address:  1F266D47 01:00015D47 C:\Users\mase\Documents\battlezone2\battlezone13bz\G66_3.1\missions\mpinstant66.dll
Looks like a G66 error to me.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Sun Apr 13, 2014 6:27 pm
by mase
Does not happen in patch N, I think this is specific to patch Z.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Sun Apr 13, 2014 8:19 pm
by Ded10c
If it's reproducible try doing the same in stock. If it's isolated to the mod it's the developer's responsibility.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Sun Apr 13, 2014 11:05 pm
by Red Devil
which version of g66 were you using? that divide by zero bug was a known issue when choosing insane difficulty which i fixed in private build; unsure if it made it to public build.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Mon Apr 14, 2014 4:53 am
by mase
Using the newest version.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Mon Apr 14, 2014 12:59 pm
by Red Devil
reminds me, i need to tone down insane difficulty a bit.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Tue Apr 15, 2014 5:02 am
by Nielk1
Is there a way we can keep mod specific bugs out of the main testing topics until such time that the bugs are determined to in fact be related to the patch and not the mod. In the event a mod has a bug it should be the job of the reporter or mod maker to repo the bug in 1.3 stock (or with minimal mod assets) if it is in fact a 1.3 bug. This would vastly reduce the clutter that is occurring.

Re: BZ2 1.3.6.4z28 - Open beta & testing

Posted: Mon May 19, 2014 11:07 pm
by General BlackDragon
Got this in z28 while alt tabbed in the editor, when i came back i couldn't move and the video was frozen, but sounds were still happening. This went on to fill 1.5mb of log file.

Code: Select all

DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE] Uhoh- want to overwrite moves for 0/'General BlackDragon' at 6576 (pos 432). Old TS 6064, lastResync -990.
DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE] WorldCount=1. Turns = 6074, 012 = 6074 0 0. Now = 6576. nextCopy = 0

DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE] Movelag forced quit. Slowest=General BlackDragon @ 6064..6575
DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE]  local=6064..6575 CTS=6576
DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE] Uhoh- want to overwrite moves for 0/'General BlackDragon' at 6577 (pos 433). Old TS 6065, lastResync -990.
DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE] WorldCount=1. Turns = 6074, 012 = 6074 0 0. Now = 6577. nextCopy = 0

DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE] Movelag forced quit. Slowest=General BlackDragon @ 6064..6575
DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE]  local=6064..6575 CTS=6577
DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE] Uhoh- want to overwrite moves for 0/'General BlackDragon' at 6578 (pos 434). Old TS 6066, lastResync -990.
DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE] WorldCount=1. Turns = 6074, 012 = 6074 0 0. Now = 6578. nextCopy = 0

DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE] Movelag forced quit. Slowest=General BlackDragon @ 6064..6575
DIAG|            iconsole:530  |17:57:25|1468315|[CONSOLE]  local=6064..6575 CTS=6578
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Uhoh- want to overwrite moves for 0/'General BlackDragon' at 6579 (pos 435). Old TS 6067, lastResync -990.
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] WorldCount=1. Turns = 6074, 012 = 6074 0 0. Now = 6579. nextCopy = 0

DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Movelag forced quit. Slowest=General BlackDragon @ 6064..6575
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE]  local=6064..6575 CTS=6579
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Uhoh- want to overwrite moves for 0/'General BlackDragon' at 6580 (pos 436). Old TS 6068, lastResync -990.
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] WorldCount=1. Turns = 6074, 012 = 6074 0 0. Now = 6580. nextCopy = 0

DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Movelag forced quit. Slowest=General BlackDragon @ 6064..6575
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE]  local=6064..6575 CTS=6580
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Uhoh- want to overwrite moves for 0/'General BlackDragon' at 6581 (pos 437). Old TS 6069, lastResync -990.
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] WorldCount=1. Turns = 6074, 012 = 6074 0 0. Now = 6581. nextCopy = 0

DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Movelag forced quit. Slowest=General BlackDragon @ 6064..6575
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE]  local=6064..6575 CTS=6581
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Uhoh- want to overwrite moves for 0/'General BlackDragon' at 6582 (pos 438). Old TS 6070, lastResync -990.
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] WorldCount=1. Turns = 6074, 012 = 6074 0 0. Now = 6582. nextCopy = 0

DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Movelag forced quit. Slowest=General BlackDragon @ 6064..6575
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE]  local=6064..6575 CTS=6582
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Uhoh- want to overwrite moves for 0/'General BlackDragon' at 6583 (pos 439). Old TS 6071, lastResync -990.
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] WorldCount=1. Turns = 6074, 012 = 6074 0 0. Now = 6583. nextCopy = 0

DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Movelag forced quit. Slowest=General BlackDragon @ 6064..6575
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE]  local=6064..6575 CTS=6583
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Uhoh- want to overwrite moves for 0/'General BlackDragon' at 6584 (pos 440). Old TS 6072, lastResync -990.
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] WorldCount=1. Turns = 6074, 012 = 6074 0 0. Now = 6584. nextCopy = 0

DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE] Movelag forced quit. Slowest=General BlackDragon @ 6064..6575
DIAG|            iconsole:530  |17:57:25|1468316|[CONSOLE]  local=6064..6575 CTS=6584