Показать сообщение отдельно
Старый 28.06.2006, 16:41 Вверх     #2
nazar1230
Новичок
 
Аватар для nazar1230
 
   Возраст: 36
Регистрация: 17.03.2006
Был(а) у нас: 18.11.2015 15:42
Сообщений: 92

Пол: Мужской
По умолчанию

Здраствуйте .
Начьнём с Установки ОФФ сервера(C1 & C2 & C3 & C4)

Итак Приступим

Что нужно:
================================================== =======
C1&C2&C3 Вы можете найти тут: http://darkdragons.biz/index.php?sho...rea=1&categ=15
Готовый и настроенный сервер с3 http://redundanthost.com/c3c3c3cccserverc3c3.rar
С4: Скачять : http://files.filefront.com/RaGEZONE_.../fileinfo.html
================================================== =======
MS SQL. Качаем с майкрософта: http://download.microsoft.com/downlo...73/SQLEVAL.exe================================================== =======
Генератор npcdata.txt http://riane.ellusion.com.sg/npcdata.php
Генератор npcpos.txt http://riane.ellusion.com.sg/npcpos.php
================================================== =======
Кодировщик\раскодировщик ini файлов C1. Скачять :http://slil.ru/22469133
Кодировщик\раскодировщик ini файлов для всех хроник. Скачать :http://slil.ru/22469134
================================================== =======
Установка Сервера:
================================================== =======
Распаковываете офф сервер в любое удобное место.

Открываем NewAuth/etc/config.txt

Изменяем DevServerIP="IP" на ваш WAN IP.
Изменяем logdip="IP" на ваш LAN IP

Открываем CacheD/l2cache.ini

Изменяем address="IP" на ваш LAN IP

Открываем L2LogD/l2logd.ini

Изменяем address="IP" на ваш LAN IP

Открываем L2NPC/L2NPC.ini

Изменяем в 4-х местах address="IP" на ваш LAN IP
Изменяем user="username" на ваш SQL аккаунт
Изменяем password="pass" на ваш SQL пароль

Открываем L2Server/l2server.ini

Изменяем в 4-х местах address="IP" на ваш LAN IP
Изменяем reconnectauth=1 на reconnectauth=0

Открываем Petition/etc/config.txt

Изменяем webAuthServer="IP" на ваш LAN IP

================================================== =======
Установка SQL

================================================== =======
Настройка SQL части сервера

Открываем DBScript/lin2comm_new.sql

найдите в 3-х местах:
set @conn_str = '127.0.0.' + @world_id + ''';''user'';''pass'
измените 127.0.0. на ваш LAN IP (без последней цифры)
измените user на ваш SQL аккаунт
измените pass на ваш SQL пароль

найдите:
'SQLOLEDB', '127.0.0.1';'user';'pass'
измените 127.0.0.1 на ваш LAN IP
измените user на ваш SQL аккаунт
измените pass на ваш SQL пароль

Открываем DBScript/lin2world_200040609_all.sql

найдите в 3-х местах:
set @conn_str = '127.0.0.' + @world_id + ''';''user'';''pass'
измените 127.0.0. на ваш LAN IP (без последней цифры)
измените user на ваш SQL аккаунт
измените pass на ваш SQL пароль

найдите в 2-х местах:
'SQLOLEDB', '127.0.0.1';'user';'pass'
измените 127.0.0.1 на ваш LAN IP
измените user на ваш SQL аккаунт
измените pass на ваш SQL пароль

Установка MS SQL

Установите MS SQL.

Зайдите в Старт меню, найдите Microsoft SQL Server и там запустите Service Manager
Убедитесь что сервер SQL запущен, т.е. нажмите в Service Managerе зелёную кнопку Start/Continue, если она нажата то значит сервер SQL запущен.
Зайдите в Старт меню, найдите Microsoft SQL Server и там запустите Enterprise Manager. Нажмите 2 раза по иконке SQL Server Group, потом снова нажмите 2 раза по иконке подписаной как (local). Вылетит окошко, нажмите на нём ОК. Потом заходим в папку Databases и создаём там следующие базы данных (правый клик и затем New Database, выскачет окошко и в поле Name вводите следующее названия) :lin2world, lin2comm, lin2log, lin2report, lin2db, petitio.
Закрываем это окно

