mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
* Added mintime and maxtime to spawnentry. This will prevent a NPC from spawning outside of the times specified. NPCs spawned in this way will then behave like normal NPCs. They will not despawn on their own, unlike spawn_events/spawn_conditions. NPCs using this that are alone in their spawngroup will attempt to spawn after their respawn timer has expired if the time of day is outside their range. Otherwise, another NPC in the spawngroup will be chosen to spawn. The normal rules (chance, spawn_limit) still apply to these NPCs, this is just another rule added to the system. mintime and maxtime both represent the in-game EQ Hour. Valid values are 1-24. If either or both of the values are 0, then the NPC will not have any time restriction. Added a new rule World:BootHour. This allows server admins to specify the EQ hour the server will boot to. Valid options are 1-24. Setting this rule to 0 (default) disables it and world will use whatever time is specified in the DB. * generated base_spawnentry_repository.h from script * removed the rule insert from database_update_manifest.cpp. * Add logging, initializers, minor cleanup * Remove if/else branch * Update eqtime.cpp * Initializers, logging --------- Co-authored-by: Akkadius <akkadius1@gmail.com>
51 lines
1.7 KiB
C
51 lines
1.7 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 EQEMU_PROTOCOL_VERSION "0.3.10"
|
|
|
|
// Build variables
|
|
// these get injected during the build pipeline
|
|
#define CURRENT_VERSION "22.33.0-dev" // always append -dev to the current version for custom-builds
|
|
#define LOGIN_VERSION "0.8.0"
|
|
#define COMPILE_DATE __DATE__
|
|
#define COMPILE_TIME __TIME__
|
|
#ifndef WIN32
|
|
#define LAST_MODIFIED __TIME__
|
|
#else
|
|
#define LAST_MODIFIED __TIMESTAMP__
|
|
#endif
|
|
|
|
/**
|
|
* 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 9242
|
|
|
|
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9040
|
|
|
|
#endif
|
|
|