DolphinsFTW speed pellet

DOLPHINS

当前为 2016-05-17 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name DolphinsFTW speed pellet
  3. // @namespace http://tampermonkey.net/
  4. // @version 2.3
  5. // @description DOLPHINS
  6. // @author You
  7. // @match http://agarioforums.io
  8. // @match http://agarioforums.io/split/
  9. // @match http://agar.io/
  10. // @match http://agar.io
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. // Your code here...
  18.  
  19. //delete from here to next point to remove fast feed
  20. })();(function() {
  21. var amount = 20;
  22. var duration = 1; //ms
  23.  
  24. var overwriting = function(evt) {
  25. if (evt.keyCode === 81) { //The current key is Q for fast feed. to change that change the keycode. you can search up all the keycodes online
  26. for (var i = 0; i < amount; ++i) {
  27. setTimeout(function() {
  28. window.onkeydown({keyCode: 87});
  29. window.onkeyup({keyCode: 87});
  30. }, i * duration);
  31. }
  32. }
  33. };
  34. //delete until here from first comment to remove fast feed
  35. //Delete from here to next comment to remove tricksplit splitting
  36. window.addEventListener('keydown', overwriting);
  37. })();
  38. (function() {
  39. var amount = 6;
  40. var duration = 50; //ms
  41.  
  42. var overwriting = function(evt) {
  43. if (evt.keyCode === 82) { // KEY_R
  44. for (var i = 0; i < amount; ++i) {
  45. setTimeout(function() {
  46. window.onkeydown({keyCode: 32});
  47. window.onkeyup({keyCode: 32});
  48. }, i * duration);
  49. }
  50. }
  51. };
  52. window.addEventListener('keydown', overwriting);
  53. })();
  54. // until here for trick splitting
  55. //Delete from here to delete the alert box
  56. //<![CDATA[
  57. setTimeout( function ( ) { alert( "Consider signing up to Agarioforums.net for fun times, a custom server and dedicated and hard working staff. Keys. Q for fast mass W. R for splitting 16 times, (when your teaming or are tricksplitting). You can also split with left click now and shoot some mass with right click :D.You can stop this alert box from coming by looking into the code, insturctions are proided." ); }, 10000 );
  58. //]]>
  59. //until here
  60. //delete all this to remove mouse features
  61. $(
  62. function() {
  63. var feeddown = $.Event("keydown", { keyCode: 87}); //delete this row to remove just fast feed
  64. var feedup = $.Event("keyup", { keyCode: 87}); //delete this row to remove just fast feed
  65. var splitdown = $.Event("keydown", { keyCode: 32});// delete this row for just removal of mouse split
  66. var splitup = $.Event("keyup", { keyCode: 32});// delete this row for just removal of mouse split
  67. $(document).bind('mousedown', function(e) {
  68. if( (e.which == 3) ){
  69. $("body").trigger(feeddown); //delete this row to remove just fast feed
  70. $("body").trigger(feedup); //delete this row to remove just fast feed
  71. }
  72. else if( (e.which == 1) ){
  73. $("body").trigger(splitdown);// delete this row for just removal of mouse split
  74. $("body").trigger(splitup);// delete this row for just removal of mouse split
  75. }
  76. }).bind('contextmenu', function(e){
  77. e.preventDefault();
  78. });
  79. }
  80. )();
  81. //all the way till here
  82.  
  83. //<![CDATA[
  84. setTimeout( function ( ) { alert( "//post a name here with special character. after 1 second ingame the special characters name will come for easy copy paste" ); }, 1000 );
  85. //]]>