Jump to content

Java


ruter

Recommended Posts

Guys, i need Java for Server l2j Gracia 2. Because i can`t start login server. I have all port forward(9014,2106,7777,3306) end i check this in www, all is, OK ONLINE PORT!

2ebqsue.jpg

 

Plz Help ;)

 

My cfg:

 

LoginHostname=# ================================================================
# General login server setting !!! REQUIRED to configure to everyone !!!
# ================================================================

# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostname=0.0.0.0
LoginServerPort=2106
GMMinLevel=100

# The port, ip on which login will listen for GameServers
LoginHostname=83.5.239.130
LoginPort=9014

# If set to true any GameServer can register on your login's free slots
AcceptNewGameServer = False

# If false, the licence (after the login) will not be shown
ShowLicence = True

# 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=root

# Useable values: "True" - "False", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=True

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# (0 = disable)
IpUpdateTime=1


# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================

Debug = False
Assert = False
Developer = False
# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=False

#FloodProtection. time in ms
EnableFloodProtection=True
FastConnectionLimit=15
NormalConnectionTime=700
FastConnectionTime=350
MaxConnectionPerIP=50

#Ban management
# number of attempt before a user is banned when he fails his login
LoginTryBeforeBan=10
# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)
LoginBlockAfterBan=600


LoginPort=9014

# If set to true any GameServer can register on your login's free slots
AcceptNewGameServer = False

# If false, the licence (after the login) will not be shown
ShowLicence = True

# 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=root

# Useable values: "True" - "False", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=True

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# (0 = disable)
IpUpdateTime=1


# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================

Debug = False
Assert = False
Developer = False
# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=False

#FloodProtection. time in ms
EnableFloodProtection=True
FastConnectionLimit=15
NormalConnectionTime=700
FastConnectionTime=350
MaxConnectionPerIP=50

#Ban management
# number of attempt before a user is banned when he fails his login
LoginTryBeforeBan=10
# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)
LoginBlockAfterBan=600

Link to comment
Share on other sites

Login cfg

 

# ================================================================
# General login server setting !!! REQUIRED to configure to everyone !!!
# ================================================================

# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostname=0.0.0.0
LoginServerPort=2106
GMMinLevel=100

# The port, ip on which login will listen for GameServers
LoginHostname=83.5.239.130 
LoginPort=9014

# If set to true any GameServer can register on your login's free slots
AcceptNewGameServer = False

# If false, the licence (after the login) will not be shown
ShowLicence = True

# 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=root

# Useable values: "True" - "False", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=True

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# (0 = disable)
IpUpdateTime=1


# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================

Debug = False
Assert = False
Developer = False
# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=False

#FloodProtection. time in ms
EnableFloodProtection=True
FastConnectionLimit=15
NormalConnectionTime=700
FastConnectionTime=350
MaxConnectionPerIP=50

#Ban management
# number of attempt before a user is banned when he fails his login
LoginTryBeforeBan=10
# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)
LoginBlockAfterBan=600

 

Server cfg

 

# ===================================================================================================

# ================================================================
# General server setting!!! REQUIRED to configure to everyone!!!
# ================================================================

# Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs
GameserverHostname = 0.0.0.0
GameserverPort = 7777

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname = 83.5.239.130 	
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname = 127.0.0.1
# Note: You can define server hostname for each network in subnets.properties

# The Loginserver host and port
LoginPort = 9014
LoginHost = (?) local ip? or global?

# This is the server id that the gameserver will request (i.e. 1 is Bartz)
RequestServerID = 1
# If set to true, the login will give an other ID to the server if the requested ID is allready reserved
AcceptAlternateID = True

# 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 = root
MaximumDbConnections = 50

# Datapack root directory, defaults to current directory from which the server is started
# DatapackRoot = H:/workEclipse/L2J Free/trunk/L2_DataPack_CT2

# Define character name template
# These ones are regular expressions, visit http://www.regular-expressions.info for details
# Note: Checking lengths are done server side, but keep it in pattern for future purposes
# Character name ( Default [A-Za-z0-9\-]{3,16} )
CnameTemplate = [A-Za-z0-9\-]{3,16}
# Pet name ( Default [A-Za-z0-9\-]{3,16} )
PetNameTemplate = [A-Za-z0-9\-]{3,16}
# Clan and ally name ( [A-Za-z0-9 \-]{3,16} )
ClanAllyNameTemplate = [A-Za-z0-9 \-]{3,16}
# Title ( [A-Za-z0-9 \-\\[\\]\<\>\(\)\!\|]{3,16} )
TitleTemplate = [A-Za-z0-9 \-\\[\\]\<\>\(\)\!\|]{3,16}

# Maximum number of chars per account - 0 = illimited - default = 7
CharMaxNumber = 7

# Define how many players are allowed to play simultaneously on your server.
MaximumOnlineUsers = 100


# Minimum and maximum protocol revision that server allow to connect.
# You must keep MinProtocolRevision <= MaxProtocolRevision.
MinProtocolRevision = 1
MaxProtocolRevision = 999

# ---------------------------------------------
# Safe Reboot configuration
# ---------------------------------------------
# This will prevent some exploit during restart/shutdown process
SafeReboot = True
# To use following options, SafeReboot must be set to True
# Time in seconds before server complete shutdown/reboot, when
# following striction take effect
SafeRebootTime = 10
# Disable item enchant
SafeRebootDisableEnchant = True
# Disable players teleportations
SafeRebootDisableTeleport = False
# Disable craft and crystallize
SafeRebootDisableCreateItem = False
# Disable trades and shops
SafeRebootDisableTransaction = False
# Disable actions between players
SafeRebootDisablePcIteraction = False
# Disable actions on NPC
SafeRebootDisableNpcIteraction = False

# Flood Protection
# If enabled players which send more then PACKETLIMIT packets in PACKETTIMELIMIT ms will get kicked
FloodProtection = False
PacketLimit = 500
PacketTimeLimit = 1100

# ================================================================
# CT1 Legacy
# ================================================================
CT1LegacyMode = False

 

Nobody wanna help?

Link to comment
Share on other sites

# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs

LoginServerHostname=0.0.0.0

 

# The port, ip on which login will listen for GameServers

LoginHostname=127.0.0.1

 

 

---------------------------------------------------------------

 

Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs

GameserverHostname =0.0.0.0

GameserverPort = 7777

 

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname

ExternalHostname = 127.0.0.1

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname

InternalHostname = 127.0.0.1

# Note: You can define server hostname for each network in subnets.properties

 

# The Loginserver host and port

LoginPort = 9014

LoginHost = 127.0.0.1

 

 

 

 

=======================================================

 

try with this and will work for localhost 100%

Link to comment
Share on other sites

Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs

GameserverHostname =0.0.0.0

GameserverPort = 7777

 

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname

ExternalHostname = xxx.xxx.xxx  ( your external ip check here www.whatismyip.com )

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname

InternalHostname = xxx.xxx.xxx    ( if you have router at home you must put here your LAN IP, if no put your External IP

)

# Note: You can define server hostname for each network in subnets.properties

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...