From 61ffb6f2ef271efebe22eeeae74fbe81874a03a8 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sun, 31 Jan 2016 01:06:51 -0600 Subject: [PATCH] theroretically this will fix the warnings about space_npe_falcon_area.iff --- .../compiled/game/script/library/utils.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sku.0/sys.server/compiled/game/script/library/utils.java b/sku.0/sys.server/compiled/game/script/library/utils.java index f94f70adb..1b669eb42 100644 --- a/sku.0/sys.server/compiled/game/script/library/utils.java +++ b/sku.0/sys.server/compiled/game/script/library/utils.java @@ -7413,18 +7413,30 @@ public class utils extends script.base_script } public static dictionary getCoordinatesInBuildoutRow(String scene, int buildout_row) throws InterruptedException { + if (scene == "space_npe_falcon") { + return NULL; + } + String datatable = "datatables/buildout/areas_" + scene + ".iff"; dictionary data = dataTableGetRow(datatable, buildout_row); return data; } public static obj_id[] getPlayersInBuildoutRow(String scene, int buildout_row) throws InterruptedException { + if (scene == "space_npe_falcon") { + return NULL; + } + String datatable = "datatables/buildout/areas_" + scene + ".iff"; dictionary data = dataTableGetRow(datatable, buildout_row); return getPlayersInBuildoutDimensions(scene, data.getFloat("x1"), data.getFloat("x2"), data.getFloat("z1"), data.getFloat("z2")); } public static obj_id[] getPlayersInBuildoutArea(String scene, String buildout_area) throws InterruptedException { + if (scene == "space_npe_falcon") { + return NULL; + } + String datatable = "datatables/buildout/areas_" + scene + ".iff"; int rowNum = dataTableSearchColumnForString(buildout_area, 0, datatable); if (rowNum == -1)