Bug #28553

Dediserver script errors

Added by Sekra about 3 years ago. Updated almost 2 years ago.

Status:Assigned Start date:02/09/2012
Priority:Trivial Due date:
Assignee:Fireball % Done:

0%

Category:Misc
Target version:0.91 A3
Affected Version:0.90

Description

Every time I start the mission on a dediserver I get a bunch of errors in the RPT:

@ 112/01/09, 20:30:10 Error in expression <humv11>
112/01/09, 20:30:10 Error position: <humv11>
112/01/09, 20:30:10 Error Undefined variable in expression: humv11
112/01/09, 20:30:28 Error in expression <effectcreate ["colorcorrections",1549];
_ppEffect ppEffectEnable true;>
112/01/09, 20:30:28 Error position: <_ppEffect ppEffectEnable true;>
112/01/09, 20:30:28 Error Undefined variable in expression: _ppeffect
112/01/09, 20:30:28 Error in expression <500];
_color = [_R,_G,_B,_intensity];

_ppEffect ppEffectAdjust [
1,
1,
0.002>
112/01/09, 20:30:28 Error position: <_ppEffect ppEffectAdjust [
1,
1,
0.002>
112/01/09, 20:30:28 Error Undefined variable in expression: _ppeffect
20:30:34 Game started.
112/01/09, 20:30:34 Error in expression <humv12>
112/01/09, 20:30:34 Error position: <humv12>
112/01/09, 20:30:34 Error Undefined variable in expression: humv12
112/01/09, 20:30:34 Error in expression <humv13>
112/01/09, 20:30:34 Error position: <humv13>
112/01/09, 20:30:34 Error Undefined variable in expression: humv13
112/01/09, 20:30:34 Error in expression <humv14>
112/01/09, 20:30:34 Error position: <humv14>
112/01/09, 20:30:34 Error Undefined variable in expression: humv14
112/01/09, 20:30:34 Error in expression <humv15>
112/01/09, 20:30:34 Error position: <humv15>
112/01/09, 20:30:34 Error Undefined variable in expression: humv15
112/01/09, 20:30:35 Error in expression <humv16>
112/01/09, 20:30:35 Error position: <humv16>
112/01/09, 20:30:35 Error Undefined variable in expression: humv16
112/01/09, 20:30:35 Error in expression <atv11>
112/01/09, 20:30:35 Error position: <atv11>
112/01/09, 20:30:35 Error Undefined variable in expression: atv11
112/01/09, 20:30:35 Error in expression <atv12>
112/01/09, 20:30:35 Error position: <atv12>
112/01/09, 20:30:35 Error Undefined variable in expression: atv12
112/01/09, 20:30:35 "Log: [ALICE 2]: BIS_loc_ACityC_base-1 traffic start."
112/01/09, 20:30:35 Error in expression <atv13>
112/01/09, 20:30:35 Error position: <atv13>
112/01/09, 20:30:35 Error Undefined variable in expression: atv13
112/01/09, 20:30:35 Error in expression <atv14>
112/01/09, 20:30:35 Error position: <atv14>
112/01/09, 20:30:35 Error Undefined variable in expression: atv14
112/01/09, 20:30:35 Error in expression <atv15>
112/01/09, 20:30:35 Error position: <atv15>
112/01/09, 20:30:35 Error Undefined variable in expression: atv15
112/01/09, 20:30:35 Error in expression <heli>
112/01/09, 20:30:35 Error position: <heli>
112/01/09, 20:30:35 Error Undefined variable in expression: heli
112/01/09, 20:30:37 "Log: [ALICE 2]: BIS_loc_ACityC_base-2 traffic start."
112/01/09, 20:30:39 "Log: [ALICE 2]: BIS_loc_ACityC_base-3 traffic start."
112/01/09, 20:30:44 Server: Object 3:13 not found (message 124)
112/01/09, 20:30:44 Server: Object 3:15 not found (message 124)
112/01/09, 20:30:44 Server: Object 3:19 not found (message 124)
112/01/09, 20:30:45 Server: Object 3:21 not found (message 124)
112/01/09, 20:32:12 Client: Remote object 2:36 not found
112/01/09, 20:32:12 Client: Remote object 2:37 not found
112/01/09, 20:32:12 Client: Remote object 2:38 not found
112/01/09, 20:32:13 "Log: [ALICE 2]: BIS_loc_ACityC_base-2 traffic end."
112/01/09, 20:32:14 "Log: [ALICE 2]: BIS_loc_ACityC_base-1 traffic end."
112/01/09, 20:32:15 "Log: [ALICE 2]: BIS_loc_ACityC_base-0 traffic end."@

usually also there is a fair amount of desync in the beginning when playing in a dediserver and I think these errors are causing it. These errors do not appear when I launch the mission on the MP Editor.

History

Updated by Sekra about 3 years ago

  • Affected Version set to 1.50

Updated by Kol9yN about 3 years ago

  • Category set to Misc
  • Status changed from New to Feedback
  • Assignee set to Sekra
  • Priority changed from Normal to Trivial

your RPT?!
please make a correct repro :)

Updated by Sekra about 3 years ago

Yes. The .RPT file is where all the errors, warnings etc from scripts and everything in the game are written into. You can also use the -showscripterrors startup switch to get popups of errors and and see them, but these errors are always written into the .RPT file. The .RPT file can be found on the client in Windows 7 at C:\Users\<username>\AppData\Local\ArmA 2 OA. On the client the file name is arma2oa.RPT. You can find more info at: http://community.bistudio.com/wiki/RPT

How can you even develop something in Arma and not know about RPT?!?!?!? SERIOUSLY!

Anyhow. These errors appear every time I start the mission on a dedicated server. They do not appear when the mission is started hosted on the client. So "proper repro": Start the mission on a dediserver.

Updated by Cytreen about 3 years ago

We see the same thing on our servers but its always been like that for insurgency. The error only posts once on start up as the objects that are trying to run do not exist yet be for scripts make calls to the names of the objects or are still at 0,0,0 while the scripts look for stuff <100m from 0,0,0. Its not going to hurt game play or server stability. As for the object not found. That happens anytime in arma you start dynamically creating stuff mid mission.

Updated by Cytreen about 3 years ago

Sorry double post

Updated by Sekra about 3 years ago

It is never a good thing to get scripting errors to the RPT no matter what. Quite simply it means you've done something wrong and it shouldn't be like that. Regarding the object not found errors, they were just a part of the copypaste quickly taken from the server RPT. Everyone knows they happen in the missions all the time.

Updated by Fireball almost 3 years ago

Yes, I know that they might be annoying, but they're really harmless; they occur during loops/FSMs which check for objects which are not inited at this point in time...some kind of racing condition - after a few seconds every variable is init'ed and they won't occur anymore.

To workaround those errors, it's more hassle than worth it.

EDIT: It's not related to the position of the objects as Cytreen speculates; the objects are simply not spawned at the point where the script loops/FSMs begin to run for the first time.

Updated by Fireball almost 2 years ago

  • Status changed from Feedback to Assigned
  • Assignee changed from Sekra to Fireball
  • Target version set to 0.91 A3
  • Affected Version changed from 1.50 to 0.90

Also available in: Atom PDF