mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-14 07:29:18 +08:00
22 lines
90 KiB
JavaScript
22 lines
90 KiB
JavaScript
|
/*
|
|||
|
JOY_COIN_MAXIMIZE = 最大化硬币收益,如果合成后全部挖土后还有空位,则开启此模式(默认开启) 0关闭 1开启
|
|||
|
|
|||
|
请确保新用户助力过开工位,否则开启游戏了就不算新用户,后面就不能助力开工位了!!!!!!!!!!
|
|||
|
|
|||
|
如需关闭请添加变量,变量名:HELP_JOYPARK,变量值:false
|
|||
|
|
|||
|
此游戏黑号严重,所以请自行定时,火爆后停止放置一段时间恢复
|
|||
|
|
|||
|
做合成 购买等,无助力,无任务
|
|||
|
|
|||
|
============Quantumultx===============
|
|||
|
|
|||
|
[task_local]
|
|||
|
#特价版-牛牛乐园
|
|||
|
1 1 1 1 * jd_tj_nnly.js, tag=特价版-牛牛乐园, enabled=true
|
|||
|
*/
|
|||
|
const $ = new Env('特价版-牛牛乐园');
|
|||
|
var version_='jsjiami.com.v7';const I1ii1l=iii1II;function Iii11l(){const I1Ii=(function(){return[version_,'ANpjsTtjiqpaImYfrixO.uxcKoISmf.NdvdPV7Hn==','fCoQWRKYW78','WObEW4RcUCkp','WOVcPJLsW44hW4HahG','W4tdOmkiWRxdHN7dQx4l','u8ktW5FcVeW','wCoNrXtcIW','WQ/dJtddUq','WOeUWOdcNmolW4xcLa','umktW6RcTwXqW5r2WPbhtZvdW4/dPa','WPBcSYzE','W7FcICkgW4blW4OnW6tcTLjIewRdGSk6','kCo/W5PUzq','qxpcMmoLWOC','C2JdT8oPbmoVW6xcIsRcVCknW4T6nWhcS8oXW7JcSSo7uqi','WOdcRmo/WQLc','DX9eWPbz','44krW4BcL8oezCoasq','WRRcPCoRAmoP','jMn0WONcVmkL','AtVcGmoOW4Dh','6yEt5BU+wUEDOUEDIEI8TUIcT+s5N+wwJUs7VowDQW','W4VcKSk5W7Tp','WOaKWOBcVColW5lcNq','tmo8vWdcLG','q8kPkCowWPiI','WO46WRVcSSoN','r8kRmSk1WOXRjSo7W4RdQSkJeq','WP7cPYvyW5qjW45ilHGhWRPtb3hdQfxcUSo9i8o3W4zJW4XmgumI','W4CfALVdJY3cQCopW4BdJJJcMCo5WP9BfSkhW53cRmoArG','44cc5Rkg6zkk5lQp44gH','W5xdJ8ozv8okitu','W7ddMGhcILW','WRRcPCooWPhcQZLUWO/dLeRcJ8kjkwVdNq','xmoRia','zHLCW5pcPa','eCo2oW','CbJcS8o5W7G','wLNcIaFdGLDypIy','m8o6oSkexq','Fhz8imor','BJhcNSoE','s8kzW67cU0O','uJpcKCoSW68','5RAs5yQY5Awu54o+54MV772s6lEN6l+3','vCooFG','sXHcWPL8qW','W5TDW4Dcnq','W79seCo+jq','WQHXr8oS','WPTczKNdUa','W6X5W5m','FKHC','vmonW5dcUxilW6HNWPnSrsX7W4BdH8kOdbxdHCkdWQrH','WOVcM8o8B8o2','yehcSCo7WRNcMCkJfa','WQuKWPVcK8odW5tcV14','WRhdLSoAWPOVWPu','jmoKWOaIW5W','ruJcJaVdGa','fNzmW6PUxmokWRddUa','rSkQhY0a','WQ7cJSol','WRlcOSo2WQVcKG','hCoyW5PgEW','WR3dTqJdLeO','yLvsCXxcHetcK8k7','ESk7mq8S','ydzJWRvI','hSo5hmk4FadcOSogimk/dHtdOa','sSk0pa','W4CeWPnnW5CjWQ8DW5ZcHu0nWR4','WQJdJsVdVMe','WOq9WOFcLCoU','W65rbSo/WPG','hCogWRmLW5e','WQRLTOdOVA3LIyhLJi3MRiJMNz3PQjFNRQNNUjxLPkhLIB4B6kYT5BcK5B2C5yIt5B6a5RAT5yIP5P+S556g6Akk5y2lW6ZMT4BLIB/LHyVLJAxVVAhKUBFKUPFMNllPG4xNIj8CWQpdNNpdUUAXOoAWNUs7Q+wyOsK','W7rfW45Oma','WQK1W7u','rcn1bmke','yafeWQ9XgW','oCoRoCkLsW','W69LW4vvk2pdI20','W6BdV8koW7ddGJxdSfbHW5FdPmo4','x0xdRCoHmCkGWRRdVN7cGmk0W4eYn23cVCkLW6tcGSodweO','r2L9amoK','W5rAlSo2','wmk3bCkwubBcJSocimk0','k3XJWQdcP8k0WQ1TpCkdbmkQeHpcOGvai3JdGuLzyXyTW5/dNNKNW5ZcGqTh','WQaOW6ddGaVcQq','s8ktW78','eSoMWPC5W607DmkHW6C/AY0Fm3arWQJcOwW','DmkPi3C4','yav1a8kSWPHApNG','yYnVWRTV','W7baoJ5/WR7cIq','W5ygW6JcSCkJhGmPerDemf9hW5mTECogWOVcTmo9WRu5r8oYDmoQospcPmo4bIfWWRC','BrFcHSo0W7e','AMxdJSokeW','D3pdPmoCbCkN','zdZcS8oAW4y','gCoYW5DHqa','xmk5eCkztr0','W6pcQcG','WOyjW5FdPqi','qCk+l8o/WOaXlq','r8k3h8kO','WQH/rSoRWRC','eEwCToMrSEwEHUEBS8k/WQxdN+kTJ++7L+kVQ++6QUkTK++5LEkSQo+7LUkUKU+7MEkVLU+6M+kSU++4OUkUQU+4Qq','W4fbWPqbW5XaWQyWWO0','WRBdHIhdQwW','5lUZ5z+I5A+h5OIR5lIM772H','W5XAl8oGWRS','WQlcPCotWPFcTq','WPFcO8oKFSoq','AmkqdYqTWPGV','W7RcGCozWPrDq8owW73cKmkMW5ZcVhxdICkcW6BcO0tOROBMSPBLP4tOTzlVVihORzZMORhMNQlNVBxOTOBPHlFOROq','WQZdJYZdV1q','WQnowv7dKG','rGDvWRb3','W7VcH8oQWRhORkRMSjlLPkVOT5pVVPlOR5lMOlBMNkdNVjhOT7FPHAtOR70','WRz/wCo9','xN5nEaC','yCo/DIJcJW','FxrhnSojWQC','WPpcG8o2WQJcGHPvWQ/dJMtcPmko','CrX2','W7JdRqNdHoIVS+AYREwLNUI1Jo+8IEITGEAIQoAFRoE+RUI3G+MhV+IUOa','W57dHCouD8oslZvJ','W4KqWRFdRCo+rxifE18+oNW','57Q08koaSuRMSApNQOxKVB545OMb5lQP5OU46kwU5yMc5OYw5QYB5l6K57IY55It54Uw5lMt','W4hcJcm3eW','wfpcOmoQWP8','EWvZgSkXW4uCD2SJWPdcNWpdRCkKW4tdV8oZl8k2tCkG','CYBdTJW0','aN1bW7DyeSkl','WR98W4ytWPW','W4hcLZ80ha','W5K8WQq8oq','BCk2nLmPrSoXWONdNgGJ','BG5lWQz7tbq','W4SrnSkviq','WOC7WOtcLmodW5lcLg7dTSkPW58UW4Cen3q','W40tWQCsma','uSkoW7BcM1q','W40YdSkzaG','FcnRWObW','5OUk5yM67763','BSkqeq','WPlcH8kx6lsW5y2r','h8oQWOq','WQfwfCkeeW','tedcTqxdVW','WOPRq8oWWQy','F8kOW7BcMLu','W43dJI7cV14','F8kjW7FcKM4','W4LIW5joc2xdJ27cVa','WRv/ra','WRZcQdLTW4K','q8kIbmk1uqJcPmolma','WRrpW7qfWRG','W45SoSoFiW','W7/dR8oVr8or','zaLDWQ1P','saVdPqqTW7tdTW7cV8o+xmkhyHxcJq','WO/cSYjp','dSoSp8kdvITL','yrbPdSkTWPi','WRNcISosWRS','zSkEaGG','wsHJWO1e','W7fckJvS','W6ZcG8kcW45T','W5/cSYiBaa','quJcLH7dV0rqldO','WOHfW6RcVmkIga','EvvzEXxcQ04','sCkJW6ZdVmow','W5rIW5ba','ErnW','W5NdTCkoWOhdJSkus8kDBwPFW4vMWRxdGG','lSoWW7GZxq','qvvIc8oj','WP1uW7ZcICkE','b8oRW7KIzq','W57dHCoq','DCk9W5lcV1m','iCoSW5W','W5mgcmk5mq','W43dQmkFWPJdTW','W7P8fCoqpW','h392WR7cGmk2WQf8','W7JdRZJcIxq','y3bhnCosWQi','FfDdqZm','ACkyatyRWOa8rSkFWPilmaa','g8oMzSkMW5XL44gC5lIZ5lU46lAV5yY7','AujgWQ5Oe1JcKrW','5z+Q6yo66ko755QkW60NiEkVLo+7NEkSVU+7VUkUGU
|
|||
|
// prettier-ignore
|
|||
|
function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.d
|