Показать сообщение отдельно
Непрочитано 20.04.2009, 23:55   #153
Новичок

По умолчанию Ответ: Мануал! Установка ява сервера SF, RT, ST etc.

Зддраствуйте.
Очень много читал,настраивал и всё таки решился написать.Сконфигурировал сервер всё настроил - по локалке всё работает но через инет человек не может зайти на мой сервер. Я понимаю,что скорее всего эту тему здесь уже обсуждали и всё таки хотелось бы получить помощь по конфигам . Интернет у меня укртелекомовский модем тоже ихний(Iskratel)
Конфиги ложу ниже:
Код:
gameserver\config

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

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

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

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

# 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 = 12345
MaximumDbConnections = 100

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


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

# Rate control, float values - это понятно 
RateXp = 50. 
RateSp = 150.
RateDropAdena = 150.
RateDropItems = 10.
RateDropSpoil = 10.
RateQuestsReward = 10.
RateDropEquipment = 100
------------------------------------------------------------------
Login Client\config
loginserver
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname = 92.112.225.104

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

# Bind ip of the LoginServer, use * to bind on all available IPs
LoginserverHostname = *
LoginserverPort = 2106
# How many times you can provide an invalid account/pass before the IP gets banned
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
GMMinLevel = 100

# The address on which login will listen for GameServers, use * to bind on all available IPs
LoginHostname = *

# The port on which login will listen for GameServers
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
# It is highly recomended for Account Seciurity to leave this option as defalut (True)
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 = 12345
MaximumDbConnections = 10

# 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)
IpUpdateTime = 15


# ==============================================================
# 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
------------------------------------------------------------
И сам конфиг клиента

Код:
l2.ini
[URL]
Protocol=unreal
ProtocolDescription=Unreal Protocol
Name=Player
Map=Index.unr
LocalMap=Entry.unr
Host=
Portal=
MapExt=unr
EXEName=l2.exe
SaveExt=usa
Port=7777
Class=LineageWarrior.MFighter
ServerAddr=92.112.225.104
IsL2NetLogin=True
IsL2Console=True
IsL2Seamless=True
IsL2Projector=True
ISL2Mark=2
ForceAspectRatio=False
AspectRatio=1.334
IsDefaultShaodw=False
IsUnderWaterEffect=False
IsUseCommand=True
L2VersionCheck=false
IsL2MemLog=False
L2ThreadFilter=1
L2TestServer=false
EnablePurgeLevel=True
SharedSky=True
L2MaxPawnResourceLoad=1.0
L2UseKeyCrypt=true
L2UseReplayManager=true
EnableSecondWindow=true
IsUseXMLUI=True
--------------------------------------------------------------
---------------------------------------------------------------
Моя мысль такая - что надо править именно этот (l2.ini) уж больно порт 7777(смущает)
Очень большая просьба не пинать и поиском не отмазываться .Просто хотелось с несколькими друзьями с одного дома и с соседней улицы побегать на одном серваке без создания станички в инете.
Если можно подправьте мои конфиги которые выложил.
Заранее спасибо.

Последний раз редактировалось DarkLoki; 23.04.2009 в 17:23.
jikolius вне форума Ответить с цитированием