[Help] Bizarre Error Log

Making or wanting help making your own asset? Check in here
Post Reply
yuyoia
Posts: 8
Joined: 2010-04-06 22:26

[Help] Bizarre Error Log

Post by yuyoia »

Hi again,

I have been modifying some vanilla maps for the mod I am working on, and I can mostly trouble shoot crashes but last night I was play testing and got a crash on a map load with this as the log:


Comment: 'Battlefield2 MiniDump. Address: 00455181 (In Windbg type: .ecxr)
ASSERT INFORMATION:
[...]
C:\dice\Projects\BF2Branches\Patch_1_50\Code\BF2\IO\Network\NetworkManager.cpp(842): Error: Network: Object xpak2_faav has to many statemasks (2 8) and will crash the network. Please fix!
0 unique networkableObject :x pak2_faav
1 unique networkableObject :x pak2_FAAV_SteeringWheel
2 unique networkableObject :x pak2_FAAV_Engine
3 unique networkableObject :x pak2_FAAV_Wheel_RB
4 unique networkableObject :x pak2_FAAV_Wheel_LB
5 unique networkableObject :x pak2_FAAV_nav_RF
6 unique networkableObject :x pak2_FAAV_Wheel_RF
7 unique networkableObject :x pak2_FAAV_Wheel_RF
8 unique networkableObject :x pak2_FAAV_Wheel_LF
9 unique networkableObject :x pak2_FAAV_Wheel_LF
10 unique networkableObject :x pak2_FAAV_Wheel_RB
11 unique networkableObject :x pak2_FAAV_Wheel_LB
12 unique networkableObject :x pak2_FAAV_Wheel_RF
13 unique networkableObject :x pak2_FAAV_Wheel_RF
14 unique networkableObject :x pak2_FAAV_Wheel_LF
15 unique networkableObject :x pak2_FAAV_Wheel_LF
16 unique networkableObject :x pak2_FAAV_Wheel_RB
17 unique networkableObject :x pak2_FAAV_Wheel_LB
18 unique networkableObject :x pak2_FAAV_Wheel_RF
19 unique networkableObject :x pak2_FAAV_Wheel_RF
20 unique networkableObject :x pak2_FAAV_Wheel_LF
21 unique networkableObject :x pak2_FAAV_Wheel_LF
22 unique networkableObject :x pak2_FAAV_Wheel_RB
23 unique networkableObject :x pak2_FAAV_Wheel_LB
24 unique networkableObject :x pak2_FAAV_Wheel_RF
25 unique networkableObject :x pak2_FAAV_Wheel_RF
26 unique networkableObject :x pak2_FAAV_Wheel_LF
27 unique networkableObject :x pak2_FAAV_Wheel_LF

[EOF]'
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
Windows XP Version 2600 (Service Pack 3) MP (2 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Sat May 1 01:08:13.000 2010 (GMT-5)
System Uptime: not available
Process Uptime: 0 days 0:19:32.000
................................................................
.........................
This dump file has a breakpoint exception stored in it.
The stored exception information can be accessed via .ecxr.
eax=00000006 ebx=00000000 ecx=0013f234 edx=00db0608 esi=00000738 edi=00000000
eip=7c90e514 esp=0013ed7c ebp=0013ede0 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdll.dll -
ntdll!KiFastSystemCallRet:
7c90e514 c3 ret
I should also note that I have the vehicle in the said error log working just fine in other maps.
Any insight would be greatly appreciated!
User avatar
Senshi
PR:BF2 Developer
Posts: 358
Joined: 2010-04-29 10:44

Re: [Help] Bizarre Error Log

Post by Senshi »

"Too many statemasks" are your problem, according to the log.

This means you have too many networkableinfos or rather, too many individual templates running under the same networkable info.

In your case the debug log complains that the FAAV has 28 templates using the same networkable info. But that shouldn't cause problems in BF2, the engine can handle that amount easily. But there is a (high) limit, I don't know where exactly, but there's a point that the network engine just gives up.

I'd guess the problem is that you have quite a bunch of other vehicles on the map already that use the exact same networkableinfo, and the FAAV is just the last drop that blows the balloon.
J.F.Leusch69
Retired PR Developer
Posts: 2988
Joined: 2008-04-23 16:37

Re: [Help] Bizarre Error Log

Post by J.F.Leusch69 »

i had also had this issue, i simply renamed the vehicle and it worked :)
yuyoia
Posts: 8
Joined: 2010-04-06 22:26

Re: [Help] Bizarre Error Log

Post by yuyoia »

Okay that looks fixable.

What about this one:
c:\dice\projects\bf2branches\patch_1_50\code\bf2\io\BitStream.inl(59): Error: io: (fatal error) Value out of bounds val: 2351 lower 0 upper: 1023
Sniperdog
Retired PR Developer
Posts: 1177
Joined: 2009-02-27 00:06

Re: [Help] Bizarre Error Log

Post by Sniperdog »

yuyoia wrote:What about this one:
You can't have any more than 1023 rounds per magazine. The vehicle in question has a genericfirearm with more than that limit.

Any time you run into a bounds issue like that just google for example [[ bf2 "lower: 0 upper: 1023" ]] and usually you will get a link of someone else who had the issue and figured out what caused it.
Image

Image

Will Stahl aka "Merlin" in the Squad community
Post Reply

Return to “PR:BF2 Community Modding”