Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Internal Errors
#1
I've been working on a jumpjet unit that behaves similarly to a dog. So far, I have been getting nothing but IEs, and very random ones at that.

I have 4 Except.txts for the 4 IE encounters I have had. I have attached the most recent one, and below is the code for this unit.

Code:
;Added 26-10-08
[LUNGER]
UIName=Name:LUNGER
Name=Test Lunge Unit
Category=Soldier
Primary=Lunge
Prerequisite=GAPILE,AMRADR ;NAHAND,NARADR
Strength=100
Armor=steel
TechLevel=6
Sight=5
Pip=white
Speed=9
Owner=Americans
Cost=100
Soylent=50
Points=15
ThreatPosed=10
Crushable=no

VoiceSelect=RocketeerIdle
VoiceMove=RocketeerMove
VoiceAttack=RocketeerAttackCommand
VoiceFeedback=RocketeerFear
DieSound=Explosion_Fire

ReselectIfLimboed=yes
RejoinTeamIfLimboed=yes
DefaultToGuardArea=yes
Explodes=yes
Explosion=S_CLSN22
IsSelectableCombatant=yes
JumpJet=yes
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5}
PhysicalSize=1
MovementZone=Fly
ConsideredAircraft=yes
AllowedToStartInMultiplayer=no
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
JumpjetSpeed=30
JumpjetClimb=20
JumpjetCrash=20
JumpJetAccel=20
JumpJetTurnRate=10
JumpjetHeight=500
JumpjetWobbles=.01
JumpjetDeviation=1
JumpjetNoWobbles=yes
Size=1
SpeedType=Hover
HoverAttack=yes
Crashable=no ;might be buggy, IDK...
BalloonHover=yes

Art.ini:
[LungerSequence]
Ready=0,1,1
Guard=0,1,1
Walk=8,8,8
FireUp=0,1,6
;Idle1=56,15,0,S
;Idle2=71,15,0,E
Die1=0,1,1
Die2=0,1,1
Die3=0,0,0
Die4=0,0,0
Die5=0,0,0
Fly=8,8,8
Hover=8,8,8
FireFly=0,1,6
Tumble=40,7,0
AirDeathStart=40,3,0
AirDeathFalling=43,1,0
AirDeathFinish=44,3,0
Paradrop=0,1,1
;Cheer=0,1,0,SE
Panic=8,8,8

Unless it necessary, I wont be posting the other Excepts, but here is a summary of what changes at each stage-

First EIP: 404E0000
Error occurred when I had them over a hoard of infantry. They were swooping down, killing them one by one. The inf were retaliating when they were at ground level, killing a few of the lungers. This is when the IE happpened.

Second EIP: 840F8C50
Error occurred when one was killed. I changed Crashable= to Yes and added a Tumble = statement to the sequence.

Third EIP: 0051C2D3
Error occurred yet again when one was killed. I added a proper AirDeathStart, etc to the sequence. I kept Crashable= at Yes.

Fourth EIP: See except.txt
Error occurred when the unit was killed, but only after it did a lunging. I killed three fresh out of the barracks with no error. I then built another and ordered it to kill something, which it did with no problem. When I ordered that one to be attacked, it IE'd immediately (the weapon was a insta-hit type).

Prior to this, I fixed some problems with the SHP itself, corrected the sequence accordingly and changed Crashable= to No

Last notes-
None of the weapons I used to kill the Lunger were powerful enough to kill it in 1 hit.
And the SHP doesn't contain much besides the thing floating. Its not a human.


Attached Files
.txt   except.txt (Size: 24.61 KB / Downloads: 342)
Star Strike Next Beta :V.7x -- (current version=V.6x Build 2)
Star Strike TC Forums
Star Strike Website
Reply
#2
All those excepts boil down to the game using an already freed pointer which leads to shishkabob being executed. I don't know where exactly it goes haywire, it is possible that only walk locomotor supports parasites properly. I can't really promise a fix for this.

Worth playing: 1 | 2 | 3
Reply
#3
Hmm, alright. Thanks for helping.
Star Strike Next Beta :V.7x -- (current version=V.6x Build 2)
Star Strike TC Forums
Star Strike Website
Reply




Users browsing this thread: 1 Guest(s)