Commit Graph

30260 Commits

Author SHA1 Message Date
Shauren adc7b5e1f1 Core: Fixed VS 2013 build 2016-03-28 22:32:54 +02:00
Shauren 4a679ba1be Core/Commands: Prevent creating accounts containing '@' character with .account create command 2016-03-28 19:40:15 +02:00
Shauren 335a1e495c Clang build fixes 2016-03-28 19:32:33 +02:00
Shauren ea652fbedd Build fixes 2016-03-28 18:47:13 +02:00
Shauren dde620c402 Core: Updated to 6.2.4
* Rewrite bnetserver for new authentication protocol
2016-03-28 17:12:57 +02:00
Shauren 619669c620 Core/PacketIO: Updated remaining packet structures and enums appearing in packets 2016-03-28 15:23:41 +02:00
DDuarte 13db756f9d Core/Config: Remove references to Arena.QueueAnnouncer.PlayerOnly which hasn't been used since 3dd6fdedf7
Ref #16859

(cherry picked from commit 5f3262ff19)

# Conflicts:
#	src/server/game/World/World.cpp
2016-03-28 03:18:42 +01:00
DDuarte b372935ce3 Typo fix 423bded9a6 2016-03-28 03:17:51 +01:00
DDuarte be573a7aa4 Core/AHBot: Add missing AuctionHouseBot.Class.CLASS.Allow.Zero to config
Ref #16859

(cherry picked from commit 92be9ad7ad)
2016-03-28 02:37:08 +01:00
DDuarte 423bded9a6 Core/Network: Change SocketMgr.StartNetwork to take the thread count by arg instead of config
AuthSocketMgr doesn't need "Network.Threads" config

Fixes "Missing name Network.Threads in config file authserver.conf"

Ref #16859

(cherry picked from commit 980f28d2ce)

# Conflicts:
#	src/server/authserver/Server/AuthSocketMgr.h
#	src/server/game/Server/WorldSocketMgr.cpp
2016-03-28 02:36:58 +01:00
DDuarte 06b3bca0d2 Core/Startup: Warn when a config key isn't found in the config files
Example: "Missing name Guild.SaveInterval in config file worldserver.conf, add "Guild.SaveInterval = 15" to this file"
2016-03-27 23:48:17 +01:00
Shauren 8fcca8e01c Tools/Connection patcher: Updated for 6.2.4.21355 2016-03-27 23:57:41 +02:00
Shauren 1cb76db4c2 Core/PacketIO: Corrected severeal movement opcode values 2016-03-27 22:53:18 +02:00
MitchesD a5b0df9fb7 DB/Misc: fixed SAI of few Wandering Isle mobs after re-guid process 2016-03-27 20:23:19 +02:00
Rochet2 183d027e13 Add missing GAME_API exports
(cherry picked from commit 2348613f7b)
2016-03-27 16:31:15 +02:00
Shauren 0d3a81b2bc Contrib: Updated protoc plugin to generate service classes suitable for dynamic linking 2016-03-26 22:01:03 +01:00
Killyana 7de5842f08 DB/Misc: Blood elf start location / Sunstrider isle
Closes #16498
By @msoky
2016-03-26 19:35:32 +01:00
Shauren 60a4914c33 Core/Networking: Added SslSocket wrapper for boost::asio::ssl::stream 2016-03-26 18:52:32 +01:00
Shauren f3e73c01a1 Dep/gsoap
* Added httpget and httppost plugins
* Compile with ssl support
2016-03-26 18:21:42 +01:00
Shauren b97d990dee Contrib: Added .bat file with commands to generate protobuf sources using the plugin 2016-03-26 17:39:39 +01:00
Shauren e1a68fa34d Clang build fix 2016-03-26 17:38:00 +01:00
Shauren 9018ac978d Core/Shared: Added generated protobuf sources 2016-03-26 17:23:35 +01:00
Shauren a81a204678 Core/Common: Moved MessageBuffer to common 2016-03-26 17:15:20 +01:00
Shauren cfe8a6a58b Core/Misc: Moved RealmList to shared 2016-03-26 13:39:46 +01:00
Shauren 499a159932 Contrib: Added sources of the protoc plugin used to generate services 2016-03-26 01:24:11 +01:00
Shauren 092d52080f Dep: Added google protobuf 2016-03-26 00:30:28 +01:00
MitchesD 014402c25c Rename 2016_03_08_00_world.sql to 2016_03_25_00_world.sql 2016-03-25 21:56:44 +01:00
MitchesD 98fb5dc9bc Merge pull request #16750 from Lopfest/Spell
[6.x] Core/Spell: changed target of spell 102445 Summon Master Li Fei
2016-03-25 21:56:07 +01:00
Shauren 9ad79934d3 Core/PacketIO: Updated packet structures to 6.2.4.21355 2016-03-25 21:33:55 +01:00
Shauren 45c857a6bf Core/Networking: Updated packet headers for 6.2.4 2016-03-24 21:15:02 +01:00
Shauren 6de7a0b879 Core/PacketIO: Updated opcode values to 6.2.4.21348 and disabled packets that had their structures changed 2016-03-24 19:28:16 +01:00
Nertx 363731aac8 Core/Game: Fix Tremor Totem in LoS
* Closes #15012

