Skip to content

Version 0.15

Latest

Choose a tag to compare

@Elektryk-Andrzej Elektryk-Andrzej released this 08 Mar 13:05

CustomCommand flag additions

  • *command local variable
  • ResetGlobalCommandCooldown method
  • ResetPlayerCommandCooldown method
  • -- invalidRankMessage argument
  • -- neededPermission argument
  • -- noPermissionMessage argument
  • -- onCooldownMessage argument
  • -- globalCooldown argument
  • -- onGlobalCooldownMessage argument
  • Optional arguments for -- arguments option

Enum flag changes

(not to be confused with script flags)

  • Added new syntax to define multiple enum values for the same argument using | syntax
    Instead of using ToFlags method, use the Val1|Val2|Val3 system instead.
    Example: SetPrimitiveObjectProperties *toy _ _ Collidable|Visible
    Be sure to NOT put a space there! Doing so will result in SER viewing them as different arguments.
  • Removed ToFlags method

Fixes

  • Fixed damage option of DamageInfo method returning text instead of a number
  • Fixed the description in text arguments saying that text can be provided without quotes when not
  • Fixed Chance method having inverted chance of returning true
  • Fixed stop keyword crashing the server if used in specific circumstances
  • Fixed RespawnWaveInfo not being compatible with all wave references (@Tosoks67)
  • Fixed EXILED being required for SER to load (@Tosoks67)
  • Fixed some enums not being searchable using serhelp command
  • Fixed obsolete enum values being listed as available to use
  • Fixed events tring to create invalid variables
  • Fixed TPRoom method erroring when not providing optional arguments
  • Fixed incorrect tracking of running scripts resulting in "ghost scripts"
  • Fixed OnEvent flag not erroring when provided with an incorrect event name

Additions

  • Added default value of RemoteAdmin for lock reason argument in LockElevator method
  • Added more example scripts
  • Added attempt and on_error statements (@Tosoks67)
  • Added Overlapping method
  • Added FriendlyFire method

Improvements

  • Checking if script is attempting to use a yielding method inside {} brackets
  • Better checking of inputs in enum arguments
  • Printing of StaticTextValue and DynamicTextValue types in method help
  • If script has multiple errors, all of them will be provided in a list, instead of only the first one
  • Added hint to use serhelp <enum name> in enum argument
  • Better error message formatting for invalid tokens
  • Custom error for when an invalid method is used inside {} brackets