jail...
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Fri Jan 11 2019 03:45:33 GMT+0100 (CET)*/
|
/*Generated on:Fri Jan 11 2019 04:07:33 GMT+0100 (CET)*/
|
||||||
var AutomaticDispose_Branch = "master";
|
var AutomaticDispose_Branch = "master";
|
||||||
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
||||||
var da_lss_adis_time = new Date().getTime();
|
var da_lss_adis_time = new Date().getTime();
|
||||||
|
|||||||
Vendored
+17
-8
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Fri Jan 11 2019 03:45:33 GMT+0100 (CET)*/
|
/*Generated on:Fri Jan 11 2019 04:07:33 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -17561,12 +17561,12 @@ class AutomaticDispose {
|
|||||||
$("#adis-sprechwunsch-police-frame").attr("src", "https://www.leitstellenspiel.de/missions/" + MissionID);
|
$("#adis-sprechwunsch-police-frame").attr("src", "https://www.leitstellenspiel.de/missions/" + MissionID);
|
||||||
$("#adis-sprechwunsch-police-frame").attr("mission_id", MissionID);
|
$("#adis-sprechwunsch-police-frame").attr("mission_id", MissionID);
|
||||||
|
|
||||||
self.PoliceVehicleFrameWatchDog = setTimeout((MissionID) => {
|
//self.PoliceVehicleFrameWatchDog = setTimeout((MissionID) => {
|
||||||
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
// self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
||||||
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
// $("#adis-sprechwunsch-police-frame").attr("src", "");
|
||||||
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
// $("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
||||||
});
|
// });
|
||||||
}, 1500, MissionID);
|
//}, 1500, MissionID);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -17785,7 +17785,16 @@ class AutomaticDispose {
|
|||||||
// Gefängnis einlieferung
|
// Gefängnis einlieferung
|
||||||
Send_Vehicle_To_Jail() {
|
Send_Vehicle_To_Jail() {
|
||||||
var JailHref = this.Jails[0].href
|
var JailHref = this.Jails[0].href
|
||||||
document.location.href = document.location.origin + JailHref;
|
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||||
|
const runnerID = self.ADisSettings.runner_iframesName.indexOf(window.name);
|
||||||
|
self.MyRunner = self.ADisSettings.runner[runnerID];
|
||||||
|
self.MyRunnerSettings = self.ADisSettings.runner_settings[runnerID];
|
||||||
|
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
||||||
|
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
||||||
|
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
||||||
|
tellParent(`console.log('wunsch:1000:done:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`);
|
||||||
|
document.location.href = document.location.origin + JailHref;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// -
|
// -
|
||||||
|
|||||||
+16
-7
@@ -441,12 +441,12 @@ class AutomaticDispose {
|
|||||||
$("#adis-sprechwunsch-police-frame").attr("src", "https://www.leitstellenspiel.de/missions/" + MissionID);
|
$("#adis-sprechwunsch-police-frame").attr("src", "https://www.leitstellenspiel.de/missions/" + MissionID);
|
||||||
$("#adis-sprechwunsch-police-frame").attr("mission_id", MissionID);
|
$("#adis-sprechwunsch-police-frame").attr("mission_id", MissionID);
|
||||||
|
|
||||||
self.PoliceVehicleFrameWatchDog = setTimeout((MissionID) => {
|
//self.PoliceVehicleFrameWatchDog = setTimeout((MissionID) => {
|
||||||
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
// self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
||||||
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
// $("#adis-sprechwunsch-police-frame").attr("src", "");
|
||||||
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
// $("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
||||||
});
|
// });
|
||||||
}, 1500, MissionID);
|
//}, 1500, MissionID);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -665,7 +665,16 @@ class AutomaticDispose {
|
|||||||
// Gefängnis einlieferung
|
// Gefängnis einlieferung
|
||||||
Send_Vehicle_To_Jail() {
|
Send_Vehicle_To_Jail() {
|
||||||
var JailHref = this.Jails[0].href
|
var JailHref = this.Jails[0].href
|
||||||
document.location.href = document.location.origin + JailHref;
|
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||||
|
const runnerID = self.ADisSettings.runner_iframesName.indexOf(window.name);
|
||||||
|
self.MyRunner = self.ADisSettings.runner[runnerID];
|
||||||
|
self.MyRunnerSettings = self.ADisSettings.runner_settings[runnerID];
|
||||||
|
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
||||||
|
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
||||||
|
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
||||||
|
tellParent(`console.log('wunsch:1000:done:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`);
|
||||||
|
document.location.href = document.location.origin + JailHref;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// -
|
// -
|
||||||
|
|||||||
Reference in New Issue
Block a user