mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
Some live tasks make new elements available without requiring all currently active ones to be completed first. This adds the `req_activity_id` field to task activities which will mark an element active if its required activity id is completed. If a valid value is set then it's used instead of checking the current step. The `step` field may still be set on rows with a valid `req_activity_id` to specify its logical step and prevent later steps from becoming active until completed. It's only ignored when deciding if the current element is active. The legacy task logic for unlocking activities was completely refactored for this. A common method has been added so both zone and world can make use of it to determine which elements are currently active. The previous step system should remain unchanged. The world logic for locking shared tasks when an element became active did not account for "sequential" mode (all steps 0), unordered steps, or gaps in step numbers. This also resolves that issue.
55 lines
1.6 KiB
C
55 lines
1.6 KiB
C
/**
|
|
* EQEmulator: Everquest Server Emulator
|
|
* Copyright (C) 2001-2019 EQEmulator Development Team (https://github.com/EQEmu/Server)
|
|
*
|
|
* This program 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; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY except by those people which sell it, which
|
|
* are required to give you total support for your newly bought product;
|
|
* 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
|
|
*
|
|
*/
|
|
|
|
#ifndef _EQEMU_VERSION_H
|
|
#define _EQEMU_VERSION_H
|
|
|
|
#define LOGIN_VERSION "0.8.0"
|
|
#define EQEMU_PROTOCOL_VERSION "0.3.10"
|
|
|
|
#define CURRENT_VERSION "2.0"
|
|
|
|
|
|
/**
|
|
* Every time a Database SQL is added to Github increment CURRENT_BINARY_DATABASE_VERSION
|
|
* number and make sure you update the manifest
|
|
*
|
|
* Manifest: https://github.com/EQEmu/Server/blob/master/utils/sql/db_update_manifest.txt
|
|
*/
|
|
|
|
#define CURRENT_BINARY_DATABASE_VERSION 9199
|
|
|
|
#ifdef BOTS
|
|
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9029
|
|
#else
|
|
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 0 // must be 0
|
|
#endif
|
|
|
|
#define COMPILE_DATE __DATE__
|
|
#define COMPILE_TIME __TIME__
|
|
#ifndef WIN32
|
|
#define LAST_MODIFIED __TIME__
|
|
#else
|
|
#define LAST_MODIFIED __TIMESTAMP__
|
|
#endif
|
|
|
|
#endif
|
|
|