Bug Reports: SEDCSv3.1.x, MP4-v4.360, SEDB31

For bug reports and fixes, installation issues, and new ideas for technical features.

Moderator: SEOW Developers

IV/JG7_4Shades
Posts: 2211
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Bug Reports: SEDCSv3.1.x, MP4-v4.360, SEDB31

Post by IV/JG7_4Shades »

Hi Guys,

Please post your bug reports here. Please try to identify the kind of error and support with screenshots etc.

Cheers,
4Shades
Last edited by IV/JG7_4Shades on Fri 24 Jan 2014 8:33 pm, edited 1 time in total.
IV/JG7_4Shades
SEOW Developer

Image
JAGD_RC
Posts: 27
Joined: Sun 14 Jan 2007 10:38 pm

Post by JAGD_RC »

Ah the much awaited release!!! :D

I installed this release as fresh new installation using MSaccess DB on an IIS server.

I couldn't use the Admin tool to setup which DB to use because I think it is missing the MP-Connection-URL.php, so I copied the old one in it's place. That didn't work for me (maybe it is no longer used anyway). I get a write error when clicking the save settings button on the admin DB configuration page. No big deal I just manually entered the DB info in the MP-Connection.php file and life is good

But then while playing with it I discovered that the reinforcement function for the admin isn't working for me either. You log in as admin go to manage ->then add reinforcement forces as usual. But, it does not create the table above the drop down boxes showing the units you've just added, nor does it add them to the DB.

I tried unchecking the historic dates box, that didn't help. I turned on debugging in MP-Config and it shows that "0 forces are being held in supply points" after I add forces and it returns to the page after the post.

Not too sure what's going on there, but thought I'd mention it. Maybe it's on my end. I made a mess of my old version. So I zipped it all up and installed this new release fresh and clean, no edits anywhere so it should be okay.

Thanks! Looking forward to cutting those allied supply lines :twisted:
IV/JG7_4Shades
Posts: 2211
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Hi RC,

First, thanks for your contributions to the new release!

Now, when using the IIS + MSAccess platform, you do need to worry about filesystem permissions. Make sure your MP4/Scripts folder is writeable by your web server, and also make sure the file MP-Connections.php is also writeable.

Let us know how you get on.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
IV/JG7_4Shades
Posts: 2211
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Bug reported by IV/JG7_Warg:

Missing Sector_Climate data for Ostfriesland, in all versions of SEDB31.

Fix: Open your DB Sector_Climate data table and add a new record for Ostfriesland. I suggest copying the Berlin record.


Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
Hitcher
Posts: 117
Joined: Wed 10 Jan 2007 9:30 pm
Location: The Red States

Post by Hitcher »

Imperial Japanese Navy squadron missing from Airforce_Units table:

Japan IJN_H_703z03 PTR Axis ja
Hitcher
JAGD_RC
Posts: 27
Joined: Sun 14 Jan 2007 10:38 pm

Post by JAGD_RC »

LOL....Ooopsie

Yup that was it. Works like a charm now thanks a bunch.

After I zipped up the old install and created a new MP4 folder I forgot to make it writable.

Works great thanks!
IV/JG7_4Shades
Posts: 2211
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

A Soviet ground attack air regiment missing from the Airforce_Units table:

Russia 525ShAP PFB Allied ru Lvov


Report by IV/JG7_Warg.


Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
Goanna
Posts: 49
Joined: Wed 10 Jan 2007 1:49 am
Location: Ingham

Post by Goanna »

