Cannot log Dualbox even localhost is whitelisted!

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
MeanMischief
Posts: 13
Joined: Mon Sep 24, 2012 9:55 pm

Cannot log Dualbox even localhost is whitelisted!

Post 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.
MeanMischief
Posts: 13
Joined: Mon Sep 24, 2012 9:55 pm

Re: Cannot log Dualbox even localhost is whitelisted!

Post by MeanMischief »

What should i do to get replies to my post.. Spam?
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Cannot log Dualbox even localhost is whitelisted!

Post by MELERIX »

MeanMischief wrote:What should i do to get replies to my post.. Spam?
just wait or use search button.

spam = ban.
User avatar
disorder35
Posts: 700
Joined: Sat Aug 01, 2009 3:29 pm

Re: Cannot log Dualbox even localhost is whitelisted!

Post 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.
So What?????
User avatar
Braske
Posts: 29
Joined: Sat Jul 03, 2010 2:43 am

Re: Cannot log Dualbox even localhost is whitelisted!

Post by Braske »

i have some trouble, guys please help
User avatar
St3eT
Posts: 961
Joined: Sun Mar 07, 2010 6:50 pm

Re: Cannot log Dualbox even localhost is whitelisted!

Post by St3eT »

confirmed, white list dont work.
If i should be black sheep for sure no as punishment
Image
User avatar
disorder35
Posts: 700
Joined: Sat Aug 01, 2009 3:29 pm

Re: Cannot log Dualbox even localhost is whitelisted!

Post by disorder35 »

I reported that 4 months ago and also added a ticket on svn but no one did nothing about it.
So What?????
Ryald
Posts: 1
Joined: Fri Nov 02, 2012 7:54 am

Re: Cannot log Dualbox even localhost is whitelisted!

Post by Ryald »

I am having the same issue, whitelist seems to do nothing.
Post Reply