Jump to content
  • 0

Help me with my server!!


Question

Posted

ok ty i i have umbrella's project db which is very cool in localhost but i want to make it online!!so i tried a lot of times!! plz help me!  :'(

this is my configs in Logins server!!

# ================================================================
# 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=127.0.0.1
LoginServerPort=2106
GMMinLevel=100

# The port, ip on which login will listen for GameServers
LoginHostname=127.0.0.1
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=0


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

 

Here is my configs in Gameserver

# This is the server configuration file. Here you can set up the connection for your server.
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => http://l2jfree.com
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
# ===================================================================================================

# ================================================================
# 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=127.0.0.1
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
# Define internal networks (10.0.0.0/8,192.168.0.0/16 is default internal networks)
InternalNetworks=127.0.0.1
# Define optional networks and router IPs
# IP (200.100.200.100) or fully qualified domain name
# (google.com) that resolves to an IP (use ping to determine if a domain resolves).
# Format: ip,net/mask;ip,net/mask,net/mask
# (mask 192.168.0.0/16 or 192.168.0.0/255.255.0.0 would be 192.168.*.*)
# Note: keep InternalNetworks and OptionalNetworks blank for compatibility with older login server
OptionalNetworks=

# The Loginserver host and port
LoginPort=9014
LoginHost=127.0.0.1

# 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_IL

# 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 = 828
MaxProtocolRevision = 831

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

# Network traffic optimization: minimum time between sending char's hp/mp status update packet.
NetworkTrafficOptimization = False
NetworkTrafficOptimizationMs = 1100

# Flood Protection
# if enabled players which send more then PACKETLIMIT packets in PACKETTIMELIMIT ms will get kicked
# warning not tested made a quickhack for squeezed :)
FloodProtection = False
PacketLimit = 500
PacketTimeLimit = 1100


# ================================================================
# JMX Administration
# ================================================================
# Port to connect with l2jmx, -1 to disable jmx completely
admin_portJMX=-1
# Port to connect to jmx via HTTP, -1 to disable
# disable it if it is not local test
# http adaptor is usefull to see if your server is running with l2jbeans, or to see others beans (JRE, logging)
# It is also possible to use it if you forbid this port for external host, but you have to be sure nobody can reach this url !
admin_portHTTP=-1
# password for keystore_file, the keystore file should be in config folder.
# Comment it or remove the keystore file if you doesn't want to activate secure socket.
#keystore_password=password
# keystore file
# this file is used to store a SSL certificate for your jmx server.
# You have to create it with keytool like this :
# $JAVA_HOME/bin/keytool -genkey -keyalg "RSA" -keystore myKeystore.jks -storepass myPassword -dname "cn=myhost"
# Change myKeystore, myPassword and myhost for your own needs
# You have to give this file to all people that will use l2jmx
#keystore=keystore.jks

# ================================================================
# Legacy Mode for CT1
# ================================================================
LegacyCT1Mode = False
CT1AndCT15Mode = False

 

ok plz fix them with my ip plz

77.49.51.55

 

i'll very happy if u answer me asap!!

 

P.S. my ports are on!! so plz fix them with my ip!! :(

11 answers to this question

Recommended Posts

  • 0
Posted
# 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 < - your ip

# 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 < - your ip

  • 0
Posted
# ================================================================

# 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=YOUR-IP-HERE

LoginServerPort=2106

GMMinLevel=100

 

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

LoginHostname=YOUR-IP-HERE

LoginPort=9014

 

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

AcceptNewGameServer = True

 

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

ShowLicence = False

 

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

 

 

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

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

FastConnectionTime=250

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

 

 

 

# This is the server configuration file. Here you can set up the connection for your server.

# Usually you have to change the ExternalHostname option to

# - 127.0.0.1 (if you want to play alone / testing purpose)

# - LAN IP* (if you want to play from another computer in the network)

# - WAN IP** (if you want to play with friends over internet)

# - Questions? => http://l2jfree.com

#

# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"

# **= If you want to get you WAN IP, visit http://www.whatismyip.com

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

 

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

# 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=YOUR-IP-HERE

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=YOUR-IP-HERE

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

InternalHostname=YOUR-IP-HERE

# Define internal networks (10.0.0.0/8,192.168.0.0/16 is default internal networks)

InternalNetworks=127.0.0.1

# Define optional networks and router IPs

# IP (200.100.200.100) or fully qualified domain name

# (google.com) that resolves to an IP (use ping to determine if a domain resolves).

# Format: ip,net/mask;ip,net/mask,net/mask

# (mask 192.168.0.0/16 or 192.168.0.0/255.255.0.0 would be 192.168.*.*)

# Note: keep InternalNetworks and OptionalNetworks blank for compatibility with older login server

OptionalNetworks=

 

# The Loginserver host and port

LoginPort=9014

LoginHost=YOUR-IP-HERE

 

# 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_IL

 

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

 

 

# Minimum and maximum protocol revision that server allow to connect.

# You must keep MinProtocolRevision <= MaxProtocolRevision.

MinProtocolRevision = 828

MaxProtocolRevision = 831

 

#---------------------------------------------

# 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

 

# Network traffic optimization: minimum time between sending char's hp/mp status update packet.

NetworkTrafficOptimization = False

NetworkTrafficOptimizationMs = 1100

 

# Flood Protection

# if enabled players which send more then PACKETLIMIT packets in PACKETTIMELIMIT ms will get kicked

# warning not tested made a quickhack for squeezed :)

FloodProtection = False

PacketLimit = 500

PacketTimeLimit = 1100

 

 

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

# JMX Administration

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

# Port to connect with l2jmx, -1 to disable jmx completely

admin_portJMX=-1

# Port to connect to jmx via HTTP, -1 to disable

# disable it if it is not local test

# http adaptor is usefull to see if your server is running with l2jbeans, or to see others beans (JRE, logging)

# It is also possible to use it if you forbid this port for external host, but you have to be sure nobody can reach this url !

admin_portHTTP=-1

# password for keystore_file, the keystore file should be in config folder.

# Comment it or remove the keystore file if you doesn't want to activate secure socket.

#keystore_password=password

# keystore file

# this file is used to store a SSL certificate for your jmx server.

# You have to create it with keytool like this :

# $JAVA_HOME/bin/keytool -genkey -keyalg "RSA" -keystore myKeystore.jks -storepass myPassword -dname "cn=myhost"

# Change myKeystore, myPassword and myhost for your own needs

# You have to give this file to all people that will use l2jmx

#keystore=keystore.jks

 

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

# Legacy Mode for CT1

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

LegacyCT1Mode = False

CT1AndCT15Mode = False

 

 

 

I have Writed that I use for my server too, Use them at your Own Risk ;D

 

p.s. Copy/paste must be a problem, so Edit Only where you see the differences from My edit and your Original One.

 

Bye

  • 0
Posted

[sRY FOR DOUBLE POST BUT] but i have problem with these!! if i pu these configs in logins server that a-style said i have error

Starting L2J Login Server.

INFO : loading login config
INFO : MLog clients using log4j logging.
INFO : Initializing c3p0-0.9.1.1 [built 15-March-2007 01:32:31; debug? true; tra
ce: 10]
INFO : Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acq
uireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCom
mitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcqui
reFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null,
connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester,
dataSourceName -> 1hge1377ukhfz2e1ccgs0m|1d15445, debugUnreturnedConnectionStack
Traces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, fact
oryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityTo
ken -> 1hge1377ukhfz2e1ccgs0m|1d15445, idleConnectionTestPeriod -> 60, initialPo
olSize -> 3, jdbcUrl -> jdbc:mysql://localhost/l2jdb, lastAcquisitionFailureDefa
ultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleT
ime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements ->
0, maxStatementsPerConnection -> 100, minPoolSize -> 1, numHelperThreads -> 20,
numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, propert
ies -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheck
in -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0,
usesTraditionalReflectiveProxies -> false ]
INFO : Loaded 127 server names
INFO : LoginManager initiating
INFO : Cached 10 KeyPairs for RSA communication
INFO : Stored 20 keys for Blowfish communication
INFO : GameServerManager: Loaded 1
INFO : Cached 10 RSA keys for Game Server communication.
INFO : BanManager: Loaded 3 banned ip/subnet(s).
WARN : Error creating ServerSocket: java.net.BindException: Cannot assign reques
ted address: JVM_Bind
INFO : Listening for GameServers on 77.49.51.55:9014
INFO : Telnet server is currently disabled.
FATAL : FATAL: Failed to open server socket. Reason: Cannot assign requested add
ress: bind java.net.BindException: Cannot assign requested address: bind
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at org.mmocore.network.SelectorThread.openServerSocket(SelectorThread.ja
va:122)
        at net.sf.l2j.loginserver.L2LoginServer.startServer(L2LoginServer.java:1
44)
        at net.sf.l2j.loginserver.L2LoginServer.<init>(L2LoginServer.java:133)
        at net.sf.l2j.loginserver.L2LoginServer.main(L2LoginServer.java:77)


Server terminated abnormaly


server terminated

Press any key to continue . . .

.......

  • 0
Posted

and?? wtf? i thing that login must be 127.0.0.1 and u must config the gs!! whatever try it and tell me! but i think that i don't have opened my ports :/ i'll check it!! tell me the solution for what i said! ty

  • 0
Posted

ok i opened the server plz any1 mod/platinum lock the topic !!

 

Locked! If you want anything about the topic prob pm me to unlock it , thx.

Guest
This topic is now closed to further replies.


×
×
  • Create New...