Зайдите в Старт меню, найдите Microsoft SQL Server и там запустите Query Analyser
Выскочит окошко в Дропменю (SQL Server) выберите свой запушенный SQL Server и нажмиет OK
Сверху будет панель и на ней вы снова найдёте дропменю. Выберите там lin2world, затем нажмите кнопку Открыть (Load SQL Script или Ctrl + Shift + P) и ищем файл lin2world_20040609_all.sql расположенный в папке DBScript. Открываем его. Затем жмём кнопку Parse Query, она всё тамже на баре сверху. Когда операция завершиться жмём кнопку Execute Query она р**ом с кнопкой Execute Query. После завершения операции сохроняем всё.
Сверху будет панель и на ней вы снова найдёте дропменю. Выберите там lin2comm, затем нажмите кнопку Открыть (Load SQL Script или Ctrl + Shift + P) и ищем файл lin2comm_new.sql расположенный в папке DBScript. Открываем его. Затем жмём кнопку Parse Query, она всё тамже на баре сверху. Когда операция завершиться жмём кнопку Execute Query она р**ом с кнопкой Execute Query. После завершения операции сохроняем всё.
Сверху будет панель и на ней вы снова найдёте дропменю. Выберите там lin2log, затем нажмите кнопку Открыть (Load SQL Script или Ctrl + Shift + P) и ищем файл lin2log_20040416.sql расположенный в папке DBScript. Открываем его. Затем жмём кнопку Parse Query, она всё тамже на баре сверху. Когда операция завершиться жмём кнопку Execute Query она р**ом с кнопкой Execute Query. После завершения операции сохроняем всё.
Сверху будет панель и на ней вы снова найдёте дропменю. Выберите там lin2report, затем нажмите кнопку Открыть (Load SQL Script или Ctrl + Shift + P) и ищем файл lin2report_20040416.sql расположенный в папке DBScript. Открываем его. Затем жмём кнопку Parse Query, она всё тамже на баре сверху. Когда операция завершиться жмём кнопку Execute Query она р**ом с кнопкой Execute Query. После завершения операции сохроняем всё.
Сверху будет панель и на ней вы снова найдёте дропменю. Выберите там lin2db, затем нажмите кнопку Открыть (Load SQL Script или Ctrl + Shift + P) и ищем файл lin2db_AuthDBSchema.sql расположенный в папке DBScript. Открываем его. Затем жмём кнопку Parse Query, она всё тамже на баре сверху. Когда операция завершиться жмём кнопку Execute Query она р**ом с кнопкой Execute Query. После завершения операции сохроняем всё.
Сверху будет панель и на ней вы снова найдёте дропменю. Выберите там lin2db, затем нажмите кнопку Открыть (Load SQL Script или Ctrl + Shift + P) и ищем файл lin2db_update.sql расположенный в папке DBScript. Открываем его. Затем жмём кнопку Parse Query, она всё тамже на баре сверху. Когда операция завершиться жмём кнопку Execute Query она р**ом с кнопкой Execute Query. После завершения операции сохроняем всё.
Сверху будет панель и на ней вы снова найдёте дропменю. Выберите там petition, затем нажмите кнопку Открыть (Load SQL Script или Ctrl + Shift + P) и ищем файл petition.sql расположенный в папке DBScript. Открываем его. Затем жмём кнопку Parse Query, она всё тамже на баре сверху. Когда операция завершиться жмём кнопку Execute Query она р**ом с кнопкой Execute Query. После завершения операции сохроняем всё.
Закрываем это окно.

Открываем Service Manager и ищем там базу данных lin2db. Жмём на неё 2 раза выскакивает окошко, нажимаем ОК. Находим там иконку подписаную как Tables и 2 раза нажимаем. Появиться список. Ищем в списке Server жмём на нём правой кнопокой, ищем слова Open Table наводим мышкой, ждём пока выскочит подменю и там нажимаем Return all rows. Добавляем следующую информацию в появившееся окошко (натроить под себя):

id = 1
name = same as the worldname in l2server.ini
ip = your external IP
inner_ip = your internal IP
ageLimit = 0
pk_flag = 0 PK not allow; 1 allow
kind=0
port=7777


