Commit graph

36 commits

Author SHA1 Message Date
sruon
b51a58c147 Migrate addStatusEffect 2026-02-20 18:42:33 -07: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
claywar
5a517f5c95
[chore] Remove underscores from local var declarations 2022-12-03 09:20:16 -05:00
claywar
3660e75405
[chore] Remove excess whitespace in parentheses 2022-11-06 08:16:08 -05:00
claywar
5d490f3e15
[chore] Update lua scripts for required space after comma if not followed by newline 2022-10-21 15:55:16 -04:00
Critical
0f9beccabe Remove entityanimation and resolve nil checks 2022-06-30 18:11:18 -06: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
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
Topaz
3eb1c1570f Remove DSP branding (copyright notices retained) 2019-12-02 12:40:02 -08:00
ibm2431
bafb18abda Mass-replace player:setVar for player:setCharVar 2019-10-17 13:46:59 -07:00
ibm2431
f6d6456ec4 Mass-replace player:getVar for player:getCharVar 2019-10-17 13:40:44 -07:00
wrenffxi
0e2b6467e6 tabled mods 2018-04-28 16:12:32 -04:00
wrenffxi
11a7ad6eb5 for consistency, rename existing dsp tables to singular 2018-04-28 15:23:47 -04:00
TeoTwawki
3ff2fefa3d Table the status effects (#4722)
* Table the status effects

* move EFFECTS table to dsp.effects table per request by Demolish

* fix comments caught in crossfire.

pew pew! MEDIC!
2018-04-02 11:21:47 +01:00
TeoTwawki
d1d29d39b3 I shoudl have caught this earlier..regain doesn't have a tick 2017-11-25 16:54:11 -05:00
TeoTwawki
305dc633c0 Godmode adjustments..
Get rid of warning from godmode's 1 second tick regain.
Also remove sentinel since it redundantly add the same mod invincible uses, and add elemental sforzo
Fixes  #4277
2017-11-25 12:17:12 -05:00
TeoTwawki
1dabc64278 misc script adjustments (missing requires bad indention global variables to local variables and the odd typo or 2)
Plucked from out of that other mass change they were originally included with.
2016-08-10 07:12:55 -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
TeoTwawki
c43f49fd0a Fixed some issues in player.lua ...godmode should work properly both on crossing a zone line and on login. Used getMod() prints, stats are being applied.
The modifiers are no longer +5000 but are still so high you won't know the difference (certain situations were causing dropping godmode to leave the player with inaccurate stats).
2015-01-09 22:19:29 -05: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
PrBlahBlahtson
21fea8d4f3 SCRIPTS: Implemented Deep Breathing on both breath attacks
- Implemented "enhances wyvern breath" equipment in both breath types
- @godmode Sentinel is no longer the worst Sentinel in history (yay UINTs)
- @godmode no longer grants a 3% magic haste when first activated (because Hundred Fists+Chain spell wasn't fast enough!)
SQL: Corrected recast of Deep Breathing
- Item mods for "enhances wyvern breath" gear
- Casting/recast times for Summoning spells now match the DATs, which should fix that odd casting delay
2013-06-08 05:45:12 +00:00
linkandentity
33320296f1 Fix: Mob not facing target until next attack cycle,
Fix: Null in r3108,
Fix: Typo in PM5-1 (Elevator in PsoXja still needs fixing)
Re-Added perfect dodge + invincible back to @godmode
2013-03-23 19:04:44 +00:00
PrBlahBlahtson
7fa5ed86d1 DATABASE:
- Corrected Refulgent arrow element and animation.  Don't commit when tired.
- Added Moongates to Ro'Maeve.
SCRIPTING:
- Added Sentinel.  Damage reduction decays by 5% every 3 seconds for 30 seconds.
- Mob TP moves will now be affected by Damage Taken, Physical Damage Taken, and Magical Damage Taken.
- Moongates will automatically open from midnight to 3 AM, weather and lunar phase permitting. (thanks gedads and kjLotus)
- Further adjustments to @godmode to reduce status effect clutter.  Invulnerability should now be absolute via Sentinel.
2013-01-22 03:07:06 +00:00
PrBlahBlahtson
57904e76cd DATABASE:
- Added Refulgent Arrow
- Corrected animations for Ancient and Warding Circle.  Thank you galkasmash and _Guess for checking that.
- Added slot reservations to Moogle suit.
SCRIPTING:
- A few adjustments to @godmode.  Please be careful with extremely large values for haste.
- Updated Tornado Kick to avoid errors.
- Scripted Refulgent Arrow.
2013-01-21 14:38:15 +00:00
whasf
f5c245cf49 SCRIPTS: More DNC moves
CORE: Logic to handle DNC moves
2013-01-16 01:35:08 +00:00
linkandentity
afadc2763e GM commands:
Fixed an error with @changejob & @changesjob commands

Added some more 'generous' GM commands:
@givegil Link 100    - will give 100 gils to link or the players name
@giveitem Link 17440 - will give link or the player name 1 KC
@giveitem Link 1179 99 - will give link or the player name 99x tools
@setplayerlevel Link 30 - will change links or the player names level to 30

Added manafont & chainspell to godmode.
2012-09-09 00:54:27 +00:00
bluekirby0
71ec78e03e COMMAND: Added in a "godmode" GM command that toggles several effects useful for certain types of testing. 2012-05-19 16:56:18 +00:00