Debugging[message #251726]
|
Mon, 17 May 2010 02:34
|
|
Hague |
|
Messages:9
Registered:October 2008 |
|
|
I'm debugging my version of HAMSTOMP 3.6 and I've encountered some interesting bugs. I get a debug error that reads: FAILED: ADD STRUCT INFO FOR MERC # (NAME) AT *position* DIRECTION (6)
I noticed that it prevents the AI from even knowing that the merc is even there. They will move toward the enemy but they won't fire. Anyone encounter this before and is there anything I can do about it?
Also, when the merc entered the area, his palette swapped to purple. Is this an issue with using Wildfire content?
Report message to a moderator
|
Private
|
|
|
|
Re: Debugging[message #251729]
|
Mon, 17 May 2010 03:07
|
|
Hague |
|
Messages:9
Registered:October 2008 |
|
|
Quote:So you're saying that this is part of DecideActionBlack? It occurs during AI computations? I always thought it had something to do with placements... Could you explain more thoroughly what the program is trying to do and what happens when it fails?
I haven't explored it fully. All I noticed was that the AI would refuse to attack the merc because it didn't recognize his structure data. From what I gather, the enemy didn't seem to "know" that the merc was there on the roof because they didn't fire at him, even from 2 tiles away. They would simply run to the edge of the building. This might be an issue with other things but it seems likely that if the game doesn't properly apply the multi-tiling to the merc's struct, then the game won't recognize that they are there and can't aim at them. At least, that's a guess.
Addendum: The error message was thrown whenever a unit would climb up to a higher level. It even threw the message when the enemy soldier climbed up a nearby roof as well.
[Updated on: Mon, 17 May 2010 03:13] by Moderator Report message to a moderator
|
Private
|
|
|