mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Server side we now have 63 total buff slots for clients They match RoF/RoF2 and are mapped as 42 long, 20 short, 1 disc The player is limited to what their clients supports, so Tit players can have 25 buffs and 12 songs, while other can have more When you log in, we only load up to the max your client supports, the rest of the buffs are thrown away Also changed is the default Max Buff slots for NPCs, they now match Tit (60) If you are thinking about raising that, here are what some other clients support Tit - SoF 60, SoD - UF 85, RoF - RoF2 97 (although UI only has 85 slots, you can edit it if you want more) Also SoD+ the pet limits match the NPC limits. This will increase memory usage a bit, but I don't see a solution to that Plus I think most people want this.
102 lines
2.5 KiB
C++
102 lines
2.5 KiB
C++
/* EQEMu: Everquest Server Emulator
|
|
|
|
Copyright (C) 2001-2016 EQEMu Development Team (http://eqemulator.net)
|
|
|
|
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 COMMON_EQ_LIMITS_H
|
|
#define COMMON_EQ_LIMITS_H
|
|
|
|
#include "emu_legacy.h"
|
|
#include "types.h"
|
|
#include "eq_constants.h"
|
|
#include "emu_versions.h"
|
|
#include "../common/patches/titanium_limits.h"
|
|
#include "../common/patches/sof_limits.h"
|
|
#include "../common/patches/sod_limits.h"
|
|
#include "../common/patches/uf_limits.h"
|
|
#include "../common/patches/rof_limits.h"
|
|
#include "../common/patches/rof2_limits.h"
|
|
|
|
|
|
namespace EQEmu
|
|
{
|
|
namespace constants {
|
|
class LookupEntry {
|
|
public:
|
|
size_t CharacterCreationLimit;
|
|
int LongBuffs;
|
|
int ShortBuffs;
|
|
int DiscBuffs;
|
|
int TotalBuffs;
|
|
int NPCBuffs;
|
|
int PetBuffs;
|
|
int MercBuffs;
|
|
};
|
|
|
|
const LookupEntry* Lookup(versions::ClientVersion client_version);
|
|
|
|
} /*constants*/
|
|
|
|
namespace inventory {
|
|
class LookupEntry {
|
|
public:
|
|
size_t InventoryTypeSize[25]; // should reflect EQEmu::inventory::typeCount referenced in emu_constants.h
|
|
|
|
uint64 PossessionsBitmask;
|
|
size_t ItemBagSize;
|
|
size_t ItemAugSize;
|
|
|
|
bool AllowEmptyBagInBag;
|
|
bool AllowClickCastFromBag;
|
|
bool ConcatenateInvTypeLimbo;
|
|
bool AllowOverLevelEquipment;
|
|
};
|
|
|
|
const LookupEntry* Lookup(versions::MobVersion mob_version);
|
|
|
|
} /*inventory*/
|
|
|
|
namespace behavior {
|
|
class LookupEntry {
|
|
public:
|
|
bool CoinHasWeight;
|
|
};
|
|
|
|
const LookupEntry* Lookup(versions::MobVersion mob_version);
|
|
|
|
} /*behavior*/
|
|
|
|
} /*EQEmu*/
|
|
|
|
namespace ClientUnknown
|
|
{
|
|
enum : int { Invalid = -1, Null, Safety };
|
|
|
|
enum : bool { False = false, True = true };
|
|
|
|
} /*ClientUnknown*/
|
|
|
|
namespace Client62
|
|
{
|
|
enum : int { Invalid = -1, Null, Safety };
|
|
|
|
enum : bool { False = false, True = true };
|
|
|
|
} /*Client62*/
|
|
|
|
#endif /*COMMON_EQ_LIMITS_H*/
|