Thread: WOD/Pre-patch
View Single Post
12-10-14, 08:31 AM   #736
ircdirk
A Molten Giant
 
ircdirk's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 823
Originally Posted by atl77 View Post
@ircdirk, can you provide me some coords output of your database that I can test my scripts with? In addition, you could just add ".00" to any number.
But the problem is not with cords being like 40 or 40.00, its problem with cords before calculation are 40.23 and after its 40 (like they are rounded somewere to integer).

Yes, one quest will be enough? This quest has 3 objectives:

Code:
$q = array (
  0 => 
  array (
    0 => 
    array (
      'x' => '68.20',
      'y' => '38.00',
    ),
    1 => 
    array (
      'x' => '68.40',
      'y' => '37.00',
    ),
    2 => 
    array (
      'x' => '68.40',
      'y' => '38.60',
    ),
    3 => 
    array (
      'x' => '68.60',
      'y' => '37.00',
    ),
    4 => 
    array (
      'x' => '68.80',
      'y' => '38.00',
    ),
  ),
  1 => 
  array (
    0 => 
    array (
      'x' => '66.40',
      'y' => '37.40',
    ),
    1 => 
    array (
      'x' => '66.40',
      'y' => '37.60',
    ),
    2 => 
    array (
      'x' => '66.40',
      'y' => '39.40',
    ),
    3 => 
    array (
      'x' => '66.40',
      'y' => '39.60',
    ),
    4 => 
    array (
      'x' => '66.60',
      'y' => '37.40',
    ),
    5 => 
    array (
      'x' => '66.60',
      'y' => '38.40',
    ),
    6 => 
    array (
      'x' => '66.60',
      'y' => '38.60',
    ),
    7 => 
    array (
      'x' => '66.60',
      'y' => '39.60',
    ),
  ),
  2 => 
  array (
    0 => 
    array (
      'x' => '64.40',
      'y' => '40.80',
    ),
    1 => 
    array (
      'x' => '64.60',
      'y' => '40.60',
    ),
  ),
);

Last edited by ircdirk : 12-10-14 at 08:34 AM.