Jump to content

Recommended Posts

(ZUa)When attempting to change destroyed air base (ZUa) to blue using Turncoat, receive "Side change failed, no group id available" message.

Created a test scenario and was unable to duplicate the issue.

Earlier in the game I converted a red base to blue base (DSa) using Turncoat. There was an update to Turncoat after base was converted to DSa due to a previous GE crash caused by Turncoat.

It appears that the side in the Turncoat base resets it self back to the Red instead of the Blue side.

I have restarted the GE several times and the issue persists.

In my test scenario I was able to change the sides of a base to any option available with out a problem.

Attached is my saved game.

 

 

image.png.401b6e392ac57a3fa8e974a310789864.png

 

image.png.2b8161bd2d1f621df717108a34fbf24a.png

 

 

Update Test 1-25.zip

Link to comment
Share on other sites

  • 3 weeks later...

I started taking a look at this over the weekend.  The message is accurate as in Turncoat is using the exact same logic (literally calling the same function) so the message is accurate, no group ids are available for the destination side.  In short, the scenario is running up against the limit of groups and is letting you know in a reasonably friendly way instead of crashing.  

  • Like 1
Link to comment
Share on other sites

Looking at my current game the Blue side goes from groups AAb to HEA with several gaps.

The Red side goes from ZZb to YJs with several gaps in it.

I can not convert a base at this time.

What is the limit of group ID's available for Turncoat to use? I would expect that any available non used group ID would be available to be used.

In some of my games I have seen Red group ID's mixed in with the Blue group ID's.The GE grabs any available group ID no matter what it is.

In this case I destroyed base ZVa. In the units window of Turncoat the group ID is ZV000 Jianqiao. Could that be an invalid group ID?

I used the last version of Turncoat to capture a base and it assigned group ID (Aa.

Is it possible that Turncoat is trying to use a group ID that is being used for an existing air group or task group?

Link to comment
Share on other sites

1 hour ago, eeustice said:

Looking at my current game the Blue side goes from groups AAb to HEA with several gaps.

The Red side goes from ZZb to YJs with several gaps in it.

I can not convert a base at this time.

What is the limit of group ID's available for Turncoat to use? I would expect that any available non used group ID would be available to be used.

In some of my games I have seen Red group ID's mixed in with the Blue group ID's.The GE grabs any available group ID no matter what it is.

In this case I destroyed base ZVa. In the units window of Turncoat the group ID is ZV000 Jianqiao. Could that be an invalid group ID?

I used the last version of Turncoat to capture a base and it assigned group ID (Aa.

Is it possible that Turncoat is trying to use a group ID that is being used for an existing air group or task group?

Again, Turncoat uses the exact function that the game engine uses to assign group ids so the availability is the same for Turncoat as it is for the GE itself.  So yes, any available group id should be used.

You destroyed group ZVa except installations keep their group id so it is not available as it is already in use.  Unit Id ZV000 is valid.  Now if you destroyed ZZA (an aircraft group), group id ZZ would be available once all of the aircraft in the group are shot down.

So if there is a bug, it is in the GE's assign_group_id function.  That is something that I'll check out.

Link to comment
Share on other sites

Progress tonight, created an ExportDLL that creates the user-specified number of groups at the touch of a button, in my case I set it to 100 groups and clicked it a bunch of times until I ran out of group ids.  I also modified the GE so that ExportDLLs can assign group ids but am not making use of that yet.  Next up is counting the number of groups in the game to get a feel for whether the existing group id assigning code is working as designed before looking at new approaches.

 

100000 Initscen.c:543 - reading scenario file version 2, Last UUID=6473d9e2-63fd-450f-b2cd-0ac03097845f, Original UUID=6473d9e2-63fd-450f-b2cd-0ac03097845f
100000 annex.c:1317 - GetAnnexesDisk ticks=10938860
100000 Initannx.c:624 - this scenario is from battlesetnumber 23, using annex version 1
100000 Setup.c:1336 - OpenBattlsetResFile
100000 Setup.c:1368 - not_saved_game
100087 Initutil.c:2308 - !!!Couldn't assign BLUE Group ID, all used up!!!
d up!!!
100087 Initutil.c:2308 - !!!Couldn't assign BLUE Group ID, all used up!!!
...
100087 Initutil.c:2308 - !!!Couldn't assign BLUE Group ID, all used up!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...