Commit graph

28 commits

Author SHA1 Message Date
claywar
55de6a5440
Fix issues reported in command scripts
Additional nil checks
2024-08-25 12:01:53 -04:00
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
TeoTwawki
1f0a0c3843 Convert zone types field to a bitmask
- Changed from enum class to just enum to ease bitwise maths.
- Changed `GetType()` and `getType()` to `GetTypeMask()` and `getTypeMask()`
- Added zonetypes for signet/sanction/sigil/ionis in the mask.
- Updated all core references to use bitwise checks. values can now be combined.
- Did update existing enum values in zone settings, but did not add new enums to the values in zone_settings yet

TODO: template so that zonetype can be enum class and still used as a mask. Would like all enum to be typesafe eventually, but far out of scope for this PR.
2023-08-15 11:42:19 -04:00
claywar
e78f81f68c
[chore] Remove unnecessary comments and newlines
Additional newlines removed, fix roe references


Fix multiple newlines
2023-08-07 13:57:37 -04:00
claywar
1468caf24a
[chore] Remove all requires for scripts/globals/zone 2023-08-07 13:57:37 -04:00
claywar
894bf524f4
[chore] Add newline after end at same indent level (1) 2022-11-22 14:39:00 -05:00
claywar
2e936f9e35
[chore] Remove semicolons at the end of lua script lines 2022-10-21 16:38:48 -04:00
claywar
f536f4ede9
[lua] Format tables from CI - 6 2022-09-17 18:57:08 -04:00
David Norris
443c097c90 style 2021-10-19 13:35:33 -05:00
David Norris
9a0729618f branding 2021-10-18 14:31:06 -05:00
David Norris
45155a0b9b be able to spawn mobs in instances 2021-10-18 13:29:59 -05:00
wrenffxi
0ed5cb8f59 [sol refactor] scripts/commands headings 2021-01-18 13:34:00 -05:00
Mark Klara
c52431e2c4
Remove trailing whitespace from script/ files. (#426)
Commands used (on Mac):
```
  export LC_CTYPE=C
  export LANG=C
  find . -not \( -name .svn -prune -o -name .git -prune \) -type f -print0 | xargs -0 sed -i '' -E "s/[[:space:]]*$//"
```
2020-03-20 01:41:42 +00: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
Ninjistix
3b629bcd2d update comments in cmds to reflect change from @ to ! 2017-08-22 20:44:32 -04:00
wrenffxi
06a6a2b249 command input validation and standardization [s] 2017-08-08 17:23:52 -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
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
teschnei
56a68548b5 CORE: added support for mobs to use a mobskill (or multiple) in place of their auto attack (wyrms in flight, ironclad)
fixed getExtraVar with 3 vars
added setFlag to modify the flag of a status effect via script
changed hasStatusEffect to not check the effect icon
SCRIPTS: modified spawnmob to take the intended optional arguments
added EFFECT_ALL_MISS to make all attacks miss (instead of evade like Perfect Dodge)
added Tiamat mobskill scripts
added Tiamat fight logic
SQL: split Tiamat from Wyrm into her own family
added Tiamat mob_skills entries
2014-01-12 22:05:08 +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
diatanato
30a57978fd обновил lua-метод SpawnMob 2012-01-02 16:50:45 +00:00
diatanato
2df4894906 @wallhack - проходим сквозь стены 2011-12-26 20:17:04 +00:00
onetimeffxi
7a160120a7 2011-09-16 15:56:24 +00:00