From 48b14cbd6c2b0e2406fa82a9b2bf2b8fa647f5ff Mon Sep 17 00:00:00 2001 From: lietuvis10 <50807912+lietuvis10@users.noreply.github.com> Date: Mon, 27 Oct 2025 17:18:08 +0200 Subject: [PATCH] Update process.php Update Croppers part for process Crop finder automation. --- install/process.php | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/install/process.php b/install/process.php index 2e947fc6..61385cf2 100644 --- a/install/process.php +++ b/install/process.php @@ -207,26 +207,26 @@ class Process { /** * Generates map data and populates it with oasis. */ - function createWdata() { - global $database; + function createWdata() { + global $database; - include ("../GameEngine/config.php"); - include ("../GameEngine/Database.php"); - include ("../GameEngine/Admin/database.php"); + include ("../GameEngine/config.php"); + include ("../GameEngine/Database.php"); + include ("../GameEngine/Admin/database.php"); - // populate world data - $result = $database->populateWorldData(); - if ($result === false) { - header("Location: index.php?s=3&err=1"); - exit; - } else if ($result === -1) { - header("Location: index.php?s=3&c=1"); - exit; - } + // 1) Populate world data + $result = $database->populateWorldData(); + if ($result === false) { + header("Location: index.php?s=3&err=1"); + exit; + } else if ($result === -1) { + header("Location: index.php?s=3&c=1"); + exit; + } - header("Location: index.php?s=4"); - exit; - } + header("Location: index.php?s=3&startCroppers=1"); + exit; + } } ;