No description
Find a file
Schmoozerd 8c29893310 [11964] Implement new conditions system
Tree-like design idea by Faramir118, thanks for that!

* Add `conditions` table to store conditions.
* REPLACE current handling of conditions for the *_loot_template tables
  Convert the old conditions in *_loot_template to the new system by SQL-Queries
* ADD support for new conditions to gossip_menu and gossip_menu_option.
  If for these tables no condition_id (new system) is provided, the old conditions will still be used
* Add a small helper python script to contrib/convertConditions, see README there for details
* Add new command to reload the `conditions` table (.reload conditions)
* Add two Meta-Condition types CONDITION_AND (-1) and CONDITION_OR (-2) which are used as:
  value1 (as condition_entry) AND / OR value2 (as condition_entry)

  With these meta-conditions it is possible to create tree like and very complicated combined conditions (like HasAura && (HasItem || HasQuest))

NOTE about conversion:
For easier convertion all the old table data is still preserved, but will be removed eventually (within a circle of the moon approximately)
The python script will not create an optimal initial fill of the `conditions` table. You might want to tweak it manually or suggest some optimized algorithm :)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-15 23:06:00 +02:00
cmake [11875] Update Copyright notice to year 2012 2012-01-16 17:43:59 +01:00
contrib [11964] Implement new conditions system 2012-04-15 23:06:00 +02:00
dep [11929] Fix build on VC90, 64bit 2012-03-28 18:18:07 +02:00
doc [11947] Improve SCRIPT_COMMAND_MOVE_TO 2012-04-10 23:44:17 +02:00
sql [11964] Implement new conditions system 2012-04-15 23:06:00 +02:00
src [11964] Implement new conditions system 2012-04-15 23:06:00 +02:00
win [11907] Add files for MMaps Implementation 2012-02-06 23:17:16 +01:00
.gitattributes [11393] add whitespace rules to .gitattributes 2011-04-24 22:56:01 +02:00
.gitignore [11906] Ignore RecastDemo/Build directory with git 2012-02-06 23:17:03 +01:00
AUTHORS Created MaNGOS GIT repository. 2008-10-13 22:06:16 +02:00
ChangeLog [11066] Remove tail whitespaces. 2011-01-25 00:22:29 +03:00
CMakeLists.txt [11875] Update Copyright notice to year 2012 2012-01-16 17:43:59 +01:00
config.h.cmake [11167] Added CMake support 2011-02-14 12:56:50 +03:00
COPYING Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00
createprojects.bat [11167] Added CMake support 2011-02-14 12:56:50 +03:00
NEWS [11875] Update Copyright notice to year 2012 2012-01-16 17:43:59 +01:00
README [11875] Update Copyright notice to year 2012 2012-01-16 17:43:59 +01:00
THANKS Updated THANKS file 2008-10-31 23:37:32 +03:00
WARNING [8796] * Add WARNING file to mangosd.vcproj. Also minor cosmetics. 2009-11-09 01:19:49 +01:00

= MaNGOS -- README =

Copyright (C) 2005-2012 MaNGOS project <http://getmangos.com/>

  MaNGOS is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

  In addition, as a special exception, the MaNGOS project
  gives permission to link the code of its release of MaNGOS with the
  OpenSSL project's "OpenSSL" library (or with modified versions of it
  that use the same license as the "OpenSSL" library), and distribute
  the linked executables.  You must obey the GNU General Public License
  in all respects for all of the code used other than "OpenSSL".  If you
  modify this file, you may extend this exception to your version of the
  file, but you are not obligated to do so.  If you do not wish to do
  so, delete this exception statement from your version.

Comments are welcome.

	- theluda <theluda@getmangos.com>

== Welcome to MaNGOS ==

MaNGOS (the Massive Network Game Object Server) is an Open Source reference
implementation for a MMORPG server system. Please see the file COPYING for
license details.

For further information on the MaNGOS project, please visit our project web
site at <http://getmangos.com/>

Documentation on various development related topics can be found in the doc/
subdirectory, including Doxygen-generated API documentation.

The required SQL files for creating the database backend are included in the
sql/ subdirectory. In case you are upgrading from an older MaNGOS release,
make sure you as well take a look at the SQL files in the sql/updates/ sub-
directory.

In order to build and install MaNGOS under Windows, simply use the delivered
project files under win/. If you use a different system use CMake to generate
the appropriate build files for your system.