Strange message in the log file

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
javirodriguez
Competent
Competent
Posts: 63
Joined: Mon Nov 14, 2016 10:16 am
Location: Canary Islands (spain)

Strange message in the log file

Post by javirodriguez »

Hi! From time to time a warning appears in the log file:
22:10:05.635 [shipData.load.begin]: Loading ship data.
22:10:06.874 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_red_channel is too high, using 7200.0.
22:10:06.874 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_red_channel is too high, using 7200.0.
22:10:06.874 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_red_channel is too high, using 7200.0.
22:10:06.874 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_red_channel is too high, using 7200.0.
22:10:06.875 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_blue_channel is too high, using 7200.0.
22:10:06.875 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_blue_channel is too high, using 7200.0.
22:10:06.875 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_blue_channel is too high, using 7200.0.
22:10:06.875 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_blue_channel is too high, using 7200.0.
22:10:06.876 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_prototype_boa_normalmapped-player is too high, using 7200.0.
22:10:06.876 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_prototype_boa_normalmapped-player is too high, using 7200.0.
22:10:06.876 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_prototype_boa_normalmapped-player is too high, using 7200.0.
22:10:06.876 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_prototype_boa_normalmapped-player is too high, using 7200.0.
22:10:06.876 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_alpha_channel is too high, using 7200.0.
22:10:06.877 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_alpha_channel is too high, using 7200.0.
22:10:06.877 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_alpha_channel is too high, using 7200.0.
22:10:06.877 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_alpha_channel is too high, using 7200.0.
22:10:06.878 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_Template is too high, using 7200.0.
22:10:06.878 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_Template is too high, using 7200.0.
22:10:06.878 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_Template is too high, using 7200.0.
22:10:06.878 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_Template is too high, using 7200.0.
22:10:06.880 [shipData.load.warning.turret.badWeaponRange]: ----- WARNING: ball turret weapon range of 7500 for subenitity of ship griff_NPC_prototype_boa_decals_from_green_channel is too high, using 7200.0.

It’s been a long time that I uninstalled “prototype boa NPC”.
Does anyone know where this comes from?
Thanks!!!!!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6667
Joined: Wed Feb 28, 2007 7:54 am

Re: Strange message in the log file

Post by another_commander »

The turret ranges used to be a hardcoded value of 7500m in the past. About a year ago, I changed it to be more dynamic and dependent on general weapon range so that if that would change, the actual turret range would adjust itself automatically. That range with the default values resulted in a current value of 7200m. So, any OXP that was done prior to that change and used a value of 7500m for turret ranges would throw this wartning, which is completley harmless and is really just a notification that turret range will be set to something slightly less than what is specified in the OXP.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Strange message in the log file

Post by Smivs »

javirodriguez wrote: Sat Mar 25, 2017 12:12 pm
It’s been a long time that I uninstalled “prototype boa NPC”.
Does anyone know where this comes from?
Thanks!!!!!
If you have un-installed the OXP you should not be seeing log messages about it. Have you a second version installed somewhere? For example if you un-installed the OXZ from the managed addons, have you also got a version in your regular AddOns folder?
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
javirodriguez
Competent
Competent
Posts: 63
Joined: Mon Nov 14, 2016 10:16 am
Location: Canary Islands (spain)

Re: Strange message in the log file

Post by javirodriguez »

Thanks you for your answers, Another_commander and smivs.
There seems not to be a second version installed.
"Escort contracts OXP” makes a reference to griff prototype boa:

"griff_boa_prototype_ec_mother" =
{
like_ship = "griff_NPC_prototype_boa_decals_from_alpha_channel";
escorts = 0;
escort_roles = ();
roles = "ec_mother(1)";
script = "ec_mother.js";
has_ecm = 1;
has_escape_pod = 0;
has_fuel_injection = 1;
beacon = "M";
beacon_label = "Escort Mother";
scan_class = "CLASS_ROCK";
cargo_carried = "PLENTIFUL_GOODS";
pilot = "oolite-trader";
scanner_display_color1 = "yellowColor";
scanner_display_color2 = "magentaColor";
forward_weapon_type = "WEAPON_BEAM_LASER";
aft_weapon_type = "WEAPON_BEAM_LASER";
is_external_dependency = yes;
};


But it can not be used because the ship is not installed. I´ve never come across a prototype boa.
Thanks!!!!!!
Post Reply