Register for your free account! | Forgot your password?

You last visited: Today at 23:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE]Python Chat Anti-SPAM Function

Discussion on [RELEASE]Python Chat Anti-SPAM Function within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2013
Posts: 7
Received Thanks: 37
[RELEASE]Python Chat Anti-SPAM Function

AG.Simpsey is offline  
Thanks
4 Users
Old 10/31/2013, 17:57   #2
 
Noa_'s Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 605
Received Thanks: 580
kann das jmd testen?
Noa_ is offline  
Old 10/31/2013, 18:08   #3
 
elite*gold: 0
Join Date: Dec 2009
Posts: 113
Received Thanks: 44
I like it but I would call it more as of a Anti-Flood System.
And instead of doing that many 'if statements' I would do it like this:
PHP Code:
if text in ("(b1)""(b2)""(b3)""(b4)""(b5)""(b6)""(b7)"):
        return 
OR

PHP Code:
    not_allowed = [ "(b1)""(b2)""(b3)""(b4)""(b5)""(b6)""(b7)" ]
    if 
text in not_allowed:
        return 
miguelmig is offline  
Thanks
1 User
Old 10/31/2013, 18:11   #4
 
elite*gold: 0
Join Date: Jun 2013
Posts: 7
Received Thanks: 37
Quote:
Originally Posted by miguelmig View Post
I like it but I would call it more as of a Anti-Flood System.
And instead of doing that many 'if statements' I would do it like this:
PHP Code:
if text in ("(b1)""(b2)""(b3)""(b4)""(b5)""(b6)""(b7)"):
        return 
OR

PHP Code:
    not_allowed = [ "(b1)""(b2)""(b3)""(b4)""(b5)""(b6)""(b7)" ]
    if 
text in not_allowed:
        return 

Miguelmig that what u wrote came with the original client, it has to do with the emoticons nothing to do with the anti spam and yes it is an anti spam not anti flood lool
and btw a dictionary u dont need to globalize it. Before going to reclaim, test it boy!
AG.Simpsey is offline  
Old 10/31/2013, 18:16   #5
 
elite*gold: 0
Join Date: Dec 2009
Posts: 113
Received Thanks: 44
Quote:
Originally Posted by AG.Simpsey View Post
Miguelmig that what u wrote came with the original client, it has to do with the emoticons nothing to do with the anti spam and yes it is an anti spam not anti flood lool
Hm, I didn't say otherwise...
I just said that you can simplify it by removing all those 'if statements'.
miguelmig is offline  
Thanks
1 User
Old 10/31/2013, 18:18   #6
 
elite*gold: 0
Join Date: Jun 2013
Posts: 7
Received Thanks: 37
Quote:
Originally Posted by miguelmig View Post
Hm, I didn't say otherwise...
I just said that you can simplify it by removing all those 'if statements'.
but yeah you're right it can be done with a list
AG.Simpsey is offline  
Old 10/31/2013, 19:13   #7
 
Prince43™'s Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 489
Received Thanks: 495
Komisch das selbe script habe ich auch im Hardcore RELOADED client gesehen.... hm


King Regards

Prince43™
Prince43™ is offline  
Old 11/01/2013, 17:19   #8
 
elite*gold: 0
Join Date: Oct 2013
Posts: 45
Received Thanks: 7
An sich ist die "Idee" ganz gut.. Ob sie allerdings von dir steht ist die Frage !!
«Cassandra» is offline  
Old 11/01/2013, 19:11   #9
 
elite*gold: 0
Join Date: Apr 2011
Posts: 67
Received Thanks: 167
What?

Post delete? :S
lomerl is offline  
Old 11/01/2013, 19:37   #10
 
kstmr's Avatar
 
elite*gold: 0
Join Date: Feb 2012
Posts: 95
Received Thanks: 29
i hate when they do this
kstmr is offline  
Thanks
1 User
Old 11/02/2013, 02:26   #11


 
Xijezu's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 5,086
Received Thanks: 3,472
#closed
Xijezu is offline  
Thanks
2 Users
Closed Thread


Similar Threads Similar Threads
[PYTHON]Function in game aufrufen?
04/23/2013 - Metin2 Private Server - 4 Replies
Hey, kann man in (metin) Python irgendwie von einer uiscript py datei aus eine Function in der game.py ausführen? Vielen Dank für jede Hilfe Das schon versucht: import game
Anti AutoIt Function analyzed + description
04/12/2011 - Last Chaos - 1 Replies
Well since really a lot of guys asked me what this Function is doing, and how to bypass it, i decided to release a full description of the Anti Autoit function. With this, everyone should be able to bypass it easily. Anyway, remember to give Credits if i helped you with this :] So here you go, two pdf files with the Anti Autoit Functions + Description of them. First PDF:
there is a problem in the function of anti hacking.the programm is closing
11/14/2010 - Kal Online - 13 Replies
hey irgendwie kommt auf dem pc von meinem bro(seit heute mittag) immer dieses "there is a problem in the function of anti hacking.the programm is closing" wenn er kal startet(int kal,kein pserver) falls einer ne idee hat mal bescheid sagen :D danke :D
problem in the function of anti hacking
03/30/2010 - Kal Online - 8 Replies
also ich hab das problem das immer mein kal abkack wenn ich es starten will mit dieser meldung ... was kann es sein ???!! hab schon unter prozesse geguckt -.- aber nix gefunden danke im vorraus
Question : Anti Grind Function
01/07/2010 - Atlantica Online - 3 Replies
Well you might know that the game will give you a penatly to drops etc. after you grind some time in an area. The question are: 1) After how much time does the Message pop up ? 2) When does the Message pop up ? *Means does it help if you zone between Map areas to prevent it , or does it help to zone between 2 different map settings. I want to know that because i wanted to implement a function that switches the farming Spot after a set amount of time/combats , together with the...



All times are GMT +1. The time now is 23:45.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.