Hi all!
I use the new and latest version of SEOW, MP 4.769, SEDCS 3.3.2, SEDB33A, THX for that very good work.
I created a campaign Bay of Biscay to test several functions. i created a new Factory in table Industrial_Installations and added factory object in template. But after in DCS, when i innitialize new campaign, i have this message:
SEDCS::modMissionAnalyzer.subInitializeInstallations: 13 Conversion from string "Empty" to type 'Double' is not valid.
Error : 13
Description : Conversion from string "Empty" to type 'Double' is not valid.
which is the problem doctor? (not me.. )
Error:13
Moderator: SEOW Developers
-
- Posts: 2213
- Joined: Mon 08 Jan 2007 11:10 pm
- Location: Perth, Western Australia
...object 60, but I have just seen that it is useless because of being to add automatically to the construction of mission.
Code: Select all
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- Serveur: localhost
-- Généré le : Lun 20 Juin 2011 à 12:45
-- Version du serveur: 5.5.8
-- Version de PHP: 5.3.3
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Base de données: `SEDB33A_BayofBiscay`
--
-- --------------------------------------------------------
--
-- Structure de la table `Industrial_Installations`
--
CREATE TABLE IF NOT EXISTS `Industrial_Installations` (
`Map` varchar(255) DEFAULT NULL,
`Controlled` varchar(50) DEFAULT NULL,
`City` varchar(150) DEFAULT NULL,
`Sector` varchar(150) DEFAULT NULL,
`Location` varchar(255) DEFAULT NULL,
`Installation_Type` varchar(255) DEFAULT NULL,
`Capacity` varchar(255) DEFAULT NULL,
`Status` varchar(50) DEFAULT NULL,
`Holding` varchar(50) DEFAULT NULL,
`Recon` varchar(50) DEFAULT NULL,
`IA_X` double DEFAULT NULL,
`IA_Y` double DEFAULT NULL,
`IA_Z` double DEFAULT NULL,
`Sm_x` int(11) DEFAULT NULL,
`Sm_y` int(11) DEFAULT NULL,
`Sm_z` int(11) DEFAULT NULL,
`Sm_h` int(11) DEFAULT NULL,
`Destruction_Code` varchar(150) DEFAULT NULL,
`Event_Date` varchar(60) DEFAULT NULL,
`Production_Points` int(11) DEFAULT '0',
`Damage_Level` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `Industrial_Installations`
--
INSERT INTO `Industrial_Installations` (`Map`, `Controlled`, `City`, `Sector`, `Location`, `Installation_Type`, `Capacity`, `Status`, `Holding`, `Recon`, `IA_X`, `IA_Y`, `IA_Z`, `Sm_x`, `Sm_y`, `Sm_z`, `Sm_h`, `Destruction_Code`, `Event_Date`, `Production_Points`, `Damage_Level`) VALUES
('Bay of Biscay', 'n', 'Exeter', 'North', 'Exeter Factory_1', 'Factory Partial', 'Empty', 'Operational', '', '0', 185701.92, 438598.4, 540, 0, 0, 0, 0, NULL, '', 0, 0),
('Bay of Biscay', 'n', 'Exeter', 'North', 'Exeter Factory_2', 'Factory Partial', 'Empty', 'Operational', '', '0', 185632.96, 438497.13, 540, 0, 0, 0, 0, NULL, '', 0, 0);
With this is ok (only Factory and not Factory partial in Installation_Type, and object 60 in template):
Code: Select all
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- Serveur: localhost
-- Généré le : Lun 20 Juin 2011 à 18:35
-- Version du serveur: 5.5.8
-- Version de PHP: 5.3.3
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Base de données: `SEDB33A_BayofBiscay`
--
-- --------------------------------------------------------
--
-- Structure de la table `Industrial_Installations`
--
CREATE TABLE IF NOT EXISTS `Industrial_Installations` (
`Map` varchar(255) DEFAULT NULL,
`Controlled` varchar(50) DEFAULT NULL,
`City` varchar(150) DEFAULT NULL,
`Sector` varchar(150) DEFAULT NULL,
`Location` varchar(255) DEFAULT NULL,
`Installation_Type` varchar(255) DEFAULT NULL,
`Capacity` varchar(255) DEFAULT NULL,
`Status` varchar(50) DEFAULT NULL,
`Holding` varchar(50) DEFAULT NULL,
`Recon` varchar(50) DEFAULT NULL,
`IA_X` double DEFAULT NULL,
`IA_Y` double DEFAULT NULL,
`IA_Z` double DEFAULT NULL,
`Sm_x` int(11) DEFAULT NULL,
`Sm_y` int(11) DEFAULT NULL,
`Sm_z` int(11) DEFAULT NULL,
`Sm_h` int(11) DEFAULT NULL,
`Destruction_Code` varchar(150) DEFAULT NULL,
`Event_Date` varchar(60) DEFAULT NULL,
`Production_Points` int(11) DEFAULT '0',
`Damage_Level` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `Industrial_Installations`
--
INSERT INTO `Industrial_Installations` (`Map`, `Controlled`, `City`, `Sector`, `Location`, `Installation_Type`, `Capacity`, `Status`, `Holding`, `Recon`, `IA_X`, `IA_Y`, `IA_Z`, `Sm_x`, `Sm_y`, `Sm_z`, `Sm_h`, `Destruction_Code`, `Event_Date`, `Production_Points`, `Damage_Level`) VALUES
('Bay of Biscay', 'n', 'Exeter', 'North', 'Exeter Factory_1', 'Factory', 'Empty', 'Operational', '', '0', 185699.33, 438628.52, 540, 0, 0, 0, 0, NULL, '', 0, 0),
('Bay of Biscay', 'n', 'Exeter', 'North', 'Exeter Factory_2', 'Factory', 'Empty', 'Operational', '', '0', 185633.31, 438501.99, 540, 0, 0, 0, 0, NULL, '', 0, 0);