OpenRA / OpenRA/OpenRA

IonCannonPower cannot reside in a Power proxy

Open
#19,824 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
C#
Stars
17.4k
Forks
3k
Avg merge
1d 12h
Merged PRs (30d)
14

Description

When given from a crate and then used will crash the game pointing to Line 88 of IonCannonPower.cs

crate.ion:
	AlwaysVisible:
	IonCannonPower@IonCannonOneShot:	
	OrderName: IonCannonOneShot
	Icon: ioncannon
	ChargeInterval: 0
	Description: Ion Cannon
	LongDesc: Initiate an Ion Cannon strike.\nApplies instant damage to an small area.
	OnFireSound: ion1.aud
	Cursor: ioncannon
	SelectTargetSpeechNotification: SelectTarget 
	DisplayRadarPing: True
	SupportPowerPaletteOrder: 1
	DisplayTimerRelationships: Ally, Neutral, Enemy
	Effect: ionsfx
	EffectSequence: idle
	EffectPalette: effect
	Weapon: IonCannon
	CameraActor: camera.small

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash with the shown crate.ion configuration, then inspect line 88 of IonCannonPower.cs and the Power proxy path used by IonCannonPower. Done means the power can be granted from a crate, reside in a Power proxy, and be used without crashing the game.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.