Page 1 of 1

LoginServer list proxies.

Posted: Thu Jun 06, 2013 10:35 am
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?

Re: LoginServer list proxies.

Posted: Thu Jun 06, 2013 2:47 pm
by UnAfraid
And how's that going to help you decrease the latency?
LoginServer redirects client to another ip with session created nothing else.

Re: LoginServer list proxies.

Posted: Thu Jun 06, 2013 4:49 pm
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. :-)

Re: LoginServer list proxies.

Posted: Thu Jun 06, 2013 5:06 pm
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.

Re: LoginServer list proxies.

Posted: Thu Jun 06, 2013 5:22 pm
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. :-)

Re: LoginServer list proxies.

Posted: Thu Jun 06, 2013 6:42 pm
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'

Re: LoginServer list proxies.

Posted: Thu Jun 06, 2013 10:59 pm
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

Re: LoginServer list proxies.

Posted: Fri Jun 07, 2013 10:18 am
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.

Re: LoginServer list proxies.

Posted: Fri Jun 07, 2013 12:51 pm
by UnAfraid
There is no easy solution on your problem in such case.

Re: LoginServer list proxies.

Posted: Fri Jun 07, 2013 5:45 pm
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.