Jump to content

Recommended Posts

Posted

Anybody seen this error ever?

 

"It is impossible to add new group when traversing of object storage is in process"

 

This is returned by the addGroup method...

 

coalition.addGroup( SpawnCountryID, SpawnCategoryID, SpawnTemplate )

 

Sven

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Posted (edited)

Ignore.

 

The error is raised when you start an object scan using searchObjects, where an error is located in the callback function (so searchObjects stops or halts), and if you directly after that spawn new groups, you'll get this error.

 

Took me a while to find the issue though :))

 

So I corrected the error in the callback function and it worked again.

 

The error explanation was ok, it triggered the search for the root cause of the issue towards the scanning.

 

(Note that this error occurred during a new development of the optimal intercept point calculation, so not on a current production script.)

Fc

Edited by FlightControl

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

  • 1 year later...
Posted (edited)

Probably very necro but I'm still seeing this error and cannot really figure out what is happening.

 

 

When I see these errors then nothing will spawn in the enitre map, it does not happen sistematically and I've been so far to reproduce it with a 100% chance, it just appears to happen randomly.

 

 

Please disregard the quality of my code in the script, I'm very very new to lua scripting. (any code review feedback is greatly appreciated :D )

 

 

In attachment you have mission and scripts for your own debugging pleasure. :)

Operation_Dauntless_Resolution.zip

Edited by leonardo_c
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...