Yaki Khadafi
fc28fef1c1
[12174] Fix not updated opcode structures
...
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:52 +00:00
Yaki Khadafi
372e8e04bf
[12173] Some battleground changes
...
- bg list works
- placeholders for pvp rewards and rated bg stats packets
- other bg opcode changes
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:51 +00:00
Salja
dcc57439a7
[12172] Struc Update for SMSG_PLAY_SOUND and Update + Enable SMSG_UPDATE_WORLD_STATE. Thanks Zakamurite
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:49 +00:00
Salja
26f25feda8
[12171] Fix linux build. Thanks Barmalley
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:48 +00:00
Schmoozerd
970f049799
[12170] Add support to link summoned npcs with following
...
Thanks to crackm for insisting that this needs a core change and testing
2020-02-16 20:41:47 +00:00
zerg
b8b907c138
[12169] Fix some problems detected by static code analysis
2020-02-16 20:41:47 +00:00
zerg
62118e099e
[12168] Fix possible memory leaks in Outdoor PvP
2020-02-16 20:41:46 +00:00
Salja
404291248e
[12167] Some Opcodes
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:45 +00:00
Salja
6004b9f8b7
[12166] skip expansion races if not playing with expansion
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:44 +00:00
stfx
d22e1d3b7a
[12165] Move opvpmgr based capture point saving / loading to opvp class
...
Also improve capture point locking code and fix saving lock state in NA and GH
Note: Keep in mind that capture points won't be activated before you call SetCapturePointSlider() function
2020-02-16 20:41:43 +00:00
Yaki Khadafi
4dcb91df9f
[12164] Fix inspect honor kill stats, arena stats.
...
Fix SMSG_NOTIFICATION structure
Move back Updatehonorfields, too fastly removed
Define some pvp opcodes
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:42 +00:00
Salja
f911964642
[12163] SMSG_GOSSIP_POI
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:41 +00:00
Salja
2bb6130e42
[12162] totem items are no longer needed. Thanks Sovak
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:40 +00:00
Yaki Khadafi
55ebf1b64f
[12161] Update talents:
...
Fix talent learn
Fix talent reset
Fix talent inspecting
original author: @Shauren
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:38 +00:00
stfx
578c440902
[12160] Fix honor / reputation gains in AB and EY
...
Also fixes a typo of recent EY commit
Thanks Nay
2020-02-16 20:41:37 +00:00
stfx
061ca54cb0
[12159] Related bg cleanups of EY cleanup
2020-02-16 20:41:36 +00:00
stfx
975c2b1e1c
[12158] Fix MSG_BATTLEGROUND_PLAYER_POSITIONS in BG - Eye of the Storm
...
This fixes map display of flag carrier
2020-02-16 20:41:35 +00:00
stfx
328a349a23
[12157] Merge Player::CanUseOutdoorCapturePoint into Player::CanUseCapturePoint
2020-02-16 20:41:35 +00:00
stfx
97f6703301
[12156] Improve BG - Eye of the Storm
...
* Use generic capture point code
* Fix sending netherstorm flag carrier state
* Update score only on resource tick
* Fix world state dummies
* Rather big cleanup
2020-02-16 20:41:33 +00:00
stfx
012c2ef51b
[12155] Prevent saving/loading/init capture points in instances
...
Reason for this are:
1) We don't want them saved/loaded between bg games
2) Saving cp slider is done by go id and would not work for instances
3) There are visual-only capture points in bg (eots)
4) It would be possible to only enable the capture points on bg start
TODO: Move this to OutdoorPvP base class
2020-02-16 20:41:33 +00:00
stfx
522ccf02ae
[12154] Add HandleEvent and HandleGameObjectCreate to battleground class
2020-02-16 20:41:32 +00:00
stfx
c8814791e1
[12153] Remove unneeded InBattleGround() as it is already checked by GetBattleGround()
...
Also call OutdoorPvP handlers before instance script ones
2020-02-16 20:41:31 +00:00
stfx
a53ac2aca7
[12152] Remove unused argument from OutdoorPvP::HandlePlayerKillInsideArea
2020-02-16 20:41:30 +00:00
Yaki Khadafi
f2cf0bcd19
[12151] Init currency week limits on new currency recieved
...
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:29 +00:00
Yaki Khadafi
8e5d609e1e
[12150] Drop arena point distribution, implement currency week count reset.
...
- Fix missing currency load.
- Some cleanup.
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:28 +00:00
Schmoozerd
7177f4cc07
[12149] Add some placeholders for missing target types
2020-02-16 20:41:26 +00:00
stfx
e0043ecc56
[12148] Improve BattleGroundAB::IsAllNodesControlledByTeam
2020-02-16 20:41:26 +00:00
stfx
caa36a0219
[12147] Fix a bg achievement due to a missing change of [12067]
...
Note: This is what override correctness is used for :)
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:25 +00:00
Schmoozerd
705f716cb1
[12146] Implement spell 30769
2020-02-16 20:41:24 +00:00
Schmoozerd
c8ebd1678e
[12145] Add new condition CONDITION_COMPLETED_ENCOUNTER
...
This condition returns true if a DungeonEncounter is done in this map.
value1, value2 are expected to be the IDs from DungeonEncounter(dbc)
value2 is optional, if both values are given, the condition will be true if one of the two DungeonEncounters are done.
Thanks to crackm for testing
2020-02-16 20:41:23 +00:00
Schmoozerd
d387c20dad
[12144] Change behaviour of text selection for gossip menus
...
This way the behaviour will be well defined in case multiple conditions match.
Now the text with the highest condition-id will be taken.
2020-02-16 20:41:22 +00:00
Yaki Khadafi
796068fc13
[12143] Fix extendedCost
...
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:21 +00:00
Salja
0c8d8c67d8
[12142] Fix Typo
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:20 +00:00
Yaki Khadafi
b4d7780f46
[12140] Basic curency support. Based on @Supabad, @Shocker, @Shauren work.
...
TODO: reward/take currencies from quests, take currencies with extended cost, reset currencies week count.
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:19 +00:00
Salja
d8eb7327a1
[12140] Added NumTalentsAtLevel and TalentTreePrimarySpells DBCLoad Support. Thanks Trinity
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:18 +00:00
Yaki Khadafi
fe066cf94a
[12139] Fix char save
...
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:17 +00:00
Yaki Khadafi
d1afa9743e
[12138] Remove unused currencytoken and keyring player slots, remove support for no longer existant player currency and honor fields
...
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:16 +00:00
Yaki Khadafi
e5c63db259
[12137] Fix VC11 project
...
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:14 +00:00
Yaki Khadafi
faec714783
[12136] Fix typos
...
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:14 +00:00
Salja
05b6f3072b
[12135] Fix SQL Problems
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:13 +00:00
Salja
dc47c070b3
[12134] Fix Build from Backport.
...
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:11 +00:00
Reamer
95b908d820
[12133] Add a missing break
2020-02-16 20:41:11 +00:00
Shyax
61c7249770
[12132] Remove useless casting and use SIZEFMTD instead in strings. Close #6
2020-02-16 20:41:10 +00:00
Schmoozerd
ecdb00bd0d
[12131] Improve support for game/ subdirectories
...
* Add game directory to AdditionalIncludes (VC90)
* Add game directory to AdditionalIncludes (VC100)
* Simplify #include macros for subdirectories
Thanks to Shyax, LordJZ and Zergtmn for testing cmake
2020-02-16 20:41:09 +00:00
Shyax
5d2dda2e2c
[12130] Fix more warnings. close #5
...
* Remove warning: format '<format>' expects type '<type1>', but argument has type 'size_t'
* Remove warning: statement has no effect
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:07 +00:00
Schmoozerd
23c0c6ab3a
[12129] Improve a little thing from last commit. Thanks to Reamer for pointing
2020-02-16 20:41:06 +00:00
Shyax
6e76dbae3f
[12128] Fix more warnings - close #4
...
* Remove warning: enumeration value '<value>' not handled in switch
* Remove warning: enumeral and non-enumeral type in conditional expression
* Remove warning: too many arguments for format
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:05 +00:00
Schmoozerd
1707edbcfd
[12127] Add wrapper to access spell locations
...
* Add SpellCastTargets::getSource to get the source position (for TARGET_FLAG_SOURCE_LOCATION)
* Add SpellCastTargets::getDestination to get the destination position (for TARGET_FLAG_DEST_LOCATION)
2020-02-16 20:41:04 +00:00
Reamer
147a1b04fe
[12126] Implement SPELL_EFFECT_KNOCKBACK_FROM_POSITION (144)
...
Also fix a missing break in db-script engine
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:03 +00:00
evil-at-wow
6fa6eb24a5
[12125] Fix some warnings
...
* Fix compiler warnings "warning: no newline at end of file" (Linux/GCC).
* Fix compiler warnings "warning: '<class>::<member>' will be initialized after <class>::<member>" (Linux/GCC).
* Fix compiler warnings "warning: unused parameter '<param>'" (Linux/GCC).
* Fix a signed/unsigned warning
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:02 +00:00