Page 1 of 1

Dual Box problem

Posted: Thu May 12, 2011 12:55 am
by lucan
I configured my server to allow only one IP to participate in the Olympiad and TVTs.
But in a Class C LAN with 10 computers, only one computer can participate in the TVT and the Olympiad.
I saw that the server can differentiate between the IPS of teh 10 computers in this LAN class C and register in database each.
The server blocks the IPs by the IP of the Internet or it blocks the IP bu the class C?
I could not configure the server for him to release the 10 Class C IPs because it is blocking the IP of the internet apparently.
We have players who play in Internet Cafes and can not attend the events because of this blockage that did only one IP.
The server has no way to block IPs from the same class C from a single Internet IP?
I do not want a single PC to use dual box but i want it to be possible that the 10 computers can only log in one box in Olympiad or TVT.
Any solution?

My config...

# ---------------------------------------------------------------------------
# Dualbox Check
# ---------------------------------------------------------------------------
# Maximum number of players per IP address allowed to enter game.
# Default: 0 (unlimited)
DualboxCheckMaxPlayersPerIP = 0

# Maximum number of players per IP address allowed to participate in olympiad.
# Default: 0 (unlimited)
DualboxCheckMaxOlympiadParticipantsPerIP = 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;192.168.1.0,0


L2J Revision 4614:
L2JDP Revision 7991:

Thanks!!!

Re: Dual Box problem

Posted: Fri May 13, 2011 1:56 pm
by jburelli
Please change this value to "0"

DualboxCheckMaxOlympiadParticipantsPerIP = 0

Re: Dual Box problem

Posted: Fri May 13, 2011 5:32 pm
by lucan
0 is for unlimited box, I need 1 box for one PC only.
10 PC in a LAN, 1 box for 1 PC.

Re: Dual Box problem

Posted: Sun May 15, 2011 6:20 pm
by jburelli
Try this please

# 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;192.168.1.0,0

Add Ips to the white list example: 127.0.0.1,9;192.168.1.0,9

Re: Dual Box problem

Posted: Wed May 18, 2011 5:25 pm
by lucan
I do not think I explained properly ...
My server is hosted in Canada and an Internet Cafe for example in England or any country with 10 computers or more, only one computer can participate in the Olympiad or TVT at same time while the other 9 computers tells me that only one IP address allowed.
I want to ban the use of dual box on each PC, but I want all 10 PCs at the same time participate in TVT and olympiads, this is not possible?
Tks!!

Re: Dual Box problem

Posted: Mon May 23, 2011 8:55 am
by Ithil
Any idea how to bypass the detached (offline trader) client check? This time the DualboxCheckMaxPlayersPerIP count offline trader chars too, but I want max. dualbox is 2 active, and some offline.

Update: resolved in other way.

Re: Dual Box problem

Posted: Thu Jun 02, 2011 10:01 pm
by bady
Ithil wrote:Any idea how to bypass the detached (offline trader) client check? This time the DualboxCheckMaxPlayersPerIP count offline trader chars too, but I want max. dualbox is 2 active, and some offline.

Update: resolved in other way.
well, can you explain how you resolved it?

Re: Dual Box problem

Posted: Sun Jun 05, 2011 4:38 pm
by Ithil
Yep. Added to EnterWorld.java a dualbox-check code, which use _userHost and _routeHop1-4, and some variable, what need to check. BTW, DualboxCheckMaxPlayersPerIP is set to 0.