Email System (Release)
Moderators: winston, another_commander
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
OK, here's a zip of the OXP version: https://app.box.com/s/jb3rzelnmao1xroh9rb2jhjr8esnhk06. Rather than just increment the size of the column, I've included adaptive code that should scale up if the font size is larger than expected. If this works for you, I'll update the OXZ as well.
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Email System (Release)
Thank you. Will test later on this day.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Email System (Release)
Installed the new oxp version.phkb wrote:pagroove, can I get you to test something for me? Rather than keep publishing micro-updates, can you extract the OXZ to an OXP, and open the "scripts\emailsystem_base.js" file, go to line 664 and change it from this:to thisCode: Select all
ret += this.$padTextRight("!", 0.4);
Save the file, restart holding shift down (I know you probably know that, but in case someone else is reading), and see if that fixes the issue. If not, increase "0.6" to "0.8" and try again.Code: Select all
ret += this.$padTextRight("!", 0.6);
Went into the file however the above line is not on line 664. I use Textwrangler for Mac btw. Also did a search on it and it could not find that line.
Then went on and deinstalled Font Dangerous and also Xenon UI recourse to return to the original menu's.
Did start Oolite with SHIFT pressed. Made now difference though. It still won't let me enter the menu. Is this a Mac thing?
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
It does look like it. I've tried every font I have and can't reproduce the issue. 1.82 and 1.83.pagroove wrote:s this a Mac thing?
I think I caused confusion by doing something slightly different in the download version to what I asked you to do. I tried to be clever with how the OXP calculates column widths, but it appears my cleverness had no impact if you still have the issue.
OK, if you're still OK with messing with a text editor here's a change to try.
Change lines 666-670 of emailsystem_base.js from this:
Code: Select all
if (email.Read == false) {
ret += this.$padTextRight("!", this._readColumn);
} else {
ret += this.$padTextRight("", this._readColumn);
}
Code: Select all
if (email.Read == false) {
ret += "!";
} else {
ret += " ";
}
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Email System (Release)
Hello I did replace those lines. Then-SHIFT- started Oolite but still the same. It won't let me enter the menu when pressing enter on the Interface screen.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
pagroove, would you be able to PM me your save game? I'm wondering if something might be in there to help me track this bug down.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
Also, can you try this bug fix:
At line 692 in "emailsystem_base.js", can you change the code from this:to this:
At line 692 in "emailsystem_base.js", can you change the code from this:
Code: Select all
do {
tmp = tmp.substring(0, tmp.length - 2) + ellip;
} while (defaultFont.measureString(tmp) > desiredLength);
Code: Select all
do {
tmp = tmp.substring(0, tmp.length - 2) + ellip;
if (tmp == ellip) break;
} while (defaultFont.measureString(tmp) > desiredLength);
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Email System (Release)
Sorry for the ultra late reply
This was due to OS upgrade here on and me actually trying out Elite Dangerous
But I will try out your 2 latest suggestions of code changes. If they don't work I'il put up a link with a download to my save game.
Beware it will probably be a mess inside the save game file. Playing with this commander since 2006 and the save game was planted over almost every Oolite version in between till now. I also have a mission hanging from G1 Feudal systems that never clears. So there is obviously more wrong. However as it is not game breaking I do not mind. J
This was due to OS upgrade here on and me actually trying out Elite Dangerous
But I will try out your 2 latest suggestions of code changes. If they don't work I'il put up a link with a download to my save game.
Beware it will probably be a mess inside the save game file. Playing with this commander since 2006 and the save game was planted over almost every Oolite version in between till now. I also have a mission hanging from G1 Feudal systems that never clears. So there is obviously more wrong. However as it is not game breaking I do not mind. J
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Email System (Release)
<chortles> Mine dates back to 2009 (first created on Oolite 1.65, I think), and has been used on every version since.pagroove wrote:Playing with this commander since 2006 and the save game was planted over almost every Oolite version in between till now.
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!
And any survivors, their debts I will certainly pay. There's always a way!
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Email System (Release)
Cody wrote:<chortles> Mine dates back to 2009 (first created on Oolite 1.65, I think), and has been used on every version since.pagroove wrote:Playing with this commander since 2006 and the save game was planted over almost every Oolite version in between till now.
Yes next year I will be playing Oolite for 10 years
now that I call gameplay value.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
-
- ---- E L I T E ----
- Posts: 299
- Joined: Mon Apr 27, 2015 9:03 pm
Re: Email System (Release)
As soon as I enter the email menu over the entry in the station menu, HUD elements also visible while docked disappear, and I need to use key_hud_toggle after undocking.
See also https://bb.oolite.space/viewtopic.php?p=250760#p250760
See also https://bb.oolite.space/viewtopic.php?p=250760#p250760
warning sound if a missile is inbound: Missile warning
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
Thanks for that. I'll check it out.
Edit: Actually, the Email System deliberately turns off the HUD if the "allow_big_gui" setting is false for a HUD in order to get more screen real estate. However, it should turn it back on again whenever you leave. In my tests this appears to work as designed. Which HUD are you using?
Edit: Actually, the Email System deliberately turns off the HUD if the "allow_big_gui" setting is false for a HUD in order to get more screen real estate. However, it should turn it back on again whenever you leave. In my tests this appears to work as designed. Which HUD are you using?
-
- ---- E L I T E ----
- Posts: 299
- Joined: Mon Apr 27, 2015 9:03 pm
Re: Email System (Release)
ExtraLarge HUD with 10 MFDs and custom dials
from HUD selector
Is this "deliberately turns off the HUD" a relatively new thing ? (About as new/old as 1.84 ? I may have updated the game and the email system at the same time.)
from HUD selector
Is this "deliberately turns off the HUD" a relatively new thing ? (About as new/old as 1.84 ? I may have updated the game and the email system at the same time.)
warning sound if a missile is inbound: Missile warning
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
No, it's been doing that for a long time.Anonymissimus wrote:Is this "deliberately turns off the HUD" a relatively new thing ?
-
- ---- E L I T E ----
- Posts: 299
- Joined: Mon Apr 27, 2015 9:03 pm
Re: Email System (Release)
Okay, then it cannot be the only reason. I am actually using a customized version of the mentioned HUD and it hasn't been changed since before it started to happen.
I don't recall the exact changes I had made to the HUD, a diff program should be able to show them.
I don't recall the exact changes I had made to the HUD, a diff program should be able to show them.
warning sound if a missile is inbound: Missile warning