shipApproachingPlanetSurface
doesn't seem to be firing when you approach the planet surface (hence Planetfall is currently rather deadly for penguins).- Some items of equipment which should be unique purchases are being listed twice under the F5 screen and also in PS.equipment (PS.removeEquipment takes away both at once, and PS.awardEquipment done once gives the item twice) - the latter seen using EQ_PLANETFALL.
Linux trunk glitches - fixed
Moderators: winston, another_commander, Getafix
Linux trunk glitches - fixed
There seem to be a couple of glitches in trunk for Linux which would merit some investigation:
Last edited by Thargoid on Mon Dec 10, 2012 3:39 pm, edited 1 time in total.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: Linux trunk glitches
Should be fixed in r5568. The cause was the "double" return type of the 'radius' function being overridden to "GLfloat" in PlanetEntity. I would have hoped that sort of error would be caught by compiler warnings, but apparently not yet...Thargoid wrote:[/color]
shipApproachingPlanetSurface
doesn't seem to be firing when you approach the planet surface (hence Planetfall is currently rather deadly for penguins).
Re: Linux trunk glitches
Thanks - I'll test it tomorrow with the nightly (as I don't have room for a full build environment on that side of the partitions) and report back.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: Linux trunk glitches
I can't duplicate the other one on Linux
F5 shows the same.
Code: Select all
> PS.equipment
[[EquipmentInfo EQ_DOCK_COMP "Docking Computers"], [EquipmentInfo EQ_HEAT_SHIELD "External Heat Shielding"], [EquipmentInfo EQ_PLANETFALL "Planetary Landing Capability"]]
Re: Linux trunk glitches
OK still no idea how to copy/paste out of the debug console under Lubuntu, but a screengrab showing both it and the main window should be below. I've highlighted the console duplication - I guess you can see the one on the main screen for yourself
This is with trunk 5564 and my normal slew of OXPs.
PS I really really really hate the new Photobucket image editor
This is with trunk 5564 and my normal slew of OXPs.
PS I really really really hate the new Photobucket image editor
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: Linux trunk glitches
Long shot just to rule it out: you don't have two different versions of Planetfall in your OXP folder, do you?
(Copying on Linux is generally: drag-select with your mouse, middle-click to paste)
(Copying on Linux is generally: drag-select with your mouse, middle-click to paste)
Re: Linux trunk glitches
I'll check tomorrow as I'm under Windows now. It could be possible that the beta and the 1.76 versions are both being seen by trunk. But even so both versions should define the equipment as EQ_PLANETFALL, so I'd expect one to just overwrite the other anyway?
And middle-click is somewhat difficult when using a netbook trackpad with only two buttons But thanks for the tip anyway.
And middle-click is somewhat difficult when using a netbook trackpad with only two buttons But thanks for the tip anyway.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: Linux trunk glitches
Well, indeed. But that should happen no matter what is causing two of them to show up.Thargoid wrote:I'll check tomorrow as I'm under Windows now. It could be possible that the beta and the 1.76 versions are both being seen by trunk. But even so both versions should define the equipment as EQ_PLANETFALL, so I'd expect one to just overwrite the other anyway?
"Both at once" might emulate middle-click (it does on my mouse, and that has a middle button)Thargoid wrote:And middle-click is somewhat difficult when using a netbook trackpad with only two buttons But thanks for the tip anyway.
Re: Linux trunk glitches
Indeed, two versions (or to be specific two installations of the same version) were visible and causing it. Removing the rogue one got rid of the equipment echo.
And the approachingPlanet event is triggering fine too with the latest nightly, so job done all round
And the approachingPlanet event is triggering fine too with the latest nightly, so job done all round
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: Linux trunk glitches - fixed
Well, almost. equipment.plist is supposed to only allow one instance of any "EQ_..." object. The format (unique key as the fourth parameter in an array element, rather than as a dictionary index) means it has to have a custom merging routine - perhaps it's broken. I'll check.Thargoid wrote:so job done all round
EDIT: fixed in r5570