Commit graph

31 commits

Author SHA1 Message Date
claywar
1af0cee384
[type] Add Command type, command script annotations 2024-08-25 10:54:45 -04:00
Zach Toogood
e98de08e90 [core, Lua] Rename PrintToPlayer and PrintToArea to lowercase 2023-12-09 23:54:00 +00:00
claywar
8d17652f97
[chore] Update command scripts to return table
Update remaining commands

Remove unused, and correct missing items
2023-09-02 07:01:35 -04:00
claywar
aa87e30e4d
[chore] Replace double-quote strings with single-quotes 2023-08-28 21:02:36 -04:00
claywar
478d95fd11
[chore] Remove status global requires
Part one of the removal, to be continued

Fix comment alignment
2023-06-01 18:33:34 -04:00
claywar
894bf524f4
[chore] Add newline after end at same indent level (1) 2022-11-22 14:39:00 -05:00
claywar
3660e75405
[chore] Remove excess whitespace in parentheses 2022-11-06 08:16:08 -05:00
claywar
a24cee9a62
[chore] Remove outer parens from Lua conditions (12) 2022-11-04 10:44:34 -04:00
TeoTwawki
09d90643fa Remove "branding" from all lua. 2021-04-01 15:10:15 -04:00
wrenffxi
0ed5cb8f59 [sol refactor] scripts/commands headings 2021-01-18 13:34:00 -05:00
MrHappyAsthma
36fdb3ea7e Bulk remove semicolons from Lua scripts/commands.
This may not actually be every file, but I did the best I could.

Command applied:
    find . -type f -name "*.lua" | xargs -d '\n' sed -i 's/;//g'

Semicolons are not appropriate in Lua per the style guidelines:
    https://github.com/project-topaz/topaz/blob/master/CONTRIBUTING.md
2020-02-19 21:42:47 -08:00
Topaz
3eb1c1570f Remove DSP branding (copyright notices retained) 2019-12-02 12:40:02 -08:00
wrenffxi
f61c2c2591 commands that reference animations and skills switched to use new tables 2018-04-30 20:42:04 -04:00
Ninjistix
3b629bcd2d update comments in cmds to reflect change from @ to ! 2017-08-22 20:44:32 -04:00
wrenffxi
af7be368cd command input validation and standardization [b-c] 2017-08-03 12:31:51 -04:00
TeoTwawki
889a4fc8d3 Fix several command issues:
..The nil checks needed to be for string manipulations..
..A lot of commands were getting the name from the player to get the player from the name still..
..I accidentally committed something I didn't intend to last round when I was eliminating case sensitivity, that's undone now back to how it was..
2017-07-29 18:55:23 -04:00
TeoTwawki
bde0fe7c9b More removals of case sensitivity in GM commands. 2017-07-24 20:55:28 -04:00
Tyler Schneider
41169a5a9c Revert "Deprecated @ symbol use in GM commands. It still works for now alongside its replacement $ and all documentation has been updated."
This reverts commit 88c2a81735.
2016-07-29 08:35:15 -06:00
TeoTwawki
88c2a81735 Deprecated @ symbol use in GM commands. It still works for now alongside its replacement $ and all documentation has been updated.
I cannot guarantee that the automation didn't mangle the human readability of a line or two someplace, but I did make sure the console log was clean of errors after.

Also, during this process a great many script errors were spotted. Most incidents were missing requires in quest scripts and these are now corrected.

Reasoning:
Many modern sites and services use the AT symbol (`@`) to direct messages to users, including the service currently hosting our repository. Someone unfamiliar with this (or simply doesn't consider it or doesn't care) can easily create situations where persons not involved in the project could be spammed.
2016-07-29 01:49:37 -04:00
Tahir Akhlaq
a896910982 commands can now use global vars for arguments
- added animation enums to status.lua
- added target to wallhack
- changed a few commands to take string for argument to allow hex params
2016-05-04 22:32:43 +01:00
TeoTwawki
8209f73159 Line ends, round 2. Fight! 2016-01-16 01:26:33 -05:00
teschnei
d2557c5bc0 SCRIPTS: cleaned up GM commands
removed setpvp as its binding was removed already
removed deprecated resetplayer
2015-04-29 17:21:36 -06:00
TeoTwawki
0b00172d69 Modified several GM commands to be capable of being used on a target or self, rather than requiring separate commands for each. If no target is specified, the command will target the user. Deleted givekeyitem since addkeyitem now covers its functionality.
Renamed giveexperiance to givexp, and renamed resetplayer to posfix. The resetplayer command will now print a reminder to use the new command name.

Added ability to handle augments to giveitem and fixed a textIDs issue (it was fetching users zone instead of target when printing message to target).
Could not merge giveitem and additem, thats to many params for me to think about messing with.

Added commands to remove spells, gil, and exp without needing to edit database, and added mobhere, npchere, send, and ah commands.

Took the liberty of removing my old forum name from several commands I had shared, and placed my GitHub username in its place.
2015-01-09 21:05:15 -05:00
atom0s
c90ca4f8ee SCRIPT: Fixed capskill from crashing, also corrected some derp I did before. 2014-01-04 10:53:55 +00:00
atom0s
64d91c454a CORE: Refactored/recoded command handler to be entirely dynamic.
CORE: GM commands are now loaded/ran at runtime allowing GMs to add/remove commands on the fly during runtime.
CORE: Removed commands.conf as it is no longer used.
SCRIPTS: Recoded all commands to follow suit with the new command system.
SCRIPTS: Modified a handful of scripts to have more error checks to prevent debug breaks.
SCRIPTS: Modified a handful of scripts to better handle their purpose.
2013-12-29 00:11:55 +00:00
xdemolish
a803c3aeab CORE / SQL / SCRIPTS: Added teleport effect so player is teleported once the animation has finished. All teleport/warp spells add the hidden effect and teleport the players once it wears. Escape spell zone checks moved to teleports.lua.
CORE: Updated capAllSkills to include blu and geomancy.
SCRIPTS: Updated @capskill command to include geomancy. Updated status.lua with Action IDs.

CORE / SQL: Added new column to skill_caps.
SQL: Added non-job-specific traits to Rune Fencer and Geomancer. Added weapon skills to Rune Fencer and Geomancer.
2013-12-01 20:45:07 +00:00
addnad
d0fed6171f CORE: New lua binding to send a message to a player (System Announcement), useful for debugging, or confirmation of commands.
SCRIPTS: A bit of cleaning and adding of the new PrintToPlayer binding.
2013-06-19 14:39:53 +00:00
kegsay
3a993d07bc CORE: Blue magic scripting infrastructure in place and looking awesome.
The general paradigm here is that the individual spell scripts should be merely data wrappers, providing only the data for their spell and letting the new global file bluemagic.lua handle the heavy lifting. Of course, status effects will still need to be added in the individual spell script. The calculations are based off tried and tested formulas from wiki. Edited most BLU magic 'damaging' spells to their correct message ID. Added helldive.lua as an example script (I will add more shortly).
2013-02-02 15:23:55 +00:00
linkandentity
5756f2b6ab CORE: Merits. Can now buy and remove upgrades. TODO: apply upgrades to players stats. 2012-10-30 18:02:45 +00:00
bluekirby0
49756b08c0 SCRIPT: Added divine skill to @capskill GM command (thanks Tiddus) 2012-08-04 19:13:57 +00:00
kegsay
7328298376 TWEAKS :: You must now face the monster in order to block with a shield or parry an attack. A new GM command has been added "@capskill <name>" where name is the skillname e.g. "@capskill sword". Also added preliminary structure for blood pacts (no changes yet). 2012-05-31 20:45:52 +00:00