Dual Box problem

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
User avatar
lucan
Posts: 590
Joined: Wed Mar 16, 2011 10:39 pm
Location: Brazil

Dual Box problem

Post 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!!!
jburelli
Posts: 7
Joined: Mon May 09, 2011 6:52 pm

Re: Dual Box problem

Post by jburelli »

Please change this value to "0"

DualboxCheckMaxOlympiadParticipantsPerIP = 0
User avatar
lucan
Posts: 590
Joined: Wed Mar 16, 2011 10:39 pm
Location: Brazil

Re: Dual Box problem

Post 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.
jburelli
Posts: 7
Joined: Mon May 09, 2011 6:52 pm

Re: Dual Box problem

Post 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
User avatar
lucan
Posts: 590
Joined: Wed Mar 16, 2011 10:39 pm
Location: Brazil

Re: Dual Box problem

Post 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!!
User avatar
Ithil
Posts: 15
Joined: Tue Nov 16, 2010 4:39 pm

Re: Dual Box problem

Post 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.
bady
Posts: 21
Joined: Mon Jun 23, 2008 7:51 pm

Re: Dual Box problem

Post 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?
User avatar
Ithil
Posts: 15
Joined: Tue Nov 16, 2010 4:39 pm

Re: Dual Box problem

Post 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.
Post Reply