Updated! "GTA GUESSER CH33T"

Cheat for gta geusser

  1. // ==UserScript==
  2. // @name Updated! "GTA GUESSER CH33T"
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.2
  5. // @description Cheat for gta geusser
  6. // @include /^https?\:\/\/gta-geoguesser\..*\/.*$/
  7. // @include /^https?\:\/\/.*.gta-geoguesser\..*\/.*$/
  8. // @author ZEFISH
  9. // @license MIT
  10. // @match http://*/*
  11. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  12. // @grant none
  13. // @noframes
  14. // ==/UserScript==
  15.  
  16. /* eslint-env es6 */
  17. /* eslint-disable curly, no-undef, no-loop-func, no-return-assign, no-sequences */
  18.  
  19. console.log("CH33T LOADED")
  20. console.log("DEV BY ZEFISH")
  21.  
  22. const cheatButton = document.createElement('button');
  23. cheatButton.innerHTML = 'Guess';
  24. cheatButton.style.position = 'fixed';
  25. cheatButton.style.top = '10px';
  26. cheatButton.style.right = '10px';
  27. cheatButton.style.zIndex = '9999';
  28. cheatButton.style.padding = '10px 20px';
  29. cheatButton.style.backgroundColor = '#4CAF50';
  30. cheatButton.style.color = 'white';
  31. cheatButton.style.border = 'none';
  32. cheatButton.style.borderRadius = '5px';
  33. cheatButton.style.cursor = 'pointer';
  34. document.body.appendChild(cheatButton);
  35.  
  36. cheatButton.addEventListener("click", event => {
  37. async function cheets() {
  38. gameDone = true;
  39. setGuess = true;
  40.  
  41. clearInterval(countdownInterval);
  42.  
  43. let guessedGtaLocation = convertToGameCoord(_MAP_markerStore[0].position.lat(), _MAP_markerStore[0].position.lng());
  44. guessedGtaLocation.x = window.startCord[0]
  45. guessedGtaLocation.y = window.startCord[1]
  46. let distanceDiff = parseInt(distance(guessedGtaLocation.x, guessedGtaLocation.y, window.startCord[0], window.startCord[1]));
  47.  
  48. let score;
  49.  
  50. if (!setGuess) {
  51. score = 0;
  52. } else {
  53. score = parseInt((maxScore - ((distanceDiff * distanceDiff)/100)));
  54.  
  55. if(distanceDiff <= 50){
  56. score = maxScore;
  57. }
  58. if(score < 0){
  59. score = 0
  60. }
  61. }
  62.  
  63. let mapHolder = document.getElementById("map-holder");
  64. mapHolder.style.width = "100%";
  65. mapHolder.style.height = "75vh";
  66. mapHolder.style.top = "0";
  67. mapHolder.style.right = "0";
  68.  
  69. document.getElementById("panorama").style.display = "none";
  70. document.getElementById("guessBtn").style.display = "none";
  71. document.getElementById("homeBtn").style.display = "none";
  72.  
  73. document.getElementById("gameSection").style.marginBottom = "60rem";
  74.  
  75. let scoreCard = document.getElementById("scoreCard");
  76. scoreCard.style.display = "block";
  77. document.getElementById("roundCount").innerText = `Round ${currentRound} / ${roundAmount}`;
  78. if(!setGuess){
  79. document.getElementById("guessDeviation").innerHTML = "You did not place a Marker..."
  80. }else{
  81. document.getElementById("guessDeviation").innerHTML = "Your guess was <b>" + distanceDiff.toString() + "m</b> from the correct location"
  82. }
  83. document.getElementById("guessPoints").innerText = "You earned " + score.toString() + " Points";
  84.  
  85. document.getElementById("scoreBar").style.width = ((score / maxScore) * 100).toString() + "%";
  86.  
  87. setCookie("currentRound", (parseInt(currentRound) + 1).toString(), 7);
  88. setCookie("round" + currentRound + "Score", (score).toString(), 7);
  89. setCookie("round" + currentRound + "correctCord", window.startCord.toString(), 7);
  90. setCookie("round" + currentRound + "guessedCord", guessedGtaLocation.x + ", " + guessedGtaLocation.y, 7);
  91.  
  92. clearAllMarkers();
  93. createMarker(false, false, new MarkerObject("temp", new Coordinates(window.startCord[0], window.startCord[1], 0), MarkerTypes.flag, "", ""), "");
  94. createMarker(false, false, new MarkerObject("temp", new Coordinates(guessedGtaLocation.x, guessedGtaLocation.y, 0), MarkerTypes.user, "", ""), "");
  95. drawLine(convertToMapGMAP(guessedGtaLocation.x, guessedGtaLocation.y), convertToMapGMAP(window.startCord[0], window.startCord[1]), "black");
  96. }
  97. console.log("INJECTED")
  98. cheets()
  99. })