19 Commits

Author SHA1 Message Date
blkht01
65ea80fb9e feat: add Configuration Option for limitrace (#13)
* Modified to allow for excluding certain spells from the module

* change of plans. let's load the spell ids from the config file instead, makes it a bit more versatile for others as well.

* Update mod_account_mount.cpp

* Update .gitignore

ignore .conf file, only commit .dist

* Update mod_account_mount.cpp

* Handle scenarios where no spell IDs are to be excluded

Modified the AccountMounts script to seamlessly handle scenarios where no spell IDs are to be excluded by interpreting "0" or an empty configuration string as no exclusion criteria. This update leverages the existing uint32 type for spell ID representation and enhances the script's flexibility in configuration management.

The change ensures that the AccountMounts script is more adaptable to server administrators' needs, allowing for a straightforward way to toggle spell ID exclusions.

Also added some code commenting

* fatal error: 'GetStringDefault' is deprecated

* add racial limit to config

* Create world_disable_racial_mounts_in_bg.sql

* include scriptmgr

* remove onlogin override

* OnLogin -> OnPlayerLogin

* delete project specific sql

---------

Co-authored-by: Walter Pagani <paganiwalter@gmail.com>
2025-03-18 14:52:26 +01:00
sudlud
5fa57ad590 Merge pull request #14 from azerothcore/sudlud-pach-42-4 2025-02-28 05:58:18 +01:00
Ludwig
b57a36e667 fix build, codestyle and add enabled hooks list for performance improvement 2025-02-27 08:38:11 +01:00
blkht01
cfae767a8a Allows for excluding spell id's from the module. (#12)
* Modified to allow for excluding certain spells from the module

* change of plans. let's load the spell ids from the config file instead, makes it a bit more versatile for others as well.

* Update mod_account_mount.cpp

* Update .gitignore

ignore .conf file, only commit .dist

* Update mod_account_mount.cpp

* Handle scenarios where no spell IDs are to be excluded

Modified the AccountMounts script to seamlessly handle scenarios where no spell IDs are to be excluded by interpreting "0" or an empty configuration string as no exclusion criteria. This update leverages the existing uint32 type for spell ID representation and enhances the script's flexibility in configuration management.

The change ensures that the AccountMounts script is more adaptable to server administrators' needs, allowing for a straightforward way to toggle spell ID exclusions.

Also added some code commenting

* fatal error: 'GetStringDefault' is deprecated

---------

Co-authored-by: Walter Pagani <paganiwalter@gmail.com>
2024-02-03 08:29:54 -03:00
Walter Pagani
f0055f0630 feat. Update README information (#11) 2024-01-31 02:26:41 -03:00
Kitzunu
d5d2f51127 Merge pull request #9 from qwe900/master
Update mod_account_mount.cpp
2023-11-12 01:27:38 +01:00
Kitzunu
1d79cf7c18 prep merge 2023-11-12 01:27:30 +01:00
qwe900
96b0ae74eb Update mod_account_mount.cpp
Fix the Module wont get the correct AccountID so the sql query result is empty
2023-11-06 23:55:38 +01:00
Walter Pagani
426bb0f99c feat. Update module to work with the latest emulator version (#8) 2023-07-17 09:16:06 -03:00
Skjalf
9648d7a3e6 fix(MOD): Update a guid var after the ObjectGuid implementation (#6) 2021-12-25 18:51:41 -03:00
Vitaliy
a578a3b576 fix for last PR ACE remove (#4) 2021-03-03 20:26:16 +01:00
Patrick Lewis
2f3bc119d2 docs(readme): add AzerothCore logo and build status badge (#2) 2020-11-16 16:30:20 -08:00
Patrick Lewis
fc53fc7764 fix(build) misc fixes to resolve build errors (#3)
* add include Player.h

* change Player.h to ScriptMgr.h

* add include Chat.h

* add include Player.h

* comment out unused variable
2020-11-16 15:43:51 -08:00
Stefano Borzì
7c864d8c65 Merge pull request #1 from Tyrelis/master
feat(CI): move from Travis to GitHub Actions
2020-11-15 11:23:42 +01:00
Tyrelis
089192ceea Hotfix 2020-08-31 17:11:22 -06:00
Tyrelis
ffb0e4f3a3 Merge branch 'master' of https://github.com/Tyrelis/mod-account-mounts 2020-08-31 17:05:12 -06:00
Tyrelis
fe71af523a Create core-build.yml
feat(CI): move from Travis to GitHub Actions
2020-08-31 17:04:02 -06:00
Tyrelis
062a1fe437 Update README.md 2020-08-31 16:56:09 -06:00
Tyrelis
0a89fa143e Initial commit 2020-08-31 16:53:32 -06:00