Commit Graph

55 Commits

Author SHA1 Message Date
Roc13x
a6d1b34472 Core/Creature: Refactor and improve vendor items (#20328)
* Implement item bonuses in vendors.
* Implement the PlayerConditionID and IgnoreFiltering DB columns.
* Fix loading referenced vendor items
* Allow adding bonuses in .npc add item command
2017-10-09 21:03:25 +02:00
Gacko
b34f5f9eab Fix non-PCH build. 2017-10-04 19:30:25 +02:00
ariel-
6505747f50 Core/AuctionHouseBot: ahbot characters subsystem shake-up
Bonus: fix moar static analysis issues
(cherry picked from commit f4a10571f7)
2017-10-03 17:56:42 +02:00
joschiwald
3cba023e99 Fixed nonpch build 2017-10-03 17:39:37 +02:00
iridinite
fd53cbc5f2 [3.3.5] AHBot Characters (#17885)
(cherry picked from commit 6dc0a9f04a)
2017-10-03 16:02:32 +02:00
Shauren
b453e12423 Core/Game: Include cleanup part 5
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Shauren
f2039981e0 Core/Game: Include cleanup, part 3 2017-05-20 00:09:37 +02:00
Shauren
c5d3dd90be Core/Game: Include cleanup
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Shauren
3a418a0bbc Core/Common: Include cleanup 2017-05-11 22:29:51 +02:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
8742732149 Core/Items: Implemented bonus list as a possible result of RandomSuffix
Ref #18423
2016-12-26 21:21:28 +01:00
Shauren
1e4ccbf475 Core/Items: Removed invalid item bind type 5 2016-09-10 22:20:00 +02:00
Shauren
49d0823b70 Core: Update to 7.0.3.21963 2016-06-18 17:38:44 +02:00
Shauren
70102f32fe Core/DataStores: Updated opcodes and db2 to 7.0.3.21414 2016-05-20 23:49:53 +02:00
Shauren
5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46:17 +02:00
Vincent-Michael
3cd19d3b30 Core: Removed Whitespaces 2016-04-16 12:19:23 +02:00
Andrew Letson
45ea01fe5c Core/AHBot: Improve AHBot seller math (#16123)
Eliminates edge cases with low values that would round to zero
due to using uint32 in the calculation of sell price and buyout price.
2016-04-11 18:30:40 +02:00
Shauren
3c41584bbb Core/Misc: Use correct field type for guids in prepared statements 2016-04-05 00:16:36 +02:00
Naios
bf33159a70 Core/Game: Converted the game library to a shared library.
* There is still the possibility to static link against game.
2016-03-24 01:31:51 +01:00
Aokromes
3a38bc6ff9 Core/AuctionHouse: Fix compile 2016-03-22 09:56:07 +01:00
Aokromes
b9e090a4ae Core/AuctionHouse: Fix compile (Part 2) 2016-03-22 09:53:04 +01:00
Aokromes
a82e9fe4d3 Core/AuctionHouse: Fix compile 2016-03-22 09:48:32 +01:00
Duarte Duarte
af0da1dde1 Merge pull request #16101 from NathanHandley/3.3.5
Updated AuctionHouseSeller to have item class stack control
(cherry picked from commit bddf9ec6fe)
2016-03-21 23:33:00 +01:00
Naios
329225b40d Core/Game: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)
2016-03-11 18:35:49 +01:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren
ef5e3fff04 Merge pull request #15554 from MrSmite/AHBot_Buyer
Fix AHBot Buyer to stop counting own auctions
(cherry picked from commit 811b557b3b)
2015-09-25 00:17:57 +02:00
jackpoz
cf67b7d375 Core/AHBot: Adjust AHBot bid and buyout chances
Apply an exponential formula to define the chance to bid/buyout an auction depending on auction price and item price ratio. The formula can be adjusted changing the new AuctionHouseBot.Buyer.ChanceFactor config parameter
Chance = 100 ^ (1 + (1 - (auction_price / item_price) / k)
k is the config parameter AuctionHouseBot.Buyer.ChanceFactor, the higher the number the higher chance to buy overpriced auctions.

(cherry picked from commit 177b6319d1)

Conflicts:
	src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
2015-09-24 19:48:31 +02:00
Kinzcool
0453fafaec Core/Enums: Defined two unknown item flags, and cleaned the other item flags enums to reflect a better standardization 2015-05-01 21:56:33 -04:00
click
3a1c778d54 Core/AHBot: Remove a lingering warning that annoyed me for all too long
(cherry picked from commit 7c8f7f6f8f)
2015-03-18 00:35:24 +00:00
jackpoz
a7c8caf2ef Core/AHBot: Fix AHBot bidding and correct logged AH type
Correct AuctionHouseType definition to log the right AH type.
Handle auctions without bidder but with a bid as bought by the AH Bot
Closes #14124

(cherry picked from commit 2eee1b349f)

Conflicts:
	src/server/game/AuctionHouse/AuctionHouseMgr.cpp
2015-02-22 06:21:02 +00:00
jackpoz
582313e545 Merge PR #14059 from 'Rochet2/ahbot_buyer' into 3.3.5
(cherry picked from commit b69fd4ac68)

Conflicts:
	src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
2015-02-11 19:27:44 +00:00
Nayd
86f7f47b58 Core/Build: Use std namespace in getline calls 2015-02-02 01:57:27 +00:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Nayd
4b7c1d5e45 Core/Items: Fix signed/unsigned mismatch warnings 2014-12-25 20:52:53 +00:00
Shauren
941904d5ea Core/Items: Updated item stat calculations
* Implemented item modifiers
* Implemented item bonuses
2014-12-23 00:25:43 +01:00
Shauren
6dbb516b65 Core/Items: Refactored ItemTemplate 2014-12-21 13:35:43 +01:00
Intel
1e51d22d29 Core/DataStores: Updated Item DataStores
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2014-11-15 04:27:37 +00:00
jackpoz
573707457e Merge pull request #13440 from Rochet2/ahbot
Core/AH: AHBot related fixes

(cherry picked from commit 248847290a)
2014-10-28 21:02:39 +01:00
Shauren
a363c88f03 Core/Guilds: Fifth part of converting int to bigint guids in database 2014-10-25 15:04:38 +02:00
Shauren
b3e3cfa81f Core/Entities: First part of removing GetGUIDLow() uses 2014-10-22 17:33:55 +02:00
jackpoz
25d8b49313 Core/AHBot: Filter out from AHBot items that can't be looted
(cherry picked from commit 361d285ba3)
2014-10-20 19:59:27 +00:00
Shauren
26c9d4dc41 Core/Entities: First part of required database changes for migrating guids to 128 bit - all fields storing lowguid must be extended to uint64 2014-10-20 19:25:50 +02:00
Vincent-Michael
caeb933d9e Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2014-10-02 22:36:58 +02:00
jackpoz
d828d16e9e Core/AHBot: Fix reference_loot_template being excluded from ahbot items
Fixes #13265
2014-10-02 22:29:45 +02:00
Shauren
7f2cdfd166 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/authserver/Main.cpp
	src/server/authserver/Server/AuthSession.cpp
	src/server/authserver/Server/AuthSession.h
	src/server/game/Server/WorldSocket.cpp
	src/server/game/Server/WorldSocket.h
	src/server/scripts/World/npcs_special.cpp
2014-09-12 20:26:46 +02:00
Shauren
5f62f1b6d2 Core/Misc: Fixed build with intel compiler 2014-09-10 21:18:28 +02:00
Vincent-Michael
20bbdcbde9 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2014-09-03 17:54:45 +02:00
jackpoz
1ef0bc4d23 Core/AuctionHouse: Fix issues reported by Coverity 2014-09-02 22:11:28 +02:00
Vincent-Michael
141df45864 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2014-08-31 01:08:42 +02:00
jackpoz
c5f475c114 Core/AuctionHouse: Fix issues reported by Coverity 2014-08-31 00:33:37 +02:00