How To Spam Filter

Posts 1–15 of 36 · Page 1 of 3
How To Spam Filter
Spam's annoying. Kabam blows. Here's how to make a spam filter.

File to mess with is _-j2:_-0wP. At least that's what it is in the 13.3 client.

Execute function. Can pretty much go anywhere but I like to put it after the setlocal2.

Code:
      getlocal1
      getproperty         QName(PackageNamespace(""), "text_")
      coerce_s
      pushstring          "1nstapots"  ; Any text seen by your client with this in it will not be displayed
      callproperty	  QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
      pushint             0
      ifge                SPAM

      jump                CONTINUE
      
SPAM:
      returnvoid
      
CONTINUE:
Setting a certain thing to a local variable will reduce repeat code if want to filter lots of stuff.

Parentheses don't work by the way. Use \\xNN where NN is the ascii code to do the problem symbols.
Could this be used to filter what you want to see? For instance, if I am looking for someone selling/buying life I can filter everything else that isn't it? Because if that is so, this could be a real helpful thing to people who don't like to hack anyways.
Quote Originally Posted by WTFXD185 View Post
Could this be used to filter what you want to see? For instance, if I am looking for someone selling/buying life I can filter everything else that isn't it? Because if that is so, this could be a real helpful thing to people who don't like to hack anyways.
You can have it so it returnvoids if the filter does not find "Buying Life" or "Selling Life." This method is where all chat goes through so it would be a good place to set something like that up. Making it dynamic so a player can change what's filtered would be a hundred times easier through a proxy based filter though.
could you give the entire file, making it easier to find/compare?
Nice! Any tutorial on how to implement on 123.5.1?
Quote Originally Posted by Alde. View Post
Nice! Any tutorial on how to implement on 123.5.1?
Private servering till the death.
Spamfilter for 13.4
For people interested, 13.4

Code:
_-Nk:_-Qh
Go to execute function, increase localcount to 6

Then after setlocal2:
Code:
	getlocal1
	getproperty        QName(PackageNamespace(""), "text_")
	callproperty        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "toLowerCase"), 0
	coerce_s
	setlocal            5
	  
	getlocal            5
 	pushstring          "1nstapots"  
	callproperty	   QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
	pushint             0
	ifge                SPAM
	  
	getlocal            5
	pushstring          "rotmgsale"  
	callproperty	      QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
	pushint             0
	ifge                SPAM
	  
	getlocal            5
	pushstring          "potionsrotmg" 
	callproperty	      QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
	pushint             0
	ifge                SPAM

	getlocal             5 
	pushstring          "rotmgoutiet"  
	callproperty	      QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
	pushint             0
	ifge                SPAM

	getlocal            5
	pushstring          "(dot)"  
	callproperty	      QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
	pushint             0
	ifge                SPAM
	  
	getlocal            5
	pushstring          "rotmg.ws"  
	callproperty	      QName(Namespace("http://adobe.com/AS3/2006/builtin"), "search"), 1
	pushint             0
	ifge                SPAM

	jump                CONTINUE
      
SPAM:
	returnvoid
      
CONTINUE:
Quote Originally Posted by Knorrex View Post
pushstring "(dot)"
You should test that out then refer to the original post.
Quote Originally Posted by Nisuxen View Post
You should test that out then refer to the original post.
It works, I don't understand what your problem might be.
Quote Originally Posted by Knorrex View Post
It works, I don't understand what your problem might be.
Must be my version of rabcdasm then.
Quote Originally Posted by Nisuxen View Post
Must be my version of rabcdasm then.
Yeah! I'm pretty sure it's that
Why is this not getting more love...
Only like 4 Thanks.

Back in the day if a cool new hack was released everyone was always super excited. Now it goes entirely unnoticed
The section I posted it in isn't looked at by the general skiddy. I don't want this to become so widespread that I have to change my own filter everyday.
Yeah, if this spreads to much we're gonna get messages that change ever day..
Posts 1–15 of 36 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us