eeustice Posted January 11, 2022 Report Posted January 11, 2022 (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. Update Test 1-25.zip Quote
TonyE Posted January 31, 2022 Report Posted January 31, 2022 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. 1 Quote
eeustice Posted February 1, 2022 Author Report Posted February 1, 2022 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? Quote
TonyE Posted February 1, 2022 Report Posted February 1, 2022 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. Quote
TonyE Posted February 2, 2022 Report Posted February 2, 2022 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!!! Quote
eeustice Posted February 3, 2022 Author Report Posted February 3, 2022 Looking at the Group ID Export dll there are only 152 groups at this point in the game. I am unable to turn over any of the red bases. I have included the latest edition of my db Turncoat 152 Groups.zip Quote
TonyE Posted February 3, 2022 Report Posted February 3, 2022 Should be fixed in HC 2022.004 combined with Turncoat v4. Quote
eeustice Posted February 3, 2022 Author Report Posted February 3, 2022 Test of new HC build and updated Turncoat worked! Thanks Tony! 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.