Trunk 1.75.4.4615

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Trunk 1.75.4.4615

Post by Fatleaf »

I was testing out a wip (https://bb.oolite.space/viewtopic.php?f=4&t=10300) and fired a special missile. The explosion in trunk produced over 2000 entities, with the result being less than 4fps, while the same explosion in 1.75.3 produced about 590 entities. This was tested by El Viejo and he got the same results (it crashed his game). Here is the log file

http://www.box.net/shared/lnk2ei68j69hqjm5ph1g

Hope it helps.
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Trunk 1.75.4.4615

Post by Eric Walch »

I am sure that this has to do with fixing this bug. That is missiles having a shipDied handler that never worked before and now starts working.
An other bug report was also related to fixing this bug.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Trunk 1.75.4.4615

Post by Eric Walch »

Fatleaf wrote:
I was testing out a wip (https://bb.oolite.space/viewtopic.php?f=4&t=10300) and fired a special missile. The explosion in trunk produced over 2000 entities, with the result being less than 4fps, while the same explosion in 1.75.3 produced about 590 entities. This was tested by El Viejo and he got the same results (it crashed his game). Here is the log file
Are you sure you have the correct logfile? I just launched that missile for fun. It halted my computer for several minutes and than things were back to normal. 2047 entities is the maximum. When reaching that maximum, oolite dumped an entity list to the log. It did it quite often, so that I ended up with a log of 1.06 GB. Thats a bit more than your log :D

Anyhow, the missile initiates a cascade of spawning stuff. In the old oolite the shipDied only triggered for that fraction of debris that killed itself by colliding into each other. That was the only moment that shipDied worked in current oolite.
In trunk, the shipDied handler fires for all the debris that is exploded.
Last edited by Eric Walch on Thu Oct 13, 2011 7:15 am, edited 1 time in total.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Trunk 1.75.4.4615

Post by Smivs »

<Smivs puts his hands up>
The missile in question is mine.
As you say it works fine in v1.75.3, but not in trunk or (presumably) 1.76 when that's released.
I believe you posted a solution here.
I will certainly be updating my WIP to take this into account. Thanks.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Post Reply