Commit graph

35 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
4c09f8e3b8
Use zone enum for send and zone commands, add Escha Ru'Aun, Reisenjima 2023-09-07 12:36:31 -04: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
1468caf24a
[chore] Remove all requires for scripts/globals/zone 2023-08-07 13:57:37 -04:00
claywar
5a517f5c95
[chore] Remove underscores from local var declarations 2022-12-03 09:20:16 -05:00
claywar
894bf524f4
[chore] Add newline after end at same indent level (1) 2022-11-22 14:39:00 -05:00
claywar
a24cee9a62
[chore] Remove outer parens from Lua conditions (12) 2022-11-04 10:44:34 -04:00
claywar
15605fd49c
[chore] Add required padding for operators and comparators 2022-10-23 14:13:26 -04:00
Zach Toogood
7e93e972f7 [lua] Various linting changes 2021-05-28 17:49:13 +03: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
ibm2431
29d3623a2f Insert spaces between commas inside scripts 2020-07-27 20:18:00 -07: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
TeoTwawki
96f6ca16cb Misc odds and ends
1. Fix the invalid variable in bcnm.lua
2. correct typing in lua/lua_baseentity.cpp for showPosition()
3. Eliminate magic numbering for zone ID checks that look for the last available zoneID - MAX_ZONE is now a thing.
2019-06-25 21:31:48 -04:00
wrenffxi
6939314d23 increase MAX_ZONEID in core and a few places where it's hard-coded in LUA
retail capture of two NPCs
Walk of Echoes [P] music and weather
2019-06-19 12:11:16 -04:00
Zynjec
3a94b1530d
Zone updated with proper zone id range. 2018-04-24 12:44:01 -04:00
Tyler Schneider
77875f2318 Fixed a few things
Ra'kaznar music
Several !zone auto-translate mappings
Cleaned up login code for zone ID
2017-09-21 23:54:57 -06:00
Tahir Akhlaq
bca537af29 fixed zone command not allowing reisenjima 2017-09-18 19:07:41 +01:00
Ninjistix
3b629bcd2d update comments in cmds to reflect change from @ to ! 2017-08-22 20:44:32 -04:00
wrenffxi
f2d21887d8 command input validation and standardization [send, zone] 2017-08-08 14:43:50 -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
TeoTwawki
8209f73159 Line ends, round 2. Fight! 2016-01-16 01:26:33 -05:00
some1here
c1a783df06 @zone add of Escha - Zi'Tah
added Escha - Zi'Tah
2015-10-20 21:26:02 -06: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
atom0s
66e4669c33 SCRIPT: Updated @zone command script to properly work for all auto-translated zones. 2014-04-05 21:26:29 -07: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
linkandentity
ad8afcde5f SCRIPTS: Added some null checks to @zone, @additem and @goto to prevent crashes.
CORE: Added quad attack cap.
2013-12-23 00:43:36 +00:00
PrBlahBlahtson
3d0e40f1ec SCRIPTS: Sky teleport in Hall of the Gods will now be a bit more strict about who gets through.
- Curing/Divine Waltz will now use restoreHP(), which is safer to use around corpses.
CORE: Added a few missing spells to @addallspells
2013-06-15 02:17:21 +00:00
PrBlahBlahtson
0c77e23aca SCRIPTS: @zone will now accept most auto-translate zone names, with a few exceptions. This should save GMs and developers some time. 2013-06-13 01:08:11 +00:00
diatanato
2df4894906 @wallhack - проходим сквозь стены 2011-12-26 20:17:04 +00:00
onetimeffxi
7a160120a7 2011-09-16 15:56:24 +00:00