Commit Graph
37130 Commits
Author SHA1 Message Date
Nyr bfad2b7027 Core/Spells: corrected Ids of triggered spells inDemon Soul's spell script (#289) 2021-08-28 15:07:51 +02:00
Ovahlord 7fcb1c03da Correct script name added in 9616582b05 2021-08-28 15:05:24 +02:00
Ovahlord 9616582b05 Core/Spells: load BonusCoefficient into SpellInfo and use it for Goblin's Rocket Barrage Racial spell damage calculation 2021-08-28 15:01:28 +02:00
Ovahlord ce1901524f Tools/VMapExtrator: ported m2 model bounds issue fix from master branch 2021-08-28 14:39:19 +02:00
Ovahlord 5ed7516280 Core/Transports: fixed a logic mistake introduced in be614ded97 2021-08-19 06:20:05 +02:00
Ovahlord 449d220ab3 DB/Stratholme: added missing questgiver npcs that have been added in Cataclysm at the two wing's entrance areas 2021-08-18 21:50:28 +02:00
Ovahlord be614ded97 Core/Misc: fixed issues reported by pvs studio
closes #281
2021-08-18 21:11:20 +02:00
Ovahlord f394bd9510 DB/Spells: renamed spell_dbc 'Comment' colulmn to 'SpellName' to reduce differences between branches 2021-08-17 15:42:26 +02:00
Ovahlord 8186f9d450 make CI happy 2021-08-17 15:38:13 +02:00
Ovahlord da5564fa47 Core/Packets: converted SMSG_CLEAR_COOLDOWN and SMSG_CLEAR_COOLDOWNS to packet class 2021-08-16 11:02:22 +02:00
Ovahlord 8ac7e71690 Core/Spells: implement summon properties parameter types based on the leaked enumerated strings values
Summon spells can now be commanded to interpret their basepoints depending on the parameter type that has been assigned to the summon properties dbc record Id

* implemented SummonCreatureExtraArgs to reduce the amount of arguments in Map::SummonCreature
2021-08-15 10:35:02 +02:00
Ovahlord c927ca98ba Core/Spells: allow knockback spell effects to use negative misc values as well for forward knockbacks 2021-08-15 07:07:37 +02:00
Ovahlord 1568798985 Core/Spells: fixed Glyph of Shadow Word: Death 2021-08-15 06:56:32 +02:00
Ovahlord 9502e75cac DB/Misc: fixed startup errors 2021-08-02 13:18:09 +02:00
Ovahlord 3e56f75d7c fixed build and a typo in recent sql file 2021-08-02 13:13:50 +02:00
Ovahlord e785b6d386 Scripts/Mulgore: several fixups for Camp Narache
* scripted Captured Brave's behavior when released from their cages
* respawned Armored Quillboars and got rid of duplicate spawns
* scripted Armored Quillboar's visual events, combat ability and behavior when ignited via torch
* added waypoints to Brave Windfeather
* nuked cooler's shitty sai for chief squealer thornmantle and replaced it with a c++ script to handle the death spell cast event
* corrected timers for Chief Hawkwind's ceremony texts
* spawned a missing spellfocus and removed some gameobject spawns which are suposed to be tempoary
* added some emote events to Camp Narache trainers
2021-08-01 15:21:05 +02:00
Ovahlord 280dd50af4 Core/Quests: also check previous quests when checking exclusive groups to allow chaining one quest group into another 2021-08-01 15:13:34 +02:00
jackpoz 1ea6bef697 Core/SOAP: Fix memory leak on shutdown reported by ASan 2021-07-31 21:44:43 +02:00
jackpoz 24d4e6977c Core/SOAP: Fix new/free mismatch reported by ASan 2021-07-31 21:44:38 +02:00
Ovahlord f9fafbab7d Scripts/Deadmines: move entrance faction spawns to instance_spawn_groups and handle them via faction flags instead 2021-07-31 21:42:32 +02:00
ariel- 0792739a98 Core/Scripts: fixed npc immunity flags during Harbinger Skyriss encounter
- Added missing _Reset
- Properly register Skyriss summons in SummonList

Closes #21154

Who ordered up an extra large can of whoop-ass?

