Page 1 of 1

Cannot log Dualbox even localhost is whitelisted!

Posted: Sun Sep 30, 2012 11:27 pm
by MeanMischief
I cant log 2 clients at the same time with the settings like these..

Code: Select all

# ----------------------------------------------------------------# Dualbox Check# ---------------------------------------------------------------- # Maximum number of players per IP address allowed to enter game.# Default: 0 (unlimited)DualboxCheckMaxPlayersPerIP = 2 # Maximum number of players per IP address allowed to participate in olympiad.# Default: 0 (unlimited)DualboxCheckMaxOlympiadParticipantsPerIP = 1 # Maximum number of players per IP address allowed to participate in events using L2J Event Engine (//event).# Default: 0 (unlimited)DualboxCheckMaxL2EventParticipantsPerIP = 1 # Whitelist of the addresses for dualbox checks.# Format: Address1,Number1;Address2,Number2...# Network address can be number (127.0.0.1) or symbolic (localhost) formats.# Additional connection number added to the global limits for this address.# For example, if number of TvT event participants per IP address set to the 1 (no dualbox)# and whitelist contains "l2jserver.com,2" then number of allowed participants from l2jserver.com# will be 1+2=3. Use 0 or negative value for unlimited number of connections.# Default: 127.0.0.1,0 (no limits from localhost)DualboxCheckWhitelist = 127.0.0.1,0
maybe this related?

Code: Select all

# Maximum number of allowed participants per IP address (dualbox check)# Default: 0 (no limits)TvTEventMaxParticipantsPerIP = 1
But 90% sure the problem is here.

Code: Select all

com\l2jserver\gameserver\network\clientpackets\CharacterSelect.java...if ((Config.L2JMOD_DUALBOX_CHECK_MAX_PLAYERS_PER_IP > 0) && !AntiFeedManager.getInstance().tryAddClient(AntiFeedManager.GAME_ID, client, Config.L2JMOD_DUALBOX_CHECK_MAX_PLAYERS_PER_IP)){final NpcHtmlMessage msg = new NpcHtmlMessage(0);msg.setFile(info.getHtmlPrefix(), "data/html/mods/IPRestriction.htm");msg.replace("%max%",String.valueOf(AntiFeedManager.getInstance().getLimit(client,Config.L2JMOD_DUALBOX_CHECK_MAX_PLAYERS_PER_IP)));client.sendPacket(msg);return;}
Since this is not IP based but checks the client id for the entry counts, it does not check if it is from the localhost, therefore no whitelist.
Couldn't figure it out how to check if it is from a localhost and skip the block if it is. Help please.
Regards, Mean Mischief.

Re: Cannot log Dualbox even localhost is whitelisted!

Posted: Mon Oct 01, 2012 8:12 pm
by MeanMischief
What should i do to get replies to my post.. Spam?

Re: Cannot log Dualbox even localhost is whitelisted!

Posted: Mon Oct 01, 2012 11:16 pm
by MELERIX
MeanMischief wrote:What should i do to get replies to my post.. Spam?
just wait or use search button.

spam = ban.

Re: Cannot log Dualbox even localhost is whitelisted!

Posted: Mon Oct 08, 2012 4:40 am
by disorder35
I got the same problem, If I set it to 2 it only allow me to enter 1. If I set it to 3 it allows me to enter 2 and so on.

I got the whitelist set to my localhost and pcip and it doesn't allow me to log unlimited boxes like it is supposed to do.
please help.

Re: Cannot log Dualbox even localhost is whitelisted!

Posted: Sun Feb 10, 2013 6:49 pm
by Braske
i have some trouble, guys please help

Re: Cannot log Dualbox even localhost is whitelisted!

Posted: Sun Feb 10, 2013 8:28 pm
by St3eT
confirmed, white list dont work.

Re: Cannot log Dualbox even localhost is whitelisted!

Posted: Mon Feb 11, 2013 4:00 am
by disorder35
I reported that 4 months ago and also added a ticket on svn but no one did nothing about it.

Re: Cannot log Dualbox even localhost is whitelisted!

Posted: Wed Apr 24, 2013 6:17 pm
by Ryald
I am having the same issue, whitelist seems to do nothing.