mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Merge branch 'master' into wp_master
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#include "event_sub.h"
|
||||
#include <string.h>
|
||||
|
||||
void EventSubscriptionWatcher::Subscribe(const std::string &event_name)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
#include <string>
|
||||
|
||||
class EventSubscriptionWatcher
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
#include <mysql.h>
|
||||
#include "types.h"
|
||||
#include "mysql_request_row.h"
|
||||
|
||||
+3
-1
@@ -514,7 +514,8 @@ RULE_INT(NPC, MinorNPCCorpseDecayTimeMS, 450000) //level<55
|
||||
RULE_INT(NPC, MajorNPCCorpseDecayTimeMS, 1500000) //level>=55
|
||||
RULE_INT(NPC, CorpseUnlockTimer, 150000)
|
||||
RULE_INT(NPC, EmptyNPCCorpseDecayTimeMS, 0)
|
||||
RULE_BOOL (NPC, UseItemBonusesForNonPets, true)
|
||||
RULE_BOOL(NPC, UseItemBonusesForNonPets, true)
|
||||
RULE_BOOL(NPC, UseBaneDamage, false)
|
||||
RULE_INT(NPC, SayPauseTimeInSec, 5)
|
||||
RULE_INT(NPC, OOCRegen, 0)
|
||||
RULE_BOOL(NPC, BuffFriends, false)
|
||||
@@ -547,6 +548,7 @@ RULE_INT(Aggro, IntAggroThreshold, 75) // Int <= this will aggro regardless of l
|
||||
RULE_BOOL(Aggro, AllowTickPulling, false) // tick pulling is an exploit in an NPC's call for help fixed sometime in 2006 on live
|
||||
RULE_BOOL(Aggro, UseLevelAggro, true) // Level 18+ and Undead will aggro regardless of level difference. (this will disabled Rule:IntAggroThreshold if set to true)
|
||||
RULE_INT(Aggro, ClientAggroCheckInterval, 6) // Interval in which clients actually check for aggro - in seconds
|
||||
RULE_REAL(Aggro, PetAttackRange, 40000.0) // max squared range /pet attack works at default is 200
|
||||
RULE_CATEGORY_END()
|
||||
|
||||
RULE_CATEGORY(TaskSystem)
|
||||
|
||||
+5
-1
@@ -6,6 +6,10 @@
|
||||
#include <EXTERN.h>
|
||||
#define WIN32IO_IS_STDIO
|
||||
|
||||
// header to detect if libc++ is the std lib
|
||||
// this doesn't do shit for C++ but libc++ and GCC 6.1+ use it to define some macros
|
||||
#include <ciso646>
|
||||
|
||||
#ifndef WIN32
|
||||
extern "C" { //the perl headers dont do this for us...
|
||||
#endif
|
||||
@@ -47,7 +51,7 @@ extern "C" { //the perl headers dont do this for us...
|
||||
#endif
|
||||
|
||||
//These need to be cleaned up on FreeBSD
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) || defined(_LIBCPP_VERSION)
|
||||
#ifdef do_open
|
||||
#undef do_open
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@
|
||||
|
||||
#define CURRENT_BINARY_DATABASE_VERSION 9122
|
||||
#ifdef BOTS
|
||||
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9018
|
||||
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9019
|
||||
#else
|
||||
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 0 // must be 0
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user