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
Kinglykrab
f9ec45c7ff
[Commands] Remove #ipc Command. ( #1732 )
...
- Remove unused command.
2021-11-12 05:57:43 -05:00
Kinglykrab
cf8bf9e4fc
[Commands] Remove #manastat Command. ( #1730 )
...
- Remove unused command.
2021-11-12 05:57:25 -05:00
Kinglykrab
575237d764
[Commands] Remove #mysqltest Command. ( #1729 )
...
- Removed unused/deprecated command.
2021-11-12 05:57:09 -05:00
Kinglykrab
e12e8df3ef
[Commands] Remove #numauths Command. ( #1728 )
...
- Remove unused command.
2021-11-12 05:56:50 -05:00
Kinglykrab
8d7b7d6cc4
[Commands] Remove #optest Command. ( #1727 )
...
- Remove unused command.
2021-11-12 05:56:32 -05:00
Kinglykrab
6f79ea117c
[Commands] Remove #refundaa Command. ( #1726 )
...
- Remove unused command.
2021-11-12 05:56:11 -05:00
Kinglykrab
7b022502da
[Commands] Remove #qtest Command. ( #1725 )
...
- Remove unused command.
2021-11-12 05:55:54 -05:00
Kinglykrab
4a376b7859
[Commands] Remove #testspawn and #testspawnkill Commands. ( #1724 )
...
- Remove unused commands.
2021-11-12 05:55:35 -05:00
Kinglykrab
87cdf7feb1
[Commands] Remove #synctod Command. ( #1723 )
...
- Remove unused command.
2021-11-12 05:55:06 -05:00
Kinglykrab
caf32290b8
[Commands] Remove #sendop Command. ( #1722 )
...
- Remove unused command.
2021-11-12 05:54:44 -05:00
JJ
7d495c56b3
[Logs] Show local_address in correct location ( #1721 )
2021-11-12 05:54:21 -05:00
Kinglykrab
dc1c7bb284
[Commands] Remove #serversidename Command. ( #1720 )
...
- Remove unused command.
2021-11-12 05:53:44 -05:00
Chris Miles
a6c85babfc
[Loginserver] Add config option to display player count ( #1738 )
...
* [Loginserver] Add config option to display player count
* Update name
2021-11-11 22:38:41 -06:00