Page 2 of 6

Posted: Thu 19 Jul 2007 2:39 am
by Goanna
S` 4Shades,

Should have the Kyushu stuff all done by Sunday evening, doing a bit of tidy up work now.

Cheers

Goanna

Posted: Sun 22 Jul 2007 11:38 am
by IV/JG7_4Shades
Kyushu mapping support plus data received from Goanna. :) This new sector will appear in the impending release.

Hawk_5 is also producing Berlin mapping support for SEOW, also due to appear in the new release.

Cheers,
4Shades

PS: I am happy with the current development DCS. Just a couple of more minor issues to iron out, then cross-platform DB testing to go. This is a big release, with some very challenging features for the more daring commanders.

Posted: Sun 22 Jul 2007 11:19 pm
by JAGD_RC
I have a functional but not yet complete map of online Italy...For some reason the MP freezes my browser after the admin adds units to a supply points...strange...empty supply points and it loads fine. DCS had no problems with it.

Anyway other than that, it just needs tile codes and I have used airbases that were "close", so it needs the proper airbases data too.

Posted: Mon 23 Jul 2007 6:13 am
by IV/JG7_4Shades
Wow, send it in RC! You have roads+bridges too?

Posted: Tue 24 Jul 2007 9:49 am
by IV/JG7_4Shades
I have just been advised by WTE_Goanna that he is intending to build the Manchuria map for SEOW.

Posted: Thu 26 Jul 2007 4:04 am
by JAGD_RC
I'm hoping to have Italy finished this weekend. Either way I'll send you a package end of the weekend or early next week. Yes roads are done, bridges are nearly finished. I don't know how to do harbours, but there are 3 or 4 of them that might be worth doing on that map. two of them are very large with gun placements and one with what looks like sub pens (in Cagliar, limone, Genova, and Napoli has the pens).

BTW, this 4.08 patch is funny. fly low and slow with your landing gear down and hunt bicycles! Hit 'em in the head with your wheels..hehehe

Posted: Tue 28 Aug 2007 11:12 am
by IV/JG7_4Shades
Just a progress report:

JAGD_RC's Italy support for MP made it into the 3.1.0 release

WTE_Goanna's Kyushu support made it into the 3.1.0 release, and I have just received an extremely comprehensive and polished set of MP pages for Manchuria from Goanna.

Meanwhile, after completing North Sea and Berlin, II/JG77Hawk_5 continues work on Balaton.

I think that the next patch update will contain Manchuria and Balaton, making 34 maps in total.

Cheers,
4Shades

Posted: Tue 28 Aug 2007 5:57 pm
by 102nd-HR-cmirko
nice :) thx to all of the dedicated map makers ! S! to you gentleman!

Posted: Thu 29 Nov 2007 11:39 pm
by II./JG1_Krupinski
How do you get a new sector to show up in the MP main page?

Never mind, I was able to reverse the existing sectors and figured it out. Kinda sheepish as it isn't too difficult.

Posted: Fri 30 Nov 2007 12:34 am
by Goanna
II./JG1_Krupinski wrote:How do you get a new sector to show up in the MP main page?
There are 3 files that need to be edited, MP-Admin.php, MP-Connection.php and default-green.php. I have added a Ukraine sector to my SE setup for a new sector that I am working on. Let's look at each one;

FIRST: backup these 3 files

MP-Admin.php

Towards the top of this file look for these lines, insert your sector in the appropriate place, mine is Ukraine so goes at the end of the list;


// Super-secret HTML content goes here
// First we start by defining the sector maps to gather DB connections for
$map=array("Ardennes","Crimea","Berlin","Cyrenaica","Guadalcanal","GulfofFinland","Hawaii","Imphal","Italy","IwoJima","KhalkhinGol","Kuban","Kurland","Kursk","Kyushu","Lvov","Manchuria","Marianas","Malta","Midway","Moscow","Murmansk","NewGuinea","Normandy","NorthSea","Okinawa","Oslo","Ostfriesland","Prokhorovka","Singapore","Smolensk","Stalingrad","Tunis","Ukraine");
?>
---------------------------------------------------------------------------------------
MP-Connection.php

The connection data is in alphabetic order so navigate down the list to where your sector should fit and insert - Ukraine goes at the bottom;


<?php
//written by MP-Admin.php
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Here is information on how to define the database connections, e.g. MySQL or Access, for each sector.
// The idea is to associate each sector with a different SE database, so your MP can display information
// for many different campaigns simultaneously.
//
// Below there are sections describing the MySQL and MS Access connection formats in detail. How your MP
// is set up is entirely up to you. Large on-line SE wars may want to use different databases for each
// sector, while small intra-squad wars may just use the same database for all sectors. Remember, a single
// SE database can only hold a single campaign at a time.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
$DefaultDBCon = array("mysql","localhost","3306","seadmin","perth","SEDB31");


// Here is where you specify which database the MP will query for each SE sector.
$SectorDBCon["Ardennes"] = &$DefaultDBCon;
$SectorDBCon["Crimea"] = &$DefaultDBCon;
$SectorDBCon["Berlin"] = &$DefaultDBCon;
$SectorDBCon["Cyrenaica"] = &$DefaultDBCon;
$SectorDBCon["Guadalcanal"] = &$DefaultDBCon;
$SectorDBCon["GulfofFinland"] = &$DefaultDBCon;
$SectorDBCon["Hawaii"] = &$DefaultDBCon;
$SectorDBCon["Imphal"] = &$DefaultDBCon;
$SectorDBCon["Italy"] = &$DefaultDBCon;
$SectorDBCon["IwoJima"] = array("mysql","localhost","3306","seadmin","perth","IWOJIMA");
$SectorDBCon["KhalkhinGol"] = array("mysql","localhost","3306","seadmin","perth","KhalkhinGol");
$SectorDBCon["Kuban"] = &$DefaultDBCon;
$SectorDBCon["Kurland"] = &$DefaultDBCon;
$SectorDBCon["Kursk"] = &$DefaultDBCon;
$SectorDBCon["Kyushu"] = &$DefaultDBCon;
$SectorDBCon["Lvov"] = &$DefaultDBCon;
$SectorDBCon["Manchuria"] = &$DefaultDBCon;
$SectorDBCon["Marianas"] = &$DefaultDBCon;
$SectorDBCon["Malta"] = &$DefaultDBCon;
$SectorDBCon["Midway"] = &$DefaultDBCon;
$SectorDBCon["Moscow"] = &$DefaultDBCon;
$SectorDBCon["Murmansk"] = &$DefaultDBCon;
$SectorDBCon["NewGuinea"] = &$DefaultDBCon;
$SectorDBCon["Normandy"] = &$DefaultDBCon;
$SectorDBCon["NorthSea"] = array("mysql","localhost","3306","seadmin","perth","SHIPBUSTER");
$SectorDBCon["Okinawa"] = &$DefaultDBCon;
$SectorDBCon["Oslo"] = &$DefaultDBCon;
$SectorDBCon["Ostfriesland"] = array("mysql","localhost","3306","seadmin","perth","TUCHEL");
$SectorDBCon["Prokhorovka"] = array("mysql","localhost","3306","seadmin","perth","Prokhorovka");
$SectorDBCon["Singapore"] = &$DefaultDBCon;
$SectorDBCon["Smolensk"] = &$DefaultDBCon;
$SectorDBCon["Stalingrad"] = array("mysql","localhost","3306","seadmin","perth","Stalingrad");
$SectorDBCon["Tunis"] = &$DefaultDBCon;
$SectorDBCon["Ukraine"] = &$DefaultDBCon;
----------------------------------------------------------------------------------------

default-green.php

There are 2 areas in this file, the first area defines the Sectorlink, it's in alhabetical order so navigate down to where yours should fit in and insert. Then determine which region you are going to put your sector, in my case I've put Ukraine in the Eastern Europe region, navigate to where you want to insert your sector eg in my case imediately after Stalingrad and insert there.


<?php
//Required for PHP 4.0 and higher.
session_start();


// asp2php (vbscript) converted
include 'adodb/adodb.inc.php';
include 'adodb/toexport.inc.php';
include 'MP-ApplicationMetadata.php';
include 'MP-Configuration.php';
include 'MP-Misc.php';
include 'MP-Connection.php';

function SectorLink($sector) {
extract($GLOBALS);
if ( ! makeDBConnection($adoConSector,$SectorDBCon[$sector]) ) {
noConnection($sector,$SectorDBCon[$sector]);
return;
}

//Create a recordset for the number of flown missions
$SQLFlownMissions="SELECT Count(Mis_Nbr) AS NFlownMissions FROM MissionData WHERE (Map='".FBMapName($sector)."')";
$rsFlownMissions = $adoConSector->Execute($SQLFlownMissions);

//Create a variable that holds the number of flown missions from the count sql
if (!$rsFlownMissions->EOF) {
$NFlownMissions=$rsFlownMissions->fields['NFlownMissions'];
}
else {
$NFlownMissions=0;
}

//Close the ADO recordset and connection.
$rsFlownMissions->Close();
$adoConSector->Close();

if ($NFlownMissions>0) {
return '<a style="text-decoration:none;color:#cfbfbf;" title="In Dispute: Proceed to '.str_replace('Lvov','L\'vov',FBMapName($sector)).' Sector war room" href="./MP-Checkpoint.php?Sector_DB='.$sector.'&Status=new">'.str_replace('Lvov','L\'vov',FBMapName($sector)).'</a>';
}
else {
return '<a style="text-decoration:none" title="All Quiet: Proceed to '.str_replace('Lvov','L\'vov',FBMapName($sector)).' Sector war room" href="./MP-Checkpoint.php?Sector_DB='.$sector.'&Status=new">'.str_replace('Lvov','L\'vov',FBMapName($sector)).'</a>';
}
}

$SectorLinkData["Ardennes"] = SectorLink("Ardennes");
$SectorLinkData["Berlin"] = SectorLink("Berlin");
$SectorLinkData["Crimea"] = SectorLink("Crimea");
$SectorLinkData["Cyrenaica"] = SectorLink("Cyrenaica");
$SectorLinkData["Kuban"] = SectorLink("Kuban");
$SectorLinkData["Guadalcanal"] = SectorLink("Guadalcanal");
$SectorLinkData["GulfofFinland"] = SectorLink("GulfofFinland");
$SectorLinkData["Hawaii"] = SectorLink("Hawaii");
$SectorLinkData["Imphal"] = SectorLink("Imphal");
$SectorLinkData["Italy"] = SectorLink("Italy");
$SectorLinkData["IwoJima"] = SectorLink("IwoJima");
$SectorLinkData["KhalkhinGol"] = SectorLink("KhalkhinGol");
$SectorLinkData["Kurland"] = SectorLink("Kurland");
$SectorLinkData["Kursk"] = SectorLink("Kursk");
$SectorLinkData["Kyushu"] = SectorLink("Kyushu");
$SectorLinkData["Lvov"] = SectorLink("Lvov");
$SectorLinkData["Manchuria"] = SectorLink("Manchuria");
$SectorLinkData["Marianas"] = SectorLink("Marianas");
$SectorLinkData["Malta"] = SectorLink("Malta");
$SectorLinkData["Midway"] = SectorLink("Midway");
$SectorLinkData["Moscow"] = SectorLink("Moscow");
$SectorLinkData["Murmansk"] = SectorLink("Murmansk");
$SectorLinkData["NewGuinea"] = SectorLink("NewGuinea");
$SectorLinkData["NorthSea"] = SectorLink("NorthSea");
$SectorLinkData["Normandy"] = SectorLink("Normandy");
$SectorLinkData["Okinawa"] = SectorLink("Okinawa");
$SectorLinkData["Oslo"] = SectorLink("Oslo");
$SectorLinkData["Ostfriesland"] = SectorLink("Ostfriesland");
$SectorLinkData["Prokhorovka"] = SectorLink("Prokhorovka");
$SectorLinkData["Singapore"] = SectorLink("Singapore");
$SectorLinkData["Smolensk"] = SectorLink("Smolensk");
$SectorLinkData["Stalingrad"] = SectorLink("Stalingrad");
$SectorLinkData["Tunis"] = SectorLink("Tunis");
$SectorLinkData["Ukraine"] = SectorLink("Ukraine");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Adobe GoLive" />
<title>SEOW? Mission Planner - Campaign Sectors</title>
<link href="css/basic.css" rel="stylesheet" type="text/css" media="all" />
<style type="text/css" media="screen"><!--
#layer1 { background-image: url(../uniticons/tile.gif); height: 480px; width: 800px; left: 8px; top: 187px; position: absolute; z-index: -10; visibility: visible; }
--></style>
</head>

<body bgcolor="<?php echo SkinBG();?>" link="<?php echo SkinText();?>" vlink="<?php echo SkinText();?>" alink="<?php echo SkinText();?>">
<div id="layer1"></div>
<div style="position:relative;width:801px;height:698px;-adbe-g:p;">
<div style="position:absolute;top:192px;left:16px;width:400px;height:32px;-adbe-c:c">
<font size="4" color="<?php echo SkinStrong();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong>Western Europe and Mediterranean</strong></font></div>
<div style="position:absolute;top:272px;left:16px;width:600px;height:32px;-adbe-c:c">
<font size="4" color="<?php echo SkinStrong();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong>Northern Europe and Baltic</strong></font></div>
<div style="position:absolute;top:352px;left:16px;width:800px;height:32px;-adbe-c:c">
<font size="4" color="<?php echo SkinStrong();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong>Eastern Europe</strong></font></div>
<div style="position:absolute;top:432px;left:16px;width:400px;height:32px;-adbe-c:c">
<font size="4" color="<?php echo SkinStrong();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong>Pacific Islands</strong></font></div>
<div style="position:absolute;top:512px;left:16px;width:400px;height:32px;-adbe-c:c">
<font size="4" color="<?php echo SkinStrong();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong>Asia and Indo-China</strong></font></div>
<div style="position:absolute;top:224px;left:32px;width:608px;height:32px;-adbe-c:c">
<font size="3" color="<?php echo SkinText();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong>Sectors:? <?php echo $SectorLinkData["Ardennes"]; ?>, <?php echo $SectorLinkData["Berlin"]; ?>, <?php echo $SectorLinkData["Cyrenaica"]; ?>, <?php echo $SectorLinkData["Italy"]; ?>, <?php echo $SectorLinkData["Malta"]; ?>, <?php echo $SectorLinkData["Normandy"]; ?>, <?php echo $SectorLinkData["Ostfriesland"]; ?>, <?php echo $SectorLinkData["Tunis"]; ?></strong></font></div>
<div style="position:absolute;top:304px;left:32px;width:608px;height:32px;-adbe-c:c">
<font size="3" color="<?php echo SkinText();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong>Sectors:? <?php echo $SectorLinkData["GulfofFinland"]; ?>, <?php echo $SectorLinkData["Kurland"]; ?>, <?php echo $SectorLinkData["Murmansk"]; ?>, <?php echo $SectorLinkData["NorthSea"]; ?>, <?php echo $SectorLinkData["Oslo"]; ?></strong></font></div>
<div style="position:absolute;top:384px;left:32px;width:800px;height:39px;-adbe-c:c">
<font size="3" color="<?php echo SkinText();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong>Sectors: <?php echo $SectorLinkData["Crimea"]; ?>, <?php echo $SectorLinkData["Kuban"]; ?>, <?php echo $SectorLinkData["Kursk"]; ?>, <?php echo $SectorLinkData["Lvov"]; ?>, <?php echo $SectorLinkData["Moscow"]; ?>, <?php echo $SectorLinkData["Prokhorovka"]; ?>, <?php echo $SectorLinkData["Smolensk"]; ?>, <?php echo $SectorLinkData["Stalingrad"]; ?>, <?php echo $SectorLinkData["Ukraine"]; ?></strong></font></div>
<div style="position:absolute;top:464px;left:32px;width:658px;height:32px;-adbe-c:c">
<font size="3" color="<?php echo SkinText();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong>Sectors:? <?php echo $SectorLinkData["Guadalcanal"]; ?>, <?php echo $SectorLinkData["Hawaii"]; ?>, <?php echo $SectorLinkData["IwoJima"]; ?>, <?php echo $SectorLinkData["Marianas"]; ?>, <?php echo $SectorLinkData["Midway"]; ?>, <?php echo $SectorLinkData["NewGuinea"]; ?>, <?php echo $SectorLinkData["Okinawa"]; ?></strong></font></div>
<div style="position:absolute;top:544px;left:32px;width:608px;height:32px;-adbe-c:c">
<font size="3" color="<?php echo SkinText();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong>Sectors: <?php echo $SectorLinkData["Imphal"]; ?>, <?php echo $SectorLinkData["KhalkhinGol"]; ?>, <?php echo $SectorLinkData["Kyushu"]; ?>, <?php echo $SectorLinkData["Manchuria"]; ?> <?php echo $SectorLinkData["Singapore"]; ?></strong></font></div>
<div style="position:absolute;top:608px;left:0px;width:800px;height:18px;-adbe-c:c">
<div align="center">
<font size="-2" color="<?php echo SkinText();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><?php echo $Meta1; ?></font></div>
</div>
<div style="position:absolute;top:0px;left:0px;width:800px;height:160px;">
<img src="../uniticons/GREEN-SEOW-MP-Banner.jpg"/></div>
<div style="position:absolute;top:160px;left:0px;width:800px;height:16px;background-color:#467;-adbe-c:c">
<div align="center">
<font size="-1" color="<?php echo SkinText();?>" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><a style="text-decoration:none" href="../Statistics/MP-Statistics.php">Campaign Statistics</a> |? <a style="text-decoration:none" href="../Merger/default.php">Template Merger</a> |? <a style="text-decoration:none" href="./MP-Admin.php">Database Configuration</a> |? <a style="text-decoration:none" href="http://seow.sourceforge.net/">SEOW? Home</a> |? <a style="text-decoration:none" href="http://raf74.net/seow/">SEOW? Forums</a> |? <a style="text-decoration:none" href="./MP-Credits.php">Credits</a></font>
</div>
</div>
<div style="position:absolute;top:626px;left:0px;width:800px;height:18px;-adbe-c:c">
<div align="center">
<?php
if ( $ShowServer == true ) {print '<font size="-2" color="'.SkinText().'" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">{running on '.$_SERVER['SERVER_SOFTWARE'].'}</font>';}
?>
</div>
</div>
</div>
<p></p>
</body>

</html>
------------------------------------------------------------------------------

That's that and all should be good to go.

Hope this helps

Cheers

Goanna

MTO-map

Posted: Thu 27 Dec 2007 7:26 pm
by EJGr.Ost_Chamel
I started working on the "MTO" map from the 4.09b Beta-Patch (I'd really like to see this map in SEOW ;) ).
I finished capturing the data for the roads, but I am not sure whteher I understood the tutorial in the first posting correctly.
IV/JG7_4Shades wrote: How to Capture Roads and Railways

... We want to capture the complete list for each Chief except the first and last nodes. ...
The point is, that on the above map, there are several short road pieces, that have NO curves and are so short, that the FMB doesn't add any nodes.
So in the mission file these "roads" consist of nothing else but the starting- and end-node and if I remove these two (as I understood from the above quoted) effectively nothing remains from these road pieces.
Is this correct and ok, or should I do anything to avoid this?

Thanks for your efforts

Chamel

Posted: Thu 27 Dec 2007 7:33 pm
by IV/JG7_4Shades
Hi Chamel,

Wow, that is great news. I haven't even seen that patch yet.

On road capture: when you click a waypoint in FMB, it is a human-entered waypoint (code 120). However, all "road nodes" are machine-entered (code 20, or negative for bridges). SEOW is mainly interested in machine-entered nodes. It is perfectly permissible to have road segments with only two nodes, as you have found. When I said delete the first and last nodes, I was trying to say "get rid of your human-entered nodes". Does that make sense?

In general, machine-entered nodes lie on a 100m grid of coordinates, so each x and y coord should end in "00". For example, "334500 12600".

Cheers,
4Shades

Posted: Thu 27 Dec 2007 7:48 pm
by EJGr.Ost_Chamel
IV/JG7_4Shades wrote:Wow, that is great news. I haven't even seen that patch yet.
The patch just arrived some hours ago and is still Beta - but I think the maps won't undergo any dratical changes anymore.
If you want to check it out, you can find links in one of the following postings:
http://forums.ubi.com/eve/forums/a/tpc/ ... 6101046026
http://forums.ubi.com/eve/forums/a/tpc/ ... 8401018026
IV/JG7_4Shades wrote: It is perfectly permissible to have road segments with only two nodes, as you have found. When I said delete the first and last nodes, I was trying to say "get rid of your human-entered nodes". Does that make sense?
Well, that was my question to you. :wink: I am afraid, that it makes no sense to delete the two human-entered nodes from a road segment that consists only of just these two nodes. I think, that your DB query can not find a road segment, that has left NO trace at all in the highways-table - but maybe I am wrong.
IV/JG7_4Shades wrote:In general, machine-entered nodes lie on a 100m grid of coordinates, so each x and y coord should end in "00". For example, "334500 12600".
All my human-entered nodes were within 2 meters from such a 100m grid point, so I rounded all nodes to 100 meters and they all are "perfect" :roll: now. So if that's the only problem with human entered nodes ... problem solved"

Greetings

Chamel

Posted: Fri 28 Dec 2007 8:58 am
by 22GCT_Gross
Hello 4S,
I also would like to give my tribute to seow community by building up a new sector.
Can you suggest the sector where I can work on? (maybe slovakia)

Posted: Sat 29 Dec 2007 7:09 am
by IV/JG7_4Shades
Hi Gross,

Well, Balaton (Hawk_5) is under way, as is Kiev (Goanna) and the new MTO (Chamel). I am not sure of the new maps in the 4.09 patch, but I would be keen to see any map that contained significant combat in WW2. Was Slovakia the scene of significant combat?

Note that Pacific maps are normally easiest to add because of the large amounts of water (no infrastructure to add).

Cheers,
4Shades