Skip to content

Ip Hook

Featured Replies

Hello,

Me server have 2 ip with different country. First ip i registered in game server list, now i need register and second ip to same server. How i can do it on aCis?

  • Author

Fixed by self. :)

If any one need it can be made in one line:

ServerList.java

else if (gsi.getStatus() != ServerStatus.STATUS_GM_ONLY)
			{
				// Server is not GM-Only
+				addServer("78.78.78.78", gsi.getPort(), gsi.isPvp(), gsi.isTestServer(), gsi.getCurrentPlayerCount(), gsi.getMaxPlayers(), false, true, gsi.getStatus(), gsi.getId());
+				addServer("79.79.79.79", gsi.getPort(), gsi.isPvp(), gsi.isTestServer(), gsi.getCurrentPlayerCount(), gsi.getMaxPlayers(), false, true, gsi.getStatus(), gsi.getId()+1);
			}

and in RequestServerLogin.java

public boolean readImpl()
	{
		if (super._buf.remaining() >= 9)
		{
			_skey1 = readD();
			_skey2 = readD();
			_serverId = readC();
+			if(_serverId==2)
+				_serverId=1;
			return true;
		}
		return false;
	}

It work for me :)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.