As you suspected, they are the culprits.
New version of my Fer-de-Lance 3G
Moderators: winston, another_commander
- Wildeblood
- ---- E L I T E ----
- Posts: 2866
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Nova Hollandia
- Contact:
-
- ---- E L I T E ----
- Posts: 1275
- Joined: Sat Sep 12, 2009 11:58 pm
- Location: Essex (mainly industrial and occasionally anarchic)
Re: New version of my Fer-de-Lance 3G
Hi all
There was some work for me to do here - specifically, two things.
1) The awardEquipment stuff. My `this.allowAwardEquipment` was intended to make it likely that some systems consistently have, or lack, the missiles. But I got the logic wrong: my code made it likely that some systems consistently have, but not consistently likely that they lack, the missiles. (Er: I think.) I've changed the code to the following.
2) Seemingly my OXP's use of 'consoleDebugMessages' caused minor problems. I do not know exactly why. So I've just removed all those uses. Cursory testing, including inspection of the log, suggests that all is well.
I've asked the maintainers to rebuild the OXP repository thingy. When that has happened the new version of the OXP - version 6.652 - will be available for download-via-the-in-game-manager.
Thank you, Lonewolf and Wildeblood.
There was some work for me to do here - specifically, two things.
1) The awardEquipment stuff. My `this.allowAwardEquipment` was intended to make it likely that some systems consistently have, or lack, the missiles. But I got the logic wrong: my code made it likely that some systems consistently have, but not consistently likely that they lack, the missiles. (Er: I think.) I've changed the code to the following.
Code: Select all
if (Math.random() < 0.9) {
if (system.scrambledPseudoRandomNumber(6921) < chance) {
return true;
} else if (Math.random() < chance) {
return true;
}
}
return false;
I've asked the maintainers to rebuild the OXP repository thingy. When that has happened the new version of the OXP - version 6.652 - will be available for download-via-the-in-game-manager.
Thank you, Lonewolf and Wildeblood.