avatarChat - Like 2 days ago i changed the config.xml file to kick everytime someone swears, and it worked fine, until today, now everytime i say something like hello or hi it kicks me saying that i swear in avatarChat. I set the Bad words filter as false in the config but it still kicks me. Anything that i say kicks me.
Maybe because i tried to change the Send button with something else, like a round button or idk.
I have no idea how this happened! Is there any fix to this?
Kicked for swearing bug
-
- Posts: 11
- Joined: 24 Jul 2020, 14:31
Re: Kicked for swearing bug
Maybe the changes you've made caused the issue. Can you go back to the previous settings?
What exactly was changed?
Cheers
What exactly was changed?
Cheers
-
- Posts: 11
- Joined: 24 Jul 2020, 14:31
Re: Kicked for swearing bug
I changed the width and height of the chatBox, but i dont think thats the problem. I also have changed the target to Flash Player 8, so that might be the problem, tho, i changed back to Flash Player 7 but still the same problem. I also added some layers for the rooms in timeline but that shouldnt be the error. I tried to change the Send button to a circle, like Club Penguin, but then i installed sfs pro to another directory and copied the Send button and pasted it in my avatarChat, cause i couldnt undo anymore because i changed the target, but still the same problem. I also changed some stuff from config.xml, just some rooms, and the Bad words filter, here is the config.xml:
Hope there is a fix!
Code: Select all
<!--
SmartFoxServer PRO
(c) 2004-2009 gotoAndPlay()
www.gotoandplay.it
www.smartfoxserver.com
Main Configuration file
version 1.6.6
NOTE:
You can find detailed informations on how to configure the server by reading
the tutorials in section 2 of the documentation.
( http://www.smartfoxserver.com/docs/docPages/config/basics.htm )
-->
<SmartFoxConfig>
<ServerSetup>
<!--
Specify an ip address or use an asterisk(*) to bind all available IPs
-->
<ServerIP>*</ServerIP>
<ServerPort>9339</ServerPort>
<AutoSendPolicyFile>true</AutoSendPolicyFile>
<MaxUserIdleTime>300</MaxUserIdleTime>
<MaxSocketIdleTime>60</MaxSocketIdleTime>
<!-- Server Variables limits (-1 = unlimited) -->
<MaxRoomVars>-1</MaxRoomVars>
<MaxUserVars>-1</MaxUserVars>
<!-- New since 1.6.3, optimizes user variables size -->
<UserVarsOptimization>true</UserVarsOptimization>
<AntiFlood active="false">
<MinMsgTime tolerance="5">1000</MinMsgTime>
<MaxRepeatedMessages>3</MaxRepeatedMessages>
<WarningsBeforeKick>2</WarningsBeforeKick>
<WarningMessage><![CDATA[No flooding allowed!)]]></WarningMessage>
<KickMessage><![CDATA[You've been warned! No flooding! Now you're kicked]]></KickMessage>
<BanMessage><![CDATA[Stop Flooding!! You're being banned]]></BanMessage>
<BanAfter timeSpan="1">3</BanAfter>
</AntiFlood>
<BadWordsFilter active="true">
<FilterMode>remove</FilterMode> <!-- REMOVE or FILTER -->
<StripCharacters><![CDATA[,.!]]></StripCharacters>
<Warnings>false</Warnings>
<FilterRoomNames>true</FilterRoomNames>
<FilterUserNames>true</FilterUserNames>
<WarningsBeforeKick>0</WarningsBeforeKick>
<WarningMessage><![CDATA[No swearing!)]]></WarningMessage>
<KickMessage><![CDATA[You have been kicked for swearing. Please make sure to read the guidelines.]]></KickMessage>
<BanMessage><![CDATA[You have been banned for swearing. Please make sure to read the guidelines.]]></BanMessage>
<BanAfter timeSpan="1">3</BanAfter>
<BadWordsList>
<badWord>dickhead</badWord>
<badWord>asshole</badWord>
<badWord>shithead</badWord>
<badWord>shit</badWord>
<badWord>fucking</badWord>
<badWord>fuck</badWord>
<badWord>dickhead</badWord>
<badWord>bastard</badWord>
</BadWordsList>
</BadWordsFilter>
<BanCleaning>auto</BanCleaning>
<BanDuration>1800</BanDuration> <!-- 30 min -->
<BannedLoginMessage>You have been banned from the server!</BannedLoginMessage>
<OutQueueThreads>1</OutQueueThreads>
<ExtHandlerThreads>1</ExtHandlerThreads>
<MaxWriterQueue>50</MaxWriterQueue>
<!--
New since 1.6.0
Set the client queue size and the max. allowed dropped packets
-->
<ClientMessagQueue>
<QueueSize>100</QueueSize>
<MaxAllowedDroppedPackets>10</MaxAllowedDroppedPackets>
</ClientMessagQueue>
<MaxIncomingQueue>5000</MaxIncomingQueue>
<DeadChannelsPolicy>strict</DeadChannelsPolicy>
<MaxMsgLen>4096</MaxMsgLen>
<LogMaxSize>5000000</LogMaxSize>
<LogMaxFiles>5</LogMaxFiles>
<!--
Available options are:
FINEST
FINER
FINE
CONFIG
INFO
WARNING
SEVERE
-->
<FileLoggingLevel>INFO</FileLoggingLevel>
<ConsoleLoggingLevel>INFO</ConsoleLoggingLevel>
<!-- Adminisitrator login -->
<AdminLogin>sfs_admin</AdminLogin>
<AdminPassword>sfs_pass</AdminPassword>
<!-- Allowed administrator IP addresses -->
<AdminAllowedAddresses>
<AllowedAddress>*.*.*.*</AllowedAddress>
</AdminAllowedAddresses>
<!-- Allow remote debugging of extensions -->
<ExtensionRemoteDebug>true</ExtensionRemoteDebug>
<!--
Allow global autoreload of extensions upon file save
You should specify in each Zone if the autoreload is enabled.
-->
<AutoReloadExtensions>true</AutoReloadExtensions>
<ExtensionRemoteDebug>true</ExtensionRemoteDebug>
<IpFilter>0</IpFilter>
<Mailer>
<MailHost>test.mail.com</MailHost>
<MailUser>foo</MailUser>
<MailPass>bar</MailPass>
<SmtpPort>25</SmtpPort>
<WorkerThreads>1</WorkerThreads>
</Mailer>
<!-- Enable / Disable remote zone info -->
<EnableZoneInfo>false</EnableZoneInfo>
<!-- Enable / Disable embedded webserver -->
<WebServer active="true">
<CfgFile>webserver/cfg/jetty.xml</CfgFile>
</WebServer>
<!-- raw custom protocol separator -->
<RawProtocolSeparator><![CDATA[%]]></RawProtocolSeparator>
<!-- Enable NPCs -->
<EnableNPC>true</EnableNPC>
<!-- Use concurrent map for properties objects -->
<DynamicPropertiesClass>java.util.concurrent.ConcurrentHashMap</DynamicPropertiesClass>
<!-- Send a message to client, on wrong Zone. DISABLE THIS ONE IN PRODUCTION
<WarnOnWrongZoneRequest><![CDATA[Invalid zone: %s]]></WarnOnWrongZoneRequest>
-->
</ServerSetup>
<!--
Zones Configuration.
-->
<Zones>
<Zone name="simpleChat" uCountUpdate="true" buddyList="20" maxUsers="4000" customLogin="false">
<Rooms>
<Room name="Town" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" uCountUpdate="true" />
<Room name="Arcade" maxUsers="50" isPrivate="false" isGame="false" isTemp="false" />
<Room name="The Garden" maxUsers="50" isPrivate="false" isTemp="false" />
<Room name="The Bathroom" maxUsers="50" isPrivate="false" isTemp="false" />
<Room name="The Garage" maxUsers="50" isPrivate="false" isTemp="false" />
<Room name="The Living Room" maxUsers="50" isPrivate="true" isTemp="false" pwd="test" />
</Rooms>
<Extensions>
<extension name="json" className="jsonSample.as" type="script" />
</Extensions>
<Moderators status="on">
<Mod name="modName" pwd="modPass" />
</Moderators>
</Zone>
<Zone name="dbZone" customLogin="false" buddyList="20">
<Rooms>
<Room name="MainRoom" maxUsers="10" isPrivate="false" isTemp="false" autoJoin="true" />
</Rooms>
<Extensions>
<extension name="dbTest" className="dbExtension.as" type="script" />
<extension name="dbTestAdv" className="dbExtensionAdv.as" type="script" />
<extension name="simpleExt" className="simpleExt.as" type="script" />
</Extensions>
<DatabaseManager active="false">
<Driver>sun.jdbc.odbc.JdbcOdbcDriver</Driver>
<ConnectionString>jdbc:odbc:sfsTest</ConnectionString>
<!--
Example connecting to MySQL
<Driver>org.gjt.mm.mysql.Driver</Driver>
<ConnectionString>jdbc:mysql://192.168.0.1:3306/sfsTest</ConnectionString>
-->
<UserName>yourname</UserName>
<Password>yourpassword</Password>
<TestSQL><![CDATA[SELECT COUNT(*) FROM contacts]]></TestSQL>
<MaxActive>10</MaxActive>
<MaxIdle>10</MaxIdle>
<OnExhaustedPool>fail</OnExhaustedPool>
<BlockTime>5000</BlockTime>
</DatabaseManager>
</Zone>
<Zone name="sftris" emptyNames="true">
<Rooms>
<Room name="The Entrance" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
</Rooms>
</Zone>
<Zone name="mazeGame">
<Rooms>
<Room name="The Entrance" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
</Rooms>
</Zone>
<Zone name="loginZone" emptyNames="false" customLogin="true">
<Rooms>
<Room name="The Hall" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
</Rooms>
<Extensions>
<extension name="loginEx" className="loginExample.as" type="script" />
</Extensions>
</Zone>
<Zone name="multiChat">
<Rooms>
<Room name="Main Lobby" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
</Rooms>
</Zone>
<Zone name="yahtzee">
<Rooms>
<Room name="The Entrance" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
</Rooms>
</Zone>
<Zone name="slogin" emptyNames="false" customLogin="true">
<Rooms>
<Room name="The Lobby" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
<Room name="The Garden" maxUsers="50" isPrivate="false" isTemp="false" />
<Room name="The Swimming Pool" maxUsers="50" isPrivate="false" isTemp="false" />
</Rooms>
<Extensions>
<extension name="slogin" className="secureLogin.as" type="script" />
</Extensions>
</Zone>
<Zone name="pixel" uCountUpdate="true" customLogin="true">
<Rooms>
<Room name="The Basement" maxUsers="4" isPrivate="false" isGame="false" isTemp="false" />
</Rooms>
<Extensions>
<extension name="pixel" className="pixelGame.as" type="script" />
<!--
To use the java extension instead of the Actionscript one substitute the above line with this:
<extension name="pixel" className="it.gotoandplay.extensions.examples.PixelGame" type="java" />
-->
</Extensions>
</Zone>
<Zone name="letters">
<Rooms>
<Room name="Main" maxUsers="50" autoJoin="true" />
</Rooms>
<Extensions>
<extension name="Letters" className="Letters.as" type="script" />
</Extensions>
</Zone>
<Zone name="messenger" customLogin="true" buddyList="200">
<MaxBuddyVars>2</MaxBuddyVars>
<Rooms>
<Room name="Main" autoJoin="true" limbo="true"/>
</Rooms>
<Extensions>
<extension name="smsg" className="smartMessenger.as" type="script" />
</Extensions>
</Zone>
<Zone name="imgMan" emptyNames="true">
<AutoReloadExtensions>true</AutoReloadExtensions>
<Rooms>
<Room name="MainLobby" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
</Rooms>
<Extensions>
<extension name="imgman" className="imageManager.as" type="script"></extension>
</Extensions>
</Zone>
<Zone name="bomberman" emptyNames="true">
<Rooms>
<Room name="Lobby" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
</Rooms>
</Zone>
<Zone name="h2dbzone" customLogin="false">
<AutoReloadExtensions>true</AutoReloadExtensions>
<Rooms>
<Room name="Lobby" maxUsers="10" isPrivate="false" isTemp="false" autoJoin="true" />
</Rooms>
<DatabaseManager active="true">
<Driver>org.h2.Driver</Driver>
<ConnectionString>jdbc:h2:tcp://localhost:9009/examples</ConnectionString>
<UserName>sa</UserName>
<Password></Password>
<TestSQL><![CDATA[SELECT COUNT(*) FROM retrocomputers]]></TestSQL>
<MaxActive>10</MaxActive>
<MaxIdle>10</MaxIdle>
<OnExhaustedPool>fail</OnExhaustedPool>
<BlockTime>5000</BlockTime>
</DatabaseManager>
<Extensions>
<extension name="h2db_ext" className="internalDbDemo.as" type="script" />
</Extensions>
</Zone>
<Zone name="advBuddyList">
<BuddyList active="true">
<size>200</size>
<maxBuddyVariables>5</maxBuddyVariables>
<mode>advanced</mode>
<!-- Apply only for advanced mode -->
<offLineBuddyVariables>true</offLineBuddyVariables>
<permissionTimeOut>10</permissionTimeOut>
<mutualAddBuddy>true</mutualAddBuddy>
<mutualRemoveBuddy>true</mutualRemoveBuddy>
</BuddyList>
<Rooms>
<Room name="Lobby" autoJoin="true" limbo="true" maxUsers="10000"/>
</Rooms>
</Zone>
<Zone name="sloader">
<Rooms>
<Room name="Lobby" autoJoin="true" limbo="true" maxUsers="10000"/>
</Rooms>
<Extensions>
<extension name="loader" className="it.gotoandplay.extensions.examples.SocketFileLoader" type="java" />
</Extensions>
</Zone>
<Zone name="SmartVideoClipPlayer" uCountUpdate="true" maxUsers="50" customLogin="false">
<Rooms>
<Room name="The Lobby" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" uCountUpdate="true" />
</Rooms>
<Extensions>
<extension name="__$RedBox$__" className="com.smartfoxserver.redbox.RedBoxExtension" type="java" />
</Extensions>
</Zone>
<Zone name="SmartMessengerAV" customLogin="true" buddyList="200">
<MaxBuddyVars>2</MaxBuddyVars>
<Rooms>
<Room name="Main" autoJoin="true" limbo="true"/>
</Rooms>
<Extensions>
<extension name="smsg" className="smartMessenger.as" type="script" />
<extension name="__$RedBox$__" className="com.smartfoxserver.redbox.RedBoxExtension" type="java" />
</Extensions>
</Zone>
<Zone name="SmartChatAV" uCountUpdate="true" maxUsers="4000" customLogin="false">
<Rooms>
<Room name="The Hall" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" uCountUpdate="true" />
<Room name="The Kitchen" maxUsers="50" isPrivate="false" isTemp="false" />
<Room name="The Garden" maxUsers="50" isPrivate="false" isTemp="false" />
<Room name="The Bathroom" maxUsers="50" isPrivate="false" isTemp="false" />
<Room name="The Garage" maxUsers="50" isPrivate="false" isTemp="false" />
</Rooms>
<Extensions>
<extension name="__$RedBox$__" className="com.smartfoxserver.redbox.RedBoxExtension" type="java" />
</Extensions>
</Zone>
<Zone name="SmartVideoConference" uCountUpdate="true" maxUsers="4000" customLogin="false">
<Rooms>
<Room name="Conference hall 1" maxUsers="10" isPrivate="false" isTemp="false" autoJoin="true" />
<Room name="Conference hall 2" maxUsers="10" isPrivate="false" isGame="false" isTemp="false" />
<Room name="Conference hall 3" maxUsers="10" isPrivate="false" isGame="false" isTemp="false" />
</Rooms>
</Zone>
<Zone name="openspace" uCountUpdate="true" maxUsers="200" customLogin="false">
<Rooms>
<Room name="Ranch (inside)" maxUsers="50" isPrivate="false" isTemp="false" uCountUpdate="true" />
<Room name="Ranch (outside)" maxUsers="50" isPrivate="false" isTemp="false" uCountUpdate="true" />
<Room name="Slopes area" maxUsers="50" isPrivate="false" isTemp="false" uCountUpdate="true" />
</Rooms>
</Zone>
</Zones>
</SmartFoxConfig>
Hope there is a fix!
-
- Posts: 11
- Joined: 24 Jul 2020, 14:31
Re: Kicked for swearing bug
I think i know what the problem is! Everytime i set Warnings Before Kicks to 0, everything i say kicks me, and if i raise that number with atleast 1, it will fix! So to kick the player after they said a bad word, i had to set it to 1! Thanks for answering!
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 61 guests