[Tool] Map - Verschiebungs Tool

  • Dieses Tool habe ich geschrieben, damit man eine komplette Map ( bspw. ein Interior, was in einem anderen verbuggt ist ),
    verschieben zu können.
    Anschauen, könnt ihr euch das ganze hier:
    Hier


    Sourcecode:

    PHP
    <?php$x = $y = $z = 0;if( isset( $_POST["submit"] ) )  {	$output = "";	$x = intval(@$_POST["x"]);	$y = intval(@$_POST["y"]);	$z = intval(@$_POST["z"]);	foreach( explode(";", @$_POST["objects"]) as $object) {		$object_arr = explode(",", $object);		if( sizeof( $object_arr ) >= 2 ) {			$object_arr[1] = " ". ($object_arr[1] += $x);			$object_arr[2] = " ". ($object_arr[2] += $y);			$object_arr[3] = " ". ($object_arr[3] += $z);			$output .= implode($object_arr, ",") .";";		}	}}?><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head>    <meta http-equiv="content-type" content="text/html; charset=UTF-8">	<title>Map Mover - by Mods Factory</title>    <link href="style.css" type="text/css" rel="stylesheet"></head><body>	<div id="content">		<form method="POST">			X: <input type="text" size="5" name="x" value="<?php echo $x ?>"/>			Y: <input type="text" size="5" name="y" value="<?php echo $y ?>"/>			Z: <input type="text" size="5" name="z" value="<?php echo $z ?>"/>			<textarea name="objects" style="width: 1200px; min-height: 300px;"><?php if(isset($output)) echo $output; ?></textarea><br/>			<div class="formSubmit">				<input type="submit" name="submit" /> <input type="reset" name="reset" /> 			</div>		</form>	</div></body></html>


    MfG