Commit Graph

75 Commits

Author SHA1 Message Date
Petric
f11d3a5402 feat(CORE/Instance): access_requirement db refactor and improved output (#3696) 2021-03-29 10:24:52 -06:00
UltraNix
0e8cb3e4b2 feat(Core/Game): Add option to disable trading BoP items among raid members (#4895) 2021-03-24 15:19:58 -06:00
Francesco Borzì
498c5c9afc chore(Core/worldserver.conf): Enable warden by default (#4533)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-03-03 14:43:43 -06:00
Kargatum
dbefa17a53 feat(Core/Config): rework config and delete ACE inherited (#4608) 2021-02-28 14:37:03 +01:00
Francesco Borzì
a63e41e5b3 feat(Core/Conf): Rate.RewMoneyMaxLevel (#4546) 2021-02-12 16:20:31 +01:00
Footman
522eb9a7e4 fix(Core/Pathfinding): Creatures regen health, spells LOD (#4509) 2021-02-10 00:37:05 +01:00
Francesco Borzì
8915ab1362 feat(Hooks/PlayerScript): ShouldBeRewardedWithMoneyInsteadOfExp (#4445) 2021-02-09 14:09:41 -05:00
55Honey
5a3c77a691 refactor(Core/Config): Change PlayerStart.AllSpells to .CustomSpells (#4345)
* Change PlayerStart.AllSpells to .CustomSpells

Remove wrong info regarding the  playercreateinfo_spell_custom table. Change the config flags name to match its purpose.

* Update src/server/worldserver/worldserver.conf.dist

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/World/World.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/World/World.cpp
2021-02-03 01:01:33 +01:00
Francesco Borzì
f85cb30c99 feat(Core/Conf): toggle XP price (#4388) 2021-02-02 04:11:54 +01:00
Yehonal
c8f43d8584 feat(Core/Movement): Improved pathfinding, collisions and movements (#4220)
Npc positioning
Implemented slope check to avoid unwanted climbing for some kind of movements (backwards, repositioning etc.)
Implemented backwards movement
Re-implemented circle repositioning algorithm (smartest than retail, but with the same feeling)
Fixed random position of summoned minions
Improved pet following movement. Also, they attack NPC from behind now. Thanks to @Footman

Swimming creatures
Fixed max_z coordinate for swimming creatures. Now only part of their body is allowed to be out of the water level
Fixed pathfinder for swimming creatures creating shortcuts for specific segments, now they swim underwater to reach the seashore instead of flying above the water level.
Creatures with water InhabitType but no swimming flag now, when not in combat, will walk on water depth instead of swimming. Thanks @jackpoz for the original code
UNIT_FLAG_SWIMMING in UpdateEnvironmentIfNeeded to show the swimming animation correctly when underwater
Implemented HasEnoughWater check to avoid swimming creatures to go where the water level is too low but also to properly enable swimming animation only when a creature has enough water to swim.

Walking creatures
Extended the DetourNavMeshQuery adding area cost based on walkability (slope angle + source height) to find better paths at runtime instead of completely remove them from mmaps
improve Z height in certain conditions (see #4205, #4203, #4247 )

Flying creatures
Rewriting of the hover system
Removed hacks and improved the UpdateEnvironmentIfNeeded. Now creatures can properly switch from flying to walk etc.
Spells
LOS on spell effect must be calculated on CollisionHeight and HitSpherePoint instead of position coords.
Improved position for object/creature spawned via spells
Improved checks for Fleeing movements (fear spells)

Other improvements
Implemented method to calculate the CollisionWidth from dbc (used by repositioning algorithm etc.)
Improved raycast and collision checks

Co-authored-by: Footman <p.alexej@freenet.de>
Co-authored-by: Helias <stefanoborzi32@gmail.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-02-01 01:34:27 +01:00
Francesco Borzì
ce4dbbce76 feat(Core/Config): allow initial (free) amount of Guild Bank tabs (#4290) 2021-01-20 11:19:09 +01:00
FALL1N1
0181b73bc2 feat(Core/Opcodes): Implement CMSG_CHANNEL_MODERATE (#4021)
* Core/Opcodes: Implement CMSG_CHANNEL_MODERATE

* Cleanup, prettify

* fix build

* whitespaces
2021-01-18 19:37:50 +01:00
Andrius Peleckas
2794842553 feat(Core/Warden): optimization + PQR detection (#3875)
* Update AuctionHouseHandler.cpp

* feat(warden): block PQR

* wip

* Update Warden.cpp

* Core/Warden: minor preperation

* Core/Misc: implemented some needed container wrapper functions

* Core/Warden: more preperations

* Core/Warden: more rework
* LUA checks now are splitted to seperate config
* LUA checks are always in front of queue
* Fixed "Other" checks
* Fixed PQR detection

* Core/Warden: adjusted and optimized

* Core/Warden: optimization

* Core/Warden: more optimization

* Core/Warden: use warden comments in ban reason

* Core/Warden: more warden work

* Core/Warden: more optimizations

* Core/Warden: more refactors

* Core/Warden: some more refactors + use default SHA definitions

* Core/Warden: more refactoring

* Core/Warden: fixed PQR detection again

* Core/Warden: improved detection logging

* Core/Misc: removed SmartEnums - we do not need it here + maybe should go as seperate commit

* Core/Warden: fixed some warnings

* Core/Warden: codestyle

* Core/Warden: include warden check comment to console logs

* Core/Warden: minor adjustment for previous commit

* Core/Warden: fixed static analysis warning

* Core/Warden: compilers, you're drunk this time... function is not unused...

* Core/Warden: minor correction for logs

* Core/Warden: one more improvement for logs

* Core/Warden: added missing overrides

* Core/Warden: some codestyle

* Core/Misc: more codestyle

* Core/Misc: more codestyle!

* Core/Warden: restored default config options... (if you change it, change in core source too)

* Core/Warden: addition to previous commit

* DB/Warden: added EWT and WOWPlus checks (provided by lineagedr)

* DB/Warden: addition to previous commit

* fix: codestyle

* Core/Warden: fixed build when extra logs are enabled in cmake

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-01-17 18:36:35 +01:00
Francesco Borzì
19d474b338 feat(Core/Conf): allow to change the cost of the guild bank tabs (#4240) 2021-01-16 01:35:52 +01:00
Kargatum
ea93a5c1a1 feat(CI/Codestyle): added codestyle check (#3668) 2021-01-09 11:59:50 +01:00
Kitzunu
9b6da06a2e chore(Core/Conf): Change default of RecordUpdateTimeDiffInterval (#4033) 2020-12-28 20:20:28 +00:00
Francesco Borzì
fdc3fc962e chore(config): Improve dist files (#3989) 2020-12-23 23:13:35 +00:00
Barbz
4775bef1c7 fix(Core/conf): Battleground kill XP rate description (#3833) 2020-12-13 11:40:46 -06:00
aradep
7d16417d16 feat(Core/Config): Arena points - Games required (#3811) 2020-12-12 00:36:00 -06:00
Petric
78179f7108 feat(Core/Config): Added pet experience rate (#3703) 2020-11-24 08:45:29 -06:00
aradep
788f8b5257 feat(Core/Config): configurable BG Respawn Timers (#3569) 2020-11-17 14:26:58 +01:00
Kitzunu
a37ea1b60e chore(worldserver.conf): Update GM.StartLevel to core default (#3136) 2020-08-05 15:01:04 +02:00
IntelligentQuantum
ec806d6c60 refactore(core/config): Move BG Report AFK To Conf (#2813) 2020-07-10 20:06:12 +02:00
Kitzunu
0b4af00ab7 feat(Core/Config): Enable/Disable Debug BG/Arena (#3001) 2020-06-21 13:17:07 +02:00
Kitzunu
55dc9afc73 feat(Core/Battleground): Config to allow/disallow ability to Share Quest & Ready Check (#2924) 2020-05-22 16:54:17 +02:00
IntelligentQuantum
9ca9194d9b feat(Core/Conf): Move BG rewards to config (#2798) 2020-05-07 01:41:39 +02:00
IntelligentQuantum
c9b7c75e1e feat(Core/conf): Move arena charters cost to config (#2790)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2020-05-04 12:01:19 +02:00
IntelligentQuantum
fd4b35be8c feat(Core/commands): Display reason for muting player (#2780) 2020-05-02 00:00:02 +02:00
Dresmyr
f1b44029c8 feat(Core/Config): Configurable buy/sell rates (#2763) 2020-04-27 21:20:34 +02:00
Stefano Borzì
19c3a70d41 feat(Core/Config): make stop time for creatures with WP movement configurable #2715 (#2829)
Original author Stoabrogga
2020-03-31 01:30:39 +02:00
Nefertumm
bb6047248a fix(Calendar/Packets): add additional validation when creating events (#2799) 2020-03-28 22:47:53 +01:00
Nefertumm
846f7862d8 feat(Core/Packet): Implement AntiDOS protection from Trinity (#2789)
* Implement AntiDOS protection from Trinity


Co-authored-by: jackpoz <giacomopoz@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Vincent-Michael <trinity.michael_vincent@gmx.eu>
2020-03-23 15:46:00 -03:00
Stoabrogga
ed243d6911 feat(Core/Config): Parameter to set all creatures with WP movement active (#2615) 2020-02-23 14:08:42 +01:00
IntelligentQuantum
b6c0f58dda feat(Core/ItemHandler): Optional item recovery (#2442) 2019-12-09 08:03:33 +01:00
Stefano Borzì
69baccff0d feat(DB/characters): added comments to worldstates (#2384) 2019-11-22 08:56:04 +01:00
Stoabrogga
3baa3c7534 feat(Core/SpellMgr): Worldserver option for ICC buff (#2320) 2019-10-16 07:53:19 +02:00
Stoabrogga
84ea36a21b fix(Core/Chat): Prevent Horde / Alliance chat via custom emotes (#2292)
* add new worldserver parameter "AllowTwoSide.Interaction.Emote"
* use new broadcast text ID 91243 for strange gestures
2019-10-01 15:18:43 +02:00
Stoabrogga
ab55aa4e5a feat(Core/Config): Add parameter to load all grids of all non-instanced maps on server start (#2283) 2019-09-30 17:06:32 +02:00
mik1893
67d180ea77 fix(Core/Worldsession): add option to prevent logout when AFK in a sanctuary zone (#2205) 2019-09-09 23:53:37 +02:00
Stoabrogga
e314a0c716 feat(Core/Player): Additional option for worldserver config parameter "InstantFlightPaths" (#2246) 2019-09-04 01:19:57 +02:00
Kargatum
b1d102e04b feat(Core/BG): rewrite invite in bg (#2137)
Co-authored-by: mik1893 <michele.roscelli@gmail.com>
2019-08-20 23:58:15 +02:00
Francesco Borzì
bacbf0a5c2 Let's make it clear. (#1991)
* Let's make it clear.

* Fix typo

* Add missing comma

* Update worldserver.conf.dist
2019-06-28 01:05:51 +02:00
Poszer
97e65bd447 feat(Core/Player): PartyLevelReq invite settings (#1919)
- Minimum level at which players can invite to group setting
2019-06-09 09:03:18 +02:00
Poszer
4b271008c2 fix(Core): Auth/World conf.dist corrections (#1801)
- Typo, grammar corrections.
- Rate.Mining.Amount changed to correct config Rate.Talent  (It was set to Rate.Talent for mining amount using default value: 1 which is totally wrong. - Rate.Talent is for talents points per level.)
2019-05-10 21:30:44 +02:00
Kargatum
1f4f318705 Rewrite(Core/BanManager): Rewrite Ban system (#1576)
* Added ban manager
* Delete ban functions in world class
* Separate ban account to (ban account, ban ip, ban character)
* Support world announce
2019-03-25 10:00:17 +07:00
Viste(Кирилл)
2af5893d52 feat(Core/Chat): Add config option to allow use LFG anywhere not only in city (#1586) 2019-03-20 02:04:59 +03:00
Francesco Borzì
0758677578 feat(core): allow to debug KickPlayer() (#1549) 2019-03-05 22:58:40 +01:00
Francesco Borzì
be0b7b23f8 feat(core): allow to disable auto-kick for idle players (#1550) 2019-03-03 15:26:07 +01:00
Viste(Кирилл)
cb81f3c17a feat(Core/LOS): restruct LOS functions and add LineOfSight check (#1459) 2019-02-13 22:24:04 +01:00
Nefertumm
2a71b2a666 feat: Added logs_ip_action + more (#1157) 2019-02-08 23:52:22 +01:00