ElektroNoob 0 Опубликовано 11 ноября, 2010 Помогите пожалуйста!!! Выставить сервер в инет.... ну через Config "server" Сборка L2Teon # 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://l2jserver.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 * to bind on all available IPs GameserverHostname = * GameserverPort = 7777 # ------------------------------------------------------------------------------------------------------- # Укажите IP адрес, и порты Вашего ЛОГИН сервера # ------------------------------------------------------------------------------------------------------- LoginserverHostname=95.189.167.144 LoginserverPort=2106 LoginTryBeforeBan=20 # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname # If this ip is resolvable by Login just leave * ExternalHostname = 95.189.167.144 # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname # If this ip is resolvable by Login just leave * InternalHostname = 95.189.167.144 # The Loginserver host and port LoginPort = 9014 LoginHost = * # 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 # Database Settings URL=jdbc:mysql://localhost/l2leon #URL=jdbc:hsqldb:hsql://localhost/l2leon #URL=jdbc:sqlserver://localhost/database=l2leon/user=sa/password= # Security Settings Login = root Password = root 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 # Define character name template # Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]* # will allow names with first capital letter, next three small letters, # and any (capital or not) letter or number, like ZbigN1eW # Most rational to have CnameTemplate=[A-Z][a-z]* # meaning names only of letters with first one capital, like Zbigniew # Default .* - any namy of any symbols CnameTemplate = .* PetNameTemplate = .* # Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit]) 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 = 740 MaxProtocolRevision = 746 # ------------------------------------------------ # # High Performance for your Database # # Auto Analyze, Check, Optimize and Repair tables # # L2jTeon Pack with High Performance # # ------------------------------------------------ # # If True, shutdown analyze all tables of GS DatabaseAutoAnalyze = False # If True, shutdown check all tables of GS DatabaseAutoCheck = False # If True, shutdown optimize all tables of GS DatabaseAutoOptimize = False # If True, shutdown repair all tables of GS DatabaseAutoRepair = False # ---------------------------------------------- # # L2j Teon: Anti Flooding # # Activate Protection for unknownPacket flooding # # ---------------------------------------------- # PacketProtection = True # How much unknown packets before punishment. # If the player send more than 5 unknownPackets per second, the player get punished. UnknownPacketsBeforeBan = 5 # Punishments # 1 - broadcast warning to gms only # 2 - kick player (default) # 3 - kick & ban player (Accesslevel -100) UnknownPacketsPunishment = 2 Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты