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!
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'.
[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...