2Login 2GameServer 1PC?

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: 2Login 2GameServer 1PC?

Post by jurchiks »

Interesting idea :)
I have only 1 static MAC-bound IP, so I wouldn't have guessed that... But what if the ISP gives you only 1 IP?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
JavierDC
Posts: 132
Joined: Sun Feb 03, 2008 10:16 pm
Contact:

Re: 2Login 2GameServer 1PC?

Post by JavierDC »

jurchiks wrote:Interesting idea :)
I have only 1 static MAC-bound IP, so I wouldn't have guessed that... But what if the ISP gives you only 1 IP?
2 LS and 2 GS does not work with ip
perdon por mi ingles, traducido desde goggle
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: 2Login 2GameServer 1PC?

Post by jurchiks »

but you just said:
no. you have to use the same ports, with 2 ip, need to edit client na
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
JavierDC
Posts: 132
Joined: Sun Feb 03, 2008 10:16 pm
Contact:

Re: 2Login 2GameServer 1PC?

Post by JavierDC »

jurchiks wrote:but you just said:
no. you have to use the same ports, with 2 ip, need to edit client na
with 2 different ip

ie if you got 2 ip, no need to edit the client to connect to a server or other
perdon por mi ingles, traducido desde goggle
ben2k
Posts: 7
Joined: Wed Oct 27, 2010 8:21 am

Re: 2Login 2GameServer 1PC?

Post by ben2k »

But what can you do if you have no 2 ips?

Maybe you share your server with an other project which uses its on database and everything with a lower cronicle ...

Is there no way to use 2 ls on the same ip without editing the client?
Airin
Posts: 81
Joined: Wed Sep 23, 2009 6:53 pm

Re: 2Login 2GameServer 1PC?

Post by Airin »

It is possible, but requires client (l2.exe) changing to Fyyre version and this is illegal.
If you download one DLL library and import it load to l2.exe, it is possible to change port. But, generally, it is hardcoded into engine.dll and you can't change it without special tools and, of course, client modding.
a.k.a TrueDecko
CUSTOM ITEMS WITHOUT ANY COPYRIGHT VIOLATION - APPROVED BY NCZ0ft - PRESS ON IMAGE TO REACH TUTORIAL!
Image
User avatar
JavierDC
Posts: 132
Joined: Sun Feb 03, 2008 10:16 pm
Contact:

Re: 2Login 2GameServer 1PC?

Post by JavierDC »

ben2k wrote:But what can you do if you have no 2 ips?

Maybe you share your server with an other project which uses its on database and everything with a lower cronicle ...

Is there no way to use 2 ls on the same ip without editing the client?
you can not use two LS with 1 ip.

español

no puedes usar dos LS con 1 ip.
perdon por mi ingles, traducido desde goggle
benurb
Posts: 77
Joined: Sun Dec 10, 2006 2:00 pm

Re: 2Login 2GameServer 1PC?

Post by benurb »

ben2k wrote:Maybe you share your server with an other project which uses its on database and everything with a lower cronicle ...
All good server hosters give you more than one ip with your server ^^
User avatar
JavierDC
Posts: 132
Joined: Sun Feb 03, 2008 10:16 pm
Contact:

Re: 2Login 2GameServer 1PC?

Post by JavierDC »

benurb wrote:
ben2k wrote:Maybe you share your server with an other project which uses its on database and everything with a lower cronicle ...
All good server hosters give you more than one ip with your server ^^
:mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:
perdon por mi ingles, traducido desde goggle
User avatar
pinkcore
Posts: 247
Joined: Fri Jul 24, 2009 3:04 am
Location: Czech Republic

Re: 2Login 2GameServer 1PC?

Post by pinkcore »

JavierDC wrote:
benurb wrote:
ben2k wrote:Maybe you share your server with an other project which uses its on database and everything with a lower cronicle ...
All good server hosters give you more than one ip with your server ^^
:mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:
Why are you smilling? My host can give me up to 6 IP adresses per machine in Czech Republic's server housing Casablanca. But I don't need it I have 4 game servers on 1 login server.
I'm not here only for food!
Edelvez
Posts: 173
Joined: Fri Nov 06, 2009 6:32 am
Location: Argentina

Re: 2Login 2GameServer 1PC?

Post by Edelvez »

As I read you want to raise 2 LoginServer with a PC ... If you have 2 IP, 1 I would say get up Virtual PC and assign the ip you're not using on the host PC.
Someone once told me: "The easiest way of doing things, making them the hard way" ;)
benurb
Posts: 77
Joined: Sun Dec 10, 2006 2:00 pm

Re: 2Login 2GameServer 1PC?

Post by benurb »

You don't need a virtual machine, but a second IP. You just have to configure your os, to use both ips and then look in loginserver.properties. There you can define the IP, the login server will bind to.

To make it short. Whatever you do, it will never be possible to use more than one login server on one IP, unless you find a (legal) way to change the login port on client or create proxy applications, that listens on the client pc on port 2106 and redirects all traffic to another port on the server.
sancak
Posts: 77
Joined: Thu Mar 04, 2010 10:15 pm

Re: 2Login 2GameServer 1PC?

Post by sancak »

but what about local ip, isn't it unique?
TheSaint
Posts: 19
Joined: Tue Apr 21, 2009 7:23 pm

Re: 2Login 2GameServer 1PC?

Post by TheSaint »

kotk wrote:
odisey wrote:
kotk wrote:You can't run 2 LoginServers on the same machine, as they will both need to bind to port 2106.
first LS:

loginserver.properties:
# Default: 2106
LoginserverPort = 2106


second LS:

loginserver.properties:
# Default: 2106
LoginserverPort = 2107
This change does you no good. Unless you plan to hack the client (which is illegal) and make it start using 2107.
It is possible if you can have two public IP's. You need to do the following:
1. Start first logon on TCP/2106
2. Start second logon on TCP/2107
3. Do the port translation (PAT) from IPpriv/2106 -> IPpublic1/2106
4. Do the port translation (PAT) from IPpriv/2107 -> IPpublic2/2106
Remember to allow traffic from outside world to your public IP's on TCP/2106.
And voila ;)
ZumbuL
Posts: 45
Joined: Sun Feb 01, 2009 4:59 am
Location: USA

Re: 2Login 2GameServer 1PC?

Post by ZumbuL »

So basically either get two public IPs, to do it without breaking any rules of this forum, or edit the client.
To do, and to think about doing... completely different things...
Post Reply