Page 1 of 1

"Ghost golden" ships - bug or feature?

Posted: Fri Oct 06, 2017 3:55 pm
by Rustem
Image

It is appearing after apply of extra weapons (missiles, explosion) by player and NPC-ships. This ships has NaN temperatures and energy. It is bug or feature?

Re: "Ghost golden" ships - bug or feature?

Posted: Fri Oct 06, 2017 3:59 pm
by Cody
A bug, I'd think - got a log?

Re: "Ghost golden" ships - bug or feature?

Posted: Mon Oct 09, 2017 6:24 am
by Rustem
Found error in the log:

Code: Select all

11:10:17.474 [spawnExtraThargoids]: Spawning of any thargoid: tharglet_Thargorn_Treat
11:10:36.140 [oxp-standards.deprecated]: dealEnergyDamageWithinDesiredRange is deprecated for <ShipEntity 0xfe80268>{"Thargoid Gruntbuggly" position: (-22408.8, -99342, 675297) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT}
What's need edit in ExtraThargoids OXP in the function dealEnergyDamageWithinDesiredRange? Replace on new method?

It is exist in deprecated OXP: Missiles and Bomb OXP also(rmb-fragmissileAI.plist):

Code: Select all

DETONATE = {
	ENTER = ("setDesiredRangeTo: 250.0", dealEnergyDamageWithinDesiredRange, becomeExplosion, "spawn: rmb-fragparticle 20"); 
        EXIT = (); 
        UPDATE = (); 
    };
[*] Missile explosions
The AI command dealEnergyDamageWithinDesiredRange is obsolete as it has bugs especially apparent at low frame rates. The JS method dealEnergyDamage is recommended.

Re: "Ghost golden" ships - bug or feature?

Posted: Thu Oct 12, 2017 8:12 pm
by UK_Eliter
> What's need edit in ExtraThargoids OXP in the function dealEnergyDamageWithinDesiredRange? Replace on new method?

I'm on this (i.e. will fix it), since the method in question is not merely depreciated but buggy. Asking people to fix merely depreciated methods is . . perhaps just a little too keen . . depending on how lazy OXP-ers are!

EDITED to fix something having gone rather wrong with the English.

Re: "Ghost golden" ships - bug or feature?

Posted: Thu Oct 12, 2017 8:45 pm
by Rustem
UK_Eliter wrote: Thu Oct 12, 2017 8:12 pm
> What's need edit in ExtraThargoids OXP in the function dealEnergyDamageWithinDesiredRange? Replace on new method?

I'm on this (i.e. will fix it), since the method in question is not merely depreciated but buggy. Asking people to fix merely depreciated methods is . . would be perhaps just a little too keen . . depending on how lazy OXP-ers are!
I agree.

But these(ships/entity) cannot be killed. These is immortal. :lol: