1v1.lol hacks

1v1.LOL hack script - infinite ammmo, infinite armor, rapid fire

  1. // ==UserScript==
  2. // @name 1v1.lol hacks
  3. // @version 01
  4. // @description 1v1.LOL hack script - infinite ammmo, infinite armor, rapid fire
  5. // @author MEAT soap
  6. // @namespace https://greatest.deepsurf.us/ja/users/762895-nekocell
  7. // @match https://1v1.lol/*
  8. // @icon https://www.google.com/s2/favicons?domain=1v1.lol
  9. // @require https://greatest.deepsurf.us/scripts/436749-wasm-patcher/code/wasm_patcher.js
  10. // ==/UserScript==
  11.  
  12. const Log = function(msg) {
  13. console.log("1v1.www : " + msg);
  14. };
  15.  
  16. const wasm = WebAssembly;
  17. const oldInstantiate = wasm.instantiate; //
  18.  
  19. wasm.instantiate = async function(bufferSource, importObject) {
  20. const patcher = new WasmPatcher(bufferSource);
  21.  
  22. patcher.aobPatchEntry({
  23. scan: 'B 20 1 20 1 28 ? ? 41 1 [ 6B ] 36 ? ? 41 84 D7 95 3',
  24. code: [
  25. OP.drop,
  26. ],
  27. onsuccess: () => Log('Infinite Ammo')
  28. });
  29.  
  30. patcher.aobPatchEntry({
  31. scan: '2A ? ? | 38 ? ? C 2 B 20 0',
  32. code: [
  33. OP.drop,
  34. OP.f32.const, VAR.f32(0)
  35. ],
  36. onsuccess: () => Log('Rapid Fire')
  37. });
  38.  
  39. patcher.aobPatchEntry({
  40. scan: '5 20 0 20 0 28 ? ? ? 20 1 [ 6B ] 36 ? ? ?',
  41. code: [
  42. OP.drop,
  43. ],
  44. onsuccess: () => Log('Infinite Armor')
  45. });
  46.  
  47. if(new URLSearchParams( window.location.search ).get('TU9SRUhBQ0tT') === 'true') {
  48.  
  49. alert('[FreeFly] is added');
  50.  
  51. const pressSpaceKeyIndex = patcher.addGlobalVariableEntry({
  52. type: 'u32',
  53. value: 0,
  54. mutability: true,
  55. exportName: 'PRESS_SPACE_KEY'
  56. });
  57.  
  58. patcher.aobPatchEntry({
  59. scan: '4 40 20 B 20 1D 38 2 0 20 F 20 1E [ 38 2 0 ]',
  60. code: [
  61. OP.global.get, pressSpaceKeyIndex,
  62. OP.i32.const, VAR.s32(1),
  63. OP.i32.eq,
  64. OP.if,
  65. OP.local.get, VAR.u32(15),
  66. OP.f32.const, VAR.f32(2.5),
  67. OP.f32.store, VAR.u32(2), VAR.u32(0),
  68. OP.end
  69. ],
  70. onsuccess: () => Log('Free Fly (offline)')
  71. });
  72.  
  73. patcher.aobPatchEntry({
  74. scan: '4 40 20 6 21 3 B 20 1A 20 21 38 2 0 20 F 20 22 [ 38 2 0 ]',
  75. code: [
  76. OP.drop,
  77. OP.drop,
  78. OP.global.get, pressSpaceKeyIndex,
  79. OP.i32.const, VAR.s32(1),
  80. OP.i32.eq,
  81. OP.if,
  82. OP.local.get, VAR.u32(15),
  83. OP.f32.const, VAR.f32(2.5),
  84. OP.f32.store, VAR.u32(2), VAR.u32(0),
  85. OP.end
  86. ],
  87. onsuccess: () => Log('Free Fly (online)')
  88. });
  89. }
  90.  
  91. const result = await oldInstantiate(patcher.patch(), importObject);
  92.  
  93. if(new URLSearchParams( window.location.search ).get('TU9SRUhBQ0tT') === 'true') {
  94. const exports = result.instance.exports;
  95.  
  96. const pressSpaceKey = exports.PRESS_SPACE_KEY;
  97.  
  98. document.addEventListener('keydown', evt => evt.code === 'Space' && (pressSpaceKey.value = 1));
  99. document.addEventListener('keyup', evt => evt.code === 'Space' && (pressSpaceKey.value = 0));
  100.  
  101. localStorage.removeItem('TU9SRUhBQ0tT');
  102. }
  103.  
  104. return result;
  105. };
  106.  
  107. if(new URLSearchParams( window.location.search ).get('TU9SRUhBQ0tT') === 'true') return;
  108.  
  109. const $moreHacks = document.createElement('a');
  110. const $ads = document.querySelector('ads');
  111. $moreHacks.innerText =
  112. $moreHacks.style.display = 'flex';
  113. $moreHacks.style.position = 'absolute';
  114. $moreHacks.style.zIndex = '50';
  115. $moreHacks.style.color = 'red';
  116. $moreHacks.style.backgroundColor = 'yellow';
  117. $moreHacks.style.cursor = 'pointer';
  118. document.body.prepend($moreHacks);
  119.  
  120. $moreHacks.onclick = function() {
  121. localStorage.setItem('TU9SRUhBQ0tT', true);
  122. location.href = 'https://ouo.io/hHxbxs1';
  123. };