Jump to content
  • 0

Help


CTGavesT

Question

6 answers to this question

Recommended Posts

  • 0

Εννοείς 2 server σε 1 login?

 

Αν ναι,

Τότε πρώτα απ'όλα, πρέπει να ανοίξεις μία νέα port 7778.

 

Μετά ακολούθα τα παρακάτω..

1) Θα πρέπει να έχεις ένα δεύτερο Project. ή χρησιμοποίησε αυτό που έχεις, αλλά βάλτο σε άλλους φακέλους.

2) Φτιάξε στην navicat μία νέα database με όνομα π.χ l2jdb2, και άλλαξε τα config της database από database_installer.bat, login.properties, server.properties

3) Κάνε Install την νέα database.

4) Τρέξε το Registerserver όπως πάντα. (Πέτα το hexid στα config).

5) Μετά, απλά τρέξε το gameserver. (Μόνο gameserver, όχι το login).

 

Μην ξεχάσεις στα config του δεύτερου server να αλλάξεις όπου port 7777 σε 7778.

Link to comment
Share on other sites

  • 0

ekana auta ta vimata ekana coppy to gamaserver ton fakelo ton onomasta gameserver2 alla3a GameserverPort = 7778 auto meta ekana database me name l2jdb2 tin ekana install meta ekana hexid to perasa sto gameserver/config kai meta anigo 2 gameserver kai ena login kai mou petaei to error auto ala3a kai auto

 

# Parameters Databases - MYSQL

Driver = com.mysql.jdbc.Driver
URL = jdbc:mysql://LocalHost/l2jdb2

 

Error creating geoeditor listener!
java.net.BindException: Address already in use: JVM_Bind
        at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
        at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at com.l2jfrozen.gameserver.geo.geoeditorcon.GeoEditorListener.<init>(Ge
oEditorListener.java:53)
        at com.l2jfrozen.gameserver.geo.geoeditorcon.GeoEditorListener$Singleton
Holder.<clinit>(GeoEditorListener.java:38)
        at com.l2jfrozen.gameserver.geo.geoeditorcon.GeoEditorListener.getInstan
ce(GeoEditorListener.java:43)
        at com.l2jfrozen.gameserver.GameServer.main(GameServer.java:376)

Server terminated abnormally
Send you bug to : http://www.l2jfrozen.com

server terminated
Send you bug to : http://www.l2jfrozen.com

Restart® or Quit(q)

Edited by FastCow
Link to comment
Share on other sites

  • 0

Σου λέει πως η διέυθυνση εκτελείται ήδη..

Προσπαθείς να ανοίξεις το ίδιο gameserver 2 φορές...

τσέκαρε τις ρυθμίσεις του δεύτερου gameserver.

 

Δώσε μία εδώ και το config server.properties από τα 2 gameserver..

Χρησιμοποίησε το

.
Link to comment
Share on other sites

  • 0

2 gameserver ani3a tou pano server kai tou allou me new pack frozen kai auto

 

Config Gameserver2.properties location C:\L2jfrozen server\gameserver2\config\network

# ===================================#
#   Game Server Settings             #
# ===================================#
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# -----------------------------------------------------------------------------------------------------------------------------------------------------------------
# Networking
# -----------------------------------------------------------------------------------------------------------------------------------------------------------------
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# Common settings...
# 127.0.0.1 - If you are playing alone on a test server
# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
# If this IP is resolvable by the Login Server, just leave *.
# ----------------------------------------------------------------------------------------

# Enter here (ip) address of your game server, or use the symbol *
GameserverHostname = *
GameserverPort = 7778

# Configure your external ip
ExternalHostname = I no ip mou

# Configure your internal ip
InternalHostname =  127.0.0.1

# Bunch ID and game server. It is better not to change.
LoginPort = 9014
LoginHost = 127.0.0.1

# Database Pool Type
# Possible Values: c3p0 or BoneCP
# c3p0: more stable
# BoneCP: more performance
DatabasePoolType = c3p0

# Parameters Databases - MYSQL
Driver = com.mysql.jdbc.Driver
URL = jdbc:mysql://LocalHost/l2jdb2

# Database name
GameserverDB = 
LoginserverDB = 

# Login - Mysql's user
Login = To login mou
# Password - Mysql's Password
Password = To pass mou
# Attention: lazy init connections disabled!
# Please, set only real values for your database
# Default: 100
MaximumDbConnections = 50

# Default: 0
MaximumDbIdleTime = 0

# The timeout before a new connection to the database (in ms)
# 0 - to remove restrictions
TimeOutConDb = 0

# The timeout before the single connection must be closed (in ms)
# if a connection life is more then this timeout, a Runtime Exception
# is rised up. Post the exception on forum (www.l2jfrozen.com) to solve
# it.
SingleConnectionTimeOutDb = 200000

# Sets number of partitions to use.- BoneCP
# In order to reduce lock contention and thus improve performance, 
# each incoming connection request picks off a connection from a pool that has thread-affinity, 
# i.e. pool[threadId % partition_count]. The higher this number, the better your performance will be for the case 
# when you have plenty of short-lived threads. Beyond a certain threshold, maintenance of these pools will start 
# to have a negative effect on performance (and only for the case when connections on a partition start running out).
PartitionCount = 3

# Setting emulation off the kernel (package SendStatus)
RemoteWhoLog = True
RemoteWhoSendTrash = True
RemoteWhoMaxOnline = 329
RemoteOnlineIncrement = 50
RemoteWhoForceInc = 50
RemotePrivStoreFactor = 12

# Datapack folder
# To exacute the server under debugger with eclipse use:
# DatapackRoot = ../L2jFrozen_DataPack
# or point the folder directly to your server.
DatapackRoot = .
Edited by FastCow
Link to comment
Share on other sites

  • 0

Εδώ δεν χρειάζεται να βάλεις l2jdb2?

 

# Database name
- GameserverDB =
- LoginserverDB = 
+ GameserverDB = l2jdb2
+ LoginserverDB = l2jdb2
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...