Signed-off-by: Naios <naios-dev@live.de>

(cherry picked from commit c9751eb1f8)
6.2.3/20886
2016-03-24 15:12:06 +01:00
sirikfoll 5ba2e2dd8e Core/AI Remove Reset() call from JustRespawned() hook
* Not needed, and causes trouble when using _DespawnAtEvade()
* Closes #16786

(cherry picked from commit acf6681353)
2016-03-24 15:04:03 +01:00
Naios 46daaf7689 Dep: Add efsw (entropia file system watcher)
* Uses system API's which reduces the overhead
  instead of checking periodically for changes.
* Will be used in the hotswap system to reload
  shared libraries on changes.
2016-03-24 13:53:10 +01:00
Shauren d024314b13 Merge pull request #16827 from DJScias/connectionpatcher
Tools/ConnectionPatcher: patch 'versions' by default to prevent auto-…
2016-03-24 11:01:59 +01:00
Naios 0cfdac70c4 Core/Game: Fix the no PCH build
* Ref cd777f97a1
2016-03-24 02:50:56 +01:00
Naios cd777f97a1 Core/Game: Fix the clang build when building shared libraries
* Hackfix to solve an unresolved issue in clang that the visibility
  flag is ignored in some explicit template specializations.
* See https://llvm.org/bugs/show_bug.cgi?id=24815
* See https://llvm.org/bugs/show_bug.cgi?id=23667
2016-03-24 02:33:04 +01:00
Naios 428908b8db Core/Scripts: Link the script project always statically 2016-03-24 01:31:52 +01: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
Naios 25b0e743b1 Core/Shared: Converted the shared library to a shared library ,-).
* There is still the possibility to static link against shared.
2016-03-24 01:29:00 +01:00
Naios 6cfea2d8f7 Core/Database: Converted the database library to a shared library.
* There is still the possibility to static link against database.
2016-03-24 01:28:59 +01:00
Naios 501fd9b502 Core/Common: Converted the common library to a shared library.
* There is still the possibility to static link against common.
2016-03-24 01:28:58 +01:00
Naios 183f970055 Core/Build: Enable /bigobj for most MSVC builds.
* exluding 32 bit when dyynamic linking is disabled.
2016-03-24 01:28:56 +01:00
Naios f4e0945b13 Core/Build: Add the possibility to link libraries dynamically.
* makes it possible to access exported singletons from other shared lib's.
* reduces binary size
2016-03-24 01:28:55 +01:00
Shauren 3d32fd6ce0 Dep: Add rapidjson 2016-03-23 22:09:55 +01:00
Kittnz 18e6b2574f Core/Weather: Fix small weather system bug
https://github.com/cmangos/mangos-wotlk/commit/5ef2f17
(cherry picked from commit 2df2f56f8c)
2016-03-23 19:16:52 +00:00
DJScias d2e2924b6a Tools/ConnectionPatcher: patch 'versions' by default to prevent auto-updating of executables
* On executable drag and drop it will find the current build number and apply the correct versions patch.
* This prevents patched executables from auto-updating and causing incorrect version errors.
* Also removed "-e" functionality as this change renders it obsolete.
2016-03-23 19:46:44 +01:00
Killyana 22e425bc58 DB/Misc: Remove ammo
closes #16313
by msoky
2016-03-23 19:35:48 +01:00
DDuarte 0d643fdff2 Build fix 2016-03-23 00:34:47 +00:00
pete318 28f51306d4 Improved Auction house deposit handling.
Including the weird quirks.

Changes:
* Deposit caculated according to same rule as client. (detailed below). Should always match client deposit now
* Deposit for multiple auctions now only collected once. Deferred calculation of deposit until all auctions listed.

Deposit calculation is as follows:

Base deposit calculation = MSV x 15/75% (depending on AH). However this is not rounded. Case to int is used (so always round down)
The remainder is held in a float.
The base is then multiplied by number of items, and the time multiplier (x2 for 24 hour, x4 for 48 hour)
The nearest (no of items or lower) no of items when multiplied by the remainder that creates a whole number is then multiplied by the time multiplier (x1/x2/x4) and then added to deposit.

Example:

Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 1 = 36c. Remainder = 0.75 (n) Min = 1s. Deposit 1s
Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 2 = 72c. Remainder = 1.50 (n)  Min = 1s. Deposit 1s
Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 3 = 108c. Remainder = 2.25 (n) Min = 1s. Deposit 1s08c
Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 4 = 144c. Remainder = 3.00 (n) Min = 1s. Deposit 1s50c (144c + (3c * 2))

Horrible kludge, to re-create a very weird deposit method.

Closes #15674 (PR)
Closes #15643 (Issue)

(cherry picked from commit 0ac442f19f)

# Conflicts:
#	src/server/game/AuctionHouse/AuctionHouseMgr.h
2016-03-23 00:28:03 +00:00