Jump to content
  • 0

[Help]2Diff Servers in 1 pc.


Sido

Question

how can i run 2 diff servers (for example gracia + c5) in 1 server?

i know i can run same chronicles , but how i can run 2 servers , even in 1 login, but diff chronicles... in 1pc.

 

does anyone know ?

 

myservers start but not connect to login server (1 of them)

Link to comment
Share on other sites

Recommended Posts

  • 0

you have to edit the LoginServerThread revision protocol of the gameserver with different chronicle than the loginserver you are adding to

Link to comment
Share on other sites

  • 0

you have to edit the LoginServerThread revision protocol of the gameserver with different chronicle than the loginserver you are adding to

can u , or someone else help me with this :P ?

Link to comment
Share on other sites

  • 0

Edit LoginServerThread with notepad ++

 

=> Ctrl + F

 

Search : private static final int REVISION =

 

You must find something ^^'

ok, i think is simple now. thanks

 

but 1 question, this will be applied to game server ? since i see there LOGIN SERVEr.. !?

 


 

edit:

now i get this error

Exception in thread "GameServerThread-21@79.117.176.117" java.lang.ArrayIndexOut

OfBoundsException: 104

        at L2j.Infinity.util.network.BaseRecievePacket.readB(BaseRecievePacket.j

ava:89)

        at L2j.Infinity.loginserver.gameserverpackets.GameServerAuth.<init>(Game

ServerAuth.java:57)

        at L2j.Infinity.loginserver.GameServerThread.onGameServerAuth(GameServer

Thread.java:211)

        at L2j.Infinity.loginserver.GameServerThread.run(GameServerThread.java:1

45)

in login server.... anyone know smth about ?

Link to comment
Share on other sites

  • 0

Exception in thread "GameServerThread-21@79.117.176.117" java.lang.ArrayIndexOut
OfBoundsException: 104
        at L2j.Infinity.util.network.BaseRecievePacket.readB(BaseRecievePacket.j
ava:89)
        at L2j.Infinity.loginserver.gameserverpackets.GameServerAuth.<init>(Game
ServerAuth.java:57)
        at L2j.Infinity.loginserver.GameServerThread.onGameServerAuth(GameServer
Thread.java:211)
        at L2j.Infinity.loginserver.GameServerThread.run(GameServerThread.java:1
45)

 

bump

Link to comment
Share on other sites

  • 0

Exception in thread "GameServerThread-21@79.117.176.117" java.lang.ArrayIndexOut

OfBoundsException: 104

        at L2j.Infinity.util.network.BaseRecievePacket.readB(BaseRecievePacket.j

ava:89)

        at L2j.Infinity.loginserver.gameserverpackets.GameServerAuth.<init>(Game

ServerAuth.java:57)

        at L2j.Infinity.loginserver.GameServerThread.onGameServerAuth(GameServer

Thread.java:211)

        at L2j.Infinity.loginserver.GameServerThread.run(GameServerThread.java:1

45)

 

I have the same problem someone found the solution? I hope you have any idea how to fix this final grace and love I have connected to the same login grace epilogue and gives me the same error quote

Link to comment
Share on other sites

  • 0

Well I don't think I will help a lot, I just confirm things :D.

 

About 2 gameservers on the same loginserver, you just have to make gameservers use different port.

http://l2jserver.com/forum/viewtopic.php?f=81&t=10976

 

About the revision, what do you try to do ?

 

Revisions are by default different (for Interlude : 0x0102, for L2J last one before freya (epilogue ? I dunno the name lmao) : 0x0103).

 

I don't want to say bullshit, but you tried to put 0x0104 ? It seems it's off the array. Try with 102 and 103, or any lower numbers. You shouldn't go out from the array. The error can be translated like that : The world is flat, and your caravel just jumped in the void.

 

About WHY it doesn't allow highers numbers, if you have a translator nerd -> english, you can try to understand from that :

public final byte[] readB(int length)
{
	byte[] result = new byte[length];
	for(int i = 0; i < length; i++)
	{
		result[i]=_decrypt[_off+i];                <<<<< error line
	}
	_off += length;
	return result;
}

 

Aka, I have no clue why it bugs, but it bugs :).

Link to comment
Share on other sites

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...