Закрываем это окно.
================================================== =======
DNS
================================================== =======
Открываем Control Panel, ищем и открываем Administrative tools, снова ищем в новом окне и открываем Data Sources (ODBC)
Ищем закладку File DSN, нажимаем на неё и там нажимаем на кнопку Add.
Из списка выбираем SQL Server обычно в самом низу и жмём Next
Задаём имя lin2world и жмём Next пока не появиться окошко выбора сервера.
Поле Discription оставляем пустым, в нижнем поле выбираем (local)
Жмём Next до тех пор пока не будет написано Change Default Database to. Ставим галку и выбираем lin2world
Такую операцию проделать для всех 6 баз, только естественно одноименных DNS

Следующие :

Настройка системного INI
================================================== =======
Идём в Coltrol Panel жмём 2 раза на иконку System, в появившемсе окне нажимаем закладку Advanced. Нажимаем кнопкку Settings которая относится к Performance и во вновь появившемсе окне жмём Advanced
Жмём кнопку Virtual Memory. В поле Initial size (MB) ставим 1024 в поле Мaximum ставим 4096 и жмём кнопку Set.
Открываем Файл C:\Boot.ini и меняем в нём следующее
Находите: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional" /nodetect
В конце добавляете /3GB
Получается: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional" /nodetect /3GB
Перезагружаем комп.
================================================== =======
Запуск Сервера
================================================== =======
Запускать только в этом пор**ке:
L2LogD.exe

File DB = lin2log
login name = Ваш SQL аккаунт
password = Ваш SQL пароль

CacheD.exe

File DB = lin2world
login name = Ваш SQL аккаунт
password = Ваш SQL пароль

L2AuthD.exe

File DSN = lin2db
login name = Ваш SQL аккаунт
password = Ваш SQL пароль

PetitionD.exe

Server = (local)
login name = Ваш SQL аккаунт
password = Ваш SQL пароль
Database = petition

L2Server.exe

L2NPC.exe
================================================== =======
ASP система регистрации аккаунта
================================================== =======
Редактируем config.asp

<%
const WEB_SIT_NAME = "Lineage2"
const SERVER_MAX_CLIENT = 600

'Измените COOKIE_HEAD на что хотите.
const COOKIE_HEAD = "none"
%>

WEB_SIT_NAME ="your server's name"
COOKIE_HEAD = "put whatever u like"

Редактируем conn.asp

'MS SQL Database address
ms_sql_server_host_addr = "127.0.0.1"

'MS SQL account
sql_server_username = "gamma"

'MS SQL password
sql_server_password = "l2online"

'Lin2db database(user_auth)
lin2db = "lin2db"

'Lin2world database(user_data)
lin2world = "lin2world"

' Зашифровка или расшифровка L2AuthD (иначе ваши пароли не будут совпадать)
' 1) При использовании L2AuthD_encrypt.zip поставьте sys_type = "encrypt"
' 2) При использовании L2AuthD_decrypt.zip поставьте sys_type = "none"
sys_type = "encrypt"
================================================== =======
Создание Gm аккаунта
================================================== =======
Откройте таблицу builder_account в базе lin2world и добавте следуюущее:

account_name = имя вашего аккаунта (должен уже существовать)
default_builder = 1,2,3,4...9
account_id = ID аккаунта (можете найти в таблице user_account в базе lin2db)

Откройте таблицу user_dat в базе lin2world
и поменяйте права GM'a:
builder = default_builder (1,2,3,4...9)
================================================== =======
ЗАПУСК игры
================================================== =======
Это только для C1:

Редактируем l2.ini файл

Вам нужна прога decrypt для взлома l2.ini (с.м. выше)

расшифруйте l2.ini и вы получите файл l2.clear.ini
редактируем l2.clear.ini
измените IP на ай пи сервера
ServerAddr=127.0.0.1
зашифруйте l2.clear.ini используя 212 и получите l2.crypt.ini
переименуйте l2.crypt.ini на l2.ini и скопируйте в system папку вашего клиента
Этот файл должны будут скачать и заменить свой все ваши юзеры.

Для C2 и C3:

Откройте C:\WINDOWS\system32\drivers\etc\hosts
Р**ом с доменом L2testauthd.lineage2.com (слева) поменяйте IP на свой.
Если такого домена нет - добавте следующее:
Ваш IP <tab> L2testauthd.lineage2.com

<tab> - надо нажать на кнопку TAB
Ваш IP - если хотите играть один ставьте 127.0.0.1

Это должны сделать все ваши юзеры. Или вы можете выложить на скачку ваш файл hosts.

Запускайте игру файлом L2.exe в папке system



