Commit Graph

34183 Commits

Author SHA1 Message Date
Giacomo Pozzoni
c8ca48823d Core/Pools: Fix pools with 1 member never spawning anything anymore (#26620)
* Core/Pools: Fix pools with 1 member never spawning anything anymore

Attempts to fix a 6 years old bug and never fixed by the original author.

* Remove respawn times from db once a respawn has been handled

* Allow to specify if Despawn1Object() should save or not the respawn time. We don't need to do that when respawning an object.

* Apply the same fix to GameObjects too
2021-06-26 14:21:18 +02:00
Giacomo Pozzoni
6c5b641dd4 CI/CircleCI: Force ccache directory (#26625) 2021-06-25 21:38:57 +02:00
Giacomo Pozzoni
84c8d21ad3 Core/SAI: Add a warning when a boolean value is outside of [0,1] range (#26608)
* Core/SAI: Add a warning when a boolean value is outside of [0,1] range

*  Replace boolean fields in SAI with SAIBool (from uint32)
2021-06-25 20:44:28 +02:00
Carbenium
c08f086a02 Scripts/SholazarBasin: Make quest "Engineering a Disaster" more retail-like
* Use correct spells and add the appropriate spell scripts
* Use correct flame GOs
* Fix emotes of the escortee
2021-06-24 22:50:57 +02:00
offl
baaa0b5522 DB/Quest: Rework 'Rise, Obsidion!' (3566)
Ref #25984
2021-06-24 02:08:18 +03:00
offl
c737817a60 DB/Quest: Rework 'Sarkoth' (804)
Ref #25984
2021-06-24 02:07:57 +03:00
offl
da8b2cc64e DB/Creature: Update Lady Jaina Proudmoore (4968)
Ref #25984
2021-06-24 02:07:41 +03:00
offl
bf54020b49 DB/Creature: Update Theresa (5697)
Ref #25984
2021-06-24 02:07:18 +03:00
offl
b8d93ef671 DB/Creature: Update Myzrael (2755)
Ref #25984
2021-06-24 02:06:58 +03:00
offl
e0f8b0825a DB/SAI: Fix wrong param of one of SMART_ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST 2021-06-23 01:09:12 +03:00
offl
338abd5315 DB/SAI: Remove wrongly used SmartActionSummonCreatureFlags
Closes #26595

After ee839fe action_param5 is used as SmartActionSummonCreatureFlags and 1 is PersonalSpawn. And somehow currently action_param5 = 1 is used in 40 actions even if that param wasn't used by core before ee839fe. Because of that those summoned creatures became personal spawns of creatures or objects and were not visible to player as they're supposed to be
2021-06-22 20:57:51 +03:00
Freeman256
4368fcda8b DB/Locales: Add missing ruRU quest titles (Part 1)
Closes #26614
2021-06-22 17:48:30 +03:00
Cerveciento
b121b9c51f DB/Locales: Add missing esES & esMX quest locales (Part 173)
Closes #26610
2021-06-22 17:48:15 +03:00
Cerveciento
2059e41d9b DB/Locales: Add missing esES & esMX quest locales (Part 172)
Closes #26604
2021-06-22 17:47:47 +03:00
Cerveciento
e11c59eaad DB/Locales: Add missing esES & esMX quest locales (Part 171)
Closes #26596
2021-06-22 17:47:34 +03:00
offl
766b38fb5b DB/SAI: Fix wrong boolean values
Ref #26608
2021-06-22 17:47:16 +03:00
Kelno
17ed3fd1dc Core/Misc: Clear unused undef leftover in a refactor (#26616)
Previously this function was using a macro that was #undef at the end of the function. Since then it uses a lambda function and the undef is not needed anymore.
2021-06-22 16:30:33 +02:00
jackpoz
13f1a9f117 SQL: Update auth_database.sql with latest updates 2021-06-20 21:01:52 +02:00
Jinnaix
46bab72af5 DB/Misc: Add new View for RBAC 2021-06-20 17:32:19 +02:00
Giacomo Pozzoni
5ae2a0f47d Common/Misc: Replace old macros with modern C++ attributes (#26613) 2021-06-20 16:52:24 +02:00
jackpoz
33dace231c Core/Misc: Fix issues reported by static analysis 2021-06-20 13:11:53 +02:00
Gildor
5446209b89 Scripts/Commands: Minor improvements in .pinfo and .unban character commands (#26586)
* Scripts/Commands: Minor improvements in .pinfo and .unban character commands
2021-06-20 12:08:12 +02:00
shenhuyong
9b05c3967b Fix kick after map changed and speed changed 2021-06-19 21:17:42 +02:00
Kelno
c3a013c499 Core/Config:Remove now unused CONFIG_SET_SHAPASSHASH config (#26606)
This is a leftover from bcdbdd6f23
2021-06-19 16:02:05 +02:00
jackpoz
a7fa9f28db DB/Creature: Convert 27353 to spawn summons with 1 action instead of 30 linked actions
Thanks @Jinnai for the sql update.
Close #26605
2021-06-17 19:51:19 +02:00
jackpoz
5628ca7f7c Core/SAI: Allow SMART_ACTION_SUMMON_CREATURE to summon more than 1 creature
Add 6th parameter "count" to SMART_ACTION_SUMMON_CREATURE action to summon more than 1 creature. For backward compatibility, a value of 0 will be treated as 1.
2021-06-17 19:47:50 +02:00
Giacomo Pozzoni
38a661b8db Core/Misc: Fix no-pch build 2021-06-17 11:45:21 +02:00
Giacomo Pozzoni
e655783431 Core/Movement: Wrap recent kicks about a setting and improve logs.
Wrap recent kicks added related to speed change ack packets around the same "AntiCheat.PendingMoveChangesTimeoutTime" setting used by other anti-cheat kicks.
Log more details about why a kick was triggered.
2021-06-17 11:35:50 +02:00
jackpoz
32fd44d2aa Core/Misc: Fix issues reported by static analysis 2021-06-15 23:17:51 +02:00
Chaouki Dhib
d337fb99ed Core/Movement: Implement proper player speed change (#26561) 2021-06-15 23:09:48 +02:00
jackpoz
4b9465e1f9 Scripts/Misc: Fix issues reported by static analysis 2021-06-15 22:55:50 +02:00
TDB Release
27c338a268 TDB 335.21061 - 2021/06/15 TDB335.21061 2021-06-15 11:55:40 +00:00
Shauren
4acd6e1d38 Core/Pets: Fixed saving pets put in stable while not being summoned
Closes #26599
2021-06-14 13:07:40 +02:00
Giacomo Pozzoni
8d92f6f2b4 Core/Loot: Allow master looter to see all quest items (#26584) 2021-06-13 19:41:51 +02:00
Jan Van Buggenhout
12668692ea Build/CMake: Only complain about missing BOOST_ROOT when Boost is not found (#26598) 2021-06-13 18:16:53 +02:00
jackpoz
e9a8cea018 Scripts/UBRS: Fix crash
Fix crash triggered during Dragonspire Hall event caused by having more than 5 mobs near a rune.
Crash added in 7c19fb8d0e
Fix #26589
2021-06-12 18:02:01 +02:00
offl
2acdd163fe DB/Creature: Remove more evil flags
Ref #25764
2021-06-11 01:21:49 +03:00
offl
7e67ea74bf DB/Creature: Fix speed of Spark of Ionar 2021-06-10 21:10:50 +03:00
offl
180f495c70 Scripts/Misc: Remove few more evil flags
Ref #25764
2021-06-10 19:15:35 +03:00
Cerveciento
c6d77a7a83 DB/Locales: Add missing esES & esMX quest locales (Part 170)
Closes #26577
2021-06-09 21:33:19 +03:00
Cerveciento
e64d658ad7 DB/Locales: Add missing esES & esMX quest locales (Part 169)
Closes #26573
2021-06-09 21:33:02 +03:00
Cerveciento
81bc1155d2 DB/Locales: Add missing esES & esMX quest locales (Part 168)
Closes #26563
2021-06-09 21:32:28 +03:00
offl
8a2c1377a9 Scripts/Quest: Rework 'Taken by the Scourge' (11611) (#26578) 2021-06-09 19:17:24 +03:00
offl
3d0a081f8e Scripts/Instances/Underbog: Rework Hungarfen (#26567) 2021-06-09 19:16:55 +03:00
Giacomo Pozzoni
9e7cdb02d2 Core/SAI: Add support to friendly+hostile to SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS (#26579)
Change SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS first parameter to have 3 values:
- 0 : Hostile
- 1 : Not hostile (not that Friendly and Not hostile have different meanings)
- 2 : Any, as in both Hostile and Not hostile

Close #24789

* Add validation on startup for allowed values.
Code cleanup.

* Fix errors
2021-06-08 18:59:46 +03:00
offl
7c6ee033e0 Scripts/Instances/EoE: Update Malygos to new register model (#26583) 2021-06-07 00:32:57 +03:00
offl
2a556b900c Scripts/Instances/DK: Update Trollgore to new register model (#26582) 2021-06-07 00:32:41 +03:00
offl
f5a4b95a02 Scripts/Instances/DK: Update Tharon'ja to new register model (#26581) 2021-06-07 00:32:23 +03:00
offl
cdfce090fc Scripts/Instances/DK: Update Novos to new register model (#26580) 2021-06-07 00:32:09 +03:00
offl
0051b3e345 Scripts/Zone: Update IoC scripts to new register model (#26571) 2021-06-07 00:26:32 +03:00