Aiya!
Another feature from Cryect’s Tools fixed for 3.x.x!
This new function help you to move “ADTS” by around the world. I expend one day to try understand how Cryect made his tool, and now i’m able to fix the terrain/water but currently not the “M2/WMO” positions
Here is an example. I changed GM Island to Azeroth_32_48.adt (And yes I modified the HumanMale.M2

With this feature I’ve been able to make a way to GM Island, and using my WDT Editor I made a way between Teldrassil and GM Island:

Then I made an array that contains all new blocks and I found a “blank adt” without M2/Water/WMO/Textures completely blank! This is “MonasteryInstances_33_32.adt” Then I put all in a loop and then I fixed all positions in each ADT. Here is the code:
<?
//Offset fix
$a = array(
"Kalimdor_30_8.adt",
"Kalimdor_30_7.adt",
"Kalimdor_30_6.adt",
"Kalimdor_30_3.adt",
"Kalimdor_30_5.adt",
"Kalimdor_30_4.adt",
"Kalimdor_30_2.adt",
"Kalimdor_28_2.adt",
"Kalimdor_29_2.adt",
"Kalimdor_27_2.adt",
"Kalimdor_26_2.adt",
"Kalimdor_25_2.adt",
"Kalimdor_24_2.adt",
"Kalimdor_23_2.adt",
"Kalimdor_22_2.adt",
"Kalimdor_21_2.adt",
"Kalimdor_20_2.adt",
"Kalimdor_19_2.adt",
"Kalimdor_18_2.adt",
"Kalimdor_16_2.adt",
"Kalimdor_17_2.adt",
"Kalimdor_15_2.adt",
"Kalimdor_14_2.adt",
"Kalimdor_13_2.adt",
"Kalimdor_12_2.adt",
"Kalimdor_11_2.adt",
"Kalimdor_10_2.adt",
"Kalimdor_9_2.adt",
"Kalimdor_8_2.adt",
"Kalimdor_7_2.adt",
"Kalimdor_6_2.adt",
"Kalimdor_5_2.adt",
"Kalimdor_4_2.adt",
"Kalimdor_3_2.adt",
"Kalimdor_2_2.adt",
"Kalimdor_2_1.adt",
"Kalimdor_1_2.adt"
);
include("adt.class.php");
foreach ($a as $k) {
copy("maps/MonasteryInstances_33_32.adt","maps/s/".$k);
$MyADT = new ADT();
$MyADT->ADT_Open("maps/s/".$k);
$MyADT->ADT_HeaderInfo();
$MyADT->ADT_OffsetFix();
}
?>
The new function is:
$MyADT->ADT_OffsetFix();
And some screenshots from the adventure to GMIsland (Aproximately 20-30 minutes walking:
- Teldrassil








At the GM Island!

Sourcecode: https://github.com/karliky/php-wow
Download MPQ: https://web.archive.org/web/20120702101125/http://nogg-aholic.es/downloads/patch-4.mpq