Basically this allows you to toggle autoban (enabled or disabled) in a properties file (world.properties)
The .patch is based on revision 174 of valhalla, but if you know how to read .patch files you should be able to apply this to any source.
I'm fairly sure this works.
PLEASE NOTE THAT THIS DISABLES AUTOBAN ENTIRELY, INCLUDING THE AUTO-BANNING OF SUMMONING BAG HACKERS, AND SMEGA HACKERS AND OTHER AUTOBANS
Here's it is:
Also uploaded for people who don't know how to save files as .patchCode:Index: src/net/sf/odinms/net/channel/ChannelServer.java =================================================================== --- src/net/sf/odinms/net/channel/ChannelServer.java (revision 174) +++ src/net/sf/odinms/net/channel/ChannelServer.java (working copy) @@ -100,6 +100,7 @@ private int dropRate; private int bossdropRate; private int petExpRate; + public boolean autoban; private boolean gmWhiteText; private boolean cashshop; private boolean dropUndroppables; @@ -170,6 +171,7 @@ moreThanOne = Boolean.parseBoolean(props.getProperty("net.sf.odinms.world.morethanone", "false")); gmWhiteText = Boolean.parseBoolean(props.getProperty("net.sf.odinms.world.gmWhiteText", "false")); cashshop = Boolean.parseBoolean(props.getProperty("net.sf.odinms.world.cashshop", "false")); + autoban = Boolean.parseBoolean(props.getProperty("net.sf.odinms.world.autoban", "false")); Properties dbProp = new Properties(); fr = new FileReader("db.properties"); dbProp.load(fr); Index: src/net/sf/odinms/server/AutobanManager.java =================================================================== --- src/net/sf/odinms/server/AutobanManager.java (revision 174) +++ src/net/sf/odinms/server/AutobanManager.java (working copy) @@ -35,6 +35,7 @@ import java.util.TreeSet; import net.sf.odinms.client.MapleClient; import net.sf.odinms.tools.MaplePacketCreator; +import net.sf.odinms.net.channel.ChannelServer; //import org.slf4j.Logger; //import org.slf4j.LoggerFactory; @@ -94,7 +95,7 @@ reasonList.add(reason); this.reasons.put(acc, reasonList); } - if (this.points.get(acc) >= AUTOBAN_POINTS) { + if (this.points.get(acc) >= AUTOBAN_POINTS && ChannelServer.getInstance(c.getChannel()).autoban) { String name = c.getPlayer().getName(); StringBuilder banReason = new StringBuilder("Autoban for Character "); banReason.append(name); Index: world.properties =================================================================== --- world.properties (revision 174) +++ world.properties (working copy) @@ -32,6 +32,9 @@ # allow GM's to talk in white background text net.sf.odinms.world.gmWhiteText=true +# allows you to change if autoban is on or not +net.sf.odinms.world.autoban=true + # spawn a character for debugging purposes on every map net.sf.odinms.world.faekchar=false
edit:
If it doesn't patch for you, just manually patch it in. It isn't a very tough job to do.



![[Release] Option to fully disable autoban in the properties file](http://ragezone.com/hyper728.png)


