Jump to content

Question

Posted (edited)

Hello,

 

I'm looking for some option to proxy servers on my list of gameservers (L2J).

 

I have a dedicated server with L2jaCis.

I have two VPS servers for use as proxies (Brazil - Canada).

 

 

Any can make proxies for L2J?

 

Example:


 

Thanks!

Edited by psgt58

11 answers to this question

Recommended Posts

  • 0
Posted

I have explained it dozens of times. Here's my quote from acis forums.

 

While loading remove everything except 

StringUtil.printSection("Login");
_loginThread = LoginServerThread.getInstance();
_loginThread.start();

register gameserver and use the hexid of the registered gameserver.
Edit config and put the ip of the proxy.
Setup proxy to point to original ip :-)

  • 0
Posted

I have explained it dozens of times. Here's my quote from acis forums.

 

While loading remove everything except 

StringUtil.printSection("Login");
_loginThread = LoginServerThread.getInstance();
_loginThread.start();

register gameserver and use the hexid of the registered gameserver.

Edit config and put the ip of the proxy.

Setup proxy to point to original ip :-)

 

Can you help us to make it works? we can't. 

  • 0
Posted (edited)

im tested with it:

serverlist.java

for (GameServerInfo gsi : GameServerTable.getInstance().getRegisteredGameServers().values())
		{
			if (gsi.getStatus() == ServerStatus.STATUS_GM_ONLY && client.getAccessLevel() > 0)
			{
				// Server is GM-Only but you've got GM Status
				addServer("IP ADDRESS", gsi.getPort(), gsi.isPvp(), gsi.isTestServer(), gsi.getCurrentPlayerCount(), gsi.getMaxPlayers(), false, true, gsi.getStatus(), gsi.getId());
			gsi.isTestServer(), gsi.getCurrentPlayerCount(), gsi.getMaxPlayers(), false, true, gsi.getStatus(), gsi.getId()+1);
				}
			else if (gsi.getStatus() != ServerStatus.STATUS_GM_ONLY)
			{
				// Server is not GM-Only
				addServer("IP ADDRESS MAIN", gsi.getPort(), gsi.isPvp(), gsi.isTestServer(), gsi.getCurrentPlayerCount(), gsi.getMaxPlayers(), false, true, gsi.getStatus(), gsi.getId());
				addServer("PROXY IP ADDRESS", gsi.getPort(), gsi.isPvp(), gsi.isTestServer(), gsi.getCurrentPlayerCount(), gsi.getMaxPlayers(), false, true, gsi.getStatus(), gsi.getId()+1);
			}
			else
			{
				// Server's GM-Only and you've got no GM-Status
				addServer(client.usesInternalIP() ? gsi.getInternalHost() : gsi.getExternalHost(), gsi.getPort(), gsi.isPvp(), gsi.isTestServer(), gsi.getCurrentPlayerCount(), gsi.getMaxPlayers(), gsi.isShowingBrackets(), gsi.isShowingClock(), ServerStatus.STATUS_DOWN, gsi.getId());
			}
		}

i tested it with FailOver IP , idk its same like proxy or no :D

And in server network configs use where u can `*`

Edited by wongerlt

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..