Git Product home page Git Product logo

driftparadise's Introduction

Drift Paradise

English

Drift Paradise is the racing gamemode for Multi Theft Auto: San Andreas. This repository contains source code of its old version (December 20, 2016).

FAQ: https://github.com/dpmta/driftparadise/wiki

Instructions

  1. Clone this repository into your server's resources directory.
git clone https://github.com/dpmta/driftparadise.git [dp]
  1. Install MySQL server and enter your credentials in [core]/dpCore/server/database/DatabaseConfig.lua (you will need to create this file from DatabaseConfig-sample.lua) Change host, port, dbName, username and password to desired values according to your MySQL installation.
  2. Modify your server's acl.xml to give admin rights to specific resources:
<object name="resource.dpAdmin"></object>
<object name="resource.dpStartup"></object>
<object name="resource.dpTelegramChat"></object>
<object name="resource.builder"></object>
<object name="resource.encrypter"></object>
  1. Start MTA server then launch gamemode using the following command:
start dpStartup

You can stop and restart gamemode by stopping and restarting dpStartup resource:

stop dpStartup
restart dpStartup

Русский

Drift Paradise это гоночный игровой режим для Multi Theft Auto: San Andreas. Этот репозиторий содержит исходный код его старой версии (20 декабря 2016 года).

Инструкции и ответы на ваши вопросы (про карты и гараж тоже): https://github.com/dpmta/driftparadise/wiki

Инструкция по запуску

  1. Склонируйте этот репозиторий в папку resources вашего сервера:
git clone https://github.com/dpmta/driftparadise.git [dp]
  1. Установите MySQL сервер и укажите данные для подключения к нему в файле [core]/dpCore/server/database/DatabaseConfig.lua (этот файл потребуется создать из DatabaseConfig-sample.lua) Измените значения полей host, port, dbName, username and password на необходимые вам.
  2. Добавьте в файл acl.xml строки, указанные ниже, чтобы выдать права администратора некоторым ресурсам:
<object name="resource.dpAdmin"></object>
<object name="resource.dpStartup"></object>
<object name="resource.dpTelegramChat"></object>
<object name="resource.builder"></object>
<object name="resource.encrypter"></object>
  1. Включите сервер MTA и запустите мод:
start dpStartup

Чтобы выключить или перезагрузить мод, используйте ресурс dpStartup:

stop dpStartup
restart dpStartup

License

Copyright (c) 2018, Nikita Bredikhin.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

driftparadise's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.