Take Your Turn
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Log in

I forgot my password

Who is online?
In total there are 3 users online :: 0 Registered, 0 Hidden and 3 Guests

None

[ View the whole list ]


Most users ever online was 250 on Fri Sep 17, 2021 10:07 am
Latest topics
» [Observer's AWBW document] An FOW game on 1vs1 Verdun, Nell vs Von Bolt
awbw move planner needs host EmptyTue Nov 09, 2021 7:14 am by a9977321

» dpsi/Jokas Collaboration Analysis
awbw move planner needs host EmptyFri Feb 19, 2021 3:20 pm by dpsi

» Jokas' Olaf Guide
awbw move planner needs host EmptyFri Feb 19, 2021 3:03 pm by dpsi

» Jokas' Adder Guide (pt 1) English
awbw move planner needs host EmptyFri Feb 19, 2021 2:51 pm by dpsi

» Basic Guide for HQ Cheese and countering strategy for current FOW GL maps
awbw move planner needs host EmptyFri May 22, 2020 1:40 am by a9977321

» Phantom Domain Discussion
awbw move planner needs host EmptyTue Mar 24, 2020 8:44 am by a9977321

» Commander Wars an Advance Wars Clone
awbw move planner needs host EmptySun Jun 23, 2019 5:14 am by Robosturm_

» Advanced Strategy: Minimum Attacking Ratio
awbw move planner needs host EmptyThu May 16, 2019 9:05 pm by Everdan

» Advanced Strategy: How Much is First Strike worth?
awbw move planner needs host EmptyThu May 16, 2019 8:32 pm by Everdan

Top posting users this month
No user


awbw move planner needs host

+3
theether
Best Sakuya NA
MorganLeah
7 posters

Page 1 of 2 1, 2  Next

Go down

awbw move planner needs host Empty awbw move planner needs host

Post  Nyvelion Tue Jan 06, 2015 3:30 am

Old move planner free host is busted. Tried finding a new one, they all have a $10 charge for a web domain, for probably the same problems the last domain had. Must be the new way of webhosting. Anyone already have a real website and want to upload a php file for the good of AWBW? Apparently this thing was still being used after 5 years. Good to know, I feel useful. Let's make it available again for whoever is left. Here it is it's original noob programmer level glory since I don't mind sharing it: AWBWthing.php

Code:
<!-- PHP file written by Nyvelion. Make it worthwhile! -->
<?php session_start();?>
<html>
<head>
<title>
AWBW Move Planner by Nyvelion.
</title>

<style>
<!--
.dragme{position:relative;}
-->
</style>
<script language="JavaScript1.2">
<!--

var ie=document.all;
var nn6=document.getElementById&&!document.all;

var isdrag=false;
var x,y;
var dobj;
var placex = 0;
var placez = 32;
var placey = 0;
var adjusty = 0;
var unitz = 5000;
var aunit = 0;

function redirecta(form)
{
var link = "AWBWthing.php?game=" + form.gamen.value;
window.location = link;
}
function redirectb(form)
{
var link = "AWBWthing.php?map=" + form.mapn.value;
window.location = link;
}

function addunit(form)
{
 unitz = unitz + 1;
 country = form.country.value;
 unit = form.unit.value;
 adjusty = 0;
 aunit = 0;
 if(unit=="airport")
 {adjusty = 2;}
 else if(unit=="base")
 {adjusty = 9;}
 else if(unit=="city")
 {adjusty = 6;}
 else if(unit=="comtower")
 {adjusty = 9;}
 else if(unit=="hq")
 {adjusty = 15;}
 else if(unit=="lab")
 {adjusty = 8;}
 else if(unit=="port")
 {adjusty = 6;}
 else
 {unitz = unitz + 10000; aunit = 1;}
 placey = 16 - adjusty;
 placex = placex + 16;
 if(placex > 640)
 placex = 16;
 document.getElementById('newstuff').innerHTML += '<div STYLE="position:absolute; top:'+ placey +'px; left:'+ placex +'px; z-index: '+ unitz +';"><img src="http://awbw.amarriner.com:8080/terrain/aw1/'+ country + unit +'.gif" class="dragme"></div>';
 if(aunit == 1)
 {unitz = unitz - 10000;}
}
function addthing(form)
{
 unitz = unitz + 1;
 thing = form.thing.value;
 placey = 16;
 placex = placex + 16;
 if(placex > 640)
 placex = 16;
 if(thing=="AAA")
 {
 unitz = unitz + 40000;
 document.getElementById('newstuff').innerHTML += '<div STYLE="position:absolute; top:32px; left:'+ placez +'px; z-index: '+ unitz +';"><img src="http://nyvelion.110mb.com/blacksquare.GIF" class="dragme" style="opacity:0.5;filter:alpha(opacity=5)"></div>';
 unitz = unitz - 40000;
 placez = placez + 16;
 if(placez > 160)
 placez = 32;
 }
 else
 {
 unitz = unitz + 30000;
 placex = placex + 8;
 placey = placey + 8;
 document.getElementById('newstuff').innerHTML += '<div STYLE="position:absolute; top:'+ placey +'px; left:'+ placex +'px; z-index: '+ unitz +';"><img src="http://awbw.amarriner.com:8080/terrain/aw1/'+ thing +'.gif" class="dragme"></div>';
 unitz = unitz - 30000;
 placex = placex - 8;
 placey = placey - 8;
 }
}
function addgrid()
{
 document.getElementById('newstuff').innerHTML += '<div STYLE="position:absolute; top:31px; left:31px; z-index: 1;"><img src="http://nyvelion.110mb.com/grid.GIF" class="dragme"></div>';
}
function addcalc()
{
 document.getElementById('newstuff').innerHTML += '<div STYLE="position:absolute; top:674px; left:31px; z-index: 1;"><iframe src ="http://awbw.amarriner.com/calculator.php" width="650" height="650"></iframe></div>';
}

function movemouse(e)
{
  if (isdrag)
  {
    dobj.style.left = (nn6 ? tx + e.clientX - x : tx + event.clientX - x) - ((nn6 ? tx + e.clientX - x : tx + event.clientX - x) +  % 16 + 8;
    dobj.style.top  = (nn6 ? ty + e.clientY - y : ty + event.clientY - y) - ((nn6 ? ty + e.clientY - y : ty + event.clientY - y) +  % 16 + 8;
    return false;
  }
}

function selectmouse(e)
{
  var fobj       = nn6 ? e.target : event.srcElement;
  var topelement = nn6 ? "HTML" : "BODY";

  while (fobj.tagName != topelement && fobj.className != "dragme")
  {
    fobj = nn6 ? fobj.parentNode : fobj.parentElement;
  }

  if (fobj.className=="dragme")
  {
    isdrag = true;
    dobj = fobj;
    tx = parseInt(dobj.style.left+0);
    ty = parseInt(dobj.style.top+0);
    x = nn6 ? e.clientX : event.clientX;
    y = nn6 ? e.clientY : event.clientY;
    document.onmousemove=movemouse;
    return false;
  }
}

document.onmousedown=selectmouse;
document.onmouseup=new Function("isdrag=false");

//-->
</script>

</head>
<body bgcolor="#000000">

<?php
extract($_GET);

      class UrlGrabber {
         function _get($url) {
            $this->content="";
            $this->info="";
            $ch = curl_init ();
            curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)");
            curl_setopt ($ch, CURLOPT_URL, $url);
            curl_setopt ($ch, CURLOPT_TIMEOUT, 60);
            $this->content = curl_exec ($ch);
            // Check for success, if anything weird happened append a note
            $this->info = curl_getinfo($ch);
            if ($this->content === false || $this->info['http_code'] != 200) {
               if($this->content !== false )
                  $this->content .= "\n\n";
               $this->content .= "HTTP status was abnormal for $url [". $this->info['http_code']. "]";
               if (curl_error($ch))
                  $this->content .= "\n". curl_error($ch);
            }
            curl_close ($ch);
            return($this->content);
         }

         function _post($url,$vars) {
            $this->content="";
            $ch = curl_init ();
            curl_setopt ($ch, CURLOPT_URL, $url);
            curl_setopt ($ch, CURLOPT_HEADER, 0);
            curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt ($ch, CURLOPT_TIMEOUT, 60);
            curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)");
            curl_setopt ($ch, CURLOPT_POST, 1);
            curl_setopt ($ch, CURLOPT_POSTFIELDS, $vars);
            curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
            $this->content = curl_exec ($ch);
            // Check for success, if anything weird happened append a note
            $this->info = curl_getinfo($ch);
            if ($this->content === false || $this->info['http_code'] != 200) {
               if($this->content !== false )
                  $this->content .= "\n\n";
               $this->content .= "HTTP status was abnormal for $url [". $this->info['http_code']. "]";
               if (curl_error($ch))
                  $this->content .= "\n". curl_error($ch);
            }
            curl_close ($ch);
            return($this->content);
         }

         function _normalize($url) {
            // is the url absolute?
            if(preg_match("/^https?:\/\//", $url)) {
               return($url);
            } // is the url locally absolute?
            elseif(preg_match("/^\//", $url)) {
               $url_root = $_SERVER["HTTPS"] == "on" ? "https://" : "http://";
               $url_root .= isset($_SERVER['HTTP_HOST']) && strlen($_SERVER['HTTP_HOST'])>0 ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME'];
               return($url_root . $url);
            } // the url must be relative
            else {
               $slash = '/';
               $url_root = $_SERVER["HTTPS"] == "on" ? "https://" : "http://";
               $url_root .= $_SERVER['HTTP_HOST'];
               $self = $_SERVER['PHP_SELF'];
               $self = str_replace('\\', $slash, $self);
               $phys_path = getcwd();
               $phys_path = str_replace('\\', $slash, $phys_path);
               $file_path_array = explode ($slash, $self);
               $file_name = array_pop($file_path_array);
               $cwd_path_array = explode ($slash, $phys_path);
               $self_dir_path_array = array_values (array_intersect ($file_path_array, $cwd_path_array));
               $self_dir_path = implode("/", $self_dir_path_array)."/";
               $cwd_url = $url_root . '/' . $self_dir_path;
               return($cwd_url . $url);
            }
         }
      }






if(isset($game))
{
 $url = "http://awbw.amarriner.com/game.php?games_id=". $game;
}
else if(isset($map))
{
 $url = "http://awbw.amarriner.com/prevmaps.php?maps_id=". $map;
}
if(isset($url))
{
$urlScoop = new UrlGrabber;
$rawhtml=($urlScoop->_get($urlScoop->_normalize($url)));

$newlines = array("\t","\n","\r","\x20\x20","\0","\x0B");
$content = str_replace($newlines, "", html_entity_decode($rawhtml));

$start = strpos($content,'http://awbw.amarriner.com:8080/maps/') + 37;
$end = strpos($content,'.png',$start);
$mapid = substr($content,$start,$end-$start);

echo'<DIV STYLE="position:absolute; top:32px; left:32px; z-index: 0;"><IMG SRC="http://awbw.amarriner.com:8080/maps/C'. $mapid .'.png"></DIV>';

$start=$end + 25;
$theunits = 0;
$unitz = 1;

while(strpos($content,'http://awbw.amarriner.com:8080/terrain/aw1/',$start)!=0 &&
 strpos($content,'http://awbw.amarriner.com:8080/terrain/aw1/ds',$start) != strpos($content,'http://awbw.amarriner.com:8080/terrain/aw1/',$start) &&
 strpos($content,'http://awbw.amarriner.com:8080/terrain/aw1/',$start) > $lstart)
{
 while(strpos($content,'Turn on Gridlines',$start)!=0 &&
 strpos($content,'Turn on Gridlines',$start) < strpos($content,'http://awbw.amarriner.com:8080/terrain/aw1/',$start))
 {
 $start = $start + 9;
 $theunits = 1;
 $tstart = strpos($content,'top:', $start) + 4;
 $checkfake = strpos($content,'z-index:120;\'></span>',$tstart);
 $checkreal = strpos($content,'.gif',$tstart);
 while( $checkfake < $checkreal && $checkfake > 1 )
 {
 $start = $tstart + 20;
 $tstart = strpos($content,'top:', $start) + 4;
 $checkfake = strpos($content,'z-index:120;\'></span>',$tstart);
 $checkreal = strpos($content,'.gif',$tstart);
 }
 $tend = strpos($content,'px',$tstart);
 $placeyy = intval(substr($content,$tstart,$tend-$tstart));
 $placeyy = $placeyy - 124;
 }
 $unitz = $unitz + 1;
 $lstart = strpos($content,'left:', $start) + 5;
 if ($theunits == 1)
 {
 $checkfake = strpos($content,'z-index:120;\'></span>',$lstart);
 $checkreal = strpos($content,'.gif',$lstart);
 while( $checkfake < $checkreal && $checkfake > 1 )
 {
 $start = $lstart + 20;
 $lstart = strpos($content,'left:', $start) + 5;
 $checkfake = strpos($content,'z-index:120;\'></span>',$lstart);
 $checkreal = strpos($content,'.gif',$lstart);
 }
 }
 $lend = strpos($content,'px',$lstart);
 $left = substr($content,$lstart,$lend-$lstart);
 $tstart = strpos($content,'top:', $lend) + 4;
 $tend = strpos($content,'px',$tstart);
 $top = intval(substr($content,$tstart,$tend-$tstart));
 $start = strpos($content,'http://awbw.amarriner.com:8080/terrain/aw1/',$tend);
 $end = strpos($content,'.gif',$start) + 4;
 $thingid = substr($content,$start,$end-$start);
 if($start!=0)
 {
 $top = $top - 124;
 $left = $left - 124;
 if(is_int($top) && $theunits == 1)
 {
 $unitz = $unitz + 10000;
 echo'<DIV STYLE="position:absolute; top:'. $top .'px; left:'. $left .'px; z-index: '. $unitz .';"><IMG SRC="'. $thingid .'" class="dragme"></DIV>';
 $unitz = $unitz - 10000;
 }
 else if(is_int($top))
 {
 echo'<DIV STYLE="position:absolute; top:'. $top .'px; left:'. $left .'px; z-index: '. $unitz .';"><IMG SRC="'. $thingid .'" class="dragme"></DIV>';
 }
 }
 $start = $start + 30;
}

//echo'<BR>START: '. $start;
//echo'<BR>END: '. $end;
//echo'<BR>mapid: '. $mapid;
//echo'<BR>rawhtml: '. $rawhtml;
//echo'<BR>TYPErawhtml: '. gettype($rawhtml);
//echo'<BR>CONTENT: '. $content;
//echo'<BR>TYPECONTENT: '. gettype($content);

echo'
<DIV STYLE="position:absolute; top:32px; left:680px;">
<form>
<select name = "country" size="14">
 <option selected="selected" value="os">Orange Star</option>
 <option value="bm">Blue Moon</option>
 <option value="ge">Green Earth</option>
 <option value="yc">Yellow Comet</option>
 <option value="bh">Black Hole</option>
 <option value="rf">Red Fire</option>
 <option value="gs">Grey Sky</option>
 <option value="bd">Brown Desert</option>
 <option value="ab">Amber Blaze</option>
 <option value="js">Jade Sun</option>
 <option value="ci">Cobalt Ice</option>
 <option value="pc">Pink Cosmos</option>
 <option value="tg">Teal Galazy</option>
 <option value="pl">Purple Lightning</option>
</select>
<select name = "unit" size="25">
 <option value="anti-air">Anti-Air</option>
 <option value="apc">APC</option>
 <option value="artillery">Artillery</option>
 <option value="b-copter">B-Copter</option>
 <option value="battleship">Battleship</option>
 <option value="blackboat">Black Boat</option>
 <option value="blackbomb">Black Bomb</option>
 <option value="bomber">Bomber</option>
 <option value="carrier">Carrier</option>
 <option value="cruiser">Cruiser</option>
 <option value="fighter">Fighter</option>
 <option selected="selected" value="infantry">Infantry</option>
 <option value="lander">Lander</option>
 <option value="mdtank">Md.Tank</option>
 <option value="mech">Mech</option>
 <option value="megatank">Mega Tank</option>
 <option value="missile">Missile</option>
 <option value="neotank">Neotank</option>
 <option value="piperunner">Piperunner</option>
 <option value="recon">Recon</option>
 <option value="rocket">Rocket</option>
 <option value="stealth">Stealth</option>
 <option value="sub">Sub</option>
 <option value="t-copter">T-Copter</option>
 <option value="tank">Tank</option>
</select><BR>
<INPUT TYPE="button" NAME="button" Value="Add Unit" onClick="addunit(this.form)">
</form></DIV>
<DIV STYLE="position:absolute; top:32px; left:680px;">
<form>
<select name = "thing" size="10">
 <option selected="selected" value="0">0HP</option>
 <option value="1">1HP</option>
 <option value="2">2HP</option>
 <option value="3">3HP</option>
 <option value="4">4HP</option>
 <option value="5">5HP</option>
 <option value="6">6HP</option>
 <option value="7">7HP</option>
 <option value="8">8HP</option>
 <option value="9">9HP</option>
 <option value="capture">Capture</option>
 <option value="load">Load</option>
 <option value="AAA">Darken</option>
</select>
<INPUT TYPE="button" NAME="button" Value="Add" onClick="addthing(this.form)">
</form></DIV>

<DIV STYLE="position:absolute; top:192px; left:916px;">
<form>
<select name = "country" size="15">
 <option selected="selected" value="neutral">Neutral</option>
 <option value="orangestar">Orange Star</option>
 <option value="bluemoon">Blue Moon</option>
 <option value="greenearth">Green Earth</option>
 <option value="yellowcomet">Yellow Comet</option>
 <option value="blackhole">Black Hole</option>
 <option value="redfire">Red Fire</option>
 <option value="greysky">Grey Sky</option>
 <option value="browndesert">Brown Desert</option>
 <option value="amberblaze">Amber Blaze</option>
 <option value="jadesun">Jade Sun</option>
 <option value="cobaltice">Cobalt Ice</option>
 <option value="pinkcosmos">Pink Cosmos</option>
 <option value="tealgalaxy">Teal Galazy</option>
 <option value="purplelightning">Purple Lightning</option>
</select>
<select name = "unit" size="7">
 <option value="airport">Airport</option>
 <option value="base">Base</option>
 <option selected="selected" value="city">City</option>
 <option value="comtower">Com Tower</option>
 <option value="hq">HQ</option>
 <option value="lab">Lab</option>
 <option value="port">Port</option>
</select><BR>
<INPUT TYPE="button" NAME="button" Value="Add Property" onClick="addunit(this.form)">
</form></DIV>

<DIV STYLE="position:absolute; top:470px; left:680px;">
<FORM NAME="Calc">
<TABLE BORDER=4>
<TR>
<TD>
<INPUT TYPE="text"   NAME="Input" Size="16">
<br>
</TD>
</TR>
<TR>
<TD>
<INPUT TYPE="button" NAME="one"   VALUE="  1  " OnClick="Calc.Input.value += \'1\'">
<INPUT TYPE="button" NAME="two"   VALUE="  2  " OnCLick="Calc.Input.value += \'2\'">
<INPUT TYPE="button" NAME="three" VALUE="  3  " OnClick="Calc.Input.value += \'3\'">
<INPUT TYPE="button" NAME="plus"  VALUE="  +  " OnClick="Calc.Input.value += \' + \'">
<br>
<INPUT TYPE="button" NAME="four"  VALUE="  4  " OnClick="Calc.Input.value += \'4\'">
<INPUT TYPE="button" NAME="five"  VALUE="  5  " OnCLick="Calc.Input.value += \'5\'">
<INPUT TYPE="button" NAME="six"   VALUE="  6  " OnClick="Calc.Input.value += \'6\'">
<INPUT TYPE="button" NAME="minus" VALUE="  -  " OnClick="Calc.Input.value += \' - \'">
<br>
<INPUT TYPE="button" NAME="seven" VALUE="  7  " OnClick="Calc.Input.value += \'7\'">
<INPUT TYPE="button" NAME="eight" VALUE="  8  " OnCLick="Calc.Input.value += \'8\'">
<INPUT TYPE="button" NAME="nine"  VALUE="  9  " OnClick="Calc.Input.value += \'9\'">
<INPUT TYPE="button" NAME="times" VALUE="  x  " OnClick="Calc.Input.value += \' * \'">
<br>
<INPUT TYPE="button" NAME="clear" VALUE="  c  " OnClick="Calc.Input.value = \'\'">
<INPUT TYPE="button" NAME="zero"  VALUE="  0  " OnClick="Calc.Input.value += \'0\'">
<INPUT TYPE="button" NAME="DoIt"  VALUE="  =  " OnClick="Calc.Input.value = eval(Calc.Input.value)">
<INPUT TYPE="button" NAME="div"   VALUE="  /  " OnClick="Calc.Input.value += \' / \'">
<br>
</TD>
</TR>
</TABLE>
</FORM>
</DIV>

<div id="newstuff"></div>
';
}
echo'
<DIV STYLE="position:absolute; top:32px; left:916px;">
<form>
<FONT COLOR="WHITE">Game ID:</FONT><BR>
<input type="text" name="gamen">
<INPUT TYPE="button" NAME="button" Value="Go" onClick="redirecta(this.form)">
<BR><A HREF="http://awbw.amarriner.com/calculator.php">Damage Calculator</A>
<BR><INPUT TYPE="button" NAME="Baxter Stockman" Value="Use Grid" onClick="addgrid()">
<BR><BR>IFrame Damage Calculator
<BR><INPUT TYPE="button" NAME="HAHAHAHAHAHAHAHAHAHA" Value="Iframe Calc" onClick="addcalc()">
</form>
';
/*echo'
<form>
<FONT COLOR="WHITE">Map ID:</FONT><BR>
<input type="text" name="mapn">
<INPUT TYPE="button" NAME="button" Value="Go" onClick="redirectb(this.form)">
</form>
';*/
echo'
</DIV>
';
?>

</body>
</html>


Last edited by Nyvelion on Tue Feb 24, 2015 12:14 pm; edited 1 time in total
Nyvelion
Nyvelion
Mech
Mech

Posts Posts : 69
Reputation Reputation : 94
Join date : 2014-03-26
Location : No

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  Nyvelion Tue Jan 06, 2015 3:37 am

Here's the map maker too. Someone made a better map maker after I did, but since I can't find that, here's an alternative. Try not to read the code unless you want to improve it somehow. It's pretty long so I need to split this one into two parts, because apparently the character limit for these posts isn't made for posting php files into them.

Part 1 of AWBWdesignmap.php

Code:
<!-- PHP file written by Nyvelion. Make it worthwhile! -->
<?php session_start();?>
<html>
<head>
<title>
AWBW Map Designer by Nyvelion
</title>

<script language="JavaScript1.2">
<!--

var theMap=new Array("0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0");

var theNext = " ";
var theImg = "BLANK.gif";
var theVert = 0;
var theDown = 0;

var tempS = " ";
var tempT = " ";
var grid = 0;

function Bargle(wassup)
{
 tempS = "a" + wassup;
 document.getElementById(tempS).innerHTML = '<img src="'+ theImg +'" onmousedown="Bargle('+ wassup +')" onmouseup="Budapest()" onmouseover="YoYoYo('+ wassup +')">';
 theMap[wassup] = theNext;
 document.getElementById(tempS).style.top = 32 + 16*((wassup/40)-((wassup/40)%1)) - theVert;
 theDown = 1;
 //alert(wassup + "\n" + tempS + "\n" + theMap[wassup]);
}

function Clearly(wassup)
{
 tempS = "a" + wassup;
 document.getElementById(tempS).innerHTML = '<img src="BLANK.gif" onmousedown="Bargle('+ wassup +')" onmouseup="Budapest()" onmouseover="YoYoYo('+ wassup +')">';
 theMap[wassup] = "0";
 document.getElementById(tempS).style.top = 32 + 16*((wassup/40)-((wassup/40)%1));
 theDown = 1;
}

function YoYoYo(wassup)
{
 if(theDown==1)
 {
 tempS = "a" + wassup;
 document.getElementById(tempS).innerHTML = '<img src="'+ theImg +'" onmousedown="Bargle('+ wassup +')" onmouseup="Budapest()" onmouseover="YoYoYo('+ wassup +')">';
 theMap[wassup] = theNext;
 document.getElementById(tempS).style.top = 32 + 16*((wassup/40)-((wassup/40)%1)) - theVert;
 }
}

function Budapest()
{
 theDown = 0;
}

function setNext(cradle, actual, DnePotsBob)
{
 theNext = cradle;
 theImg = actual;
 if(theImg != "BLANK.gif")
 {
 theImg = "http://awbw.amarriner.com:8080/terrain/aw2/" + theImg;
 }
 theVert = DnePotsBob;
 document.getElementById('Fill').innerHTML = '<a href="javascript: setFill(\''+ theNext +'\', \''+ theImg +'\', \''+ theVert +'\');">Fill With <img border=0 src="'+ theImg +'"></a>';
 //alert(theNext + "\n" + theImg + "\n" + theVert);
}

function setFill(yin, yang, neutral)
{
 var x = 0;
 for (x = 0; x<1600; x++)
 {
 if((x+1)%40 != 0)
 {
 if(x/40 < document.getElementById("theHHH").value && x%40 < document.getElementById("theWWW").value)
 {Bargle(x);}
 else{Clearly(x);}
 }
 }
 theDown = 0;
}

function wolffangfist()
{
 var x = 0;
 if(grid==0){grid=1;}
 else{grid=0;}
 for (x = 0; x<1600; x++)
 {
 if((x+1)%40 == 0){x = x + 1;}
 tempS = "a" + x;
 tempT = grid + "px solid grey";
 document.getElementById(tempS).style.border = tempT;
 }
}

function REEEEEEEEEEEEEEEEEEEEEFS()
{
 setNext('%', 'reef.gif', 0);
 var x = 0;
 for (x = 0; x<1600; x++)
 {
 if(theMap[x]==",")
 {
 if(Math.floor(Math.random()*25) == 2)
 {
 Bargle(x);
 }
 }
 }
 theDown = 0;
}

function Killroy()
{
 setNext('@', 'wood.gif', 0);
 var x = 0;
 for (x = 0; x<1600; x++)
 {
 if(theMap[x]==".")
 {
 if(Math.floor(Math.random()*25) == 2)
 {
 Bargle(x);
 }
 }
 }
 setNext('^', 'mountain.gif', 5);
 x = 0;
 for (x = 0; x<1600; x++)
 {
 if(theMap[x]==".")
 {
 if(Math.floor(Math.random()*25) == 2)
 {
 Bargle(x);
 }
 }
 }
 theDown = 0;
}

function MirrorMode(fargo, tenet)
{
 var x = 0;
 var tempAA = 0;
 var tempBB = 0;
 var tempCC = " ";
 if(fargo==1)
 {
 for(x = 0; x < (document.getElementById("theHHH").value - 1) / 2; x++)
 {
 for(y = 0; y < document.getElementById("theWWW").value; y++)
 {
 if(tenet==1)
 {
 tempAA = ((document.getElementById("theHHH").value - 1 - x) * 40 + y);
 tempBB = x*40 + y;
 }
 else if(tenet==2)
 {
 tempAA = ((document.getElementById("theHHH").value - 1 - x) * 40 + (document.getElementById("theWWW").value - 1 - y));
 tempBB = x*40 + y;
 }
 theMap[tempAA] = theMap[tempBB];
 tempS = "a" + tempAA;
 tempT = "a" + tempBB;
 document.getElementById(tempS).innerHTML = document.getElementById(tempT).innerHTML;
 tempCC = parseInt(document.getElementById(tempS).style.top) + ((16- (parseInt(document.getElementById(tempS).style.top) % 16))%16) - ((16- (parseInt(document.getElementById(tempT).style.top) % 16))%16);
 document.getElementById(tempS).style.top = tempCC;
 }
 }
 }
 if(fargo==2)
 {
 for(x = 0; x < document.getElementById("theHHH").value; x++)
 {
 for(y = 0; y < (document.getElementById("theWWW").value - 1) / 2; y++)
 {
 if(tenet==1)
 {
 tempAA = x * 40 + (document.getElementById("theWWW").value - 1 - y);
 tempBB = x*40 + y;
 }
 else if(tenet==2)
 {
 tempAA = ((document.getElementById("theHHH").value - 1 - x) * 40 + (document.getElementById("theWWW").value - 1 - y));
 tempBB = x*40 + y;
 }
 theMap[tempAA] = theMap[tempBB];
 tempS = "a" + tempAA;
 tempT = "a" + tempBB;
 document.getElementById(tempS).innerHTML = document.getElementById(tempT).innerHTML;
 tempCC = parseInt(document.getElementById(tempS).style.top) + ((16- (parseInt(document.getElementById(tempS).style.top) % 16))%16) - ((16- (parseInt(document.getElementById(tempT).style.top) % 16))%16);
 document.getElementById(tempS).style.top = tempCC;
 }
 }
 }
 if(fargo==3)
 {
 for(x = 0; x < (document.getElementById("theHHH").value - 1) / 2; x++)
 {
 for(y = 0; y < (document.getElementById("theHHH").value - 1) / 2; y++)
 {
 tempAA = (document.getElementById("theHHH").value - 1 - x) * 40 + (document.getElementById("theWWW").value - 1 - y);
 tempBB = x*40 + y;
 theMap[tempAA] = theMap[tempBB];
 tempS = "a" + tempAA;
 tempT = "a" + tempBB;
 document.getElementById(tempS).innerHTML = document.getElementById(tempT).innerHTML;
 tempCC = parseInt(document.getElementById(tempS).style.top) + ((16- (parseInt(document.getElementById(tempS).style.top) % 16))%16) - ((16- (parseInt(document.getElementById(tempT).style.top) % 16))%16);
 document.getElementById(tempS).style.top = tempCC;

 tempAA = y * 40 + (document.getElementById("theWWW").value - 1 - x);
 tempBB = x*40 + y;
 theMap[tempAA] = theMap[tempBB];
 tempS = "a" + tempAA;
 tempT = "a" + tempBB;
 document.getElementById(tempS).innerHTML = document.getElementById(tempT).innerHTML;
 tempCC = parseInt(document.getElementById(tempS).style.top) + ((16- (parseInt(document.getElementById(tempS).style.top) % 16))%16) - ((16- (parseInt(document.getElementById(tempT).style.top) % 16))%16);
 document.getElementById(tempS).style.top = tempCC;

 tempAA = (document.getElementById("theHHH").value - 1 - y) * 40 + x;
 tempBB = x*40 + y;
 theMap[tempAA] = theMap[tempBB];
 tempS = "a" + tempAA;
 tempT = "a" + tempBB;
 document.getElementById(tempS).innerHTML = document.getElementById(tempT).innerHTML;
 tempCC = parseInt(document.getElementById(tempS).style.top) + ((16- (parseInt(document.getElementById(tempS).style.top) % 16))%16) - ((16- (parseInt(document.getElementById(tempT).style.top) % 16))%16);
 document.getElementById(tempS).style.top = tempCC;
 }
 }
 }
 roads();
 save();
 load();
}

function save()
{
 var x = 0;
 var Wingman = "";
 for (x = 0; x<1599; x++)
 {
 if((x+1)%40 == 0)
 {Wingman += "\n";}
 else
 {Wingman += theMap[x];}
 }
 document.getElementById('mapcode').value = Wingman;
}

function load()
{
 var MitsuhideAkechi = document.getElementById('mapcode').value;
 MitsuhideAkechi.replace("\n","0");
 var x = 0;
 for (x = 0; x<1600; x++)
 {
 theMap[x] = MitsuhideAkechi.charAt(x);
 if(theMap[x]=="a"){ setNext('a', 'neutralcity.gif', 6); Bargle(x);}
 else if(theMap[x]=="b"){ setNext('b', 'neutralbase.gif', 9); Bargle(x);}
 else if(theMap[x]=="c"){ setNext('c', 'neutralairport.gif', 2); Bargle(x);}
 else if(theMap[x]=="d"){ setNext('d', 'neutralport.gif', 6); Bargle(x);}
 else if(theMap[x]=="e"){ setNext('e', 'orangestarcity.gif', 6); Bargle(x);}
 else if(theMap[x]=="f"){ setNext('f', 'orangestarbase.gif', 9); Bargle(x);}
 else if(theMap[x]=="g"){ setNext('g', 'orangestarairport.gif', 2); Bargle(x);}
 else if(theMap[x]=="h"){ setNext('h', 'orangestarport.gif', 6); Bargle(x);}
 else if(theMap[x]=="i"){ setNext('i', 'orangestarhq.gif', 15); Bargle(x);}
 else if(theMap[x]=="j"){ setNext('j', 'bluemooncity.gif', 6); Bargle(x);}
 else if(theMap[x]=="l"){ setNext('l', 'bluemoonbase.gif', 9); Bargle(x);}
 else if(theMap[x]=="m"){ setNext('m', 'bluemoonairport.gif', 2); Bargle(x);}
 else if(theMap[x]=="n"){ setNext('n', 'bluemoonport.gif', 6); Bargle(x);}
 else if(theMap[x]=="o"){ setNext('o', 'bluemoonhq.gif', 15); Bargle(x);}
 else if(theMap[x]=="p"){ setNext('p', 'greenearthcity.gif', 6); Bargle(x);}
 else if(theMap[x]=="q"){ setNext('q', 'greenearthbase.gif', 9); Bargle(x);}
 else if(theMap[x]=="r"){ setNext('r', 'greenearthairport.gif', 2); Bargle(x);}
 else if(theMap[x]=="s"){ setNext('s', 'greenearthport.gif', 6); Bargle(x);}
 else if(theMap[x]=="t"){ setNext('t', 'greenearthhq.gif', 15); Bargle(x);}
 else if(theMap[x]=="u"){ setNext('u', 'yellowcometcity.gif', 6); Bargle(x);}
 else if(theMap[x]=="v"){ setNext('v', 'yellowcometbase.gif', 9); Bargle(x);}
 else if(theMap[x]=="w"){ setNext('w', 'yellowcometairport.gif', 2); Bargle(x);}
 else if(theMap[x]=="x"){ setNext('x', 'yellowcometport.gif', 6); Bargle(x);}
 else if(theMap[x]=="y"){ setNext('y', 'yellowcomethq.gif', 15); Bargle(x);}
 else if(theMap[x]=="1"){ setNext('1', 'blackholecity.gif', 6); Bargle(x);}
 else if(theMap[x]=="2"){ setNext('2', 'blackholebase.gif', 9); Bargle(x);}
 else if(theMap[x]=="3"){ setNext('3', 'blackholeairport.gif', 2); Bargle(x);}
 else if(theMap[x]=="4"){ setNext('4', 'blackholeport.gif', 6); Bargle(x);}
 else if(theMap[x]=="5"){ setNext('5', 'blackholehq.gif', 15); Bargle(x);}
 else if(theMap[x]=="U"){ setNext('U', 'redfirecity.gif', 6); Bargle(x);}
 else if(theMap[x]=="T"){ setNext('T', 'redfirebase.gif', 9); Bargle(x);}
 else if(theMap[x]=="S"){ setNext('S', 'redfireairport.gif', 2); Bargle(x);}
 else if(theMap[x]=="R"){ setNext('R', 'redfireport.gif', 6); Bargle(x);}
 else if(theMap[x]=="Q"){ setNext('Q', 'redfirehq.gif', 15); Bargle(x);}
 else if(theMap[x]=="Z"){ setNext('Z', 'greyskycity.gif', 6); Bargle(x);}
 else if(theMap[x]=="Y"){ setNext('Y', 'greyskybase.gif', 9); Bargle(x);}
 else if(theMap[x]=="X"){ setNext('X', 'greyskyairport.gif', 2); Bargle(x);}
 else if(theMap[x]=="W"){ setNext('W', 'greyskyport.gif', 6); Bargle(x);}
 else if(theMap[x]=="V"){ setNext('V', 'greyskyhq.gif', 15); Bargle(x);}
 else if(theMap[x]=="6"){ setNext('6', 'browndesertcity.gif', 4); Bargle(x);}
 else if(theMap[x]=="7"){ setNext('7', 'browndesertbase.gif', 9); Bargle(x);}
 else if(theMap[x]=="8"){ setNext('8', 'browndesertairport.gif', 2); Bargle(x);}
 else if(theMap[x]=="9"){ setNext('9', 'browndesertport.gif', 6); Bargle(x);}
 else if(theMap[x]=="_"){ setNext('_', 'amberblazecomtower.gif', 9); Bargle(x);}
 else if(theMap[x]=="."){ setNext('.', 'plain.gif', 0); Bargle(x);}
 else if(theMap[x]=="@"){ setNext('@', 'wood.gif', 0); Bargle(x);}
 else if(theMap[x]=="^"){ setNext('^', 'mountain.gif', 5); Bargle(x);}
 else if(theMap[x]==","){ setNext(',', 'sea.gif', 0); Bargle(x);}
 else if(theMap[x]=="%"){ setNext('%', 'reef.gif', 0); Bargle(x);}
 else if(theMap[x]=="("){ setNext('(', 'hshoaln.gif', 0); Bargle(x);}
 else if(theMap[x]==")"){ setNext(')', 'vshoale.gif', 0); Bargle(x);}
 else if(theMap[x]=="<"){ setNext('<', 'hshoal.gif', 0); Bargle(x);}
 else if(theMap[x]==">"){ setNext('>', 'vshoal.gif', 0); Bargle(x);}
 else if(theMap[x]=="-"){ setNext('-', 'hroad.gif', 0); Bargle(x);}
 else if(theMap[x]=="="){ setNext('=', 'vroad.gif', 0); Bargle(x);}
 else if(theMap[x]=="A"){ setNext('A', 'esroad.gif', 0); Bargle(x);}
 else if(theMap[x]=="B"){ setNext('B', 'swroad.gif', 0); Bargle(x);}
 else if(theMap[x]=="C"){ setNext('C', 'wnroad.gif', 0); Bargle(x);}
 else if(theMap[x]=="D"){ setNext('D', 'neroad.gif', 0); Bargle(x);}
 else if(theMap[x]=="E"){ setNext('E', 'eswroad.gif', 0); Bargle(x);}
 else if(theMap[x]=="F"){ setNext('F', 'swnroad.gif', 0); Bargle(x);}
 else if(theMap[x]=="G"){ setNext('G', 'wneroad.gif', 0); Bargle(x);}
 else if(theMap[x]=="H"){ setNext('H', 'nesroad.gif', 0); Bargle(x);}
 else if(theMap[x]=="+"){ setNext('+', 'croad.gif', 0); Bargle(x);}
 else if(theMap[x]=="{"){ setNext('{', 'hriver.gif', 0); Bargle(x);}
 else if(theMap[x]=="}"){ setNext('}', 'vriver.gif', 0); Bargle(x);}
 else if(theMap[x]=="I"){ setNext('I', 'esriver.gif', 0); Bargle(x);}
 else if(theMap[x]=="J"){ setNext('J', 'swriver.gif', 0); Bargle(x);}
 else if(theMap[x]=="K"){ setNext('K', 'wnriver.gif', 0); Bargle(x);}
 else if(theMap[x]=="L"){ setNext('L', 'neriver.gif', 0); Bargle(x);}
 else if(theMap[x]=="M"){ setNext('M', 'eswriver.gif', 0); Bargle(x);}
 else if(theMap[x]=="N"){ setNext('N', 'swnriver.gif', 0); Bargle(x);}
 else if(theMap[x]=="O"){ setNext('O', 'wneriver.gif', 0); Bargle(x);}
 else if(theMap[x]=="P"){ setNext('P', 'nesriver.gif', 0); Bargle(x);}
 else if(theMap[x]=="~"){ setNext('~', 'criver.gif', 0); Bargle(x);}
 else if(theMap[x]=="["){ setNext('[', 'hbridge.gif', 0); Bargle(x);}
 else if(theMap[x]=="]"){ setNext(']', 'vbridge.gif', 0); Bargle(x);}
 else if(theMap[x]=="0"){ setNext('0', 'BLANK.gif', 0); Bargle(x);}
 }
 theDown = 0;
}




Last edited by Nyvelion on Tue Feb 24, 2015 12:15 pm; edited 1 time in total
Nyvelion
Nyvelion
Mech
Mech

Posts Posts : 69
Reputation Reputation : 94
Join date : 2014-03-26
Location : No

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  Nyvelion Tue Jan 06, 2015 3:37 am

Part2:

Code:
function roads()
{
   var MapA = 0;
   var MapB = 0;
   var MapC = 0;
   var MapD = 0;
   for (x = 0; x<1600; x++)
   {
      MapA = 0;
      MapB = 0;
      MapC = 0;
      MapD = 0;
      if((x+1)%40 == 0){x = x + 1;}
      if(theMap[x] == '(' || theMap[x] == ')' || theMap[x] == '<' || theMap[x] == '>')
      {
         if(x >= 40 && (theMap[x-40] != '{' && theMap[x-40] != '}' && theMap[x-40] != '~' && theMap[x-40] != 'I' && theMap[x-40] != 'J'
          && theMap[x-40] != 'K' && theMap[x-40] != 'L' && theMap[x-40] != 'M' && theMap[x-40] != 'N' && theMap[x-40] != 'O' && theMap[x-40] != 'P'
            && theMap[x-40] != ',' && theMap[x-40] != '%' && theMap[x-40] != '0'
          && theMap[x-40] != '(' && theMap[x-40] != ')' && theMap[x-40] != '<' && theMap[x-40] != '>'))
         {MapA = 1;}
         if(x%40 != 0 && (theMap[x-1] != '{' && theMap[x-1] != '}' && theMap[x-1] != '~' && theMap[x-1] != 'I' && theMap[x-1] != 'J'
          && theMap[x-1] != 'K' && theMap[x-1] != 'L' && theMap[x-1] != 'M' && theMap[x-1] != 'N' && theMap[x-1] != 'O' && theMap[x-1] != 'P'
            && theMap[x-1] != ',' && theMap[x-1] != '%' && theMap[x-1] != '0'
          && theMap[x-1] != '(' && theMap[x-1] != ')' && theMap[x-1] != '<' && theMap[x-1] != '>'))
         {MapB = 1;}
         if((x+1)%40 != 0 && (theMap[x+1] != '{' && theMap[x+1] != '}' && theMap[x+1] != '~' && theMap[x+1] != 'I' && theMap[x+1] != 'J'
          && theMap[x+1] != 'K' && theMap[x+1] != 'L' && theMap[x+1] != 'M' && theMap[x+1] != 'N' && theMap[x+1] != 'O' && theMap[x+1] != 'P'
            && theMap[x+1] != ',' && theMap[x+1] != '%' && theMap[x+1] != '0'
          && theMap[x+1] != '(' && theMap[x+1] != ')' && theMap[x+1] != '<' && theMap[x+1] != '>'))
         {MapC = 1;}
         if(x < 1560 && (theMap[x+40] != '{' && theMap[x+40] != '}' && theMap[x+40] != '~' && theMap[x+40] != 'I' && theMap[x+40] != 'J'
          && theMap[x+40] != 'K' && theMap[x+40] != 'L' && theMap[x+40] != 'M' && theMap[x+40] != 'N' && theMap[x+40] != 'O' && theMap[x+40] != 'P'
            && theMap[x+40] != ',' && theMap[x+40] != '%' && theMap[x+40] != '0'
          && theMap[x+40] != '(' && theMap[x+40] != ')' && theMap[x+40] != '<' && theMap[x+40] != '>'))
         {MapD = 1;}

         if(x%40 != 0 && (theMap[x-1] == '(' || theMap[x-1] == '<')
            || x%40 != 39 && (theMap[x+1] == '(' || theMap[x+1] == '<'))
         {
            if(MapA == 1)      {setNext('<', 'hshoal.gif', 0); Bargle(x);}
            else if(MapD == 1)   {setNext('(', 'hshoaln.gif', 0); Bargle(x);}
            else if(MapB == 1)   {setNext(')', 'vshoale.gif', 0); Bargle(x);}
            else if(MapC == 1)   {setNext('>', 'vshoal.gif', 0); Bargle(x);}
         }
         else
         {
            if(MapB == 1)      {setNext(')', 'vshoale.gif', 0); Bargle(x);}
            else if(MapC == 1)   {setNext('>', 'vshoal.gif', 0); Bargle(x);}
            else if(MapA == 1)   {setNext('<', 'hshoal.gif', 0); Bargle(x);}
            else if(MapD == 1)   {setNext('(', 'hshoaln.gif', 0); Bargle(x);}
         }
      }
      if(theMap[x] == '-' || theMap[x] == '=' || theMap[x] == '+' || theMap[x] == 'A' || theMap[x] == 'B'
          || theMap[x] == 'C' || theMap[x] == 'D' || theMap[x] == 'E' || theMap[x] == 'F' || theMap[x] == 'G' || theMap[x] == 'H')
      {
         if(x >= 40 && (theMap[x-40] == '-' || theMap[x-40] == '=' || theMap[x-40] == '+' || theMap[x-40] == 'A' || theMap[x-40] == 'B'
          || theMap[x-40] == 'C' || theMap[x-40] == 'D' || theMap[x-40] == 'E' || theMap[x-40] == 'F' || theMap[x-40] == 'G' || theMap[x-40] == 'H'
          || theMap[x-40] == 'a' || theMap[x-40] == 'b' || theMap[x-40] == 'c' || theMap[x-40] == 'd'
          || theMap[x-40] == 'e' || theMap[x-40] == 'f' || theMap[x-40] == 'g' || theMap[x-40] == 'h' || theMap[x-40] == 'i'
          || theMap[x-40] == 'j' || theMap[x-40] == 'l' || theMap[x-40] == 'm' || theMap[x-40] == 'n' || theMap[x-40] == 'o'
          || theMap[x-40] == 'p' || theMap[x-40] == 'q' || theMap[x-40] == 'r' || theMap[x-40] == 's' || theMap[x-40] == 't'
          || theMap[x-40] == 'u' || theMap[x-40] == 'v' || theMap[x-40] == 'w' || theMap[x-40] == 'x' || theMap[x-40] == 'y'
          || theMap[x-40] == '1' || theMap[x-40] == '2' || theMap[x-40] == '3' || theMap[x-40] == '4' || theMap[x-40] == '5'
          || theMap[x-40] == 'U' || theMap[x-40] == 'T' || theMap[x-40] == 'S' || theMap[x-40] == 'R' || theMap[x-40] == 'Q'
          || theMap[x-40] == 'Z' || theMap[x-40] == 'Y' || theMap[x-40] == 'X' || theMap[x-40] == 'W' || theMap[x-40] == 'V'
          || theMap[x-40] == '6' || theMap[x-40] == '7' || theMap[x-40] == '8' || theMap[x-40] == '9' || theMap[x-40] == '_'
          || theMap[x-40] == '[' || theMap[x-40] == ']'))
         {MapA = 1;}
         if(x%40 != 0 && (theMap[x-1] == '-' || theMap[x-1] == '=' || theMap[x-1] == '+' || theMap[x-1] == 'A' || theMap[x-1] == 'B'
          || theMap[x-1] == 'C' || theMap[x-1] == 'D' || theMap[x-1] == 'E' || theMap[x-1] == 'F' || theMap[x-1] == 'G' || theMap[x-1] == 'H'
          || theMap[x-1] == 'a' || theMap[x-1] == 'b' || theMap[x-1] == 'c' || theMap[x-1] == 'd'
          || theMap[x-1] == 'e' || theMap[x-1] == 'f' || theMap[x-1] == 'g' || theMap[x-1] == 'h' || theMap[x-1] == 'i'
          || theMap[x-1] == 'j' || theMap[x-1] == 'l' || theMap[x-1] == 'm' || theMap[x-1] == 'n' || theMap[x-1] == 'o'
          || theMap[x-1] == 'p' || theMap[x-1] == 'q' || theMap[x-1] == 'r' || theMap[x-1] == 's' || theMap[x-1] == 't'
          || theMap[x-1] == 'u' || theMap[x-1] == 'v' || theMap[x-1] == 'w' || theMap[x-1] == 'x' || theMap[x-1] == 'y'
          || theMap[x-1] == '1' || theMap[x-1] == '2' || theMap[x-1] == '3' || theMap[x-1] == '4' || theMap[x-1] == '5'
          || theMap[x-1] == 'U' || theMap[x-1] == 'T' || theMap[x-1] == 'S' || theMap[x-1] == 'R' || theMap[x-1] == 'Q'
          || theMap[x-1] == 'Z' || theMap[x-1] == 'Y' || theMap[x-1] == 'X' || theMap[x-1] == 'W' || theMap[x-1] == 'V'
          || theMap[x-1] == '6' || theMap[x-1] == '7' || theMap[x-1] == '8' || theMap[x-1] == '9' || theMap[x-1] == '_'
          || theMap[x-1] == '[' || theMap[x-1] == ']'))
         {MapB = 1;}
         if((x+1)%40 != 0 && (theMap[x+1] == '-' || theMap[x+1] == '=' || theMap[x+1] == '+' || theMap[x+1] == 'A' || theMap[x+1] == 'B'
          || theMap[x+1] == 'C' || theMap[x+1] == 'D' || theMap[x+1] == 'E' || theMap[x+1] == 'F' || theMap[x+1] == 'G' || theMap[x+1] == 'H'
          || theMap[x+1] == 'a' || theMap[x+1] == 'b' || theMap[x+1] == 'c' || theMap[x+1] == 'd'
          || theMap[x+1] == 'e' || theMap[x+1] == 'f' || theMap[x+1] == 'g' || theMap[x+1] == 'h' || theMap[x+1] == 'i'
          || theMap[x+1] == 'j' || theMap[x+1] == 'l' || theMap[x+1] == 'm' || theMap[x+1] == 'n' || theMap[x+1] == 'o'
          || theMap[x+1] == 'p' || theMap[x+1] == 'q' || theMap[x+1] == 'r' || theMap[x+1] == 's' || theMap[x+1] == 't'
          || theMap[x+1] == 'u' || theMap[x+1] == 'v' || theMap[x+1] == 'w' || theMap[x+1] == 'x' || theMap[x+1] == 'y'
          || theMap[x+1] == '1' || theMap[x+1] == '2' || theMap[x+1] == '3' || theMap[x+1] == '4' || theMap[x+1] == '5'
          || theMap[x+1] == 'U' || theMap[x+1] == 'T' || theMap[x+1] == 'S' || theMap[x+1] == 'R' || theMap[x+1] == 'Q'
          || theMap[x+1] == 'Z' || theMap[x+1] == 'Y' || theMap[x+1] == 'X' || theMap[x+1] == 'W' || theMap[x+1] == 'V'
          || theMap[x+1] == '6' || theMap[x+1] == '7' || theMap[x+1] == '8' || theMap[x+1] == '9' || theMap[x+1] == '_'
          || theMap[x+1] == '[' || theMap[x+1] == ']'))
         {MapC = 1;}
         if(x < 1560 && (theMap[x+40] == '-' || theMap[x+40] == '=' || theMap[x+40] == '+' || theMap[x+40] == 'A' || theMap[x+40] == 'B'
          || theMap[x+40] == 'C' || theMap[x+40] == 'D' || theMap[x+40] == 'E' || theMap[x+40] == 'F' || theMap[x+40] == 'G' || theMap[x+40] == 'H'
          || theMap[x+40] == 'a' || theMap[x+40] == 'b' || theMap[x+40] == 'c' || theMap[x+40] == 'd'
          || theMap[x+40] == 'e' || theMap[x+40] == 'f' || theMap[x+40] == 'g' || theMap[x+40] == 'h' || theMap[x+40] == 'i'
          || theMap[x+40] == 'j' || theMap[x+40] == 'l' || theMap[x+40] == 'm' || theMap[x+40] == 'n' || theMap[x+40] == 'o'
          || theMap[x+40] == 'p' || theMap[x+40] == 'q' || theMap[x+40] == 'r' || theMap[x+40] == 's' || theMap[x+40] == 't'
          || theMap[x+40] == 'u' || theMap[x+40] == 'v' || theMap[x+40] == 'w' || theMap[x+40] == 'x' || theMap[x+40] == 'y'
          || theMap[x+40] == '1' || theMap[x+40] == '2' || theMap[x+40] == '3' || theMap[x+40] == '4' || theMap[x+40] == '5'
          || theMap[x+40] == 'U' || theMap[x+40] == 'T' || theMap[x+40] == 'S' || theMap[x+40] == 'R' || theMap[x+40] == 'Q'
          || theMap[x+40] == 'Z' || theMap[x+40] == 'Y' || theMap[x+40] == 'X' || theMap[x+40] == 'W' || theMap[x+40] == 'V'
          || theMap[x+40] == '6' || theMap[x+40] == '7' || theMap[x+40] == '8' || theMap[x+40] == '9' || theMap[x+40] == '_'
          || theMap[x+40] == '[' || theMap[x+40] == ']'))
         {MapD = 1;}

         if(MapA == 1 && MapB == 1 && MapC == 1 && MapD == 1){setNext('+', 'croad.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapB == 1 && MapC == 1)   {setNext('G', 'wneroad.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapB == 1 && MapD == 1)   {setNext('F', 'swnroad.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapC == 1 && MapD == 1)   {setNext('H', 'nesroad.gif', 0); Bargle(x);}
         else if(MapB == 1 && MapC == 1 && MapD == 1)   {setNext('E', 'eswroad.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapB == 1)         {setNext('C', 'wnroad.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapC == 1)         {setNext('D', 'neroad.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapD == 1)         {setNext('=', 'vroad.gif', 0); Bargle(x);}
         else if(MapB == 1 && MapC == 1)         {setNext('-', 'hroad.gif', 0); Bargle(x);}
         else if(MapB == 1 && MapD == 1)         {setNext('B', 'swroad.gif', 0); Bargle(x);}
         else if(MapC == 1 && MapD == 1)         {setNext('A', 'esroad.gif', 0); Bargle(x);}
         else if(MapA == 1 || MapD == 1)         {setNext('=', 'vroad.gif', 0); Bargle(x);}
         else if(MapB == 1 || MapC == 1)         {setNext('-', 'hroad.gif', 0); Bargle(x);}
      }

      if(theMap[x] == '{' || theMap[x] == '}' || theMap[x] == '~' || theMap[x] == 'I' || theMap[x] == 'J'
          || theMap[x] == 'K' || theMap[x] == 'L' || theMap[x] == 'M' || theMap[x] == 'N' || theMap[x] == 'O' || theMap[x] == 'P')
      {
         if(x >= 40 && (theMap[x-40] == '{' || theMap[x-40] == '}' || theMap[x-40] == '~' || theMap[x-40] == 'I' || theMap[x-40] == 'J'
          || theMap[x-40] == 'K' || theMap[x-40] == 'L' || theMap[x-40] == 'M' || theMap[x-40] == 'N' || theMap[x-40] == 'O' || theMap[x-40] == 'P'
            || theMap[x-40] == '[' || theMap[x-40] == ']'))
         {MapA = 1;}
         if(x%40 != 0 && (theMap[x-1] == '{' || theMap[x-1] == '}' || theMap[x-1] == '~' || theMap[x-1] == 'I' || theMap[x-1] == 'J'
          || theMap[x-1] == 'K' || theMap[x-1] == 'L' || theMap[x-1] == 'M' || theMap[x-1] == 'N' || theMap[x-1] == 'O' || theMap[x-1] == 'P'
            || theMap[x-1] == '[' || theMap[x-1] == ']'))
         {MapB = 1;}
         if((x+1)%40 != 0 && (theMap[x+1] == '{' || theMap[x+1] == '}' || theMap[x+1] == '~' || theMap[x+1] == 'I' || theMap[x+1] == 'J'
          || theMap[x+1] == 'K' || theMap[x+1] == 'L' || theMap[x+1] == 'M' || theMap[x+1] == 'N' || theMap[x+1] == 'O' || theMap[x+1] == 'P'
            || theMap[x+1] == '[' || theMap[x+1] == ']'))
         {MapC = 1;}
         if(x < 1560 && (theMap[x+40] == '{' || theMap[x+40] == '}' || theMap[x+40] == '~' || theMap[x+40] == 'I' || theMap[x+40] == 'J'
          || theMap[x+40] == 'K' || theMap[x+40] == 'L' || theMap[x+40] == 'M' || theMap[x+40] == 'N' || theMap[x+40] == 'O' || theMap[x+40] == 'P'
            || theMap[x+40] == '[' || theMap[x+40] == ']'))
         {MapD = 1;}

         if(MapA == 1 && MapB == 1 && MapC == 1 && MapD == 1){setNext('~', 'criver.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapB == 1 && MapC == 1)   {setNext('O', 'wneriver.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapB == 1 && MapD == 1)   {setNext('N', 'swnriver.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapC == 1 && MapD == 1)   {setNext('P', 'nesriver.gif', 0); Bargle(x);}
         else if(MapB == 1 && MapC == 1 && MapD == 1)   {setNext('M', 'eswriver.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapB == 1)         {setNext('K', 'wnriver.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapC == 1)         {setNext('L', 'neriver.gif', 0); Bargle(x);}
         else if(MapA == 1 && MapD == 1)         {setNext('}', 'vriver.gif', 0); Bargle(x);}
         else if(MapB == 1 && MapC == 1)         {setNext('{', 'hriver.gif', 0); Bargle(x);}
         else if(MapB == 1 && MapD == 1)         {setNext('J', 'swriver.gif', 0); Bargle(x);}
         else if(MapC == 1 && MapD == 1)         {setNext('I', 'esriver.gif', 0); Bargle(x);}
         else if(MapA == 1 || MapD == 1)         {setNext('}', 'vriver.gif', 0); Bargle(x);}
         else if(MapB == 1 || MapC == 1)         {setNext('{', 'hriver.gif', 0); Bargle(x);}
      }
      if(theMap[x] == '[' || theMap[x] == ']')
      {
         if(x >= 40 && (theMap[x-40] == '{' || theMap[x-40] == '}' || theMap[x-40] == '~' || theMap[x-40] == 'I' || theMap[x-40] == 'J'
          || theMap[x-40] == 'K' || theMap[x-40] == 'L' || theMap[x-40] == 'M' || theMap[x-40] == 'N' || theMap[x-40] == 'O' || theMap[x-40] == 'P'
            || theMap[x-40] == '[' || theMap[x-40] == ']'))
         {MapA = 1;}
         if(x%40 != 0 && (theMap[x-1] == '{' || theMap[x-1] == '}' || theMap[x-1] == '~' || theMap[x-1] == 'I' || theMap[x-1] == 'J'
          || theMap[x-1] == 'K' || theMap[x-1] == 'L' || theMap[x-1] == 'M' || theMap[x-1] == 'N' || theMap[x-1] == 'O' || theMap[x-1] == 'P'
            || theMap[x-1] == '[' || theMap[x-1] == ']'))
         {MapB = 1;}
         if((x+1)%40 != 0 && (theMap[x+1] == '{' || theMap[x+1] == '}' || theMap[x+1] == '~' || theMap[x+1] == 'I' || theMap[x+1] == 'J'
          || theMap[x+1] == 'K' || theMap[x+1] == 'L' || theMap[x+1] == 'M' || theMap[x+1] == 'N' || theMap[x+1] == 'O' || theMap[x+1] == 'P'
            || theMap[x+1] == '[' || theMap[x+1] == ']'))
         {MapC = 1;}
         if(x < 1560 && (theMap[x+40] == '{' || theMap[x+40] == '}' || theMap[x+40] == '~' || theMap[x+40] == 'I' || theMap[x+40] == 'J'
          || theMap[x+40] == 'K' || theMap[x+40] == 'L' || theMap[x+40] == 'M' || theMap[x+40] == 'N' || theMap[x+40] == 'O' || theMap[x+40] == 'P'
            || theMap[x+40] == '[' || theMap[x+40] == ']'))
         {MapD = 1;}

         if(MapA == 1 && MapD == 1)         {setNext('[', 'hbridge.gif', 0); Bargle(x);}
         else if(MapB == 1 && MapC == 1)         {setNext(']', 'vbridge.gif', 0); Bargle(x);}
         else if(MapA == 1 || MapD == 1)         {setNext('[', 'hbridge.gif', 0); Bargle(x);}
         else if(MapB == 1 || MapC == 1)         {setNext(']', 'vbridge.gif', 0); Bargle(x);}
      }
   }
   theDown = 0;
}

//-->
</script>

</head>
<body bgcolor="#010101" onmouseup="Budapest()">

<?php
extract($_GET);

echo"
<DIV STYLE=\"position:absolute; top:32px; left:696px;\">
<form>

<a href=\"javascript: setNext('a', 'neutralcity.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/neutralcity.gif'></a>
<a href=\"javascript: setNext('b', 'neutralbase.gif', 9);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/neutralbase.gif'></a>
<a href=\"javascript: setNext('c', 'neutralairport.gif', 2);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/neutralairport.gif'></a>
<a href=\"javascript: setNext('d', 'neutralport.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/neutralport.gif'></a>
<BR>
<a href=\"javascript: setNext('e', 'orangestarcity.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/orangestarcity.gif'></a>
<a href=\"javascript: setNext('f', 'orangestarbase.gif', 9);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/orangestarbase.gif'></a>
<a href=\"javascript: setNext('g', 'orangestarairport.gif', 2);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/orangestarairport.gif'></a>
<a href=\"javascript: setNext('h', 'orangestarport.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/orangestarport.gif'></a>
<a href=\"javascript: setNext('i', 'orangestarhq.gif', 15);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/orangestarhq.gif'></a>
<BR>
<a href=\"javascript: setNext('j', 'bluemooncity.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/bluemooncity.gif'></a>
<a href=\"javascript: setNext('l', 'bluemoonbase.gif', 9);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/bluemoonbase.gif'></a>
<a href=\"javascript: setNext('m', 'bluemoonairport.gif', 2);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/bluemoonairport.gif'></a>
<a href=\"javascript: setNext('n', 'bluemoonport.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/bluemoonport.gif'></a>
<a href=\"javascript: setNext('o', 'bluemoonhq.gif', 15);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/bluemoonhq.gif'></a>
<BR>
<a href=\"javascript: setNext('p', 'greenearthcity.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/greenearthcity.gif'></a>
<a href=\"javascript: setNext('q', 'greenearthbase.gif', 9);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/greenearthbase.gif'></a>
<a href=\"javascript: setNext('r', 'greenearthairport.gif', 2);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/greenearthairport.gif'></a>
<a href=\"javascript: setNext('s', 'greenearthport.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/greenearthport.gif'></a>
<a href=\"javascript: setNext('t', 'greenearthhq.gif', 15);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/greenearthhq.gif'></a>
<BR>
<a href=\"javascript: setNext('u', 'yellowcometcity.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/yellowcometcity.gif'></a>
<a href=\"javascript: setNext('v', 'yellowcometbase.gif', 9);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/yellowcometbase.gif'></a>
<a href=\"javascript: setNext('w', 'yellowcometairport.gif', 2);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/yellowcometairport.gif'></a>
<a href=\"javascript: setNext('x', 'yellowcometport.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/yellowcometport.gif'></a>
<a href=\"javascript: setNext('y', 'yellowcomethq.gif', 15);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/yellowcomethq.gif'></a>
<BR>
<a href=\"javascript: setNext('1', 'blackholecity.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/blackholecity.gif'></a>
<a href=\"javascript: setNext('2', 'blackholebase.gif', 9);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/blackholebase.gif'></a>
<a href=\"javascript: setNext('3', 'blackholeairport.gif', 2);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/blackholeairport.gif'></a>
<a href=\"javascript: setNext('4', 'blackholeport.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/blackholeport.gif'></a>
<a href=\"javascript: setNext('5', 'blackholehq.gif', 15);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/blackholehq.gif'></a>
<BR>
<a href=\"javascript: setNext('U', 'redfirecity.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/redfirecity.gif'></a>
<a href=\"javascript: setNext('T', 'redfirebase.gif', 9);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/redfirebase.gif'></a>
<a href=\"javascript: setNext('S', 'redfireairport.gif', 2);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/redfireairport.gif'></a>
<a href=\"javascript: setNext('R', 'redfireport.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/redfireport.gif'></a>
<a href=\"javascript: setNext('Q', 'redfirehq.gif', 15);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/redfirehq.gif'></a>
<BR>
<a href=\"javascript: setNext('Z', 'greyskycity.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/greyskycity.gif'></a>
<a href=\"javascript: setNext('Y', 'greyskybase.gif', 9);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/greyskybase.gif'></a>
<a href=\"javascript: setNext('X', 'greyskyairport.gif', 2);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/greyskyairport.gif'></a>
<a href=\"javascript: setNext('W', 'greyskyport.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/greyskyport.gif'></a>
<a href=\"javascript: setNext('V', 'greyskyhq.gif', 15);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/greyskyhq.gif'></a>
<BR>
<a href=\"javascript: setNext('6', 'browndesertcity.gif', 4);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/browndesertcity.gif'></a>
<a href=\"javascript: setNext('7', 'browndesertbase.gif', 9);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/browndesertbase.gif'></a>
<a href=\"javascript: setNext('8', 'browndesertairport.gif', 2);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/browndesertairport.gif'></a>
<a href=\"javascript: setNext('9', 'browndesertport.gif', 6);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/browndesertport.gif'></a>
<BR>
<a href=\"javascript: setNext('_', 'amberblazecomtower.gif', 9);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/amberblazecomtower.gif'></a>
<BR>
<a href=\"javascript: setNext('.', 'plain.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/plain.gif'></a>
<a href=\"javascript: setNext('@', 'wood.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/wood.gif'></a>
<a href=\"javascript: setNext('^', 'mountain.gif', 5);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/mountain.gif'></a>
<a href=\"javascript: setNext(',', 'sea.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/sea.gif'></a>
<a href=\"javascript: setNext('%', 'reef.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/reef.gif'></a>
<BR>
<a href=\"javascript: setNext('(', 'hshoaln.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/hshoaln.gif'></a>
<a href=\"javascript: setNext(')', 'vshoale.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/vshoale.gif'></a>
<a href=\"javascript: setNext('<', 'hshoal.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/hshoal.gif'></a>
<a href=\"javascript: setNext('>', 'vshoal.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/vshoal.gif'></a>
<BR>
<a href=\"javascript: setNext('-', 'hroad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/hroad.gif'></a>
<a href=\"javascript: setNext('=', 'vroad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/vroad.gif'></a>
<a href=\"javascript: setNext('A', 'esroad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/esroad.gif'></a>
<a href=\"javascript: setNext('B', 'swroad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/swroad.gif'></a>
<a href=\"javascript: setNext('C', 'wnroad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/wnroad.gif'></a>
<a href=\"javascript: setNext('D', 'neroad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/neroad.gif'></a>
<a href=\"javascript: setNext('E', 'eswroad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/eswroad.gif'></a>
<a href=\"javascript: setNext('F', 'swnroad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/swnroad.gif'></a>
<a href=\"javascript: setNext('G', 'wneroad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/wneroad.gif'></a>
<a href=\"javascript: setNext('H', 'nesroad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/nesroad.gif'></a>
<a href=\"javascript: setNext('+', 'croad.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/croad.gif'></a>
<BR>
<a href=\"javascript: setNext('{', 'hriver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/hriver.gif'></a>
<a href=\"javascript: setNext('}', 'vriver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/vriver.gif'></a>
<a href=\"javascript: setNext('I', 'esriver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/esriver.gif'></a>
<a href=\"javascript: setNext('J', 'swriver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/swriver.gif'></a>
<a href=\"javascript: setNext('K', 'wnriver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/wnriver.gif'></a>
<a href=\"javascript: setNext('L', 'neriver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/neriver.gif'></a>
<a href=\"javascript: setNext('M', 'eswriver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/eswriver.gif'></a>
<a href=\"javascript: setNext('N', 'swnriver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/swnriver.gif'></a>
<a href=\"javascript: setNext('O', 'wneriver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/wneriver.gif'></a>
<a href=\"javascript: setNext('P', 'nesriver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/nesriver.gif'></a>
<a href=\"javascript: setNext('~', 'criver.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/criver.gif'></a>
<BR>
<a href=\"javascript: setNext('[', 'hbridge.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/hbridge.gif'></a>
<a href=\"javascript: setNext(']', 'vbridge.gif', 0);\"><img border=0 src='http://awbw.amarriner.com:8080/terrain/aw2/vbridge.gif'></a>
<BR>
<a href=\"javascript: setNext('0', 'BLANK.gif', 0);\">(Black Square/Delete)</a>
</form>
</DIV>

";

for ($arnold = 0; $arnold < 40; $arnold += 1)
{
for ($waxman = 0; $waxman < 39; $waxman += 1)
{
$RepoBob = $arnold * 40 + $waxman;
$PaperAl = 32 + 16 * $waxman;
$DekuStu = 32 + 16 * $arnold;
echo '<div STYLE="border: 0px solid grey; position:absolute; top:'. $DekuStu .'px; left:'. $PaperAl .'px; z-index: 5;" id="a'. $RepoBob .'">
   <img src="BLANK.gif" onmousedown="Bargle('. $RepoBob. ')" onmouseup="Budapest()" onmouseover="YoYoYo('. $RepoBob. ')"></div>';
}
echo'<BR>';
}

echo'<div STYLE="position:absolute; top:32px; left:850px; z-index: 1;">
<INPUT TYPE="button" NAME="CurlyJoe" Value="Save" onClick="save()">
<INPUT TYPE="button" NAME="LarryMoe" Value="Load" onClick="load()">
<textarea id="mapcode" cols="40" rows="5"></textarea>
</div>';

echo'<div STYLE="position:absolute; top:200px; left:850px; z-index: 1;">
<INPUT TYPE="button" NAME="Cleric" Value="Road/River/Bridge/Shoal Fixer" onClick="roads()">
</div>';
echo'<div STYLE="position:absolute; top:200px; left:1074px; z-index: 1;">
<INPUT TYPE="button" NAME="Fighter" Value="Some Reefs" onClick="REEEEEEEEEEEEEEEEEEEEEFS()">
</div>';
echo'<div STYLE="position:absolute; top:225px; left:850px; z-index: 1;">
<INPUT TYPE="button" NAME="Rouge" Value="Toggle Gridline" onClick="wolffangfist()">
</div>';
echo'<div STYLE="position:absolute; top:225px; left:1000px; z-index: 1;">
<INPUT TYPE="button" NAME="Sorcerer" Value="Some Forests/Mountains" onClick="Killroy()">
</div>';
echo'<div STYLE="position:absolute; top:260px; left:850px; z-index: 1;">
<FONT COLOR="WHITE">Map Height (1-40):</FONT><BR>
<input type="text" id="theHHH" value=40><BR>
<FONT COLOR="WHITE">Map Width (1-39):</FONT><BR>
<input type="text" id="theWWW" value=39><BR>
<div id=\'Fill\'><a href="javascript: setFill(\'0\', \'BLANK.gif\', 0);">Fill With <img border=0 src="BLANK.gif"></a></div>

</div>';
echo'<div STYLE="position:absolute; top:260px; left:1000px; z-index: 1;">
<FONT COLOR="WHITE">Symmetry (Set size first):</FONT><BR>
<INPUT TYPE="button" NAME="Timmy" Value="Top -> Bottom (Flip)" onClick="MirrorMode(1, 1)"><BR>
<INPUT TYPE="button" NAME="Sarah" Value="Top -> Bottom (Diagonal)" onClick="MirrorMode(1, 2)"><BR>
<INPUT TYPE="button" NAME="Lester" Value="Left -> Right (Flip)" onClick="MirrorMode(2, 1)"><BR>
<INPUT TYPE="button" NAME="Bill" Value="Left -> Right (Diagonal)" onClick="MirrorMode(2, 2)"><BR>
<INPUT TYPE="button" NAME="Cassandra" Value="TopLeft -> All (Rotate)" onClick="MirrorMode(3, 1)">
</div>';
?>

</body>
</html>
Nyvelion
Nyvelion
Mech
Mech

Posts Posts : 69
Reputation Reputation : 94
Join date : 2014-03-26
Location : No

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  theether Tue Jan 06, 2015 4:11 am

AWBWthing.php showed me an error in line 113:
Code:
   dobj.style.left = (nn6 ? tx + e.clientX - x : tx + event.clientX - x) - ((nn6 ? tx + e.clientX - x : tx + event.clientX - x) +  % 16 + 8;
I removed the second open bracket and the + before %, is that correct?

Apart from that: (EDITED)
http://stratecide.uphero.com/awbw/AWBWdesignmap.php
http://stratecide.uphero.com/awbw/AWBWthing.php

It's not a payed server, so the uptime may vary, but it's better than nothing.


Last edited by theether on Sun May 01, 2016 5:46 am; edited 1 time in total
theether
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  MorganLeah Tue Jan 06, 2015 12:53 pm

You two are champions cheers

It looks like right now the move planner doesn't place things evenly on the spaces, but instead on corners.

MorganLeah
AWBW Map Committee
AWBW Map Committee

Posts Posts : 51
Reputation Reputation : 12
Join date : 2014-01-09
Age : 34

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  WalkerBoh Tue Jan 06, 2015 4:03 pm

Nyv thank you so much. You are seriously my hero right now. Oh and theether you're pretty much a badass too.

Now if we can just get that game maker tool set up again...

WalkerBoh
AWBW Map Committee
AWBW Map Committee

Posts Posts : 328
Reputation Reputation : 108
Join date : 2014-01-10

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  theether Tue Jan 06, 2015 4:25 pm

Are you talking about a tool that automatically creates public games?
Is the code lost or can I help somehow?
theether
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  WalkerBoh Tue Jan 06, 2015 5:49 pm

Yes it's what we used to use to create Z and M games, which you could create without a player joined. Headphone set it up originally but it's lost now I guess.

WalkerBoh
AWBW Map Committee
AWBW Map Committee

Posts Posts : 328
Reputation Reputation : 108
Join date : 2014-01-10

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  theether Tue Jan 06, 2015 7:08 pm

I tried around for a bit but found no way to create a game without player.
Are there any chances that Headphone still has it?
theether
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  Best Sakuya NA Tue Jan 06, 2015 8:25 pm

From Headphone, on the subject of the Game Maker and their Map Maker:

[8:06:26 PM] Headphone: dont have the game maker
[8:06:30 PM] Headphone: if you can find rast
[8:06:47 PM] Headphone: he made the original that I tampered with
[8:07:00 PM] Headphone: and I'm working on v2 of my map maker
Best Sakuya NA
Best Sakuya NA
Admin

Posts Posts : 980
Reputation Reputation : 102
Join date : 2009-05-17
Age : 34
Location : Between 'Here be Dragons' and the edge of the map

https://isndev.forumotion.co.uk

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  theether Wed Jan 07, 2015 5:51 am

I figured it out after all.
(EDIT) http://stratecide.uphero.com/awbw/GMTool.php
Tell me if I missed something.


Last edited by theether on Sun May 01, 2016 5:45 am; edited 1 time in total
theether
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  WalkerBoh Wed Jan 07, 2015 8:42 pm

Awesome, the game creator works perfectly! I'm a little skeptical of having it available for everyone to use, but I suppose not enough people even check this forum for it to be a problem.

One question about the move planner: I saw a bit in the code that looked (to my entirely untrained coding eye) like it had an option where you could enter a map ID and load it? But that doesn't show up on the page when it loads up. Is this just disabled or would it take a lot of work to get that running? It'd be really useful for map analysis if you could load a blank map and simulate capture phases and such. Currently you can take running games and manually reset it yourself, but that's a bit of a hassle.

Edit: Also as morgan said, the units are offset when you try moving them on the planner. And it looks like the "darken" tile is missing.

WalkerBoh
AWBW Map Committee
AWBW Map Committee

Posts Posts : 328
Reputation Reputation : 108
Join date : 2014-01-10

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  WalkerBoh Sat Jan 10, 2015 11:54 am

Theether, is there any chance you can make the following CO's pre-checked when the Game Creator is loaded: Colin, Flak, Grit, Hachi, Jugger, Kanbei, Nell, Sensei. This would make game creation a ton faster since those CO's are going to be banned for a majority of games (especially Z-Games).

Also I know you have no obligation to work on these tools more than you already have, but the ability to load map ID's on the move planner would be incredibly useful too. Smile

WalkerBoh
AWBW Map Committee
AWBW Map Committee

Posts Posts : 328
Reputation Reputation : 108
Join date : 2014-01-10

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  theether Sat Jan 10, 2015 2:22 pm

WalkerBoh wrote:make the following CO's pre-checked when the Game Creator is loaded: Colin, Flak, Grit, Hachi, Jugger, Kanbei, Nell, Sensei
MorganLeah wrote:It looks like right now the move planner doesn't place things evenly on the spaces, but instead on corners.
Done and done.

I also tried integrating maps into the move planner, but for now it doesn't work and looks pretty messy if you try it.
I'll continue when I find the time
theether
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  WalkerBoh Sat Jan 10, 2015 3:02 pm

You are the best.

WalkerBoh
AWBW Map Committee
AWBW Map Committee

Posts Posts : 328
Reputation Reputation : 108
Join date : 2014-01-10

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  theether Sat Jan 10, 2015 6:07 pm

No problem Embarassed
Maps should now work.

I haven't used this tool before, so you'll have to see for yourself whether I broke something while working on it.
theether
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  WalkerBoh Sun Jan 11, 2015 2:04 am

No it looks really good, the map ID seems to work just fine. The one thing that I see that isn't working is the "Darken" tile. It just appears with a "?" icon like it can't find the tile - maybe the file path is broken? It's not a huge deal at all, not worth spending much time fixing, but if it's a quick fix that'd be the only other thing I can see to improve it.

But thanks one last time, you have no idea how useful this tool is for map analysis now, not to mention the obvious benefits for actually playing the game. Plus it's an incredibly good tool for creating illustrations.

WalkerBoh
AWBW Map Committee
AWBW Map Committee

Posts Posts : 328
Reputation Reputation : 108
Join date : 2014-01-10

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  Nyvelion Tue Feb 24, 2015 12:25 pm

theether wrote:AWBWthing.php showed me an error in line 113:
Code:
   dobj.style.left = (nn6 ? tx + e.clientX - x : tx + event.clientX - x) - ((nn6 ? tx + e.clientX - x : tx + event.clientX - x) +  % 16 + 8;
I removed the second open bracket and the + before %, is that correct?

I've no idea, I borrowed that line of code.

Hey, sorry I didn't mention this earlier but I completely forgot about this post until now when I got a pm linking to this forum again. There's just one more thing to do: In the same place that the .php is located, could you add a file called "BLANK.gif", which is a 16x16 solid black image? For the map thing, so it doesn't look weird on page load. I'm not sure of a convenient way to send my BLANK.gif to you otherwise.

Thank you for the upload. Not sure if I've ever even used my own tools except to test them years ago, but I think I want to make one last map, using this.
Nyvelion
Nyvelion
Mech
Mech

Posts Posts : 69
Reputation Reputation : 94
Join date : 2014-03-26
Location : No

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  theether Thu Aug 13, 2015 6:05 am

I finally added the BLANK.gif just now
theether
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  Xmo5 Mon Aug 17, 2015 12:25 pm

Nooooooo!!!  

Exclamation  Exclamation  Exclamation  

Shocked  Shocked  Shocked  

No  No  No

Crying or Very sad Crying or Very sad Crying or Very sad

awbw move planner needs host Stratecide

Fuck My Life


*ahem* .. I mean: It appears there's a problem and it should probably be addressed if we want to keep the map maker and move planner site going. Just thought you might want to know.  Neutral
Xmo5
Xmo5
AWBW Map Committee
AWBW Map Committee

Posts Posts : 458
Reputation Reputation : 106
Join date : 2014-01-16
Age : 33
Location : Wherever I happen to be

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  theether Mon Aug 17, 2015 3:28 pm

Yeah, I've already protected it against removal, but it seems like they have a bug in their system, so that banner might be staying for a while.
The site should stay up, though.
No worries Cool
theether
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  Xmo5 Mon Aug 17, 2015 4:42 pm

Awesome! I've just started getting to enjoy having a map editor again so I'd hate to see it go Smile
Xmo5
Xmo5
AWBW Map Committee
AWBW Map Committee

Posts Posts : 458
Reputation Reputation : 106
Join date : 2014-01-16
Age : 33
Location : Wherever I happen to be

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  theether Mon Aug 17, 2015 4:56 pm

If it were deleted for some reason, you could still just upload the files somewhere else again.
It won't vanish that easily Smile
theether
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  Xmo5 Sun May 01, 2016 1:32 am

theether wrote:I figured it out after all.
http://stratecide.uphero.com/GMTool.php
Tell me if I missed something.

Hey, this doesn't appear to work anymore. Is there anything you can do to get this back up and running?
Xmo5
Xmo5
AWBW Map Committee
AWBW Map Committee

Posts Posts : 458
Reputation Reputation : 106
Join date : 2014-01-16
Age : 33
Location : Wherever I happen to be

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  theether Sun May 01, 2016 5:44 am

Ah, yes.
I moved the file and forgot to update the link.
It should be here:
http://stratecide.uphero.com/awbw/GMTool.php
I'll update the link
theether
theether
Recon
Recon

Posts Posts : 129
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

awbw move planner needs host Empty Re: awbw move planner needs host

Post  Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum