GithubHelp home page GithubHelp logo

ly774508966 / eventai-to-smartai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trinitycore/eventai-to-smartai

0.0 1.0 0.0 5.98 MB

Conversion of EventAI (EAI) to SmartAI (SAI) for TrinityCore.

PHP 100.00%

eventai-to-smartai's Introduction

About this software:

This PHP script is intended to convert any EventAI script to TrinityCore's SmartAI.
It's aim is not to be efficient, fast, and so on, but solely to be working. It
cannot, by any mean, damage your database, as it performs only SELECT queries and
will output UPDATE, INSERT, DELETE and TRUNCATE queries to *.sql files.

HOW-TO-USE

Head into the directory where you installed that script. Go to the 'Build' directory
and copy the `config.ini` file from that directory to the PHP directory. Open the file
with your favorite file editor and change your database settings accordingly to what
is needed for the script to run on your database. Save the file, and close your editor.

Add a directory called `dbcs` in the directory `dep` and parse a Spell.dbc file there.
The Spell.dbc file must be English (at least that what it looks like), else spell names
are not printed correctly (at all).

Linuxers: Make sure you have PHP installed, and that you have the PDO library as well.
If you don't know how to install it, get a tour on PHP's online documentation.

Windowsers: That's pretty much the same, except you'll have to add the directory where
your PHP.exe relies to your PATH environment variable. Ask Google for more informations,
there are plenty of places where you can learn what this is. Once you're about to issue
the 'php runme.php' command, your cmd must be in the directory where the runme.php file
is, else you'll get a fatal error.

From now, things are pretty straigtforward. Head to the directory where you downloaded
the source, and issue the `php runme.php` command. The script will start and work on
its own. Go get a cofee, and when you're back you'll notice two *.sql files in the
directoy. These are the files you have to apply to your world database to be able to
effectively wipe EventAI from your database, and thus from the core!

Thanks to:
Warpten, Discover-, Horn

As for the older project (where we were converting them by hand), thanks to the following people:
Warpten, Discover-, Horn, Kandera, Valvorb, ZxBiohazardZx


Thanks for reading
The EAI2SAI PHP Developer (Aka ME, narcissism at its peak)

eventai-to-smartai's People

Contributors

warpten avatar horn 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.