Kinglykrab
40edefa6f4
[Commands] Cleanup #camerashake Command. ( #1787 )
...
- Cleanup message and logic.
- Fix ConvertSecondsToTime logic for milliseconds.
- Add ConvertMillisecondsToTime inline function.
2021-11-21 10:03:20 -05:00
Kinglykrab
7154d5b841
[Commands] Cleanup #flags Command. ( #1783 )
...
- Cleanup message and logic.
2021-11-21 10:03:08 -05:00
Kinglykrab
dfe43ce189
[Commands] Cleanup #nukeitem Command. ( #1782 )
...
* [Commands] Cleanup #nukeitem Command.
- Cleanup message and logic.
* Typo.
2021-11-21 09:59:07 -05:00
Kinglykrab
69d5fee471
[Commands] Cleanup #givemoney Command. ( #1781 )
...
* [Commands] Cleanup #givemoney Command.
- Cleanup message and logic.
* Update givemoney.cpp
2021-11-21 09:58:23 -05:00
Kinglykrab
f1d9221b4c
[Commands] Cleanup #invul Command. ( #1780 )
...
- Cleanup message and logic.
2021-11-21 09:58:13 -05:00
Kinglykrab
fb2f901539
[Commands] Cleanup #permarace Command. ( #1778 )
...
- Cleanup message and logic.
2021-11-21 09:56:27 -05:00
Kinglykrab
7c12c5d5ef
[Commands] Cleanup #permaclass Command. ( #1777 )
...
- Cleanup message and logic.
2021-11-21 09:56:10 -05:00
splose
7559732408
[Bug Fix] Frenzy is supposed to use 1H Animation. ( #1774 )
2021-11-21 01:19:04 -05:00
KayenEQ
fac0d795f2
[Bug Fix] Melee Life tap overflowing and causing damage ( #1773 )
...
* Update mob.cpp
* Update mob.cpp
2021-11-18 09:10:02 -05:00
Kinglykrab
3efd9c7f60
[Cleanup] Convert DeleteItemInInventory quantity to int16. ( #1767 )
...
* [Cleanup] Convert DeleteItemInInventory quantity to int16.
* Type conversion.
2021-11-16 08:52:22 -05:00
Kinglykrab
bf8a0328b3
[Cleanup] Add Entity ID to ShowStats() NPC display. ( #1770 )
2021-11-15 18:19:42 -05:00
Michael Cook (mackal)
0ebb1cc54c
Fix linking tests due to ddcb18418 ( #1769 )
2021-11-15 13:27:01 -05:00
Akkadius
a111668888
[Hotfix] Default PR #1758 to false
2021-11-15 04:07:55 -06:00
Chris Miles
0550fcfd3f
[GM Commands] Split GM Commands Into Separate Files ( #1766 )
...
* Split GM commands into their own files
* Code cleanup
2021-11-14 22:48:47 -06:00
Kinglykrab
293361a1f7
[Cleanup] Make use of AccountStatus constants wherever status is checked or used. ( #1764 )
...
* [Cleanup] Make use of AccountStatus constants wherever status is checked or used.
- Cleanup all instances of SendEmoteMessage.
- Cleanup all instances of SendEmoteMessageRaw.
- Cleanup all instances of MessageStatus.
- Convert Quest API method defaults to use constants.
* Cleanup constant names.
2021-11-14 21:01:13 -06:00
Kinglykrab
5d75b7b365
[Commands] Cleanup #advnpcspawn and #npcspawn Commands. ( #1754 )
...
* [Commands] Cleanup #advnpcspawn and #npcspawn Commands.
- Cleanup messages and logic.
- Add enum for spawn types to remove magic numbers.
- Cleanup messages that were improper/unused.
* Cleanup.
* Cleanup.
* Cleanup.
* Typo.
* Update command.cpp
2021-11-14 19:58:55 -06:00
Natedog2012
6400e2f8bc
[Rules] Add option rule to load AA based on CurrentExpansion rule ( #1758 )
...
* Add option rule to load AA based on CurrentExpansion rule
* Default UseCurrentExpansionAAOnly to true
* Only clear the PlayerAA when reloadingAA
2021-11-14 19:54:45 -06:00
JJ
76b0183a0f
[Loginserver] Increase IP/hostname size a bit more ( #1765 )
2021-11-14 19:53:53 -06:00
JJ
b3471c51df
[Config] Delete extra versions ( #1763 )
...
* [Config] Delete extra versions [CI SKIP]
* Same
2021-11-14 19:53:14 -06:00
Kinglykrab
b2c86f5571
[Commands] Cleanup #raidloot Command. ( #1757 )
...
- Cleanup message and logic.
- Add RaidLootTypes enum and map for names.
2021-11-14 19:50:51 -06:00
Kinglykrab
264c6cb019
[Commands] Cleanup #setcrystals Command. ( #1745 )
...
* [Commands] Cleanup #setcrystals Command.
- Add message.
- Increase cap from 100,000 to 2,000,000,000.
* Cleanup.
* Remove condition, ID is always defined.
* Cleanup.
2021-11-14 19:47:36 -06:00
Akkadius
9bcb617f90
[Hotfix] Line ending changes
2021-11-14 15:59:03 -06:00
Kinglykrab
f5d37a9959
[Commands] Cleanup #setpvppoints Command. ( #1755 )
...
* [Commands] Cleanup #setpvppoints Command.
- Cleanup message and logic.
* Cleanup.
2021-11-14 14:47:25 -05:00
Kinglykrab
c44b82500d
[Commands] Cleanup #setaaxp Command. ( #1751 )
...
* [Commands] Cleanup #setaaxp Command.
- Add message.
- Cleanup logic.
* Update command.cpp
* Cleanup.
2021-11-14 14:47:17 -05:00
Kinglykrab
4f550fcbf3
[Commands] Cleanup #loc Command. ( #1752 )
...
- Cleanup message and logic.
2021-11-14 14:09:10 -05:00
Kinglykrab
1103d50733
[Commands] Cleanup #setaapts Command. ( #1750 )
...
* [Commands] Cleanup #setaapts Command.
- Cleanup message and logic.
- Increase cap from 5,000 to 2,000,000,000.
* Update command.cpp
* Update command.cpp
* Cleanup.
* Cleanup.
2021-11-14 14:06:57 -05:00
Kinglykrab
ddcb184183
[Commands] Cleanup #stun Command. ( #1749 )
...
* [Commands] Cleanup #stun Command.
- Cleanup message.
- Add ConvertSecondsToTime() to string_util.h and convert Quest API Methods to use helper.
* Add days to ConvertSecondsToTime() and cleanup logic.
* Cleanup.
* Typo.
* Cleanup.
* Cleanup.
2021-11-14 14:05:44 -05:00
Kinglykrab
90bcc5f03c
[Commands] Cleanup #zonelock Command. ( #1711 )
...
* [Commands] Cleanup #zonelock Command.
- Add support for Zone IDs.
- Cleanup messages and display.
- Fix dangling pointer in ZoneLongName() helper method so name is displayed properly.
* Add account status enum.
* Typo.
* Typo.
* Convert list to constants.
* Cleanup.
* Update command.cpp
* Fix compile.
2021-11-14 11:32:08 -05:00
JJ
27f8ae3999
[Hotfix] Optional SQL for existing servers ( #1756 )
2021-11-13 22:15:49 -05:00
JJ
80a891e541
Make room for host names.
...
Since m_remote_ip_address does not resolve IP address, world server may still use host name.
2021-11-13 20:14:39 -05:00
KayenEQ
776449aa3d
[Spells] Update to IsCombatProc checks ( #1741 )
...
* Update spells.cpp
* Update spells.cpp
* Update spells.cpp
* Update spells.cpp
2021-11-13 14:47:42 -05:00
JJ
cef352f0ac
[Bug Fix] Removed unused pointer. Fixes #157 . ( #1748 )
2021-11-13 10:39:35 -05:00
Kinglykrab
e8607a0c78
[Commands] Cleanup #checklos Command. ( #1744 )
...
- Cleanup message and logic.
2021-11-13 05:25:58 -05:00
Kinglykrab
9c55cf9a8e
[Bug Fix] Loginserver Error String Constants. ( #1747 )
...
- Constant was named after Windows macro.
2021-11-13 02:00:45 -05:00
Chris Miles
a9d1034298
[Loginserver] Worldserver Name Sanitization ( #1739 )
...
* Sanitize bad words in server names
* Add config options and enforcement for dev/test servers and servers starting with a special character
* Refine bad word logic
* Add installer to dev/test servers
* Change server prefixes
* Special char prefix
* Formatting
* Remove multi words
* Add server types enum
* Add error constants
* Remove sanitize from world level
* Use strn0cpy
2021-11-12 23:02:05 -06:00
Kinglykrab
8b83a13560
[Rules] Add Archery/Throwing Ammo Consumption Rules. ( #1743 )
...
- Add RULE_BOOL(Combat, ArcheryConsumesAmmo, true, "Set to false to disable Archery Ammo Consumption")
- Add RULE_BOOL(Combat, ThrowingConsumesAmmo, true, "Set to false to disable Throwing Ammo Consumption")
2021-11-12 23:04:09 -05:00
hg
3c87480553
[Quest API] Add back removed lua class properties ( #1742 )
...
Fixes regression from 7b6decae
2021-11-12 21:16:39 -05:00
Kinglykrab
1a69218045
[Commands] Cleanup #faction Command. ( #1716 )
...
* [Commands] Cleanup #faction Command.
- Remove find subcommand as we have #findfaction now.
- Cleanup message.
* Remove #setfaction message.
2021-11-12 18:28:14 -05:00
Kinglykrab
e870ee5e0e
[Commands] Remove #logtest Command. ( #1731 )
...
- Remove unused/deprecated command.
2021-11-12 14:46:05 -06:00
Kinglykrab
908c6c18af
[Commands] Cleanup #findnpctype Command. ( #1714 )
...
* [Commands] Cleanup #findnpctype Command.
- Cleanup message and logic.
* Logic cleanup, found_count is always greater than 0.
* Fix order.
* Add return.
2021-11-12 09:19:43 -05:00
Kinglykrab
f591378ed3
[Commands] Cleanup #viewnpctype Command. ( #1713 )
...
* [Commands] Cleanup #viewnpctype Command.
- Create a temporary NPC to use ShowStats() instead.
- Cleanup message.
* Cleanup spawn/emote/textures logic in ShowStats() when unused.
* Formatting.
2021-11-12 08:58:43 -05:00
Kinglykrab
0997a8a31e
[Commands] Remove #bug Command. ( #1737 )
...
- Remove unused command.
2021-11-12 08:23:22 -05:00
Kinglykrab
0bf6627fb0
[Commands] Remove #crashtest Command. ( #1734 )
...
- Remove unused/deprecated command.
2021-11-12 08:19:58 -05:00
Kinglykrab
fb8539e679
[Commands] Cleanup #endurance Command. ( #1719 )
...
- Add message.
2021-11-12 08:11:45 -05:00
Kinglykrab
f8c2e85f3e
[Commands] Cleanup #mana Command. ( #1718 )
...
* [Commands] Cleanup #mana Command.
- Add message.
* Add self message.
2021-11-12 08:10:43 -05:00
Kinglykrab
110d2a0e10
[Commands] Cleanup #heal Command. ( #1717 )
...
* [Commands] Cleanup #heal Command.
- Add message.
* Remove target requirement.
* Add self message.
* Typo.
2021-11-12 08:06:53 -05:00
Kinglykrab
8d9415191a
[Commands] Cleanup #reloadquest Command. ( #1712 )
...
- Cleanup message and logic.
2021-11-12 07:42:22 -05:00
Kinglykrab
7178a7e55d
[Commands] Remove #clearinvsnapshots Command. ( #1736 )
...
* [Commands] Remove #clearinvsnapshots Command.
- Remove unused command.
* Web editor conflict fail
Co-authored-by: JJ <3617814+joligario@users.noreply.github.com>
2021-11-12 07:41:46 -05:00
Kinglykrab
9e8d03d92d
[Commands] Remove #connectworldserver Command. ( #1735 )
...
- Remove unused command.
2021-11-12 05:58:18 -05:00
Kinglykrab
f4a70eff43
[Commands] Remove #d1 Command. ( #1733 )
...
- Remove unused command.
2021-11-12 05:58:01 -05:00