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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...