Trunk 1.75.4.4621

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

Moderators: winston, another_commander, Getafix

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Trunk 1.75.4.4621

Post by another_commander »

Eric Walch wrote:
I just made the commit. I did not fully removed the dumping of the entity list but added a switch in logcontrol.plist. Default will be universe.maxEntitiesDump = no; but if needed, the logging can be switched on easy by editing the plist.
Wouldn't it be much cleaner if this was done on logcontrol.plist? It may not be a great idea throwing things in the defaults file when there is a method for handling them specifically.

Edit: Brainmelt alert. Nothing to see here, let's pretend it didn't happen.
:oops:
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Trunk 1.75.4.4621

Post by Cody »

another_commander wrote:
Brainmelt alert
<chuckles> Welcome to the club, sir!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
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.4621

Post by Eric Walch »

El Viejo wrote:
another_commander wrote:
Brainmelt alert
<chuckles> Welcome to the club, sir!
Yes and my brain was also melting in trying to understand the original remark. :wink:
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: Trunk 1.75.4.4621

Post by Kaks »

Ok, in r4623 I filled the volume around me with 2000 cargo pods:

Image

BTW, the fps indicator was lying: when I unpaused the game, it went down to 6 fps! :)

Anyway, at 16:36:46.407 I triggered the energy bomb, and all went well: the new code made sure no extra stuff got created, and I got back to 60 fps in about a second! :)

Here's the log:

Code: Select all

    oolite-trumbles 1.75.4
