Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » Enemy soldiers cannot be found
Enemy soldiers cannot be found[message #230032] Fri, 31 July 2009 13:54 Go to next message
zeland is currently offline zeland

 
Messages:6
Registered:July 2009
Location: Malaysia
I'm currently in sector I14 (Alma) and from the tactical view there are still enemies present. I've searched the whole area but can't find anyone. If I send one of my mercs down into the mine and come back out again, the enemies appear immediately.

Running svn r6557

Savegame

Report message to a moderator

Private
Re: Enemy soldiers cannot be found[message #230036] Fri, 31 July 2009 14:27 Go to previous messageGo to next message
Gorro der Grüne is currently offline Gorro der Grüne

 
Messages:1448
Registered:March 2009
Location: Broadwurschd-City
1) take defence positions
2) throw a grenade or a light

there is a vanilla bug which is solved so.

If it is a different Icant help.

Report message to a moderator

Sergeant Major
Re: Enemy soldiers cannot be found[message #230055] Fri, 31 July 2009 21:02 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Do you mean you have not seen any enemies in the sector or that you killed a lot of enemies there but there seem to be some left that you cannot see?

Also, please set aside a savegame so that Tron might have something to look at. Thanks for reporting this.

Report message to a moderator

Sergeant Major
Re: Enemy soldiers cannot be found[message #230056] Fri, 31 July 2009 21:13 Go to previous messageGo to next message
Gorro der Grüne is currently offline Gorro der Grüne

 
Messages:1448
Registered:March 2009
Location: Broadwurschd-City
Khor1255

Also, please set aside a savegame so that Tron might have something to look at. Thanks for reporting this.


zeland


Savegame


He made that with the post.

*afraid of blind gunslingers*

Report message to a moderator

Sergeant Major
Re: Enemy soldiers cannot be found[message #230060] Fri, 31 July 2009 21:30 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Cool. Hopefully Tron will have an answer.

Report message to a moderator

Sergeant Major
Re: Enemy soldiers cannot be found[message #230157] Sat, 01 August 2009 18:14 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Something is very broken. Group 5 is an enemy group in I14 of size 6, but contains 7 troops. Further the group indicates that all 7 troops are in battle. But obviously there are none.
There also seems to be a bug in EndTacticalBattleForEnemy(): It resets the "in battle" counters for all groups in the sector when a sector is left and the player has no mercs in this sector anymore. But it only compares the x and y coordinates of the groups and ignores z. So when entering and leaving the mine below this gets triggered (same x, y, only z differs, but is ignored). Now the "in battle" counter differs from the troop counter and the enemies get added when reentering the surface level.
Do you have a slightly older savegame available?

Report message to a moderator

Sergeant 1st Class
Re: Enemy soldiers cannot be found[message #230190] Sun, 02 August 2009 06:29 Go to previous messageGo to next message
zeland is currently offline zeland

 
Messages:6
Registered:July 2009
Location: Malaysia
Quote:
Do you have a slightly older savegame available?


I'm afraid not.

Report message to a moderator

Private
Re: Enemy soldiers cannot be found[message #231020] Thu, 13 August 2009 22:49 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
I believe I have the same bug with svn rev 6585:

A patrol is attacking the destroyed high school of Cambria. Vince and the militia defend the sector. It's the middle of the battle.

2 enemies are visible and 8 red dots are accounted on the strategic screen for that sector. As soon as the two are killed, Vince says one of his victory lines and the sector looks friendly. After searching, no more enemies are found. I can move objects in the sector's inventory on the strategic screen but I can't leave the sector through that screen because it's "hostile". Six red dots are still visible. On the tactical screen, civilians agree to talk. I can leave but I lose loyalty. When I come back, the 6 remaining enemies are sharing soldiers slots with the militia and a fight starts.

Everything looks OK After the second battle, except that I lost loyalty.

While I was on the strategic screen (before the second fight), the "Militia" menu (the fist button) behave strangely: the button to assign automatically the militia through the sectors of the town created more militia each time it was clicked, and dispatched them to the truly friendly sectors of the town. I had groups of 26 militians ...

And another thing:
When the sector was in its strange state with non existant enemies, I tried to attack the militia. At some point, Vince was hiding on a roof and a message said "Vince hears a faint sound of movement coming from none of your merc have any medical ability", instead of "below".

I kept a savegame with 2 visible enemies and one with 1, one at the beginning of the day and one at the beginning of the hour before the attack.

Report message to a moderator

Master Sergeant
Re: Enemy soldiers cannot be found[message #231026] Thu, 13 August 2009 23:45 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
mgl
While I was on the strategic screen (before the second fight), the "Militia" menu (the fist button) behave strangely: the button to assign automatically the militia through the sectors of the town created more militia each time it was clicked, and dispatched them to the truly friendly sectors of the town. I had groups of 26 militians ...

Do you have a savegame, which demonstrates this problem?

Quote:
And another thing:
When the sector was in its strange state with non existant enemies, I tried to attack the militia. At some point, Vince was hiding on a roof and a message said "Vince hears a faint sound of movement coming from none of your merc have any medical ability", instead of "below".

This issue has already been resolved in r6593.

Quote:
I kept a savegame with 2 visible enemies and one with 1, one at the beginning of the day and one at the beginning of the hour before the attack.

Where are they?

Report message to a moderator

Sergeant 1st Class
Re: Enemy soldiers cannot be found[message #231029] Fri, 14 August 2009 00:30 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
On my computer of course, unencrypted as usual.

I've sent the four of them to your mailbox, still unencrypted, you seem so eager to get them. There's also a jpeg snapshot of the location of the last man for the matching savegame.

The best way to see what happens is to load the savegame with the two visible enemies and kill the farther one. The militians will kill the last one.

Quote:
Do you have a savegame, which demonstrates this problem?

After you've killed the last man, go to the militia menu of the strategic screen, "auto" button and see.

Report message to a moderator

Master Sergeant
Re: Enemy soldiers cannot be found[message #231089] Fri, 14 August 2009 22:38 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
Even with my hourly and daily savegames, the attacking patrol seems broken with non existant soldiers.

But I found an interesting thing: instead of waiting for them to attack the high school, I sent Vince attack them at the Hicks's. I found the whole patrol with its 12 men there.

The interesting thing is that seven of them climbed the roof of the Hicks !??
Vince was the first on the roof and the enemies followed him and often had an interrupt when they reached it.
I didn't know they could climb roofs with stracciatella.

http://mlefebvr.ifrance.com/ja2/sc/enemies_climb_roof-06.jpg

And when I reload after the battle at the Hicks, a message box appears while the game is loading and says I have the bug responsible for mercs disappearing. It says to send my savegame to Dave and Kris.




I played the fight at the high school again and again and had several messages with the BETA and TEST flags enabled:

A message box: "Enemy administrator killed with ubGroupId of 3, but the group doesn't contain elites.

A text on the tactical screen: "AI 24 got error code -3 from handleitem, doing action 27... aborting deadlock!"

The log (after a crash): "{...} Assertion failure [line 1090 in Build/strategic/Queen_command.cc]: AddPossiblePendingEnemiesToBattle(): Logic Error -- by Kris"

Report message to a moderator

Master Sergeant
Re: Enemy soldiers cannot be found[message #231142] Sun, 16 August 2009 09:43 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
mgl
Even with my hourly and daily savegames, the attacking patrol seems broken with non existant soldiers.

It probably is my mistake, but investigation takes time, because the cause of the problem and its symptoms don't seem to have a direct coupling.

Quote:
The interesting thing is that seven of them climbed the roof of the Hicks !??
Vince was the first on the roof and the enemies followed him and often had an interrupt when they reached it.
I didn't know they could climb roofs with stracciatella.

What's so special about climbing?

Quote:
And when I reload after the battle at the Hicks, a message box appears while the game is loading and says I have the bug responsible for mercs disappearing. It says to send my savegame to Dave and Kris.

This is an original error. This always happens when you save a game during a battle, anybody has died in this battle already and you load that savegame.

Quote:
I played the fight at the high school again and again and had several messages with the BETA and TEST flags enabled:

A message box: "Enemy administrator killed with ubGroupId of 3, but the group doesn't contain elites.

This could be related to the phantom enemy problem. Though the error messages seems defective, too, because it first says "administrator" and later "elites".

Quote:
A text on the tactical screen: "AI 24 got error code -3 from handleitem, doing action 27... aborting deadlock!"

This has always happened, therefore I do not think it is related to this problem.

Quote:
The log (after a crash): "{...} Assertion failure [line 1090 in Build/strategic/Queen_command.cc]: AddPossiblePendingEnemiesToBattle(): Logic Error -- by Kris"

This could be related to the phantom enemy problem, too.

Report message to a moderator

Sergeant 1st Class
Re: Enemy soldiers cannot be found[message #231154] Sun, 16 August 2009 16:39 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
In vanilla Ja2 enemies would not climb roofs. Have you changed this in Stracciatella?

If so, great work. It is one of the things I find much better about the 1.13 compared to vanilla.

Report message to a moderator

Sergeant Major
Re: Enemy soldiers cannot be found[message #231155] Sun, 16 August 2009 16:45 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Khor1255
In vanilla Ja2 enemies would not climb roofs.

That's news to me. There's quote some code for the AI concerning climbing.

Quote:
Have you changed this in Stracciatella?

No.

Report message to a moderator

Sergeant 1st Class
Re: Enemy soldiers cannot be found[message #231159] Sun, 16 August 2009 20:14 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Apparently they had it disabled somewhere because before the 1.13 the enemy would NEVER climb a roof after you. You could place enemies on the roof in the map editor but other than that no rooftop enemies.

I don't know about Wildfire though. I never got any farther than the first couple of maps in that game.

There are quite a few partially implemented features and even items that got nixed in the vanilla version for whatever reason. It is curious that although you say you didn't intentionally allow enemies to climb on rooftops they are in your version.

Report message to a moderator

Sergeant Major
Re: Enemy soldiers cannot be found[message #231167] Sun, 16 August 2009 22:36 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
Khor1255
It is curious that although you say you didn't intentionally allow enemies to climb on rooftops they are in your version.

But it's new in stracciatella! I believe I use it since release 0.6 and I had never seen that before.


I defended 5 sectors since my last post, 4 of them had a broken enemy patrol with half of them being non existant, and one was playable. It was an invasion force sent after I took a SAM site, maybe clean because it was scripted ?

I always have to leave the sector through the tactical screen after one of my mercs says its victory line and immediately cancel the order to fight the remaining hostile forces. But I lose loyalty in towns. I'll try to ask for a truce to deidranna.

Report message to a moderator

Master Sergeant
Re: Enemy soldiers cannot be found[message #231169] Mon, 17 August 2009 00:09 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Khor1255
Apparently they had it disabled somewhere because before the 1.13 the enemy would NEVER climb a roof after you.

I cannot confirm this.

mgl
Khor1255
It is curious that although you say you didn't intentionally allow enemies to climb on rooftops they are in your version.

But it's new in stracciatella! I believe I use it since release 0.6 and I had never seen that before.

There has been no alteration of the enemy AI.

Report message to a moderator

Sergeant 1st Class
Re: Enemy soldiers cannot be found[message #231177] Mon, 17 August 2009 04:53 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Keep checking around. The answer is clear as daylight.

It would be interesting to see how this happened. Perhaps by 'cleaning up' the code you can sometimes do inadvertent things you normally would not want to do?

Report message to a moderator

Sergeant Major
Re: Enemy soldiers cannot be found[message #231195] Mon, 17 August 2009 13:12 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
You do not accidentally write code, which enables enemies to climb. It was always there and, as far as I can tell, it worked.

Report message to a moderator

Sergeant 1st Class
Re: Enemy soldiers cannot be found[message #231297] Wed, 19 August 2009 00:12 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
Could the broken patrols exist because Deidranna's initial pool of troops is exhausted ?

It's day 85 in my savegame and several of my mercs have killed hundreds of enemies.

I only meet broken patrols. No attacking enemies behave like before. First I thought it was a new bug in stracciatella, but it could be that the game now uses another portion of the code to "train" soldiers, in which the bug is.

Maybe I could try to find the pool of troops in the savegame and hexedit it ?
Edit: or better change the code to save a fixed number.

Report message to a moderator

Master Sergeant
Re: Enemy soldiers cannot be found[message #231313] Wed, 19 August 2009 09:00 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
No.

It was a simple error in r6133, which caused that the wrong and too few enemies were added to battles. The problem has been corrected in r6644.

Report message to a moderator

Sergeant 1st Class
Re: Enemy soldiers cannot be found[message #231338] Wed, 19 August 2009 22:31 Go to previous message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
I managed to check your new version in a single battle and it worked. Thanks!

It's strange that the bug didn't show earlier, r6133 looks rather old.

About roof climbers, I don't see any of them anymore. I fought on the roofs of San Mona, Drassen and Alma. Drassen is the most significant: I sent Flo drink and dance on the roof of the enslaved children factory with a strong armor. The only guard here fired at her from the ground with his shotgun but never climbed the roof to finish her when she fell unconscious (several times). Vince at the Hicks remains my only experience with enemies climbing roofs.


Report message to a moderator

Master Sergeant
Previous Topic: Release 0.12 - Walnut - now with 64 crunchy bits!
Next Topic: Streamlined JA2. Could use some help making it
Goto Forum:
  


Current Time: Wed Jan 22 06:49:35 GMT+2 2025

Total time taken to generate the page: 0.01523 seconds