mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
No description
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> |
||
|---|---|---|
| cmake | ||
| contrib | ||
| dep | ||
| doc | ||
| sql | ||
| src | ||
| win | ||
| .gitattributes | ||
| .gitignore | ||
| AUTHORS | ||
| ChangeLog | ||
| CMakeLists.txt | ||
| config.h.cmake | ||
| COPYING | ||
| createprojects.bat | ||
| NEWS | ||
| README | ||
| THANKS | ||
| WARNING | ||
= 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.