Search found 2403 matches

by phkb
Fri Jul 11, 2014 3:49 am
Forum: Expansion Pack
Topic: Comms log MFD
Replies: 49
Views: 19153

Re: Comms log MFD

You could perhaps go for a round-robin approach instead.. once the array is full, each new entry causes the oldest entry to be dropped. It's basically like a circular buffer that never gets larger over time. That's essentially what I'm doing with the log size limit. It drops messages off as new one...
by phkb
Fri Jul 11, 2014 3:46 am
Forum: Expansion Pack
Topic: Comms log MFD
Replies: 49
Views: 19153

Re: Comms log MFD

Version 1.1 has now been released. Link added to first post. New in this version: - Scrolling by message, rather than by line (can be changed to line by line if you change a setting) - Better handling of local variables - Fixed the name of the MFD used to be consistent with the OXP name - Log is kep...
by phkb
Fri Jul 11, 2014 12:08 am
Forum: Expansion Pack
Topic: Comms log MFD
Replies: 49
Views: 19153

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: 19153

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: 19153

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: 3953

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: 19153

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: 19153

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: 3953

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: 19153

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: 3953

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: 2282

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: 2282

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: 2282

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 so well, t...
by phkb
Wed Jul 09, 2014 10:03 pm
Forum: Expansion Pack
Topic: Problem with "shipWillLaunchFromStation" event.
Replies: 8
Views: 2282

Re: Problem with "shipWillLaunchFromStation" event.

It's just a string, not an array. I'll try putting the log entry in.