S` Shades,
Dunno whether this a bug or a problem at my end, when I schedule a demolition team instead of a tick in the box I get a placeholder instead - the functionality works just no tick in the box. After commiting changes, when I return the ticks are in the box, however clicking on them returns the placeholder.

EDIT: all works ok for taskforce management ie ticks in boxes, no placeholders.

Image

Cheers

Goanna
Goanna
Posts: 49
Joined: Wed 10 Jan 2007 1:49 am
Location: Ingham

Post by Goanna »

found the little sucker :-) Lines 6127 to 6140 in the Mp-Head.js file reads;

Code: Select all

function toggleDemoTargets(index) {
if (PlayerAuthority == 'READONLY') {return;}
var index;
var DTstatus;
var currentobj = document.getElementById('DemoTarget'+Math.abs(index));
var currentimg = currentobj.src.substr(currentobj.src.lastIndexOf('/')+1);
DTstatus = ( currentimg.toUpperCase().indexOf('CHECK0') > -1 ) ? 'on' : 'off';
if ( DTstatus == 'on' ) {
	currentobj.src = IconLocation+SectorPrefix(PlayerNation)+'-CHECK1.gif';
	enableDTCommitB();
}
else {
	currentobj.src = IconLocation+SectorPrefix(PlayerNation)+'-CHECK0.gif';
	enableDTCommitB();
Changed the CHECK to Check on Lines 6135 and 6139 and all works well.

Cheers

Goanna
IV/JG7_4Shades
Posts: 2211
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Thanks Goanna! I develop on Windows which has case-insensitive filenames. But you must have installed on Linux/Unix where things are not so forgiving.

Much appreciated!

4Shades
IV/JG7_4Shades
SEOW Developer

Image
Goanna
Posts: 49
Joined: Wed 10 Jan 2007 1:49 am
Location: Ingham

Post by Goanna »

IV/JG7_4Shades wrote:Thanks Goanna! I develop on Windows which has case-insensitive filenames. But you must have installed on Linux/Unix where things are not so forgiving.

Much appreciated!

4Shades
No worries 4Shades, yes my installation is on Linux and as you said a little less forgiving :-) By the way should have Manchuria finished off by the end of this weekend.

Cheers

Goanna
IV/JG7_4Shades
Posts: 2211
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

New bug report from II/JG77Hawk_5: error in subGenerateAllInfrastructureTargets() for Berlin sector.

In fact, after some investigation, I found that there is an error in the subGenerateAllInfrastructureTargets() code that processes railway station targets. Not all sectors have railway stations, so Hawk_5 happened to find the error in Berlin which does have railway stations. As a work around, simply deselect the "Combat Environments: All Infrastructure Targets" check box if you have railway stations in your sector of operations.

The bug has been fixed and a patch update to DCS3.1.0 will be issued shortly.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
IV/JG7_4Shades
Posts: 2211
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Some bug reports from Jg2001_Quax:

MP4/Italy/Italy_District_F.php: incorrect map image and coordinate transformations. The correct file contents are:

Code: Select all

<?php
  session_start();

// asp2php (vbscript) converted

//If the session variable is False or does not exist then redirect the user to the unauthorised user page
if ($_SESSION["CommanderGood_session"] != true) {
		header("Location: ../Scripts/default.php");
}

//Set page specific variables
// Sector F Italy.
$CampaignMap="Italy";
$pageTitle="Scorched Earth Mission HQ"; //Title bar text
$pageName="Italy - District F"; //Title in top left corner of page
$GeographicMapImage="Italy_District_F.jpg"; //Bitmap of geographic area
$maxpX=1024; //Size of map image in pixels in x direction
$mincX=70000; //Min longitude of image in FB coords
$maxcX=130000; //Max longitude of image in FB coords
$maxpY=729; //Size of map image in pixels in y direction
$mincY=73700; //Max latitude of image in FB coords
$maxcY=116300; //Min latitude of image in FB coords
$mapOffsetX=0.0; //FB longitude offset of map origin
$mapdivoffsetX=250; //Pixel offset of left edge of map image DIV 
$mapOffsetY=0.0; //FB latitude offset of map origin
$mapdivoffsetY=0; //Pixel offset of top edge of map image DIV 
$ShowRoads=false; //Turns on display of pre-defined road routes
$ShowRoadWP=false; //Turns on display of pre-defined road route waypoints
$ShowRailways=false; //Turns on display of pre-defined rail routes
$ShowRailwayWP=false; //Turns on display of pre-defined rail route waypoints

include '../Scripts/MP-BuildPage.php';

?>

MP4/Italy/Italy_District_G.php: incorrect map image and coordinate transformations. The correct file contents are:

Code: Select all

<?php
  session_start();

// asp2php (vbscript) converted

//If the session variable is False or does not exist then redirect the user to the unauthorised user page
if ($_SESSION["CommanderGood_session"] != true) {
		header("Location: ../Scripts/default.php");
}

//Set page specific variables
// Sector G Italy.
$CampaignMap="Italy";
$pageTitle="Scorched Earth Mission HQ"; //Title bar text
$pageName="Italy - District G"; //Title in top left corner of page
$GeographicMapImage="Italy_District_G.jpg"; //Bitmap of geographic area
$maxpX=1024; //Size of map image in pixels in x direction
$mincX=800; //Min longitude of image in FB coords
$maxcX=80200; //Max longitude of image in FB coords
$maxpY=727; //Size of map image in pixels in y direction
$mincY=90300; //Max latitude of image in FB coords
$maxcY=146300; //Min latitude of image in FB coords
$mapOffsetX=0.0; //FB longitude offset of map origin
$mapdivoffsetX=250; //Pixel offset of left edge of map image DIV 
$mapOffsetY=0.0; //FB latitude offset of map origin
$mapdivoffsetY=0; //Pixel offset of top edge of map image DIV 
$ShowRoads=false; //Turns on display of pre-defined road routes
$ShowRoadWP=false; //Turns on display of pre-defined road route waypoints
$ShowRailways=false; //Turns on display of pre-defined rail routes
$ShowRailwayWP=false; //Turns on display of pre-defined rail route waypoints

include '../Scripts/MP-BuildPage.php';

?>

Mp4/NorthSea/NorthSea-Intel.php: file name is wrong - should be replaced by "NorthSea-intel.php" for Unix/Linux case-sensitive filesystems.

Thanks Quax, I know some people are looking hard at using Italy for SEOW campaigning.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
IV/JG7_4Shades
Posts: 2211
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

A bug patch has just been released for DCS3.1.0. The new patch is DCS3.1.1 and contains the following fixes:

*) Corrected Front Line Marker calculation for railway stations with "All targets live" option selected (II/JG77Hawk_5)
*) Removed spurious index reference in modComplexGround (II/JG77Hawk_5)
*) Corrected SQL for setting failed Supply Drop outcomes in modMissionAnalyzer
*) Extended calendar data range to span from 17 Dec 1903 until 31 Dec 1960 to allow for WWI and post-WWII scenarios (13_Taipan)
*) Corrected supply use for small journeys - now the minimum supply usage per turn is equal to the idle supply use (II/JG77Hawk_5)


This bug patch supersedes DCS3.1.0 - the old version should be removed and the new version installed immediately. There should be no ill-effects of making the change.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
Hitcher
Posts: 117
Joined: Wed 10 Jan 2007 9:30 pm
Location: The Red States

Post by Hitcher »

Thank you, Shades!

I assume the other small items pointed out in this thread were also addressed?
Hitcher
Locked