From f80e41004cb38f10a30febb6c87256a8b4a5a969 Mon Sep 17 00:00:00 2001 From: sctnightcore <23263315+sctnightcore@users.noreply.github.com> Date: Sun, 9 Jun 2019 19:16:42 +0700 Subject: [PATCH 1/4] test success --- openkore.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openkore.pl b/openkore.pl index 99cf07444f..7ed4c0731b 100755 --- a/openkore.pl +++ b/openkore.pl @@ -89,7 +89,7 @@ sub __start { ChatQueue Actor Actor::Player Actor::Monster Actor::You Actor::Party Actor::Unknown Actor::Item Match Utils::Benchmark/); - + my $hehe; ##### MAIN LOOP ##### # Note: Further initialization is done in the mainLoop() function in functions.pl. From ccdf43fb5982dfc5fa40f2ec5575a66cadafd515 Mon Sep 17 00:00:00 2001 From: sctnightcore <23263315+sctnightcore@users.noreply.github.com> Date: Sun, 9 Jun 2019 19:22:22 +0700 Subject: [PATCH 2/4] Update functions.pl --- src/functions.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/functions.pl b/src/functions.pl index 2892e143fa..4d0c9059a1 100644 --- a/src/functions.pl +++ b/src/functions.pl @@ -554,7 +554,9 @@ sub finalInitialization { Log::message("\n"); Log::message("Initialized, use 'connect' to continue\n") if $Settings::no_connect; - exit if ($Settings::travis_ci); + if ($Settings::travis_ci) { + exit(0); + } Plugins::callHook('initialized'); XSTools::initVersion(); } From 17b1b92f3018c6b2a482729f9f68739031032312 Mon Sep 17 00:00:00 2001 From: sctnightcore <23263315+sctnightcore@users.noreply.github.com> Date: Sun, 9 Jun 2019 19:26:16 +0700 Subject: [PATCH 3/4] Update functions.pl --- src/functions.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/functions.pl b/src/functions.pl index 4d0c9059a1..a4586019bf 100644 --- a/src/functions.pl +++ b/src/functions.pl @@ -324,6 +324,9 @@ sub loadDataFiles { } Log::message("\n"); + if ($Settings::travis_ci) { + exit(0); + } } sub initNetworking { @@ -554,9 +557,6 @@ sub finalInitialization { Log::message("\n"); Log::message("Initialized, use 'connect' to continue\n") if $Settings::no_connect; - if ($Settings::travis_ci) { - exit(0); - } Plugins::callHook('initialized'); XSTools::initVersion(); } From 68114a1a3771d4d24bf4159ca421f2a187fc771a Mon Sep 17 00:00:00 2001 From: sctnightcore <23263315+sctnightcore@users.noreply.github.com> Date: Sun, 9 Jun 2019 19:38:02 +0700 Subject: [PATCH 4/4] Update functions.pl --- src/functions.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/functions.pl b/src/functions.pl index a4586019bf..e3c06c67f2 100644 --- a/src/functions.pl +++ b/src/functions.pl @@ -324,9 +324,6 @@ sub loadDataFiles { } Log::message("\n"); - if ($Settings::travis_ci) { - exit(0); - } } sub initNetworking { @@ -431,6 +428,7 @@ sub promptFirstTimeInformation { sub processServerSettings { my $filename = shift; + exit(0) if ($Settings::travis_ci); # Select Master server on Demand if ($config{master} eq "" || $config{master} =~ /^\d+$/ || !exists $masterServers{$config{master}}) {