Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Error caused by custom missile. #1297

Open
5 tasks done
silentrzk opened this issue Jun 28, 2024 · 2 comments
Open
5 tasks done

Internal Error caused by custom missile. #1297

silentrzk opened this issue Jun 28, 2024 · 2 comments
Labels
Phobos bug Something isn't working properly

Comments

@silentrzk
Copy link

silentrzk commented Jun 28, 2024

Description

I created a unit that spawns a missile that is animated by using a single dot voxel and placing an AttachEffect animation. It did not give me an IE at first on build 37 I think but for some reason it gave me on the latest build. The IE happens when the unit launches the missile. The IE triggers randomly, sometimes it triggers instantly the moment the unit launches a missile but sometimes it triggers after 2 or 3 more launches.

I'm using Kratos version 0.1.15

Phobos Version

Dev Build 42

Conditions to reproduce

No response

INI code

[AircraftTypes]
100=TESTMISL

[TESTMISL]
Image=HACKDUMMY ; Single dot voxel
Name=Test Missile
FireAngle=1
Strength=250
Category=AirPower
Armor=special_2
Spawned=yes
MissileSpawn=yes
ProtectedDriver=yes
TechLevel=11
Sight=0
AttachEffect.Animation=ANIMMISL
AttachEffect.PenetratesIronCurtain=yes
AttachEffect.Duration=20
EMP.Threshold=no
LegalTarget=no
Insignificant=yes
RadarInvisible=yes
Landable=yes
MoveToShroud=yes
Ammo=1
Speed=18
Owner=Allied,Soviet,Yuri
Cost=50
Points=5
ROT=32
Crewed=no
Explodes=no
GuardRange=30
MinDebris=0
MaxDebris=0
Locomotor={B7B49766-E576-11d3-9BD9-00104B972FE8}
MovementZone=Fly
ThreatPosed=10
NoShadow=yes
Selectable=no
Trainable=no
DontScore=yes
Smoke.Anim=INVISO
Smoke.ChanceRed=0
Smoke.ChanceDead=0
Missile.Custom=yes
Missile.PauseFrames=5
Missile.TiltFrames=10
Missile.PitchInitial=1
Missile.PitchFinal=1
Missile.TurnRate=1
Missile.RaiseRate=1
Missile.Acceleration=1
Missile.Altitude=1800
Missile.Damage=350
Missile.BodyLength=256
Missile.LazyCurve=no
Missile.Warhead=TestWH
Missile.TrailerAnim=INVISO
Missile.TrailerSeparation=0
Missile.TakeOffAnim=INVISO
Missile.Homing=yes
DisableAircraftAutoPitch=yes

[TestWH]
CellSpread=3
CellSpread.MaxAffect=1
PercentAtMax=.5
Wood=yes
Sparky=no
Conventional=no
Verses=200%,150%,150%,100%,80%,80%,100%,100%,50%,200%,0%
Versus.steel_t2=95%
Versus.steel_t3=95%
Versus.tesla_t2=95%
Versus.bbunker=95%
Versus.tbunker=95%
Versus.aircraft_t1=110%
Versus.aircraft_t2=95%
Versus.helicopter=100%
InfDeath=6
AnimList=TESTEXP
Bright=yes
CombatLightSize=120%
Ripple.Radius=79
Deform=10%
DeformThreshhold=300
ProneDamage=100%


[ANIMMISL] 
Translucent=no
UseNormalLight=yes
ZAdjust=-724
YSortAdjust=512
Layer=top
Rate=400
TrailerAnim=TESTTRAIL
TrailerSeperation=6
SpawnDelay=1

[TESTTRAIL] 
Translucent=yes
UseNormalLight=yes
Rate=900

Steps to reproduce

1.Just copy paste the INI code.
2.
3.
...

Expected behaviour

Should be able to launch a missile without causing IE.

Actual behaviour

It causes IE either instantly right after the unit launched a missile or after a few more launches.
except.txt
except.txt

Additional context

No response

Checklist

  • The issue happens on the latest official version of Phobos and wasn't fixed yet.
  • I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • I added a very descriptive title to this issue.
  • I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).
@silentrzk silentrzk added the Phobos bug Something isn't working properly label Jun 28, 2024
@chaserli
Copy link
Contributor

Please verify that the issue happens when "kratos" is absent

@silentrzk
Copy link
Author

Please verify that the issue happens when "kratos" is absent

My apologies. Tested just now and the issue still persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Phobos bug Something isn't working properly
Projects
None yet
Development

No branches or pull requests

2 participants