What happened is that you accidentally turned on the collisions check debug flag, which is activated by pausing and pressing "b". The trunk is still stable (phew).21:52:16.347 [collisionRegion.debug]: DEBUG Testing collision between <ShipEntity 0xdbddea0>{"Asteroid" position: (7715.58, 51459.2, 294834) scanClass: CLASS_ROCK status: STATUS_IN_FLIGHT} (NO) and <ShipEntity 0xdbdec30>{"Asteroid" position: (8081.83, 52011.4, 295344) scanClass: CLASS_ROCK status: STATUS_IN_FLIGHT} (NO)
Trunk nightly
Moderators: winston, another_commander, Getafix
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: Trunk nightly
Got a bit of a scare with this, but it seems it's all good. Cody, your log is full of this stuff:
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Trunk nightly
<scratches head - chortles> Pause+b? No idea how I could've done that, but there you go - thanks!
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!
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Trunk nightly
Cool! I'd missed those updates as edits don't show as a new post.
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!
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Trunk nightly
The auto-updater seems to be working.
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!
- Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
- Contact:
Re: Trunk nightly
Well, the server is temporarily up, since there were some code updates.
It is still unstable, though.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
Re: Trunk nightly
For me, the direction cue indicator in the HUD is broken in head of master.
Probably since 24bf8a05.
Changing this:
to this:
(for all components in both arrays)
fixes it.
It also gets rid of compiler warnings for "Multiple Methods for xxxComponent".
Here is a diff that does just that.
This one is a bit nicer.
(OSX 10.10.5, xcode 7.1)
Probably since 24bf8a05.
Changing this:
[[_reticleColors objectAtIndex:cueColorIndex] greenComponent]
to this:
[(OOColor*)[_reticleColors objectAtIndex:cueColorIndex] greenComponent]
(for all components in both arrays)
fixes it.
It also gets rid of compiler warnings for "Multiple Methods for xxxComponent".
Here is a diff that does just that.
This one is a bit nicer.
(OSX 10.10.5, xcode 7.1)
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: Trunk nightly
No problem merging your fix (the second one is the good one to go with), but what exactly was broken with the direction cue before?
Re: Trunk nightly
It did not show up at all.another_commander wrote: ↑Fri Oct 06, 2017 10:10 pmwhat exactly was broken with the direction cue before?
I noticed it missing, checked equipment and OXPs, then realised I ran trunk. Tried 1.84 and it was there.
So I looked at where it should be drawn, saw a bunch of warnings and a recent change. Tried this and it worked.
I don't know why. Stepping through in the debugger, it goes into OOColor, not NSColor, but afterwards, both arrays show {0,0,0,0}. Even when running debug build, which I guess doesn't optimize it away.
I could look into it a bit more later.
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: Trunk nightly
I think your fix is OK and will commit it shortly. As far as I can tell it is the same code behaviour, which is why I asked what was wrong. It is actually quite a bit cleaner than what we had there. Also, please check your PMs in a couple of minutes.
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: Trunk nightly
The retricle direction cue indicator should now be back on the Macs. I committed also a few more warning fixes of the same type as those corrected by hoqllnq, so now the reticle should be OK also for targeting wormholes.
Re: Trunk nightly
Here is another one.
It implements MyOpenGLView::stringToClipboard() for Mac,
so you can get the OXP info URLs from the manager.
By the way, is this the appropriate place to post these, seeing as it is not a bug report, or is there a 'patch submission'-thread?
It implements MyOpenGLView::stringToClipboard() for Mac,
so you can get the OXP info URLs from the manager.
By the way, is this the appropriate place to post these, seeing as it is not a bug report, or is there a 'patch submission'-thread?
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: Trunk nightly
Thanks for that. Should there be a check that the string passed to to the method is not nil or it works OK all the same? Unfortunately I cannot test it myself. If it is OK, I will commit this once we have a confirmation.hoqllnq wrote: ↑Sat Oct 07, 2017 5:21 pmHere is another one.
It implements MyOpenGLView::stringToClipboard() for Mac,
so you can get the OXP info URLs from the manager.
The best way to send in patches is to submit them as pull requests on github. You can find information on how to do this here.By the way, is this the appropriate place to post these, seeing as it is not a bug report, or is there a 'patch submission'-thread?
Re: Trunk nightly
I had not tested that. I have now. It works properly and makes/leaves the clipboard empty.another_commander wrote: ↑Sat Oct 07, 2017 5:47 pmShould there be a check that the string passed to to the method is not nil or it works OK all the same?
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: Trunk nightly
Fantastic, patch committed. Thanks.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Trunk nightly
Terrastorage is down - is the latest Windows nightly missing from GitHub? Or am I missing something?
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!