Jump to content
  • 0

[Help]Second Gameserver Prob.


Question

Posted

Hello, I have one problem with second gameserver, the i run it i have the message that it already in use.

 

Main Server Info:

 

gameserver.properties:

Driver = com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL = jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=

 

Port: 7777

Hexid: 1

Folder: Game

Database: L2jdb

 

Second server info:

 

Gameserver.properties

Driver = com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL = jdbc:mysql://localhost/l2jdb2
#URL=jdbc:hsqldb:hsql://localhost/l2jdb2
#URL=jdbc:sqlserver://localhost/database=l2jdb2/user=sa/password=

 

Port: 7776

Hexid: 2 (tried and other NS too)

Folder: Game2

Database: L2jdb2

 

loginserver.properties

AcceptNewGameServer =True

 

So then i have gameserver(1) in use the gameserver(2) have the message error "Registeration Failed, Reason: Already logged in"

Then gameserver(1) closed (i mean not in use) the gameserver(2) opening normal but with name Bartz (Hexid 1) How does this posible?

6 answers to this question

Recommended Posts

  • 0
Posted

the hexid at 2nd gameserver must be created on db1.

You mean that?

URL = jdbc:mysql://localhost/l2jdb2

let me try it

PS. No this doesnt helped, And the funniest think is that it make new server on "Gameserver" from l2jdb and then i log i can see the server (down ofc)

  • 0
Posted

Required to create two GameServer's:

 

    * 1 additional database for second server.

    * GameServer and DataPack of the same version.

    * 512 MB of Memory or more (1GB Standar).

    * 1.5 Ghz or but speed in processor (2GB Standar).

 

  1. Put LoginServer and GameServer down if this running.

  2. Create 1 database called "l2jdb" and use database installer to install full login and full gameserver.

    If you have one server working no need make this step.

  3. Create second database called "l2jdb2", SKIP instalation of LoginServer and install FULL GameServer database.

  4. Copy gameserver folder and rename as gameserver2.

  5. Use RegisterGameServer.bat, register gameserver and create hexid(x) and copy to gameserver2/config path and rename to hexid.

    "x" is the id of your choice in RegisterGameServer. It's needed to configure the gameserver2

  6. In the gameserver2/config path open the file server.PROPERTIES file and change the coloured values:

 

      GameserverPort=7777 ----> 7778

 

      RequestServerID = 0 ----> x ("x" is the id of your choice in RegisterGameServer)

 

      AcceptAlternateID = True

 

      URL=jdbc:mysql://localhost/l2jdb ----> jdbc:mysql://localhost/l2jdb2

 

      Login= user of database (default "root")

      Password= your password for user or "root"

 

  7. Now in first game server run startLoginServer.bat and startGameServer.bat

    In second game server only need to run startGameServer.bat (because two game

    server will use same Login server)

read this maybe help's you.

  • 0
Posted

@Apithanos™ no, i already do that.

 

Anyway guys ok I find the problem. Problem was from java so thanks anyway for supporting

LOCKED

Guest
This topic is now closed to further replies.


  • Posts

    • You think you have good “l2j” files until you try running a low-rate server.   Saying “there’s not a single L2 server out there worth mentioning” just shows you probably only know the first 10 servers on voting sites, the same voting sites that owned by them. You call the forum dead, yet you’re here discussing your next projects… From my perspective, you don’t seem ready to run any L2 server in 2025. Around 70% of players are here for RMT or ask for payment just to bring their clan, and you really think the community cares about Premium or donations or files quality? The other 20% spend their time downloading and deleting servers all day, playing for one day, then quitting for whatever random reason. And finally, the last 10% are the only ones who actually play because they genuinely like your features, your server files, and your overall project. Good luck 🙂
    • I genuinely admire your bravery - in an age where AI can whip up something better in under a minute, you still stubbornly try to sell these "projects" of yours on a forum that’s been clinically dead for years. That’s no longer determination, that’s digital archaeology. I just can’t tell whether you’re actually trying to make money, or simply testing how much we can endure before we ask an AI to generate you some actual talent.   And ofc AI will make it for free, $220 saved.
    • I’m glad I’m not the only one who appreciates Maxthor’s involvement in group gay orgies, he can’t be bothered to reply to messages, but covering the entire forum in gay lights is absolutely no issue for him. As for the project - the forum is packed with feedback from the testers, the lads are spending every spare moment fixing even the tiniest typo in an NPC’s text. I’ll share the links as soon as I get the green light. Edit: I forgot to add that the GM recruitment will begin once the links are released. Three people will be accepted, and they’ll work in a three-shift rotation so that there’s always a GM available online.
    • Added: a brand-new default dashboard template. You can now add multiple game/login server builds. Full support for running both PTS & L2J servers simultaneously, with switching between them. Payment systems: added OmegaPay and Pally (new PayPal-style API). Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account. Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.     Look demo site: demo
    • One of best project i play last few years
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock