diff --git a/dist/autoloader.js b/dist/autoloader.js index 7c6271f..6ff3ece 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Sat Nov 24 2018 15:24:14 GMT+0100 (CET)*/ +/*Generated on:Sat Nov 24 2018 15:26:12 GMT+0100 (CET)*/ var AutomaticDispose_Branch = "master"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var da_lss_adis_time = new Date().getTime(); @@ -6411,8 +6411,8 @@ ADisDB.on("ready", () => { }).delete(); } $(document).ready(function () { - setInterval(ADis_CollectPoliceSprechwuensche, 7500); - setInterval(ADis_OpenNextPoliceSprechwunsch, 7500); + setInterval(ADis_CollectPoliceSprechwuensche, 5000); + setInterval(ADis_OpenNextPoliceSprechwunsch, 5000); ADis_CollectPoliceSprechwuensche(); }); @@ -6485,31 +6485,6 @@ ADisDB.on("ready", () => { done: 'true' }).catch((err) => {}) } - - /** - * #mission_missing_905214286 - * //*[@id="mission_missing_905214286"] - * - * const regex = /^Gefangene sollen abtransportiert werden\.$/gmu; - const str = `Alarm Massenschlägerei, Uferweg, 27749 Düsternort Delmenhorst - Gefangene sollen abtransportiert werden. - Sophie V. - Anna T. - Franziska M.`; - let m; - - while ((m = regex.exec(str)) !== null) { - // This is necessary to avoid infinite loops with zero-width matches - if (m.index === regex.lastIndex) { - regex.lastIndex++; - } - - // The result can be accessed through the `m`-variable. - m.forEach((match, groupIndex) => { - console.log(`Found match, group ${groupIndex}: ${match}`); - }); - } - */ } // - diff --git a/dist/standalone.js b/dist/standalone.js index 6b15465..632afb8 100644 --- a/dist/standalone.js +++ b/dist/standalone.js @@ -1,4 +1,4 @@ -/*Generated on:Sat Nov 24 2018 15:24:14 GMT+0100 (CET)*/ +/*Generated on:Sat Nov 24 2018 15:26:12 GMT+0100 (CET)*/ function includesString(string1, string2) { return string1.toLowerCase().includes(string2.toLowerCase()); } diff --git a/script/sprechwunsch/police-opener.js b/script/sprechwunsch/police-opener.js index 72410e0..8bfa31b 100755 --- a/script/sprechwunsch/police-opener.js +++ b/script/sprechwunsch/police-opener.js @@ -1,6 +1,6 @@ $(document).ready(function () { - setInterval(ADis_CollectPoliceSprechwuensche, 7500); - setInterval(ADis_OpenNextPoliceSprechwunsch, 7500); + setInterval(ADis_CollectPoliceSprechwuensche, 5000); + setInterval(ADis_OpenNextPoliceSprechwunsch, 5000); ADis_CollectPoliceSprechwuensche(); }); @@ -72,29 +72,4 @@ function ADis_UpdatePoliceSprechwunschToDone(WunschID) { missionID: WunschID, done: 'true' }).catch((err) => {}) -} - -/** - * #mission_missing_905214286 - * //*[@id="mission_missing_905214286"] - * - * const regex = /^Gefangene sollen abtransportiert werden\.$/gmu; -const str = `Alarm Massenschlägerei, Uferweg, 27749 Düsternort Delmenhorst -Gefangene sollen abtransportiert werden. -Sophie V. -Anna T. -Franziska M.`; -let m; - -while ((m = regex.exec(str)) !== null) { - // This is necessary to avoid infinite loops with zero-width matches - if (m.index === regex.lastIndex) { - regex.lastIndex++; - } - - // The result can be accessed through the `m`-variable. - m.forEach((match, groupIndex) => { - console.log(`Found match, group ${groupIndex}: ${match}`); - }); -} - */ \ No newline at end of file +} \ No newline at end of file