Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Search found 4666 matches

by phkb
Fri Jul 11, 2014 12:08 am
Forum: Expansion Pack
Topic: Comms log MFD
Replies: 49
Views: 33199

Re: Comms log MFD

If the log keeps growing, it might be useful to offer the option of clearing the log manually. Ideally this would be available in-flight as well as docked. Any suggestions on the best way of achieving this?
by phkb
Thu Jul 10, 2014 10:07 pm
Forum: Expansion Pack
Topic: Comms log MFD
Replies: 49
Views: 33199

Re: Comms log MFD

If the log keeps growing, would it be useful to include some form of separator? For instance, each time the player docks and launches, include Docked with Lave station. Launch clearance received from Lave station. That way, when you're scroll back through pages of messages, it's clearer where you we...
by phkb
Thu Jul 10, 2014 8:56 am
Forum: Expansion Pack
Topic: Comms log MFD
Replies: 49
Views: 33199

Re: Comms log MFD

OK, here's a Box.com download for the Comms Log MFD.oxz! https://app.box.com/s/rhhtuldcnuubz05ep40h I'd appreciate any feedback and comments, bug reports, anything really. And please let me know if I've done things the wrong way internally! Edit: I did alter the final version of the OXZ. I decided t...
by phkb
Thu Jul 10, 2014 7:27 am
Forum: Discussion
Topic: Comms log in a MFD
Replies: 12
Views: 6335

Re: Comms log in a MFD

Thanks. Worked perfectly!
by phkb
Thu Jul 10, 2014 5:51 am
Forum: Expansion Pack
Topic: Comms log MFD
Replies: 49
Views: 33199

Re: Comms log MFD

So I now have a working OXZ ready for testing. What's the approved method for distributing these sort of things?
by phkb
Thu Jul 10, 2014 4:34 am
Forum: Expansion Pack
Topic: Comms log MFD
Replies: 49
Views: 33199

Re: Comms log MFD

The MFD will work without the scroller. It would always display "Current" at the top, and new messages would keep getting appended to the bottom of the list. You'd only need the scroller to, you know, scroll.

And "COMMS LOG" now fixed.
by phkb
Thu Jul 10, 2014 4:30 am
Forum: Discussion
Topic: Comms log in a MFD
Replies: 12
Views: 6335

Re: Comms log in a MFD

A question about the "setMultiFunctionText" function. In the docs it states "The limit on space for a multi-function display is ten lines of text, each 15 blocks wide." What is a "block", and how is it measured?
by phkb
Thu Jul 10, 2014 3:59 am
Forum: Expansion Pack
Topic: Comms log MFD
Replies: 49
Views: 33199

Comms log MFD

Link to download: https://app.box.com/s/rhhtuldcnuubz05ep40h Link to wiki: http://wiki.alioth.net/index.php/CommsLogMFD Also available via the Expansions pack list in the game itself. Version 1.4 now available. - Comms messages are now viewable in the dockside F4 Communications log, even if the scro...
by phkb
Wed Jul 09, 2014 11:15 pm
Forum: Discussion
Topic: Comms log in a MFD
Replies: 12
Views: 6335

Re: Comms log in a MFD

If a moderator would be so kind as to move this thread to the "Expansion pack" section, I'd be most obliged!
by phkb
Wed Jul 09, 2014 11:12 pm
Forum: Expansion Pack
Topic: Problem with "shipWillLaunchFromStation" event.
Replies: 8
Views: 4949

Re: Problem with "shipWillLaunchFromStation" event.

Thanks! Brick now firmly planted in forehead on shift key.
by phkb
Wed Jul 09, 2014 10:58 pm
Forum: Expansion Pack
Topic: Problem with "shipWillLaunchFromStation" event.
Replies: 8
Views: 4949

Re: Problem with "shipWillLaunchFromStation" event.

Found something. It appears to be some sort of caching issue. I renamed the folder my OXP is in, and suddenly everything started working!

So, next question (and I know I've seen the answer to this somewhere), how do you force Oolite to clear this cache (or whatever it is)?
by phkb
Wed Jul 09, 2014 10:45 pm
Forum: Expansion Pack
Topic: Problem with "shipWillLaunchFromStation" event.
Replies: 8
Views: 4949

Re: Problem with "shipWillLaunchFromStation" event.

OK, now I'm confused. I didn't get any log record when I put an log call in the function. I thought, "Ah, so it's not getting called at all.". Then I thought, just as a test, I'll put a log message into the function I know *is* getting called. And still no message in the log! It was going ...
by phkb
Wed Jul 09, 2014 10:03 pm
Forum: Expansion Pack
Topic: Problem with "shipWillLaunchFromStation" event.
Replies: 8
Views: 4949

Re: Problem with "shipWillLaunchFromStation" event.

It's just a string, not an array. I'll try putting the log entry in.
by phkb
Wed Jul 09, 2014 11:40 am
Forum: Expansion Pack
Topic: Problem with "shipWillLaunchFromStation" event.
Replies: 8
Views: 4949

Problem with "shipWillLaunchFromStation" event.

I'm having trouble reseting some variables when the player launches from a station. This is what I have: this.shipWillLaunchFromStation = function() { this.$commsList = ""; this.$page = 1; this.$updateMFD(); } I'm trying to reset $commsList to be an empty string, reseting the $page to 1, a...
by phkb
Wed Jul 09, 2014 5:34 am
Forum: Discussion
Topic: Comms log in a MFD
Replies: 12
Views: 6335

Re: Comms log in a MFD

I did hear there might be cookies...