Изменения

Материал из Chaotic Onyx
Перейти к навигацииПерейти к поиску
Немного перевел, если кто-то понимает в датабазе, займитесь ей, пожалуйста.
Строка 1: Строка 1:  
{{Заготовка}}
 
{{Заготовка}}
   −
This page contains the information and steps needed to download the latest version of the code, compile it and host your own server.
+
Эта страница содержит информацию о том, как скачать, настроить и запустить свой собственный сервер.
 
{{toc_right}}
 
{{toc_right}}
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:99%">
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:99%">
Строка 11: Строка 11:  
The /tg/station 13 source code is under [http://www.gnu.org/licenses/agpl-3.0.html GNU AGPL v3 license] and the assets are [http://freedomdefined.org/Licenses/CC-BY-SA CC-BY-SA].
 
The /tg/station 13 source code is under [http://www.gnu.org/licenses/agpl-3.0.html GNU AGPL v3 license] and the assets are [http://freedomdefined.org/Licenses/CC-BY-SA CC-BY-SA].
   −
== Downloading ==
+
== Загрузка ==
   −
We use GitHub to host our project.
+
Мы используем GitHub в качестве репозитория для нашего проекта.
   −
A zip download is available here: [https://github.com/tgstation/-tg-station]
+
Загрузить архив можно по этой ссылке: [https://github.com/tgstation/-tg-station]
   −
If you don't want to download 30MB of data every time an update is made, you can [[Setting up git|follow this guide]] to set up TortoiseGit.
+
Если вы не хотите скачивать по 30мб после каждого апдейта, то вы можете [[Setting up git|использовать это руководство]] для установки TortoiseGit.
   −
== "I did not change anything, but the code does not work anymore!" ==
+
== "Я ничего не трогал, но все перестало работать!" ==
   −
This is likely due to corrupted files.
+
Вероятнее всего были повреждены файлы при загрузке.
To fix this, you need to:
+
Чтобы исправить проблему, вам нужно:
   −
*Re-download everything
+
*Скачать заново все файлы
*Copy over your config folder and the data folder
+
*Заменить файлы конфига вашими собственными
*Clean compile
+
*Скомпилировать сервер
   −
(There is no good alternative to this with TortoiseGit)
+
(Если вы используете TortoiseGit, то у вас не должно возникнуть таких проблем)
   −
== Hosting a server ==
+
== Запуск своего собственного сервера ==
   −
To get a simple server running first
+
Чтобы запустить свой простенький сервер, следуйте этим шагам:
* Download the source code as explained [[Downloading_the_source_code#Downloading|above]]
+
* Скачайте билд, как уже было рассказано [[Downloading_the_source_code#Downloading|до этого]].
* Open tgstation.dme in dream maker (double click it)
+
* Откройте tgstation.dme в Dream Maker (двойной клик)
* Once it opens select Build > Compile
+
* Как только он откроется, нажмите Build > Compile
* Wait until it compiles. Once it does a new file "tgstation.dmb" will be created in the same folder where "tgstation.dme" is. The dmb file has an orange icon. Compile time usually takes between 1 and 10 minutes, depending on your computer. Dream maker will show as 'not responding' during this time, but it is compiling.
+
* Подождите, пока билд скомпилируется. Как только компил закончится, у вас появится новый файл "tgstation.dmb" в той папке, в которой находится "tgstation.dme". Новый файл имеет оранжевую иконку. Компилирование чаще всего занимает от одной, до десяти минут, в зависимости от мощности вашего компьютера. Вы так же не сможете пользоваться Dream Maker в это время.
* Open dream daemon (Win7: start menu > all programs > BYOND > Dream Daemon; Win8: start > type Dream Daemon > Dream Daemon)
+
* Откройте Dream Daemon (Win7: start menu > all programs > BYOND > Dream Daemon; Win8: start > type Dream Daemon > Dream Daemon)
* Select the "..." in the lower right corner and select the file "tgstation.dmb".
+
* Выберите "..." в правом нижнем углу и выберите файл "tgstation.dmb".
* Click the "GO" button and wait until it changes to a red "stop" button. Starting the server usually takes between 1 and 5 minutes. It is fully started once you can normally interact with Dream Daemon and a byond://xxx.xxx.xxx.xxx:xxxxx link is present at the bottom.
+
* Нажмите на кнопку "GO" и подождите, пока она заменится на кнопку "stop". Запуск сервера чаще всего занимает от одной до пяти минут. Он полностью запустится, когда вы сможете взаимодействовать с Dream Daemon и появится надпись адреса вашего сервера byond://xxx.xxx.xxx.xxx:xxxxx .
* Click the yellow button (former "...") to auto-join
+
* Нажмите на желтую кнопку (бывшая "...") для авто-коннекта.
* Left click the link (byond://xxx.xxx.xxx.xxx:xxxxx) to copy it to clipboard
+
* Левый щелчок по адресу (byond://xxx.xxx.xxx.xxx:xxxxx) скопирует его в буфер обмена.
* Paste the link (ctrl+v) to your friends so they can join.
+
* Отправьте эту ссылку (ctrl+v) вашим друзьям, чтобы они могли зайти.
   −
== Making your server visible on byond.com ==
+
== Открытие вашего сервера на byond.com ==
   −
You '''DO NOT NEED''' to pay for membership to make your server visible on byond.com!
+
Вам '''НЕ НУЖНО''' платить за членство, чтобы ваш сервер увидели на byond.com!
   −
To make your server show up, go to the /code/hub file. That file contains information on how to make your server visible. Be sure to edit that file '''BEFORE''' you compile. If this doesn't work, you may ask for help on our [irc://irc.rizon.net/tgstation13 IRC].
+
Чтобы его увидели, откройте /code/hub file. Этот файл содержит всю информацию о том, как сделать ваш сервер видимым. Убедитесь, что вы изменили этот файл '''ПЕРЕД ТЕМ''', как вы запустили компиляцию. Если у вас что-то не работает, вы всегда можете задать свой вопрос здесь [irc://irc.rizon.net/tgstation13 IRC].
   −
== Setting up the database ==
+
== Настройка дата базы ==
   −
Also see [[Working with the database]].
+
Можете посмотреть [[Working with the database]].
    
* Download and install XAMPP ([http://www.apachefriends.org/en/xampp-windows.html Windows], [http://www.apachefriends.org/en/xampp-linux.html Linux]). Make sure you have both apache and mysql selected when you install it.
 
* Download and install XAMPP ([http://www.apachefriends.org/en/xampp-windows.html Windows], [http://www.apachefriends.org/en/xampp-linux.html Linux]). Make sure you have both apache and mysql selected when you install it.
Строка 108: Строка 108:  
'''Baystation12'''
 
'''Baystation12'''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
=Baystation12 Download, Compile, and Initial Setup=
+
=Baystation12. Загрузка. Настройка. Запуск.=
# Install BYOND and create an account at  http://www.byond.com/   
+
# Установите BYOND и создайте аккаунт на сайте http://www.byond.com/   
 
# Checkout the source using [http://git-scm.com/ Git] or download it directly from the [https://github.com/Baystation12/Baystation12/zipball/master ZIP button on Github] and extract it into a folder of your choosing.
 
# Checkout the source using [http://git-scm.com/ Git] or download it directly from the [https://github.com/Baystation12/Baystation12/zipball/master ZIP button on Github] and extract it into a folder of your choosing.
 
# Open '''baystation12.dme'''.
 
# Open '''baystation12.dme'''.
45

правок

Навигация