Hi.
I have a live server and I want to create a second server for testing purposes only. The server will be GM Only.
Also I want to login from the same IP, 2 different gameservers (Bartz - Sieghard) and to have 2 different DBs.
If this is possible can somebody please tell me how can I do that?
Thanks.
Second Server or Test Server
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 89
- Joined: Mon Sep 15, 2008 8:51 am
Re: Second Server or Test Server
Just register your 2nd gameserver on the loginserver, on an available slot. Pretty much the same you had to do for registering your other server.
As for the database, just create the new one with a different name.
As for the database, just create the new one with a different name.
-
- Posts: 48
- Joined: Fri Jul 10, 2009 6:54 pm
Re: Second Server or Test Server
I copy the DB I have in my live server to another DB with different name. Then I registered a new gameserver and saved the hex id into the 2nd gameserver (test). I edit the requestedserverid in server.properties to 2 and I run the gameserver.
Is not working.
FATAL: Failed to open server socket. Reason: Address already in use: bind
Damn! Registration failed: Reason Wrong hex id.
I did something wrong?
Is not working.

FATAL: Failed to open server socket. Reason: Address already in use: bind
Damn! Registration failed: Reason Wrong hex id.
I did something wrong?
-
- Posts: 99
- Joined: Wed Jan 04, 2006 12:51 am
Re: Second Server or Test Server
Did you change the gameserver port in the 2nd servers configs?
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am
Re: Second Server or Test Server
7778 or something else on your second server and you are done.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Second Server or Test Server
not just port, you need to change the GS server.properties file from
# Database URL
# URL = jdbc:mysql://localhost/l2jdb (default)
# URL = jdbc:hsqldb:hsql://localhost/l2jdb
# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
URL = jdbc:mysql://localhost/l2jdb
to
URL = jdbc:mysql://localhost/YOURDATABASENAMEHERE
# Database URL
# URL = jdbc:mysql://localhost/l2jdb (default)
# URL = jdbc:hsqldb:hsql://localhost/l2jdb
# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
URL = jdbc:mysql://localhost/l2jdb
to
URL = jdbc:mysql://localhost/YOURDATABASENAMEHERE
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.