Jump to content
  • 0

how i can run 2 server in 1 pc.


Question

Posted

hi all, i want know how i can run 2 server in 1 computer, explain 1 server pvp and 1 server normal, both interlude, and the same^^, example 2 oneo, but diferent rates, and diferents server, i can? and if i can, how can?, if now a guide or something can say me, 1 friend say me, cant get 2 server in 1  macine, i cant get 1 login for 2 database diferents, and btw can make 2 diferents database and how? plz if can help me, i get a really thx but BUG thx i w8 ansius the answer.

Recommended Posts

  • 0
Posted

Well... you can try make a second "gameserver" folder and go to "loginserver" and "registergameserver" (I do not remember) and after press "1" (should appear a file called hexid, just copy to your 1st folder "gameserver\config", after make same thing and press 2(will appear another hexid, copy to another "gameserver\\config". And fun. Sorry, a PRO developer will explain better to you :)

  • 0
Posted

thx i how 1 see this post, and post how can put 2 server in 1 pc, or reference to 1 guide how can put 2 server in the same login in same machine thx ^^,

 

i want get oneo rev 720 (for you guys ^^ http://www.4shared.com/file/24302393/81804f94/build_oneo_720.html ) in my same server i am running righ now. plz help me, i want use the same login. if now a guide say me where i can found it. and btw i upload this is the oneo devteam web page dont work -.- ... and i found this.

  • 0
Posted

# Database info

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=

Login=root

Password=

MaximumDbConnections=50

MaximumStateMents=100

MaxPoolSize=50

MinPoolSize=10

AquireIncrement=1

IdleConnectionTest=10800

MaxIdleTime=0

 

# Datapack root directory, defaults to current directory from which the server is started

# DatapackRoot = C:/Work/tmp/DataPack

 

maybe here more that this. well really i dont know much. and i try to enter to www.oneodevteam.com and never enter. for this i dont have other resource :S sorry if this is bad

 

now i post the original server configuration.

 

# Database info

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=

Login=root

Password=

MaximumDbConnections=50

MaximumStateMents=100

MaxPoolSize=50

MinPoolSize=10

AquireIncrement=1

IdleConnectionTest=10800

MaxIdleTime=0

 

# Datapack root directory, defaults to current directory from which the server is started

# DatapackRoot = C:/Work/tmp/DataPack

 

 

<<< where is my problem? i can run 2 server in 1 pc, the second server conect to the first server, and i dont know why -.- ...HELP PLZ

  • 0
Posted

LOL.. man u will need two databases! hello! .. open navicat and create a second db and name it like l2jdb_2 and then u configure the second gameserver to connect to this one..

  • 0
Posted

In order to run 2 servers in 1 pc:

1)Go to navicat and create a 2nd db and give the name l2jdb2

2)Go to the database_installer.bat and change it like that

REM Default values:
set mysqlBinPath=C:\Program Files\MySQL\MySQL Server 4.1\bin
REM LOGINSERVER
set lsuser=root
set lspass=
set lsdb=l2jdb2
set lshost=localhost

REM GAMESERVER
set gsuser=root
set gspass=
set gsdb=l2jdb2
set gshost=localhost

 

3)Install it to the db

 

4)Go to your server.properties and change it like that

# Database info
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=
Login=root
Password=
MaximumDbConnections=50
MaximumStateMents=100
MaxPoolSize=50
MinPoolSize=10
AquireIncrement=1
IdleConnectionTest=10800
MaxIdleTime=0

Guest
This topic is now closed to further replies.


  • Posts

    • And Discord: https://discord.gg/3aYqWNqb
    • Ofc: https://discord.gg/3aYqWNqb
    • You can find some H5 skins shared in old L2 modding Discords, but most of the higher‑quality ones are either paid or come bundled with full client edits. I usually mix in commissioned work and whatever I can patch myself. On a side note, I fund a lot of these commissions by selling off game items through instant sell cs2 skins, which has been a quick way for me to get some cash for projects.
    • There is no need for gRPC in this case, even tho originally it was gRPC based but since we don't need it to be bi-directional, we switched to simple http requests for the web calls and SSEs for the data streamed from the server. There are distributed locks in place to precent race conditions between actions that can happen between multiple web instances and the server.   Local models can also be slow depending on the model, and most external models can actually be faster than local ones if you use Flash 2.5 or something along those lines. I am running on 512GB of Unified Memory on my Mac Studio M3 Ultra so the speed of the local model for a small model is pretty good but I tested it with Gemini too and it works equally as fast and in some cases faster. The way it works is that I'm using pgvector (one of the benefits of moving to Postgres) to search the data and see what the player can see etc and there is some batching of the next few actions for 2-4 seconds for the user until the next LLM request fires. The batching also includes branching on logic so if they for example fall under some HP they will move to kiting instead of attacking or maybe they heal etc.   Everything is authed and permission-based. The server and the backend of the frontend have secure communication between them, either with a symmetric key (not recommended for production) or a certificate (the recommended way), so there is no worry. It's all tied to the account's access level, etc., so nobody can make an action that they normally wouldn't be allowed to do. Even the MCP is token-based, and there are prompt injection protections in place. The MCP is audited, and every mutation needs confirmation. The admin area is only accessible to the admin account anyway so normal users can't access it.  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..