From 054725122f1ef534063ffcbc54b25e167ec3ed9c Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Sun, 12 Oct 2008 14:03:38 -0500 Subject: [svn] * Various small changes here and there. * Implementing MangChat IRC system. * Added new config option, MAX_WHO, can be used to set the limit of characters being sent in a /who request from client. --HG-- branch : trunk --- src/shared/Database/DBCStructure.h | 1 + src/shared/Database/DBCfmt.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/shared/Database') diff --git a/src/shared/Database/DBCStructure.h b/src/shared/Database/DBCStructure.h index bca75923394..ce0887687ef 100644 --- a/src/shared/Database/DBCStructure.h +++ b/src/shared/Database/DBCStructure.h @@ -147,6 +147,7 @@ struct ChrClassesEntry uint32 powerType; // 3 // 4, unused //char* name[16]; // 5-20 unused + char* name[16]; // 5-20 unused // 21 string flag, unused //char* string1[16]; // 21-36 unused // 37 string flag, unused diff --git a/src/shared/Database/DBCfmt.cpp b/src/shared/Database/DBCfmt.cpp index e131d9379c5..0b7e1439520 100644 --- a/src/shared/Database/DBCfmt.cpp +++ b/src/shared/Database/DBCfmt.cpp @@ -23,7 +23,8 @@ const char BattlemasterListEntryfmt[]="niiixxxxxiiiixxssssssssssssssssxx"; const char CharTitlesEntryfmt[]="nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxi"; const char ChatChannelsEntryfmt[]="iixssssssssssssssssxxxxxxxxxxxxxxxxxx"; // ChatChannelsEntryfmt, index not used (more compact store) -const char ChrClassesEntryfmt[]="nxixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxix"; +//const char ChrClassesEntryfmt[]="nxixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxix"; +const char ChrClassesEntryfmt[]="nxixssssssssssssssssxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxix"; const char ChrRacesEntryfmt[]="nxixiixxixxxxissssssssssssssssxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; const char CreatureDisplayInfofmt[]="nxxxfxxxxxxxxx"; const char CreatureFamilyfmt[]="nfifiiiissssssssssssssssxx"; -- cgit v1.2.3