Skip to content

Commit

Permalink
feat(Misc): add support new api (azerothcore#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Winfidonarleyan authored Dec 7, 2021
1 parent 630e1bc commit d217162
Show file tree
Hide file tree
Showing 126 changed files with 75,669 additions and 62 deletions.
42 changes: 0 additions & 42 deletions CMakeLists.txt

This file was deleted.

31 changes: 31 additions & 0 deletions conf/AzerothShard.conf.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#
# This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#

########################################
# AzerothShard module configuration
########################################

#
# Difference between the position level and the player level to disable the reward
# default: 0 (disabled)
#

ChallengeMode.noReward.deltaLevelHigher = 0
ChallengeMode.noReward.deltaLevelLower = 0

#
# Position levels to start checking for the difference between the position and the player level
# default: 0 (disabled)
#

ChallengeMode.noReward.startLevelHigher = 0
ChallengeMode.noReward.startLevelLower = 0
28 changes: 28 additions & 0 deletions conf/Solo3v3.conf.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# Copyright (С) since 2019 Andrei Guluaev (Winfidonarleyan/Kargatum) https://github.com/Winfidonarleyan
#

###############################
# Custom configuration system #
###############################
[worldserver]

###################################################################################################
# SOLO 3v3 ARENA
#
# Solo.3v3.Enable
# Description: Enable system
# Default: 1
#

Solo.3v3.Enable = 1
Solo.3v3.MinLevel = 80
Solo.3v3.Cost = 45
Solo.3v3.ArenaPointsMulti = 0.8
Solo.3v3.FilterTalents = 1
Solo.3v3.VendorRating = 1
Arena.1v1.BlockForbiddenTalents = 0
Arena.CheckEquipAndTalents = 1
Solo.3v3.CastDeserterOnAfk = 1
Solo.3v3.CastDeserterOnLeave = 1
Solo.3v3.StopGameIncomplete = 1
15 changes: 0 additions & 15 deletions conf/azth_mod.conf.dist

This file was deleted.

13 changes: 13 additions & 0 deletions data/sql/db-characters/00_reputation_vendor_table.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
DROP TABLE IF EXISTS `reputation_vendor`;
CREATE TABLE `reputation_vendor`(
`vendorId` INT(10) NOT NULL COMMENT 'vendor id',
`reputation` INT(10) NOT NULL DEFAULT 948 COMMENT 'faction required',
`value` INT(10) NOT NULL DEFAULT 3000 COMMENT 'how much reputation is required',
`gossipSatisfied` INT(10) NOT NULL COMMENT 'gossip id when enough reputation',
`gossipUnsatisfied` INT(10) NOT NULL COMMENT 'gossip id when not enough reputation',
PRIMARY KEY (`vendorId`)
);

-- vendor pvp only
ALTER TABLE `reputation_vendor`
ADD COLUMN `PvPVendor` INT(1) NOT NULL DEFAULT '0' AFTER `gossipUnsatisfied`;
10 changes: 10 additions & 0 deletions data/sql/db-characters/01_reputation_vendor.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DELETE FROM `reputation_vendor` WHERE vendorId IN (100002, 100003, 100004, 100005, 100006, 100100, 100101, 100102, 100103);
INSERT INTO `reputation_vendor` (vendorId, reputation, `value`, gossipSatisfied, gossipUnsatisfied) VALUES
(100002, 948, 0, 32001, 32010),
(100003, 948, 3000, 32001, 32010),
(100004, 948, 6000, 32001, 32010),
(100005, 948, 12000, 32001, 32010),
(100006, 948, 21000, 32001, 32010),
(100100, 948, 3000, 32000, 32010),
(100101, 948, 6000, 32002, 32010),
(100102, 948, 0, 32003, 32010);
150 changes: 150 additions & 0 deletions data/sql/db-characters/achievements_dbc.sql

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions data/sql/db-characters/armory.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*Table structure for table `armory_character_stats` */

DROP TABLE IF EXISTS `armory_character_stats`;

CREATE TABLE `armory_character_stats` (
`guid` int(11) NOT NULL,
`data` longtext NOT NULL,
`save_date` int(11) DEFAULT NULL,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='World of Warcraft Armory table';

/*Table structure for table `armory_game_chart` */

DROP TABLE IF EXISTS `armory_game_chart`;

CREATE TABLE `armory_game_chart` (
`gameid` int(11) NOT NULL,
`teamid` int(11) NOT NULL,
`guid` int(11) NOT NULL,
`changeType` int(11) NOT NULL,
`ratingChange` int(11) NOT NULL,
`teamRating` int(11) NOT NULL,
`damageDone` int(11) NOT NULL,
`deaths` int(11) NOT NULL,
`healingDone` int(11) NOT NULL,
`damageTaken` int(11) NOT NULL,
`healingTaken` int(11) NOT NULL,
`killingBlows` int(11) NOT NULL,
`mapId` int(11) NOT NULL,
`start` int(11) NOT NULL,
`end` int(11) NOT NULL,
`date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`gameid`,`teamid`,`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='WoWArmory Game Chart';

/*Table structure for table `character_feed_log` */

DROP TABLE IF EXISTS `character_feed_log`;

CREATE TABLE `character_feed_log` (
`guid` int(11) NOT NULL,
`type` smallint(1) NOT NULL,
`data` int(11) NOT NULL,
`date` int(11) DEFAULT NULL,
`counter` int(11) NOT NULL,
`difficulty` smallint(6) DEFAULT '-1',
`item_guid` int(11) DEFAULT '-1',
`item_quality` smallint(6) NOT NULL DEFAULT '-1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Loading

0 comments on commit d217162

Please sign in to comment.