Oolite Bulletins

For information and discussion about Oolite.
It is currently Wed Dec 19, 2018 5:27 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Oct 06, 2017 3:55 pm 
Offline
Deadly
Deadly

Joined: Mon May 25, 2015 5:23 pm
Posts: 155
Location: Russia
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?


Top
   
PostPosted: Fri Oct 06, 2017 3:59 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 13415
Location: Corke's Drift
A bug, I'd think - got a log?

_________________
Those who seek gold dig a lot of earth, but find little


Top
   
PostPosted: Mon Oct 09, 2017 6:24 am 
Offline
Deadly
Deadly

Joined: Mon May 25, 2015 5:23 pm
Posts: 155
Location: Russia
Found error in the log:
Code:
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:
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.


Top
   
PostPosted: Thu Oct 12, 2017 8:12 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Sat Sep 12, 2009 11:58 pm
Posts: 1057
Location: Essex (mainly industrial and occasionally anarchic)
> 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.


Last edited by UK_Eliter on Thu Oct 12, 2017 9:35 pm, edited 2 times in total.

Top
   
PostPosted: Thu Oct 12, 2017 8:45 pm 
Offline
Deadly
Deadly

Joined: Mon May 25, 2015 5:23 pm
Posts: 155
Location: Russia
Quote:
> 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:


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited