Invalid bypass flood

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Invalid bypass flood

Post by babyjason »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4660
L2JDP Revision Number:7600

Hello, i recently receive these notifications on gameserver
WARNING 17 com.l2jserver.gameserver.model.actor.L2Character [L2PcInstance] player [xxx] sent invalid bypass 'xxxxx'.

my question is if there are any settings that can automatically KICK or BAN player that causes this? maybe some setting in flood protector?

maybe this setting?

Code: Select all

# ServerBypass - server bypass floodingFloodProtectorServerBypassInterval = 5FloodProtectorServerBypassLogFlooding = FalseFloodProtectorServerBypassPunishmentLimit = 0FloodProtectorServerBypassPunishmentType = noneFloodProtectorServerBypassPunishmentTime = 0 
please help, ty
Last edited by babyjason on Wed Aug 03, 2011 4:13 pm, edited 1 time in total.
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Re: Invalid bypass flood

Post by babyjason »

anybody?:/
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: Invalid bypass flood

Post by badboy29 »

# ---------------------------------------------------------------------------
# Floodprotector Options
# ---------------------------------------------------------------------------
# The following settings can be applied to each feature:
# Interval - interval in gameserver ticks (1 tick = 100ms) in which only one request is allowed
# LogFlooding - whether flooding should be logged (only first ocurrance of flooding and total count of flood requests is logged)
# PunishmentLimit - if number of requests within single interval exceeds specified number then the specified punishment is applied (0 = disables punishment feature)
# PunishmentType - type of the punishment ('none', 'kick', 'ban', 'jail'), valid only if PunishmentLimit is greater than 0
# PunishmentTime - for how many minutes should the player(jail)/account(ban) be punished (0 = forever), valid only for PunishmentType 'jail' or 'ban'
You can set like this:

Code: Select all

# ServerBypass - server bypass floodingFloodProtectorServerBypassInterval = 5FloodProtectorServerBypassLogFlooding = FalseFloodProtectorServerBypassPunishmentLimit = 1FloodProtectorServerBypassPunishmentType = kickFloodProtectorServerBypassPunishmentTime = 0
Aka UnHoly
User avatar
Tryskell
Posts: 256
Joined: Wed Nov 25, 2009 5:57 pm
Location: France :)

Re: Invalid bypass flood

Post by Tryskell »

Edit this method located in L2PcInstance :

Code: Select all

    public boolean validateBypass(String cmd)    {        if (!Config.BYPASS_VALIDATION)            return true;                synchronized (_validBypass)        {            for (String bp : _validBypass)            {                if (bp == null)                    continue;                                //_log.warning("[BypassValidation]"+getName()+" '"+bp+"'");                if (bp.equals(cmd))                    return true;            }        }                synchronized (_validBypass2)        {            for (String bp : _validBypass2)            {                if (bp == null)                    continue;                                //_log.warning("[BypassValidation]"+getName()+" '"+bp+"'");                if (cmd.startsWith(bp))                    return true;            }        }         Util.handleIllegalPlayerAction(player, player.getName() + " sent invalid bypass.", Config.DEFAULT_PUNISH);        return false;    }
Change DEFAULT_PUNISH for ban or whatever you want.
Post Reply