I tested the antiflood system for my server but it doesn't work very well..with this configuration I am kicked without to flood the server. I normally chat...
It's the minimum time (in milliseconds) allowed between two messages. The server will tolerate 5 messages sent below the specified rate before sending an automatic warning message to the client.
<MaxRepeatedMessages>10</MaxRepeatedMessages>
It's the maximum number of identical messages a client can send in a row. After this value has been reached the server will automatically send an administrator warning message to the user.
viny wrote:I put AntiFlood active="false" there are problems
Sorry, didn't notice this.
We need some more details in order to check this problem.
Which SmartFoxServer version are you using?
Which version of the client API (you can find it out tracing the return value of the SmartFoxClient.getVersion() method)?
Any warning or errors appear in the console/log output?
Viny,
there is no know problem such as the one you have described. If the Anti-Flood filter is turned off it won't catch people flooding the server with messages.
If this is happening to your installation I can suggest a couple of ideas:
1. You have multiple AntiFlood declaration in your config.xml and you didn't notice it.
2. Your Server installation is broken.
An additional test that you can do is simply check it by yourself using the AdvancedChat example:
1. make sure the AntiFlood is turned off
2. start the example and send the same chat message over and over... you should never see a warning. If it happens I suggest to do a fresh reinstall and migrate your settings
Your settings look good. I'd like to see this in action, can you provide an access to the chat so that I can try it?
You can use a PM or write us an email
Nothing easier than that:
1. Go to http://www.jumpjupiter.com
2. Click on "Jetzt spielen"
3. Click on "Probe-Level jetzt spielen"
(You might as well register and check out the complete game but to test the chat filter a guest account is sufficient.)
Unfortunately the problem is difficult to reproduce because it seems to happen only now and then.
I send you a PM with relevant log excerpts.
I have checked the logs you have sent in the PM and I didn't see anything interesting. Also since the problem is erratic it's probably not going to be reproduced very easily unless you can find out which words are capable of firing the the problem on your server.
Let us know if you can find at least one which, even if not listed as a bad word, causes the system to react as if it was.
Lapo wrote:I have checked the logs you have sent in the PM and I didn't see anything interesting.
Yes, exactly that is the problem
People are just being kicked...
We probably need to set up our own anti-flooding mechanism then.
Anyway, if we find out something, we'll keep you updated.