16:34:38.463 [universe.addEntity.failed]: ***** Universe cannot addEntity:<ShipEntity 0x12972758>{"Cargo container" position: (64805.4, 56794.7, 528168) scanClass: CLASS_CARGO status: STATUS_IN_FLIGHT} -- Universe is full (2047 entities out of 2048)
16:34:53.930 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:07.775 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824a710>{position: (-3477.68, -3896.11, 267725) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:35:07.775 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824ba48>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:12.664 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824ba48>{position: (-3464.37, -3924.67, 267661) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:35:12.664 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:21.263 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824a710>{position: (-3474.43, -3960.13, 267532) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:35:21.263 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824ba48>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:25.467 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824ba48>{position: (-3510.58, -3973.6, 267489) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:35:25.467 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:27.010 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824ba48>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:29.510 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824a710>{position: (-3554.15, -3984.62, 267443) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:35:29.510 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824ba48>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:31.059 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:33.744 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:37.946 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:42.340 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:43.502 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:46.433 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:47.992 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:51.085 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:53.219 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:54.372 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OORingEffectEntity 0xcdd7140>{0.000000 seconds passed of 2.000000} -- Universe is full (2047 entities out of 2048)
16:35:54.372 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OORingEffectEntity 0xcdd7008>{0.000000 seconds passed of 2.000000} -- Universe is full (2047 entities out of 2048)
16:35:59.009 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:35:59.769 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:03.496 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824b7b8>{position: (-3893.22, -3976.87, 267246) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:03.496 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:04.075 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824ba48>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:07.784 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b7b8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:08.176 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824a710>{position: (9311.11, 2096.45, 374082) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:08.176 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b7b8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:08.177 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b008>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:11.866 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824a710>{position: (-3960.97, -3976.28, 267198) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:11.866 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b008>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:12.455 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:13.158 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824ba48>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:19.059 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824b008>{position: (9306.39, 2031.07, 374147) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:19.059 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824ba48>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:19.060 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b7b8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:19.061 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824aae8>{position: (-4005.85, -3973.61, 267169) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:19.061 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b150>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:22.981 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824aae8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:23.176 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOECMBlastEntity 0xd3de1c0>{position: (9225.57, 4239.48, 372291) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:23.771 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:23.965 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OORingEffectEntity 0xcdd7008>{0.000000 seconds passed of 2.000000} -- Universe is full (2047 entities out of 2048)
16:36:23.965 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OORingEffectEntity 0xcdd7140>{0.000000 seconds passed of 2.000000} -- Universe is full (2047 entities out of 2048)
16:36:25.159 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824b150>{position: (9320.45, 1359.25, 374761) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:25.159 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824aae8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:25.359 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b150>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:25.950 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:26.139 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824a710>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:26.140 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b150>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:26.543 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824aae8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:26.741 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824aae8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:27.127 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b7b8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:31.117 [universe.addEntity.failed]: ***** Universe cannot addEntity:<ShipEntity 0x12972050>{"Missile" position: (9313.12, 568.92, 375316) scanClass: CLASS_MISSILE status: STATUS_IN_FLIGHT} -- Universe is full (2047 entities out of 2048)
16:36:31.117 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOECMBlastEntity 0xd3de1c0>{position: (9059.01, 7341.28, 369739) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:39.458 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b150>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:40.476 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b7b8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:40.674 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b7b8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:41.276 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b7b8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:42.498 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b150>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:43.943 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824aae8>{position: (-8814.18, -3661.77, 264070) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:43.943 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b150>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:44.559 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824b150>{position: (-8768.56, -3664.37, 264101) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:44.559 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824aae8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:44.980 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b150>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:46.015 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b150>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:46.216 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOLaserShotEntity 0x824b7b8>{ttl: 0.175s} -- Universe is full (2047 entities out of 2048)
16:36:46.407 [universe.addEntity.failed]: ***** Universe cannot addEntity:<OOFlashEffectEntity 0x824b7b8>{position: (64899.6, 56853.5, 528035) scanClass: CLASS_NO_DRAW status: STATUS_EFFECT} -- Universe is full (2047 entities out of 2048)
16:36:58.756 [gameController.exitApp]: .GNUstepDefaults synchronized.

Closing log at 2011-10-17 16:36:58 +0100.
I got just one 'oopsie universe full' when the first cargo pod exploded, then nothing! Ten seconds later I closed Oolite down... :)

Notice there was a battle going on somewhere in the system, and the lasers could not be drawn! I checked afterward, even when not present in the universe, lasers still do the expected damage! :)

The cute bit happened when one of those ships tried to fire a missile, and the other tried to respond with an ecm blast! :)

It looks like if the last possible entity is a missile fired at you you won't be able to do much about it - mind you, the game would already be fairly unplayable with more than 1500 entities flying about! :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: Trunk 1.75.4.4621

Post by Switeck »

Here's my hacked ship, savegames, and log files:
http://www.mediafire.com/?a5yfypyv5zlcx92
"Cargo Overload" indeed. :lol:
It's a hacked testing ship, almost every stat is ridiculous.

With only that and the basic game loaded, it doesn't pause as long on launch as with all the typical OXPs I have installed...but there's still a noticeable pause of 2-5 seconds. Naturally, memory barely spikes at all with all the OXPs missing, but I did see ~200 MB ram usage once with just that.

With the other stuff installed, the memory slowly goes higher and higher for each system I visit. :(
It may decrease sometimes, but not as much as it gains overall.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: Trunk 1.75.4.4621

Post by Kaks »

Hmm, not terribly surprised at what you're seeing.

Every time you dock & undock Oolite repackages all those tons of cargo inside their cargo pods, to ensure smooth fps in case you need to jettison cargo in the middle of a furball.

Oolite was originally created to deal with a max cargo of 750 tons per ship, and at the moment your ship is carrying about 4500 tons out of a maximum of 32000.

To rephrase it ever so slightly, the way the cargo is handled in Oolite, every time you undock, the engine creates 4500 cargo pods, ready to be jettisoned into the universe at a moment notice. That's where your delay & memory consumption are coming from. The more elaborate the cargo pods models, the longer it takes to create them all, and the more memory they consume.

By the way, Oolite has a hard limit of 2048 active entities, so even in the most vanilla setup you won't be able to jettison more than 2000 pods.

To be honest, I am surprised at one thing: I could have sworn there was a limit to the max cargo capacity you can give to a ship, purely for performance reasons. We all live & learn, I suppose...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
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.4621

Post by Eric Walch »

Kaks wrote:
Every time you dock & undock Oolite repackages all those tons of cargo inside their cargo pods, to ensure smooth fps in case you need to jettison cargo in the middle of a furball.
Also at TAF x16 the ejection is smooth. Load the modified ship with its 4500 pods. press the 'd' key, lock it down with a match (or similar) and you will get a nice piece of space, paved with cargo pods. until after a minute or so:

Code: Select all

[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f923000>{"Cargo Pod" position: (823401, -1.15124e+06, -1.39706e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f924200>{"Cargo container" position: (823591, -1.15157e+06, -1.39746e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f92ae00>{"Cargo container" position: (823781, -1.15191e+06, -1.39786e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f92de00>{"Cargo container" position: (823969, -1.15224e+06, -1.39826e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f930e00>{"Cargo container" position: (824158, -1.15257e+06, -1.39865e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f933e00>{"Cargo container" position: (824347, -1.1529e+06, -1.39905e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f93aa00>{"Cargo container" position: (824538, -1.15324e+06, -1.39945e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f93fc00>{"Cargo Pod" position: (824725, -1.15357e+06, -1.39985e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f940e00>{"Cargo container" position: (826419, -1.15655e+06, -1.40341e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f946000>{"Cargo container" position: (826595, -1.15686e+06, -1.40378e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f94b200>{"Cargo Pod" position: (826769, -1.15716e+06, -1.40415e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
[universe.addEntity.failed] Universe.m:3702: ***** Universe cannot addEntity:<ShipEntity 0x13f94c400>{"Cargo container" position: (826947, -1.15748e+06, -1.40452e+06) scanClass: CLASS_CARGO status: STATUS_IN_HOLD} -- Universe is full (2047 entities out of 2048)
 
The cargo count is still decreased but pods do no longer show up. :P

---
And I just noticed that the oxp included in Switeck's demo includes a strange bug. Somehow it manages to disable my speed keys. Pressing 's' or 'w' has no effect when that oxp is present. It is not related to the ship as it happens also to my normal saved game with a boa mk2. No idea what is causing this. There are no clues in the log. Removing the oxp fixes it, installing brings it back. Both with trunk and vanilla 1.75.3
User avatar
Ironfist
Commander
Commander
Posts: 218
Joined: Tue Jun 28, 2011 2:16 pm
Location: London

Re: Trunk 1.75.4.4621

Post by Ironfist »

i think you will find a keyconfig.plist in the config directory. This reprograms the keys to those that Switeck uses.

Ironfist
64bit Mint 10 and Win 8 64bit on E8400 at 3.6GHz - ATI HD5750 graphics.
Concentration is the ability to think of absolutely nothing when it is absolutely necessary.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Trunk 1.75.4.4621

Post by Cody »

I am liking r4623 very much... first tests ran through the explosion sequence with only a couple of stutters, and my fps only dropped to 12 with 1754 entities.
It's looking good so far... now for more test runs with another explosion or three. Many thanks, guys.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: Trunk 1.75.4.4621

Post by Switeck »

Kaks wrote:
Oolite was originally created to deal with a max cargo of 750 tons per ship, and at the moment your ship is carrying about 4500 tons out of a maximum of 32000.

To rephrase it ever so slightly, the way the cargo is handled in Oolite, every time you undock, the engine creates 4500 cargo pods, ready to be jettisoned into the universe at a moment notice. That's where your delay & memory consumption are coming from. The more elaborate the cargo pods models, the longer it takes to create them all, and the more memory they consume.

By the way, Oolite has a hard limit of 2048 active entities, so even in the most vanilla setup you won't be able to jettison more than 2000 pods.
That seems quite the case...I was mainly worried it was a problem with contracts.

I retested without any contracts and repeatedly bought dang near everything (except contraband) from a bunch of stations till I got ~4000 tons of cargo. This took me about 20-30 minutes even using insane quick movement cheats. (Okti's Long Range Scanner OXP especially!) The pauses on launching still occurred, so it doesn't seem contracts were to blame. Interestingly, the pause was almost imperceptible till I got beyond ~1500 tons cargo. But it got progressively worse -- 4000 tons was probably ~3 times longer on launch than 2000 tons. I guess that's because the universe's 2048 entity limit is somehow to blame. My guess is the first ~2000 probably fills up to the limit and the rest has to be checked 1-by-1 at a much slower rate.

No need to reduce this delay (were that even possible!) since no normal or fair ship can carry so much -- it's just an interesting observation.

As far as max cargo is concerned, the Anaconda's 750 tons capacity is mostly wasted since most stations won't offer nearly that much for sale...unless you're doing cargo contracts. But even then, once cargo contracts start offering gold/platinum/gems doing "regular" cargo is only useful if it's convenient to help maintain your reputation...cargo space needed for gold/plat/gems is pretty minor. So I'd say large cargo capacities for OXP slow-freighter-type ships are not in-and-of themselves terribly imbalancing. The real time and game time needed to fill it would be huge. :P
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:

Re: Trunk 1.75.4.4621

Post by Fatleaf »

El Viejo wrote:
I am liking r4623 very much... first tests ran through the explosion sequence with only a couple of stutters, and my fps only dropped to 12 with 1754 entities.
It's looking good so far... now for more test runs with another explosion or three. Many thanks, guys.
I can confirm my distinguished colleagues results. I have a lower spec Laptop and it stutters but doesn't hang as it did before.

I too really appreciate the work into resolving this so quickly.

Many thanks.
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
Post Reply