03-15-2008, 10:28 AM
Расскажите пожалуйста как установить сервер камаел вот этой сборки! Заранее благодарен))
----------------------------------------------------------
мануал по ява сервера Kamael (У кого есть?))
|
03-15-2008, 10:28 AM
Расскажите пожалуйста как установить сервер камаел вот этой сборки! Заранее благодарен))
----------------------------------------------------------
03-15-2008, 11:33 AM
05-12-2008, 07:51 AM
PozitiV Написал:Расскажите пожалуйста как установить сервер камаел вот этой сборки! Заранее благодарен))наверное это! проще объяснять думаю уже не куда. Установка 1) Заходим в папку Tools находим в ней database_installer.bat кликаем по ярлыку правой кнопкой мышки и нажимаем ИЗМЕНИТЬ, перед вами появляется окно с текстом : @echo off REM ############################################## REM ## L2JDP Database Installer - (by DrLecter) ## REM ############################################## REM ## Interactive script setup - (by TanelTM) ## REM ############################################## REM Copyright © 2008 L2J DataPack REM This program is free software; you can redistribute it and/or modify REM it under the terms of the GNU General Public License as published by REM the Free Software Foundation; either version 2 of the License, or (at REM your option) any later version. REM REM This program is distributed in the hope that it will be useful, but REM WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY REM or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License REM for more details. REM REM You should have received a copy of the GNU General Public License along REM with this program; if not, write to the Free Software Foundation, Inc., REM 675 Mass Ave, Cambridge, MA 02139, USA. Or contact the Official L2J REM DataPack Project at _http://www.l2jdp.com, _http://www.l2jdp.com/forum or REM #l2j-datapack @ irc://irc.freenode.net set config_file=vars.txt set config_version=0 set workdir="%cd%" set full=0 set stage=0 set logging=0 set upgrade_mode=0 set backup=. set logdir=. set safe_mode=1 set cmode=c set fresh_setup=0 :loadconfig title L2JDP installer - Reading configuration from file... cls if not exist %config_file% goto configure ren %config_file% vars.bat call vars.bat ren vars.bat %config_file% call :colors 17 if /i %config_version% == 1 goto ls_section set upgrade_mode=2 echo It seems to be the first time you run this version of echo database_installer but I found a settings file already. echo I'll hopefully ask this questions just once. echo. echo Configuration upgrade options: echo. echo (1) Import and continue: I'll read your old settings and echo continue execution, but since no new settings will be echo saved, you'll see this menu again next time. echo. echo (2) Import and configure: This tool has some new available echo options, you choose the values that fit your needs echo using former settings as a base. echo. echo (3) Ignose stored settings: I'll let you configure me echo with a fresh set of default values as a base. echo. echo (4) View saved settings: See the contents of the config echo file. echo. echo (5) Quit: Did you came here by mistake? echo. set /P upgrade_mode="Type a number, press Enter (default is '%upgrade_mode%'): " if %upgrade_mode%==1 goto ls_section if %upgrade_mode%==2 goto configure if %upgrade_mode%==3 goto configure if %upgrade_mode%==4 (cls&type %config_file%&pause&goto loadconfig) if %upgrade_mode%==5 goto :eof goto loadconfig :colors if /i "%cmode%"=="n" ( if not "%1"=="17" ( color F ) else ( color ) ) else ( color %1 ) goto :eof :configure call :colors 17 title L2JDP installer - Setup cls set config_version=1 if NOT %upgrade_mode% == 2 ( set fresh_setup=1 set mysqlBinPath=%ProgramFiles%\MySQL\MySQL Server 5.0\bin set lsuser=root set lspass= <-------------------------------------------------- Сдесь прописываем вашь пароль к MySQL базе set lsdb=l2jdb set lshost=localhost set gsuser=root set gspass= <-------------------------------------------------- Сдесь прописываем вашь пароль к MySQL базе set gsdb=l2jdb set gshost=localhost set cmode=c set backup=. set logdir=. ) Сохраняем и закрываем окно, далее кликаем на ярлык дважды для запуска инстайлера, перед вами появляется окно инстайлера со следующими предложениями по установке : New settings will be created for this tool to run in your computer, so I need to ask you some questions. 1-MySql Binaries -------------------- In order to perform my tasks, I need the path for commands such as 'mysql' and 'mysqldump'. Both executables are usually stored in the same place. I can try to find out if the current setting actually works... C:\Program Files\MySQL\MySQL Server 5.0\bin\mysql.exe Found Look, I can't find "MYSQL" in your PATH environment variable. It would be good if you go and find out where "mysql.exe" and "mysqldump.exe" are. If you have no idea about the meaning of words such as MYSQL or PATH, you'd better close this window, and consider googling and reading about it. Setup and host an L2J server requires a minimum of technical skills. Write the path to your MySQL binaries (no trailing slash needed): (default C:\Program Files\MySQL\MySQL Server 5.0\bin): жмем ЕNТЕR Далее инстайлер выдаст следующее окно с со следующими предложениями по установке там уже не надо ничего вписывать просто нажимаем везде Enter 2-LoginServer settings -------------------- I will connect to the MySQL server you specify, and setup a Loginserver database there, most people use a single MySQL server and database for both Login and Gameserver tables. MySQL Username (default is 'root'): Жмем ENTER Password (will be shown as you type, default 'Beeliy'): Жмем ENTER Database (default is 'l2jdb'): Жмем ENTER Host (default is 'localhost'): Жмем ENTER 3-GameServer settings -------------------- User (default is 'root'): Жмем ENTER Pass (default is 'Beeliy'): Жмем ENTER Database (default is 'l2jdb'): Жмем ENTER Host (default is 'localhost'): Жмем ENTER 4-Misc. settings -------------------- Color mode ©olor or (n)on-color, default c : Жмем ENTER Path for your backups (default '.'): Жмем ENTER Path for your logs (default '.'): Жмем ENTER Debugging messages and increase verbosity a lil bit (y/n, default 'y'): Жмем ENTER Script setup complete, your settings were saved in the 'vars.txt' file. Remember: your passwords are stored as clear text. press any key to continue... Жмем ENTER Trying to make a backup of your loginserver database. LOGINSERVER DATABASE install type: (f)ull: I will destroy data in your `accounts` and and `gameserver` tables. (s)kip: I'll take you to the gameserver database installation and upgrade options. ®econfigure: You'll be able to redefine MySQL path, user and database information and start over with those fresh values. (q)uit Choose (no default for fresh install) : F и нажимаем ENTER Далее начинается инсталяция сервера. L2JDP database_installer version 0.2.1a © 2007-2008 L2J Datapack Team database_installer comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under certain conditions; See the file gpl.txt for further details. Thanks for using our software. visit _http://www.l2jdp.com for more info about the Official L2J Datapack project. Для продолжения нажмите любую клавишу . . .
Есть желание научиться !!
05-12-2008, 07:52 AM
Нажимаем любую клавишу... инсталяция завершена окно будет закрыто.
2) Далее находим папку Login затем заходим в папку Config открываем и ищем файл loginserver.properties открываем его с помощью блокнота и видим следующий текст: # 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 !!! # ================================================================ # 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 < ----------- Прописываем свой внешний 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 <------------- Оставляем по умолчанию 127.0.0.1 если вы хотите играть один на сервере. или прописываем свой внутрений IP для игры по сети. # 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 Security 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=jdbcqlserver://localhost/database=l2jdb/user=sa/password= Login=root Password= <------------------------------------------------------------ Сдесь прописываем свой пароль к базе. 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 После того как всё было сделано сохраняем и закрываем файл. 3)Далее находим папку Gameserver открываем потом открываем папку Config в ней находим файл: server.properties и открываем его с помощью блокнота, появляется следующий текст : # 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 # 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=127.0.0.1 < ----------- Прописываем свой внешний IP для игры через интернет # 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=127.0.0.1 <------------- Оставляем по умолчанию 127.0.0.1 если вы хотите играть один на сервере. или прописываем свой внутрений IP для игры по сети. # 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=jdbcqlserver://localhost/database=l2jdb/user=sa/password= Login=root Password= <------------------------------------------------------------ Сдесь прописываем свой пароль к базе. 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=100 # Minimum and maximum protocol revision that server allow to connect. # You must keep MinProtocolRevision <= MaxProtocolRevision. MinProtocolRevision = 828 MaxProtocolRevision = 828 После того как всё было сделано сохраняем и закрываем файл. 4) Возвращаемся в папку Login и запускаем следующий ярлык : RegisterGameServer.bat появилось окно для создания файла hexid.txt ставим значение 1 и нажимаем Enter и у вас должен появится файл hexid(server 1).txt переименовываем его в hexid.txt после чего копируем и открываем папку Gameserver далее Сonfig и вставляем файл hexid.txt Установка сервера закончена, теперь запускаем startLoginServer.bat и startGameServer.bat ждем окончательной загрузки, после которой в окне startLoginServer появится следующий текст : Login Server ready on *:2106 Updated Gameserver [1] Bartz IP's: InternalIP: 127.0.0.1 ExternalIP: 127.0.0.1 и в окне startGameServer : GameServer Started, free memory 477 Mb of 762 Mb Connecting to login on 127.0.0.1:9014 Maximum Numbers of Connected Players: 100 Telnet server is currently disabled. Registered on login as Server 1 : Bartz Всё сервер запущен приятной вам игры.
05-16-2008, 09:23 PM
Камаель, не камаель - какая разница? Принцип везде один. Почти на любом сайте про сервера можно найти...
05-17-2008, 01:14 PM
ну я запустил ети два фаила потом када всё загрузилось начинает выбивать:
вот что пишет када запускаю startloginserver Starting L2J Login Server. loading login config MLog clients using java 1.4+ standard logging. Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10] Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireInc rement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnCl ose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailu re -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connec tionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSou rceName -> 2s9zk97t1wckm0z1bqmsj1|4b222f, debugUnreturnedConnectionStackTraces - > false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClass Location -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 2 s9zk97t1wckm0z1bqmsj1|4b222f, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/l2jdb, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxP oolSize -> 10, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSiz e -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, pref erredTestQuery -> null, properties -> {user=******, password=******}, propertyCy cle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, u nreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ] Loading LoginContoller... Cached 10 KeyPairs for RSA communication Stored 20 keys for Blowfish communication Loaded 127 server names Loaded 1 registered Game Servers Cached 10 RSA keys for Game Server communication. Loaded 2 IP Bans. Listening for GameServers on *:9014 Telnet server is currently disabled. Login Server ready on *:2106 GameServer (127.0.0.1): Connection lost: socket closed GameServer (127.0.0.1): Connection lost: socket closed GameServer (127.0.0.1): Connection lost: socket closed GameServer (127.0.0.1): Connection lost: socket closed GameServer (127.0.0.1): Connection lost: socket closed GameServer (127.0.0.1): Connection lost: socket closed GameServer (127.0.0.1): Connection lost: socket closed а вот что пишет када запускаю startgameserver Loaded : 2 cursed weapon(s). AutoChatHandler: Loaded 32 handlers in total. AutoSpawnHandler: Loaded 134 handlers in total. ItemHandler: Loaded 2057 handlers. SkillHandler: Loaded 76 handlers. AdminCommandHandler: Loaded 347 handlers. UserCommandHandler: Loaded 15 handlers. VoicedCommandHandler: Loaded 1 handlers. IdFactory: Free ObjectID's remaining: 1879003532 Initializing FloodProtector TvTEventEngine[TvTManager.TvTManager()]: Engine is GameServer Started, free memory 444 Mb of 762 Mb Connecting to login on 127.0.0.1:9014 Maximum Numbers of Connected Players: 100 Telnet server is currently disabled. Damn! Registeration Failed: Reason: wrong hexid Connecting to login on 127.0.0.1:9014 Damn! Registeration Failed: Reason: wrong hexid Connecting to login on 127.0.0.1:9014 Damn! Registeration Failed: Reason: wrong hexid Connecting to login on 127.0.0.1:9014 Damn! Registeration Failed: Reason: wrong hexid Connecting to login on 127.0.0.1:9014 Damn! Registeration Failed: Reason: wrong hexid Connecting to login on 127.0.0.1:9014 Damn! Registeration Failed: Reason: wrong hexid Connecting to login on 127.0.0.1:9014 Damn! Registeration Failed: Reason: wrong hexid Connecting to login on 127.0.0.1:9014 Damn! Registeration Failed: Reason: wrong hexid Connecting to login on 127.0.0.1:9014 Damn! Registeration Failed: Reason: wrong hexid Connecting to login on 127.0.0.1:9014 Damn! Registeration Failed: Reason: wrong hexid Connecting to login on 127.0.0.1:9014 Damn! Registeration Failed: Reason: wrong hexid
05-17-2008, 01:23 PM
knight;4222 Написал:Damn! Registeration Failed: Reason: wrong hexidhexid - не чего не говорит? Смотрим мануал и ищем то место, где решили не читать.
05-17-2008, 01:44 PM
что это может быть,или как это исправить
очень надеюсь на вашу помощ
05-17-2008, 02:25 PM
Ужос ну и глупые люди уже есть!
Регестрировать Гейм Сервер не пробовал? |
« Предыдущая | Следующая »
|