LoginServer list proxies.

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
dEvilKinG
Posts: 15
Joined: Wed Oct 12, 2011 2:37 pm

LoginServer list proxies.

Post by dEvilKinG »

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

Hello, i want to make loginserver able to list proxies as servers on this step.

Image

I want to make an international server but latency is an issue when connecting directly to the server so i thought about this solution and it helps a lot, since servers between them have lower latency than player<->server. I will use some servers as tcp proxies redirecting packets through them.

What i want to do is this:

Image

Any ideas how to modify ls to make it possible?
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: LoginServer list proxies.

Post by UnAfraid »

And how's that going to help you decrease the latency?
LoginServer redirects client to another ip with session created nothing else.
Image
dEvilKinG
Posts: 15
Joined: Wed Oct 12, 2011 2:37 pm

Re: LoginServer list proxies.

Post by dEvilKinG »

UnAfraid wrote:And how's that going to help you decrease the latency?
LoginServer redirects client to another ip with session created nothing else.

Actually i just need to redirect the client to another ip, but not to a registered gameserver.

And this is how it's gonna help me :-)

EU Player <-> US Server = 200-450 ping (ms)
EU Player <-> EU Server = 50~ ping (ms)
EU Server <-> US Server = 70~ ping (ms)

So we have:

EU Player -> EU Server -> US Server = 120 ping (ms), which is playable for mmorpg games. :-)
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: LoginServer list proxies.

Post by UnAfraid »

You'll still need a proxy server in Europe with good connection to USA and you'll become a victim if someone attack that host.
Not to mention that you'll have all clients under one IP.
Image
dEvilKinG
Posts: 15
Joined: Wed Oct 12, 2011 2:37 pm

Re: LoginServer list proxies.

Post by dEvilKinG »

UnAfraid wrote:You'll still need a proxy server in Europe with good connection to USA and you'll become a victim if someone attack that host.
Not to mention that you'll have all clients under one IP.
I'd rather be attacked on the proxy server than on the main one. Also why should i care about all clients having the same ip on GS, they can be identified before that. on Login server. :-)
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: LoginServer list proxies.

Post by UnAfraid »

That's not a solution if you ask me better find a dedicated hosting on europe or usa wherever you want to have better connectivity instead of doing some 'hacks'
Image
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: LoginServer list proxies.

Post by MELERIX »

if you want to decrease ping a bit, enable this ;)

MMO.properties

Code: Select all

# Setting this to True will lower your ping, at the cost of an increase in bandwidth consumption.TcpNoDelay = True
dEvilKinG
Posts: 15
Joined: Wed Oct 12, 2011 2:37 pm

Re: LoginServer list proxies.

Post by dEvilKinG »

UnAfraid wrote:That's not a solution if you ask me better find a dedicated hosting on europe or usa wherever you want to have better connectivity instead of doing some 'hacks'
I'm working to make an international community with no crybabies crying about delay or timezone benefits. So i'm not looking just for a dedicated, also I plan to make a powerful gaming portal so budget won't be a problem.
MELERIX wrote:if you want to decrease ping a bit, enable this ;)

MMO.properties

Code: Select all

# Setting this to True will lower your ping, at the cost of an increase in bandwidth consumption.TcpNoDelay = True

I doubt bandwidth will interfere with latency. You may be able to top up your capacity limits on a long distanced located server with big latency (ms) but not be able to top it up on a lower latency server. It's about peering between networks.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: LoginServer list proxies.

Post by UnAfraid »

There is no easy solution on your problem in such case.
Image
HorridoJoho
L2j Senior Developer
L2j Senior Developer
Posts: 795
Joined: Sun Aug 14, 2005 11:27 am

Re: LoginServer list proxies.

Post by HorridoJoho »

The easiest solution for you would be to add a column in gameservers table of loginserver something like "parent_gs_id".
Now make loginserver only accept gameserver connections from entries where "parent_gs_id" is null.
The servers where the "parent_gs_id" is not null, only accept new connections, connect to the gameserver and passes through the traffic.


Does not sound that hard.
Post Reply