Fix merge conflic and typos in worldserver config file and characters.sql

This commit is contained in:
Spp committed 2012-11-09 09:03:29 +01:00
1 parent 35d63a9799
commit ccf593c673
3 files changed
+7 -6

No files matched your search

+3 -2
View File
@@ -1975,7 +1975,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `guild_newslog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `guild_news_log` (
CREATE TABLE `guild_newslog` (
`guildid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator',
`LogGuid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column',
`EventType` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Event type',
@@ -1983,7 +1983,7 @@ CREATE TABLE `guild_news_log` (
`Flags` int(10) unsigned NOT NULL DEFAULT '0',
`Value` int(10) unsigned NOT NULL DEFAULT '0',
`TimeStamp` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time',
PRIMARY KEY (`guildid`,`LogGuid`)
PRIMARY KEY (`guildid`,`LogGuid`),
KEY `guildid_key` (`guildid`),
KEY `Idx_PlayerGuid` (`PlayerGuid`),
KEY `Idx_LogGuid` (`LogGuid`)
@@ -1997,6 +1997,7 @@ CREATE TABLE `guild_news_log` (
LOCK TABLES `guild_newslog` WRITE;
/*!40000 ALTER TABLE `guild_newslog` DISABLE KEYS */;
/*!40000 ALTER TABLE `guild_newslog` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `guild_rank`
+2 -2
View File
@@ -1680,10 +1680,10 @@ void Guild::HandleBuyBankTab(WorldSession* session, uint8 tabId)
if (!tabCost)
return;
if (!player->HasEnoughMoney(tabCost)) // Should not happen, this is checked by client
if (!player->HasEnoughMoney(uint64(tabCost))) // Should not happen, this is checked by client
return;
player->ModifyMoney(-int32(tabCost));
player->ModifyMoney(-int64(tabCost));
_CreateNewBankTab();
_BroadcastEvent(GE_BANK_TAB_PURCHASED, 0);
+2 -2
View File
@@ -985,14 +985,14 @@ Guild.ResetHour = 6
Guild.BankEventLogRecordsCount = 25
#
# Guild.Guild.NewsLogRecordsCount
# Guild.NewsLogRecordsCount
# Description: Number of log entries for guild news that are stored per guild. Old
# entries will be overwritten if the number of log entries exceed the
# configured value. High numbers prevent this behavior but may have performance
# impacts.
# Default: 250
Guild.Guild.NewsLogRecordsCount = 250
Guild.NewsLogRecordsCount = 250
#
# MaxPrimaryTradeSkill