УДАЧНОГО ВАМ АДМИНИСТРИРОВАНИЯ!

Команды : для Офф Сервера

Команды расчитаные на OFF сервер:

//announce message - this basicly tells a announcement on the whole server.. you can't type a big message but you find out once you use it..

//setannounce id message - this sets an announcement and is also not long like announce command so watch the length. thats why you can make more then one.. This is when you login you see this heres a example..

//delannounce id - this just deletes the announce

//setparam exp number - this a odd command... if you set to like 9999999999 exp thats lvl 70 somthing.. caps lvl 80 if you do it again like 9999 it will actualy act like you were lvl 1 and give you 9999 exp and lvl you to whatever thats gives...

//summon id = items (Itemdata.txt) - example //summon 10 ( that summons id 10 = dagger now if it was //summon 10 5 it would have summon 5 daggers!

//summon name = npc (npc_pch.txt) - example //summon orc_archer (that would summon an orc archer. //summon orc_archer 5 would summon 5 orc archers of them...

//setskill ID LEVEL = skills (skilldata.txt) - example //setskill 3 24 (that would be skill 3 witch is s_power_strike1 level 24) Also make sure you click on your self or person you giving it too!

//gmon - Best command in the game if you ask me lol. It makes you invisable though you start invisable. Also makes it so players can't send a tell don't forget to send a tell it's just "Kane whats up yes using shift " then players name space message sort of diffrent then most games!

//hide on or //hide off - This turns hide on or off. I don't think need explain more lol...

//gmspeed number - well you can use speeds from 1-5 I think i usally use 3 cuz after that it warps you back thinking your speed hacking. It's odd but oh well...

//quiet on or //quiet off - makes the whole world so they can't talk great when your pissed off

//who - Shows how many players are on and the max was on since servers been on and also how many player stores are open.

//sendhome name - This command basicly sends the player to closest city.. Good for when there stuck or being a prick or w/e they want...

//recall name - This just warps the player to you. Good for when there stuck also or when you want them to come to you..

//teleportto name - This makes so you warp to the player. Good when they report a bug or when your hidden and your spying on them...

//home - sends you back to the town you started at just you no one else.

//setkarma number - If you don't know what karma is it's bad to have. this only a self use command and makes you red.. so //setkarma 500 gives you 500 karma.. Killing other reds or killing mobs will get rid of karma or you can //setkarma 0 to become normal..

//killme - don't ask wtf you would use this for but I guess if you want to kill your self thats up to you..

//killnpc - this just kills an npc nothing big click on it and type the command..

//undying on or //undying off - so when it's on makes so when you hit 0 hp you don't die. your a god and of course when it's off when you hit 0 hp you are dead.

//stopsay name time - Great when theres someone being idiot spamming or just an asshole.. What it does is well shuts the player up for amount of mins. example //stopsay bob 50 (= thats 50 min)

//create_pet id - This creates a pet. you unable to make a pet from the items it will not spawn. Cuz has be made by this way or the quest in game. You should be able make a pet from 1-4 or 1-3 I forget..

//whisper on or //whisper off - so when whisper is off means no one can message you when whispers on they can message you..

//kick name - kicks the player out of the game.. Does not banned them just kicks them out and they can just relog in.

//diet on or //diet off - this makes so when diets on and your to heavy with to many items you don't slow down.

//gmchat name message - this just a simple way to tell a player somthing. like //gmchat bob your in big trouble!

//serverstat - tells you how long servers been up and the build date.. You must know that build date does not matter anymore.. I mean we add to it everyday it's just when the exe was compiled.. but we have hex edit many times added many new stuff.

