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
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
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
Kinglykrab
e8607a0c78
[Commands] Cleanup #checklos Command. ( #1744 )
...
- Cleanup message and logic.
2021-11-13 05:25:58 -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
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
575237d764
[Commands] Remove #mysqltest Command. ( #1729 )
...
- Removed unused/deprecated command.
2021-11-12 05:57:09 -05:00
Kinglykrab
dc1c7bb284
[Commands] Remove #serversidename Command. ( #1720 )
...
- Remove unused command.
2021-11-12 05:53:44 -05:00
KayenEQ
099759c477
[Commands] #tune command rewrite ( #1677 )
...
* tune updates
* Update tune.cpp
* tune update
* updates
* updates
* less zero
* update
* up
* u
* Update tune.cpp
* Update tune.cpp
* avoidance working
* accuracy
* save1
* Update tune.cpp
* override
* Removed Old Tune Code
* cleanup1
* up
* finished v1
* Update command.cpp
* Update command.cpp
* spellfix
* Update command.cpp
* remove test command
* added SYNC comments
Hopefully if anyone changes these functions they will change the corresponding tune
* Tune_ to Tune
Co-authored-by: Akkadius <akkadius1@gmail.com>
2021-11-11 19:41:59 -06:00
Kinglykrab
fa07064466
[Commands] Cleanup #cvs Command. ( #1709 )
...
* [Commands] Cleanup #cvs Command.
- Cleanup message and display.
- Add Total Clients to message.
- Add Unique IPs to message.
* Formatting.
* Formatting.
2021-11-11 16:48:50 -05:00
Kinglykrab
994ef712b2
[Commands] Cleanup #cast Command. ( #1706 )
...
* [Commands] Cleanup #cast Command.
- Cleanup message.
* Add optional cast non-instant parameter.
- Fix cast time.
* Fix message.
2021-11-11 16:48:35 -05:00
Kinglykrab
990729fe21
[Commands] Cleanup #distance Command. ( #1707 )
...
- Cleanup message.
2021-11-10 21:21:06 -05:00
Kinglykrab
aac0dd2993
[Commands] Cleanup #setlanguage Command. ( #1705 )
...
* [Commands] Cleanup #setlanguage Command.
- Cleanup message and lofic.
- Add GetLanguageName() helper and GetLanguageMap() for future use.
* Optimize GetLanguageName().
2021-11-10 21:20:51 -05:00
Kinglykrab
b17c24d2df
[Commands] Cleanup #setskill Command. ( #1704 )
...
* [Commands] Cleanup #setskill Command.
- Cleanup message and logic.
* Optimize GetSkillName().
2021-11-10 21:20:40 -05:00
Kinglykrab
6661672e2d
[Commands] Cleanup #showskills Command. ( #1698 )
...
* [Commands] Cleanup #showskills Command.
- Cleanup display and use GetSkillName() helper method.
* Add optional "all" parameter to show all skills.
* Formatting.
* Formatting.
* Target, not c.
2021-11-09 23:24:46 -05:00
Kinglykrab
b5391b9110
[Commands] Cleanup #showstats Command. ( #1700 )
...
- Convert Mob::ShowStats() to use the #npcstats code and make #npcstats use Mob::ShowStats().
2021-11-09 21:25:42 -05:00
Kinglykrab
e306059f43
[Commands] Cleanup #showspellslist Command. ( #1703 )
...
- Cleanup messages and display.
2021-11-09 21:24:34 -05:00
Kinglykrab
a64e326c68
[Commands] Cleanup #viewzoneloot Command. ( #1702 )
...
- Cleanup message logic.
2021-11-09 21:24:25 -05:00
Kinglykrab
605b3d3a27
[Commands] Cleanup #fov Command. ( #1701 )
...
- Cleanup message.
2021-11-09 21:24:17 -05:00
Kinglykrab
248e6d44db
[Commands] Cleanup #npccast Command. ( #1699 )
...
- Cleanup messages and display.
2021-11-09 21:23:48 -05:00
Kinglykrab
328a94e2d4
[Commands] Add #findfaction Command. ( #1697 )
...
- Add #findfaction [search criteria] command.
- Cleanup other #find command messages/logic.
- Add GetMaxFaction() helper method.
- Add races.h defines for races 725-732.
2021-11-09 21:23:38 -05:00
Kinglykrab
0b283e60db
[Commands] Remove #listnpcs Command. ( #1696 )
...
- Unused command.
2021-11-07 18:32:33 -05:00
Kinglykrab
90871cb3d9
[Commands] Cleanup #worldshutdown Command. ( #1694 )
...
- Cleanup system messages and magic numbers.
2021-11-07 17:21:42 -05:00
Kinglykrab
f8cbc2faed
[Commands] Further implement #worldwide functionality. ( #1693 )
...
- Add #worldwide remove [Spell ID] - Removes a spell from player buffs worldwide.
- Add #worldwide message [Message] - Sends a worldwide message in Chat::Yellow.
- Add #worldwide move [Zone ID] or #worldwide move [Zone Short Name] - Moves every player in the game to the specified zone.
- Add #worldwide moveinstance [Instance ID] - Moves every player in the game to the specified instance.
- All but `#worldwide message` send a message to sender client.
2021-11-07 17:21:22 -05:00
Kinglykrab
062fb73f03
[Commands] Remove #test, #spon, and #spoff Commands. ( #1686 )
...
- These commands are unused or outdated.
2021-11-07 17:20:55 -05:00
Kinglykrab
194c71727d
[Commands] Cleanup #npcstats Command. ( #1690 )
...
- Cleanup menu and add stats that were not there before.
- Only display some data if necessary (i.e only show loot/money if they have loot/money)
- Add skill name helper method.
- Add faction name helper method.
- Add Charmed stats and other getter methods.
- Cleanup QueryLoot() method.
2021-11-07 17:20:43 -05:00
Kinglykrab
e1de3d2ae0
[Commands] Cleanup #zstats Command. ( #1687 )
...
- Add new data from NewZone_Struct to command and clean up display.
2021-11-07 17:15:03 -05:00
Kinglykrab
bc82b897c5
[Commands] Add #emptyinventory Command. ( #1684 )
...
* [Commands] Add #emptyinventory Command.
- Allows you empty you or your target's inventory completely. (Equipment, General, Bank, and Shared Bank)
- Fixed an issue not allowing quest::removeitem(item_id, quanity) to remove 0 charge items.
- Fixed an issue not allowing eq.remove_item(item_id, quanity) to remove 0 charge items.
* Update command.cpp
* Update client.cpp
2021-11-06 22:34:04 -04:00
Kinglykrab
8d8301fbd7
[Commands] Add #findskill [search criteria] Command. ( #1674 )
...
* [Commands] Add #findskill [search criteria] Command.
- Allows you to search for skills by ID or partial name.
* Add error message.
* Update command.cpp
* Update command.cpp
* Update command.cpp
2021-11-06 17:35:43 -04:00
Kinglykrab
b4aa401210
[Commands] Add #findtask [search criteria] Command. ( #1675 )
...
* [Commands] Add #findtask [search criteria] Command.
- Allows you to search for Tasks by ID or partial name.
* Update command.cpp
2021-11-06 17:35:37 -04:00
Kinglykrab
9d515b20f2
[Quest API] Simplify bulk Scribe and Train logic. ( #1660 )
...
* [Quest API] Simplify bulk Scribe and Train logic.
- Add $client->GetFreeDisciplineSlot(starting_slot) to Perl.
- Add $client->ScribeSpells(min_level, max_level) to Perl.
- Add $client->LearnDisciplines(min_level, max_level) to Perl.
- Add client:GetNextAvailableDisciplineSlot(starting_slot) to Lua.
- Add client:ScribeSpells(min_level, max_level) to Lua.
- Add client:LearnDisciplines(min_level, max_level) to Lua.
Convert quest::scribespells() and quest::traindisc() to use new ScribeSpells and LearnDisciplines methods for consistency.
* Update command.cpp
2021-11-03 18:31:13 -04:00
Kinglykrab
17aaab1f9d
[Quest API] Add Spell methods to Perl. ( #1631 )
...
* [Quest API] Add Spell methods to Perl.
- Add quest::getspell(spell_id) to Perl.
- Add eq.get_spell(spell_id) to Lua.
These methods return a spell object.
Exports $spell object references to spell events.
* Formatting.
* Remove comment.
* Update spdat.cpp
* Amplication typo.
* Fix conflicts.
* Remove repository changes.
* Fix typing.
* Update spell_effects.cpp
2021-11-03 17:47:15 -04:00
Chris Miles
f912814e13
[Commands] Fix Z on #spawnfix ( #1647 )
...
* Fix Z on spawnfix
* Slight adjustment
2021-10-30 00:54:33 -05:00
Chris Miles
7230714cbc
[Spells/Disciplines] Bulk Train / Scribe ( #1640 )
...
* Bulk scribe spells
* Add bulk disc training
* Remove bulk from non bulk method
* PR adjustments
2021-10-27 21:45:27 -04:00
Kinglykrab
1c5f9f2e0f
[Bug Fix] Fix possible #proximity crash. ( #1639 )
2021-10-24 17:50:43 -04:00
Logan
5eb95a95d0
[Rules] Added rule to extend max race id ( #1630 )
...
* Added rule to extend max race id
* Cleaned fmt of MaxRaceID
* Added format command
* Updated MaxRaceID default to be 732
2021-10-24 15:53:49 -05:00
Kinglykrab
6689b57a52
[Commands] Convert item ID search to use saylinks similar to name search. ( #1589 )
2021-10-08 05:41:37 -04:00