Results 1 to 2 of 2
  1. #1
    narotox's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0

    How to make the gods shut up

    Hi i would like to know if anyone know how to make the gods / events to stop spamming fx. the rock construct im starting to get really annoyed
    when im playing rogue and farming god lands i cant even see my character anyone have any method how to reduce or just remove it?

  2. #2
    059's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    California
    Posts
    3,312
    Reputation
    700
    Thanks
    92,771
    Realm relay https://www.mpgh.net/forum/showthread.php?t=800245

    Look at the example script
    Code:
    // spamfilter.js
    
    var ID_TEXT = $.findPacketId("TEXT");
    
    var keywords = [
    	".info",
    	".net",
    	".org",
    	".us",
    	"% off",
    	"24/7",
    	"cheap",
    	"client",
    	"customer",
    	"del|very",
    	"delivery",
    	"dellvery",
    	"pric", // pricing/prices/price
    	"prize",
    	"satis", // satisfaction/satisfactory/satisfied
    	"service",
    	"stock",
    	"www"
    ];
    
    function onServerPacket(event) {
    	// get the packet involved in this event
    	var packet = event.getPacket();
    	
    	// if this event's packet is a TEXT packet...
    	if (packet.id() == ID_TEXT) {
    	
    		// make text lowercase to match the keyword list
    		var text = packet.text.toLowerCase();
    		
    		// loop through every keyword for testing
    		for (var i = 0; i < keywords.length; i++) {
    		
    			// if keyword exists in the text...
    			if (text.indexOf(keywords[i]) != -1) {
    				
    				// cancel the event to stop the packet from being sent to the client
    				event.cancel();
    				
    				// break the loop because we already know the packet is spam
    				break;
    			}
    		}
    	}
    }
    You can change that to the mob text
    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

Similar Threads

  1. Does anyone know how to make the combat arms load faster
    By ChristopherBigWallace in forum Combat Arms Hacks & Cheats
    Replies: 8
    Last Post: 07-03-2009, 09:47 AM
  2. How to make the Willow Wacker Works
    By HippyJord in forum Runescape Hacks / Bots
    Replies: 1
    Last Post: 02-20-2009, 09:12 AM
  3. HOW TO MAKE THE NEW PUB HACK WORK
    By Remorse in forum Combat Arms Hacks & Cheats
    Replies: 25
    Last Post: 12-22-2008, 03:22 PM
  4. [TUT] How to make the new stamina
    By Th3 0wnzman in forum Visual Basic Programming
    Replies: 9
    Last Post: 02-24-2008, 03:11 AM
  5. How to make the server run
    By wowhaxor in forum Gunz General
    Replies: 3
    Last Post: 05-25-2006, 09:59 PM