Page 1 of 5 123 ... LastLast
Results 1 to 15 of 67
  1. #1
    Nisuxen's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    164
    Reputation
    10
    Thanks
    95

    Realm Relay Ability Spam

    Had a great new years week. Feel like causing some chaos.

    Type /set to make it so your next ability gets amplified. To use the other stuff, use an ability (which the script saves) then type something like /spam q 5 25.

    Causes serious client lag, I've killed many assassins because of eye ball shots after killing an avatar even with several death prevention modifications.

    10000 clones is a good number to disconnect a nexus.

    Doesn't work with ninjas. This is Eendi's script.

     
    Code:
    // spam.js
    
    var ID_PLAYER_SHOOT = $.findPacketId("PLAYERSHOOT");
    var ID_PLAYER_TEXT = $.findPacketId("PLAYERTEXT");
    var ID_USE_ITEM = $.findPacketId("USEITEM");
    var ID_MOVE = $.findPacketId("MOVE");
    var ID_CREATE_SUCCESS = $.findPacketId("CREATE_SUCCESS");
    
    var movePacket = null;
    var itemUse = null;
    var playerShoot = null;
    var playerObjectId = -1;
    
    var set = false;
    
    var usage = 
    "Usage: /spam <type> <size> <count> \n\
    \t<type>: q -> square		<size>: edge length	\n\
    		b -> box			edge length \n\
    		d -> diamond			edge length \n\
    	 	c -> circle			radius \n\
    		s -> spiral			radius \n\
    		r -> random			radius \n\
    		n -> none			N/A  \n\
    		p -> projectile			n -> in place / r -> random \n";
    
    function onClientPacket(event) {
    	var packet = event.getPacket();
    	switch (packet.id()) {
    		case ID_CREATE_SUCCESS: {
    			playerObjectId = packet.objectId;
    			break;
    		}
    		case ID_MOVE: {
    			movePacket = packet;
    			break;
    		}
    		case ID_PLAYER_TEXT: {
    			var text = packet.text.toLowerCase();
    			var params = text.split(" ");
    
    			if(params[0] == "/set"){
    				event.cancel();
    				set = !set;
    			}
    
    			if(params[0] == "/spam"){
    				event.cancel();
    
    				var time = movePacket.time;
    
    				if(params.length != 4){
    					event.echo(usage);
    					break;
    				}
    
    				var type = params[1];
    				var size = params[2];
    				var count = params[3];
    
    				if(type == "n"){
    					for(var i = 0; i < count; i++){
    						itemUse.time = time + 800 + i*550;
    						event.sendToServer(itemUse);
    					}
    				}
    				else if(type == "q"){
    					var orig_x = itemUse.itemUsePos.x;
    					var orig_y = itemUse.itemUsePos.y;
    
    					for(var i = 0; i < count; i++){
    						itemUse.time = time + 800 + i*550;
    						itemUse.itemUsePos.x += (i%size);
    						itemUse.itemUsePos.y += (Math.floor(i/size)%size);
    						event.sendToServer(itemUse);
    
    						itemUse.itemUsePos.x = orig_x;
    						itemUse.itemUsePos.y = orig_y;
    					}
    				}
    				else if(type == "c"){
    					var orig_x = itemUse.itemUsePos.x;
    					var orig_y = itemUse.itemUsePos.y;
    					var offset = Math.PI*2/count;
    
    					for(var i = 0; i < count; i++){
    						itemUse.time = time + 800 + i*550;
    						itemUse.itemUsePos.x += size*Math.sin(i*offset);
    						itemUse.itemUsePos.y += size*Math.cos(i*offset);
    						event.sendToServer(itemUse);
    
    						itemUse.itemUsePos.x = orig_x;
    						itemUse.itemUsePos.y = orig_y;
    					}
    				}
    				else if(type == "s"){
    					var orig_x = itemUse.itemUsePos.x;
    					var orig_y = itemUse.itemUsePos.y;
    					var offset = Math.PI*2/count*3;
    					var r_offset = size/count;
    
    					for(var i = 0; i < count; i++){
    						itemUse.time = time + 800 + i*550;
    						itemUse.itemUsePos.x += (i*r_offset)*Math.sin(i*offset);
    						itemUse.itemUsePos.y += (i*r_offset)*Math.cos(i*offset);
    						event.sendToServer(itemUse);
    
    						itemUse.itemUsePos.x = orig_x;
    						itemUse.itemUsePos.y = orig_y;
    					}
    				}
    				else if(type == "b"){
    					var offset = size/(count/4);
    					var orig_x = itemUse.itemUsePos.x;
    					var orig_y = itemUse.itemUsePos.y;
    
    					for(i = 0; i < count/4; i++){
    						itemUse.time = time + 800 + i*550;
    						itemUse.itemUsePos.x += offset;
    						event.sendToServer(itemUse);
    					}
    					for(i = 0; i < count/4; i++){
    						itemUse.time = time + 800 + (count/4+1)*550 + i*550;
    						itemUse.itemUsePos.y += offset;
    						event.sendToServer(itemUse);
    					}
    					for(i = 0; i < count/4; i++){
    						itemUse.time = time + 800 + (count/2+1)*550 + i*550;
    						itemUse.itemUsePos.x -= offset;
    						event.sendToServer(itemUse);
    					}
    					for(i = 0; i < count/4; i++){
    						itemUse.time = time + 800 + (3*count/4+1)*550 + i*550;
    						itemUse.itemUsePos.y -= offset;
    						event.sendToServer(itemUse);
    					}
    					itemUse.itemUsePos.x = orig_x;
    					itemUse.itemUsePos.y = orig_y;
    				}
    				else if(type == "d"){
    					var offset = size/(count/4);
    					var orig_x = itemUse.itemUsePos.x;
    					var orig_y = itemUse.itemUsePos.y;
    
    					for(i = 0; i < count/4; i++){
    						itemUse.time = time + 800 + i*550;
    						itemUse.itemUsePos.x += offset;
    						itemUse.itemUsePos.y += offset;						
    						event.sendToServer(itemUse);
    					}
    					for(i = 0; i < count/4; i++){
    						itemUse.time = time + 800 + (count/4+1)*550 + i*550;
    						itemUse.itemUsePos.x -= offset;
    						itemUse.itemUsePos.y += offset;	
    						event.sendToServer(itemUse);
    					}
    					for(i = 0; i < count/4; i++){
    						itemUse.time = time + 800 + (count/2+1)*550 + i*550;
    						itemUse.itemUsePos.x -= offset;
    						itemUse.itemUsePos.y -= offset;	
    						event.sendToServer(itemUse);
    					}
    					for(i = 0; i < count/4; i++){
    						itemUse.time = time + 800 + (3*count/4+1)*550 + i*550;
    						itemUse.itemUsePos.x += offset;
    						itemUse.itemUsePos.y -= offset;	
    						event.sendToServer(itemUse);
    					}
    					itemUse.itemUsePos.x = orig_x;
    					itemUse.itemUsePos.y = orig_y;
    				}
    				else if(type == "r"){
    					var orig_x = itemUse.itemUsePos.x;
    					var orig_y = itemUse.itemUsePos.y;
    
    					for(var i = 0; i < count; i++){
    						itemUse.time = time + 800 + i*550;
    						itemUse.itemUsePos.x += (size*Math.random())*Math.sin(Math.PI*2*Math.random());
    						itemUse.itemUsePos.y += (size*Math.random())*Math.cos(Math.PI*2*Math.random());
    						event.sendToServer(itemUse);
    
    						itemUse.itemUsePos.x = orig_x;
    						itemUse.itemUsePos.y = orig_y;
    					}
    				}
    				else if(type == "p"){
    					var a = (itemUse != null && playerShoot.time == itemUse.time);
    
    					if(size == "n" && a){
    						playerShoot.time = time;
    						itemUse.time = time;
    						for(var i = 0; i < count; i++){
    							itemUse.time += 1000;
    							event.sendToServer(itemUse);
    
    							playerShoot.time += 1000;
    							playerShoot.angle = Math.PI*2*Math.random() - Math.PI;
    							event.sendToServer(playerShoot);
    
    						}
    					}
    					else if(size == "r"){
    						for(var i = 0; i < count; i++){
    							playerShoot.time = time + 800 + i*550;
    							playerShoot.angle = Math.PI*2*Math.random() - Math.PI;
    							if(a){
    								itemUse.time = playerShoot.time;
    								event.sendToServer(itemUse);
    							}
    							event.sendToServer(playerShoot);
    						}
    					}
    				}
    			}
    			break;
    		}
    		case ID_USE_ITEM: {
    			itemUse = packet;
    
    			if(set){
    				var count = 350;
    				var size = 2.5;
    
    				var orig_x = itemUse.itemUsePos.x;
    				var orig_y = itemUse.itemUsePos.y;
    				var offset = Math.PI*2/count;
    
    				for(var i = 0; i < count; i++){
    					itemUse.time += 1000;
    					itemUse.itemUsePos.x += size*Math.sin(i*offset);
    					itemUse.itemUsePos.y += size*Math.cos(i*offset);
    					event.sendToServer(itemUse);
    
    					itemUse.itemUsePos.x = orig_x;
    					itemUse.itemUsePos.y = orig_y;
    				}
    			}
    			break;
    		}
    		case ID_PLAYER_SHOOT: {
    			playerShoot = packet;
    
    			if(itemUse == null)
    				break;
    
    			if(set == "n"){
    				itemUse.time = playerShoot.time;
    				for(var i = 0; i < setCount; i++){
    					itemUse.time += 1000;
    					playerShoot.time += 1000;
    					event.sendToServer(itemUse);
    					event.sendToServer(playerShoot);
    				}
    			}
    			else if(set == "r"){
    				itemUse.time = playerShoot.time;
    				for(var i = 0; i < setCount; i++){
    					itemUse.time += 1000;
    					playerShoot.time += 1000;
    					playerShoot.angle = Math.PI*2*Math.random() - Math.PI;
    					event.sendToServer(itemUse);
    					event.sendToServer(playerShoot);
    				}
    			}
    			break;
    		}
    	}
    }

  2. The Following 6 Users Say Thank You to Nisuxen For This Useful Post:

    Atro (01-03-2014),CrazyJani (02-01-2014),Hacks1234567891011 (01-03-2014),SteveoSchwartzo (01-03-2014),Yotsuba (01-03-2014),The_En|D (01-03-2014)

  3. #2
    Drowlys's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    The Crawling Depths
    Posts
    196
    Reputation
    10
    Thanks
    2,675
    No just please don't

  4. #3
    sacredmike's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Location
    Uranus ;)
    Posts
    685
    Reputation
    15
    Thanks
    3,255
    My Mood
    Devilish
    .......................
    Whatever... Kabam is going to patch this now.
    i'm actually just a horny boy

  5. #4
    HoffHorn's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    411
    Reputation
    10
    Thanks
    96
    Please remove this D:

  6. #5
    kasukali's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    221
    Reputation
    47
    Thanks
    58
    Well, you just had to go and ruin the fun now didn't you?

    Now it'll be patched and nobody gets the sweet loot from instakilling O2.

  7. #6
    ImJazz's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Canada
    Posts
    45
    Reputation
    10
    Thanks
    1
    My Mood
    In Love
    I get an error when I try to do /spam <type> <size> <count>.

  8. #7
    LaserplasmaX's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    1
    My Mood
    Busy
    You know why's there no "thanks"? it's because you're giving the script out, completely public.
    Just edit your post before this script comes to be patched.

  9. #8
    Zasx's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Location
    Northern Italy
    Posts
    1,379
    Reputation
    10
    Thanks
    442
    My Mood
    Yeehaw
    OH COME ON, I was just about to correct my shitty script I wrote...not going to use this, gonna debug mine ffs.
    "First get me some porn accounts"
    . . . . . . . . . . . . . . .-Trapped

  10. #9
    The_En|D's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Stark Industries
    Posts
    856
    Reputation
    18
    Thanks
    468
    My Mood
    Innocent
    thanks for thhat
    Last edited by The_En|D; 01-03-2014 at 03:11 AM.

    "They say the best weapon is one you never have to fire.
    I respectfully disagree.
    I prefer the weapon you only have to fire once."

    ~ Tony Stark

  11. #10
    infern000's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    294
    Reputation
    10
    Thanks
    74
    he released it after my 9/9 died to some asshole lagging us, it was already public enough to cause bullshit.

    i dont blame him for releasing it, lets see how kabam reacts, how quickly, and if they are man enough to make the shatters encounter easier in the same patch.

    so, gg everyone. lag and abuse the servers as much as you can.

  12. #11
    Nisuxen's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    164
    Reputation
    10
    Thanks
    95
    @JustAnoobROTMG It's just a simple script that can instakill any boss, clear out godlands in a second, and lag out entire servers. Not a big deal.

  13. #12
    Kia8's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Cold Krakistan
    Posts
    282
    Reputation
    35
    Thanks
    395
    My Mood
    Amused
    GG rotmg, GG.
    Successful trades: 24
    Number of times people have tried to scam me: 6

    Number of times that it worked: 2 :|

  14. #13
    059's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    California
    Posts
    3,312
    Reputation
    700
    Thanks
    92,771
    ohboyherewego.jpg

    well, nice script nisuxen
    My Vouches
    Having an issue with RotMG? Check for the solution here.


    Need Realm items? Come to RealmStock!

    Accepting PayPal - Bitcoin - Giftcards
    Selling ST Sets, Class Top Sets, Life Pots, and much more!


    Find it here: MPGH Sales Thread

  15. The Following User Says Thank You to 059 For This Useful Post:

    Alde. (01-03-2014)

  16. #14
    JustAnoobROTMG's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,916
    Reputation
    185
    Thanks
    18,230
    Quote Originally Posted by Nisuxen View Post
    @JustAnoobROTMG It's just a simple script that can instakill any boss, clear out godlands in a second, and lag out entire servers. Not a big deal.
    Of course. Everyone use it to kill bosses, not characters .
    Oh waaaaaaait.

    Lets give free guns to everyone, because its just to hunt in the forest
    Due to a recent DMCA takedown attempt we had to remove Faintmako brain. Please do not paid attention to what he say or do.


  17. The Following 3 Users Say Thank You to JustAnoobROTMG For This Useful Post:

    059 (01-03-2014),CrazyJani (01-04-2014),maat7043 (01-04-2014)

  18. #15
    The richest man is not the one who has the most but the one who needs the least.
    MPGH Member
    Alde.'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    1,706
    Reputation
    166
    Thanks
    3,627
    My Mood
    Sleepy
    I have over estimated Nisuxen.
    Last edited by Alde.; 01-03-2014 at 12:39 PM.
    Alde is Alde is

Page 1 of 5 123 ... LastLast

Similar Threads

  1. Realm Relay Updates + Ability Auto Aim
    By Nisuxen in forum Realm of the Mad God Tutorials & Source Code
    Replies: 157
    Last Post: 03-19-2015, 04:18 AM
  2. PLEASE NEED HELP WITH REALM RElAY
    By DANWARPER in forum Realm of the Mad God Help & Requests
    Replies: 18
    Last Post: 01-04-2014, 05:38 AM
  3. [Release] Realm Relay Command Script!
    By angelofsilence123 in forum Realm of the Mad God Hacks & Cheats
    Replies: 7
    Last Post: 10-21-2013, 02:06 AM
  4. [Outdated] Realm Relay v1.0.0 - Proxy for RotMG 17.2
    By DeVoidCoder in forum Realm of the Mad God Hacks & Cheats
    Replies: 126
    Last Post: 10-17-2013, 10:23 PM
  5. [Request] Possible ability spam hack (theory)
    By ? ? in forum Battlefield Heroes Hacks
    Replies: 12
    Last Post: 11-26-2009, 03:26 PM