(cherry picked from commit f8b148c3346e6d5017bf3b044cc36bce32c0cf45)
2021-07-29 21:41:02 +02:00
funjoker 83ab09a86d Change dockerhub user to cataclysmpreservationproject 2021-07-29 21:21:58 +02:00
Carbenium f94e8b4a35 tests: Add some basic tests for EventMap
(cherry picked from commit 7950275697c9d48781ad61cf3749e0392ee660bc)
2021-07-29 19:09:23 +02:00
Giacomo Pozzoni d02324b507 CI/CircleCI: Force ccache directory (#26625)
(cherry picked from commit 6c5b641dd44a8d174d9bb8da36200e81b16f9ae8)
2021-07-29 19:07:52 +02:00
Giacomo Pozzoni 1c4e4353d0 CI/CircleCI: Switch to Ubuntu 21.04 (#26476)
(cherry picked from commit 5991dcb12b638a0ef483fddeeda3e5744012dda6)
2021-07-29 19:07:52 +02:00
Giacomo Pozzoni d10f844697 CI/CircleCI: Authenticate to DockerHub when pulling the docker image (#25581)
For more information see the following links:
- https://www.docker.com/blog/scaling-docker-to-serve-millions-more-developers-network-egress/
- https://docs.docker.com/docker-hub/download-rate-limit/
- https://circleci.com/docs/2.0/private-images/

Add DOCKERHUB_USERNAME and DOCKERHUB_PASSWORD secrets to CircleCI Environment Variables. DOCKERHUB_PASSWORD can be either the password or an access token.

(cherry picked from commit e3da1ed2455676cfe31757cbd816d92ee1d93a3c)
2021-07-29 19:07:52 +02:00
Giacomo Pozzoni d4780e0b96 CI/CircleCI: Move codestyle and sql checks to their own step (#25175)
(cherry picked from commit f35582f98a6dbf7d031646bc3efe6b88d4694dcb)
2021-07-29 19:07:52 +02:00
Carbenium 831c45b1da dep: Add catch2 unit test framework and wire it up
To enable the test suite, make sure to configure CMake with -DBUILD_TESTING=1 , since it is disabled by default. The catch2 dependency will be downloaded during configure time.

Also add a new target "tests-common", which includes unit tests for the "common" project. To finally run the tests use the "test" target.

CircleCI: Run unit tests
(cherry picked from commit 6a28ee7b2a4269aa7e43265d1cd0067537e3e883)
2021-07-29 19:07:52 +02:00
Ovahlord 99a129d5bc fixed build 2021-07-29 18:56:10 +02:00
Ovahlord e03b2f41bf Core/Guilds: implement weekly bonus money packet field in guild bank queries 2021-07-29 18:45:49 +02:00
jackpoz 5d9b3b59d2 Core/Misc: Remove whitespace 2021-07-29 17:32:15 +02:00
jackpoz d53a176746 Core/MMAPs: Reduce chances of breaking tile connections
Reduce chances of breaking tile connections caused by floating point rounding issues.
2021-07-29 17:32:05 +02:00
Gildor a91f7a3ef3 Core/Quest: When removing an item required for a quest, update every quest in the quest log instead of stopping at the first objective that matches the removed item. (#26760)
Closes #25662
Closes #10586
2021-07-29 17:31:54 +02:00
Gildor 1466176aef Core/Quests: Improve ItemRemovedQuestCheck logic (#26758)
Closes #25603
2021-07-29 17:31:23 +02:00
Ovahlord 8cabdc6c85 Scripts/LCT: fixed Siamat's Achievement 'Headed South' 2021-07-29 17:29:36 +02:00
Ovahlord c58d2752d3 Core/Creatures: fixed build and clamp the damage pct limit instead of blindy relying on arguments 2021-07-26 15:57:29 +02:00
Ovahlord 0dfa919f09 Core/Creatures: optimized sparring checks by handling them via variable instead of map lookups and expose its value to helpers to allow manipulation during runtime 2021-07-26 15:48:16 +02:00
Ovahlord ae13da2159 fixed build 2021-07-25 15:03:43 +02:00
Ovahlord 7648eff6db Core/Quests: check if a player can take the next quest provided by its query data before trying to request its details 2021-07-25 14:57:41 +02:00
funjoker a36e52e587 Core/DB: Use correct Get function 2021-07-24 01:25:07 +02:00
Ovahlord 9c55fc66ac Core/Packets: added some missing bit flushing to trade status packets 2021-07-23 20:32:42 +02:00
Ovahlord 7bd1afe406 Core/Units: corrected check for SPELL_ATTR7_CANT_MISS in Unit::MagicSpellHitResult
thx to @Jildor for the headsup
2021-07-23 19:44:14 +02:00
funjoker 77a55a27fd DB/Westfall: Add missing AnimKit action to Ripsnarl 2021-07-21 13:41:00 +02:00
Ovahlord b236bd39df Core/Movement: updated smartAI waypoint support to use the new smooth transition field as well 2021-07-16 16:56:47 +02:00
TheGuyDanish 64a2487457 Misc: removed Travis from the build status readme segment and replaced it with CircleCI and Appveyor (#269) 2021-07-16 09:54:28 +02:00
Ovahlord b7ab244e79 Core/Packets: converted all remaining trade packets to packet class 2021-07-13 15:56:31 +02:00
funjoker 11e3cfd66d Add missing include 2021-07-13 12:27:15 +02:00
Ovahlord 81098f738f fixed nopch build 2021-07-12 09:01:53 +02:00
Ovahlord 1a5c06b61a Core/Packets: several updates to trading
* converted CMSG_INITIATE_TRADE, SMSG_TRADE_STATUS, SMSG_TRADE_UPDATED and CMSG_ACCEPT_TRADE to packet class
* fixed enchanting items via trade
* handle unknown fields in SMSG_TRADE_UPDATED
2021-07-11 23:48:50 +02:00
funjoker 3480301040 Remove unused variable 2021-07-11 00:25:23 +02:00