Aliamur

Chrome Dino

Feb 16th, 2020
1,313
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. Hacking the Chrome Dino Game
  3. 05 Nov 2016 - 2 min read
  4. chrome hack game
  5. Google Chrome includes an endless runner Dinosaur game which appears in the absense of internet connection.
  6.  
  7. If you are unable to get the No Internet page, open a new tab and type chrome://dino and press enter.
  8. Playing
  9. Space Bar / Up: Jump (also to start the game)
  10. Down: Duck (pterodactyls appear after 450 points)
  11. Alt: Pause
  12. The game enters a black background mode after every multiple of 700 points for the next 100 points.
  13. Chrome Dino
  14.  
  15. Open Chrome Console
  16. Make sure you are on the No Internet Connection page.
  17. Right click anywhere on the page and select Inspect.
  18.  
  19.  
  20. Go to Console tab. This is where we will enter the commands to tweak the game.
  21. Tweaking Speed
  22. Type the following command in Console and press enter. You can use any other speed in place of 1000.
  23.  
  24. Runner.instance_.setSpeed(1000)
  25. Immortality
  26. After every command press enter. All the commands are case-sensitive.
  27.  
  28. We store the original game over function in a variable:
  29. var original = Runner.prototype.gameOver
  30. Then, we make the game over function empty:
  31. Runner.prototype.gameOver = function(){}
  32. Stopping the game after using Immortality
  33. When you want to stop the game, Revert back to the original game over function:
  34.  
  35.  
  36.  
  37. Runner.prototype.gameOver = original
  38. Setting the current score
  39. Let’s set the score to 12345. You can set any other score less than 99999. The current score is reset on game over.
  40.  
  41. Runner.instance_.distanceRan = 12345 / Runner.instance_.distanceMeter.config.COEFFICIENT
  42. Dino jumping too high?
  43. You can control how high the dino jumps by using the below function. Adjust the value as necessary.
  44.  
  45. Runner.instance_.tRex.setJumpVelocity(10)
  46. Share this:
  47.  
  48.  
  49.  
  50. You might also like
  51. Hacking a password box
RAW Paste Data