Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A* without HS
#1
Hi,
Well, this thing is causing me an internal error.....
Code:
Hierarchical findpath failure: (34,154) to (45, 156)
Warning. ?A* without HS: (34,154) to (45, 156)
Hierarchical findpath failure: (34,154) to (45, 156)
Warning. ?A* without HS: (34,154) to (45, 156)
Hierarchical findpath failure: (34,154) to (45, 156)
Warning. ?A* without HS: (34,154) to (45, 156)
Hierarchical findpath failure: (34,154) to (45, 156)
Warning. ?A* without HS: (34,154) to (45, 156)
Exception!
Dump exception info
Found IMAGEHLP.DLL - linking to required functions
Symbols are available

Exception is access violation
Found exception description
Failed to get symbol for EIP
SymGetSymFromAddr failed with code 0 - (null)
Register dump...
EIP bytes dump...
Stack dump...
Exception_Dialog()
Resource found
WM_INITDIALOG
COPYPROTECTION - Shutdown
MessageListClass::Init(Width: 632)
Although I'm not sure if this is the direct cause of it. The A* without HS's seem to be able to occur without causing an internal error.....although hierarchical findpath failures (whatever these are) seem to always cause the IE. I think that this is caused by something wrong in my coding of a subterranean unit:
Code:
[DTON]
UIName=Name:dton
Name=Devil's Tongue
Prerequisite=NAWEAP,NARADR,NATECH
AllowedToStartInMultiplayer=no
Primary=FLAME
Strength=700
MoveToShroud=no
Category=AFV
Armor=heavy
Explodes=yes
Turret=no
IsTilter=yes
TargetLaser=no
TooBigToFitUnderBridge=true
TechLevel=9
Sight=8
Speed=7
CrateGoodie=yes
Crusher=yes
Owner=Russians,Confederation,Africans,Arabs
Cost=2500
Soylent=2500
Points=35
ROT=6
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenSovVehicleSelect
VoiceMove=GenSovVehicleMove
VoiceAttack=GenSovVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=RhinoTankMoveStart
CrushSound=TankCrush
MaxDebris=6
Locomotor={4A582743-9839-11d1-B709-00A024DDAFD1}
MovementZone=Subterranean
ThreatPosed=40; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
ZFudgeColumn=8
ZFudgeTunnel=13
Size=4
OpportunityFire=yes
ElitePrimary=FLAMEE
BuildTimeMultiplier=1.1;Individual control of build time
I'm thinking that 1) invalid movement zone, 2)invalid locomotor, or 3)MoveToShroud=no. Perhaps the AI doesn't understand it can't move to shroud? Or does it abide by that rule? Weapons are existant, warheads are existant, projectiles are existant, DigSound is dummy, dig= is specified (although no animation shp exists yet), so I'm out of ideas as to how this happens. This does not happen only on one map, it happens on both Let There Be Fight, and my own custom map (both have water on them). Maybe it's trying to move to water? I haven't tried this on other maps or non-water maps...I don't get any of this....except is attached...
Also, why does YR refuse to open after you run it and close it one time? (if you need debug.txt for that, I can get one...)
Reply
#2
Quote:dig= is specified (although no animation shp exists yet)

It's Dig= , and have you tried assigning an existing shp to it?

btw, I have those A* w/o HS in my log regularly, and they never cause IEs, I always assumed it's something with the AI's pathfinding / scripting, since those (34;154) look like cell coords to me. Since it never caused IEs, I never bothered to dig into that.

Worth playing: 1 | 2 | 3
Reply
#3
A* is a very common pathfinding algorthim, so your assumption is correct. Wink
Reply
#4
But if it's dig, it should instantly IE my game. When I start my game the test map I'm playing on gives me a bunch of crates, and the subtank is a crategoodie, and so I get it from the crate. I make it dig, it digs fine. But I'll try what you said anyways, thanks for replying. Maybe I should create a map with all clear ground and see what happens....Hm....
Reply




Users browsing this thread: 1 Guest(s)