Home » MODDING HQ 1.13 » v1.13 General Development Talk » Any introduction to the code?
Re: Any introduction to the code?[message #357788 is a reply to message #357787]
|
Tue, 06 August 2019 07:28 ![Go to previous message Go to previous message](/theme/Bear_Classic_Brown/images/up.png)
|
|
MH17 |
![](/images/ranks/corporal.png) |
Messages:46
Registered:November 2018 Location: Antarctica |
|
|
Hello again, gentlemen!
As it was suggested in the previous post I have managed to reproduce a similar bug with the sector's enemy counters.
Problem description:
I moved my squad from A9 (Atremo Airport, Urban Chaos Mod) to sector B9, where I never ever been before. In the beginning there were 28 enemies.
Right after arrival I pressed Alt+O to kill all of them, but after using the cheat-code 14 soldiers left on the strategic map (as a red dots) together with my team (yellow dots).
But in the tactical screen (Alt+E) each visible enemy died. The zombi-option is OFF, noone of them raised up again.
Moreover, on the tactical screen for the DEBUG version of the code the bug has been announced by debug message "Sector troop counters are bad. What were the last 2-3 things to die, and how? Save game and send to KM with info!!!"
Direction of Work:
It makes me think that comrade SevenFM was right when he mentioned the function "ProcessQueenCmdImplicationsOfDeath" ("Strategic\Queen Command.cpp"), cause the function contains the debug message in line 1428.
Staying on the strategic map with the 14 enemies I tried to send my squad out and got the same old song: "Movement Orders? This is a hostile sector!", but after some walking around the code with debugger I found out that the reason is NOT related to sector counters!!! All of them are correct and equal to zero!
As I see, like in the previous bug (related to zombi) the movement order was blocked by function "NumHostilesInSector" ("Strategic\Queen Command.cpp"). But this time problem comes from loop in line 179:
As I understand in this situation one of the enemy groups was not affected by the cheat-code and its size didnt change (still equal to 14).
I tried to have a look into "ObliterateSector" -> "EVENT_SoldierGotHit", but failed to find anything of interest.
I'd like to explore how the gamecode changes the number of enemy red markers on the strategic screen and how it modifies the number of groups/number of individuals in groups. Could you please tell me where it is located?
Thank you in advance!
[Updated on: Tue, 06 August 2019 07:34] Report message to a moderator
|
Corporal
|
|
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
![icon12.gif](/images/message_icons/icon12.gif) |
Any introduction to the code?
By: MH17 on Tue, 23 July 2019 01:45
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Tue, 30 July 2019 05:04
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Wed, 31 July 2019 09:39
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Sat, 03 August 2019 12:08
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: Deleted. on Sat, 03 August 2019 21:27
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Sun, 04 August 2019 08:43
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: Deleted. on Sun, 04 August 2019 09:58
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Sun, 04 August 2019 10:26
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Sun, 04 August 2019 11:12
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Mon, 05 August 2019 10:36
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: Deleted. on Mon, 05 August 2019 14:41
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
![icon14.gif](/images/message_icons/icon14.gif) |
Re: Any introduction to the code?
By: MH17 on Tue, 06 August 2019 05:25
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
![icon9.gif](/images/message_icons/icon9.gif) |
Re: Any introduction to the code?
By: MH17 on Tue, 06 August 2019 07:28
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Wed, 07 August 2019 07:51
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Thu, 08 August 2019 11:35
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: Deleted. on Thu, 08 August 2019 11:43
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Thu, 08 August 2019 12:12
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: Deleted. on Thu, 08 August 2019 12:39
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Thu, 08 August 2019 12:59
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: Deleted. on Thu, 08 August 2019 13:10
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Thu, 08 August 2019 13:45
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Thu, 08 August 2019 20:53
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Sun, 11 August 2019 14:57
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
![film28.png](/images/message_icons/film28.png) |
Re: Any introduction to the code?
By: MH17 on Thu, 22 August 2019 11:35
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Fri, 23 August 2019 03:22
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Fri, 23 August 2019 12:56
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: Deleted. on Fri, 23 August 2019 13:13
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Sat, 24 August 2019 10:29
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Sat, 24 August 2019 12:00
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
By: MH17 on Sun, 25 August 2019 01:35
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: Any introduction to the code?
|
Goto Forum:
Current Time: Wed Feb 12 15:01:36 GMT+2 2025
Total time taken to generate the page: 0.01093 seconds
|