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

  • 0
Posted

where C:\Program Files\MySQL\MySQL Server (4.1)\bin is the version of your MySQL server (eg 5.0)

  • 0
Posted

yeah but i put manual all SQL of db2 in l2jdb2, dont know why but installer sayme dont found mysql(4.1), well a friend say me i can put manual db and i put, but maybe is this?

Guest
This topic is now closed to further replies.


×
×
  • Create New...