//reset_respawn
//reset_time
//time_info
//time_limit
//viewcomment
//addcomment
//escape - escape to nearest town
//gmchat - chat only to GMs online
//setparam - see bottom of list
//set_siege_period
//unregister
//attack
//defend
//set_door_hp - set the castle doors HP
//ride - available to everyone in a server with styrders of wyverns, made to /mount
//killnpc - kills selected mob, or even imobile NPC, ie store, Gk ect...
//force_peti
//left_peti_chat
//add_peti_chat
//show_castle_door_hp - shows the doors hp derrr
//ask_now
//set_siege_end
//controltower_levelup - make the headquarters for seige stronger
//door_levelup - make door stronger
//load_pledge
//ask_residence
//actorcount
//mid_victory
//enable_plane_collision
//set_interval_announce - sets the time between each of the announcements to repeat
//set_controltower_status
//disband <clan> - delete clan.(Clan should not consist in an alliance or is in a condition of war)
//snoop <nik> <on/off> - Espionage of the player.
//quiet [on | off] Set world chat on/off. When ON noone can type except announce.
//spawn_npcs count ai
//show_agit_info
//auction_open
//auction_close
//cease_fire2
//cease_fire
//view_enemy_list2
//view_enemy_list
//set_pausable
//set_freeze_field
//setarea
//play_music
//set_quick_siege
//set_siege
//set_pledge_level
//social
//summonnpc - summons an NPC
//summon2 - (ex: //summon2 50 dagger) will summon a +50 dagger
//summon - //summon dagger or //summon dagger 50 summons item and # of the item after
//whisper - //whisper on/off able to accept whispers from players or not
//gmspeed - sets how fast GM moves
//hide - goes into hide
//undying - god mode
//diet - overwieght dont matter
//skillmod
//infectedskill
//setbuilder - //setbuilder 1 joebob, sets GM lvl 1 to a person
//delannounce - see rikku
//setannouncesee rikku
//announce - send a message to the entire server
//kick - kicks a player off the server
//teleportto - brings u to a player, use Alt+G
//sendhome - sends a player home, no idea if its just random or not
//recall - brings a player to u
//servername - changes the server name derrrr
//updatecastleincome - checks how much money a castle makes
//settax - change the amount of tax on the castles town
//setcastleincome - sets how much a castle makes
//croplist
//castleincome
//delcrop
//setcrop
//debugnpc
//leavepetimsg - for petition system, never used it
//cancelgmpeti - for petetion system, never used it
//startpet
//endpet
//petans
//dropping
//netping
//teleport
//ping - pings the server
//gmliston - puts GM on active Gm list for server
//stoplogin - turns off login server
//stopsay
//setclass - get class id and set a player class to anything, ie: orc spellsinger lol
//setkarma - see rikku
//qmove
//gotopn
//viewpn
//worlddebug
//setai
//home
//killme - die die die
//delquest
//gmon - turns all features of a GM
//healthy - on other player or oneself, make hp/mp full
//reset_skill - delets all skills in ones player, or selected charcter
//setquest
//setonetimequest
//reset_npc_db - reloads the npc database
//set_skill_all - sets all skills for ones class that one is
//closeauth
//delete_pet
//create_pet - 1,2,3 wolf or hatchling summons that work
//getbookmark
//partytel - teleports current party to u
//telbookmark - teleports u to selected bookmark
//delbookmark - deletes a bookmark that u set
//addbookmark - adds a bookmark teleport to whereever u set it
//who - view how many people on server, stores, playing, max on all day
//delskill - deletes a certain skill that u choose (//delskill 99)
//eventview
//event
//serverstat
//setskill - sets a skill with certain id that u choose //setskill 99 3 (//setskill skillid skillLvl)
//bbs
//setparam - variables:

WIT 0-99
MEN 0-99
INT 0-99
CON 0-99
DEX 0-99
STR 0-99

//PK_Counter
//Magic_defend
//Magic_attack
//Base_critical
//Base_attack_speed
//Base_physical_attack
//Noise
//Org_speed
//Org_hp_regen
//Org_hp
//SP - set the amount of sp a person has
//EXP - sets the amount of exp a person has
//Level - sets the persons level
//set_interval_announce [start | end | add | del] [interval] [id] [message] - manages announces that repeating with time:
[id] - 1-6
[interval] - might be 10, 20, 30, 40, etc
below //s = /set_interval_announce

//s - list all announces
//s /? - help message. Also current status (is announces showing or stopped);
//s end - START announces if there any.
//s start - STOPS announces. They must be stopped before deleting them. Yes, "start" stops them and "end" starts. dunno why.
//s add <interval> <id> [message] - ex: //s add 30 1 Have a nice playing. - this adds announce with id=1 and interval 30 mins
//s del <interval> <id> - ex: //s del 30 1 - this will remove announce with id=1 and interval=30

Спасибо за внимание .
Буду добавлять рвзные сборки каждый день следите за обновлениями .


Ведущий разработчик эмулятора серверов L2-RI
nazar1230 вне форума   Ответить с цитированием
Эти пользователи сказали Спасибо nazar1230: leobox