Skip to content

Version 0.14.1 - Experimental 3

Pre-release
Pre-release

Choose a tag to compare

@Elektryk-Andrzej Elektryk-Andrzej released this 06 Mar 18:55
· 40 commits to dev since this release

Fixes

  • Fixed incorrect tracking of running scripts resulting in "ghost scripts"
  • Fixed OnEvent flag not erroring when provided with an incorrect event name

Improvements

  • Better error message formatting for invalid tokens
  • Custom error for when an invalid method is used inside {} brackets

Removed

  • ToFlags method

Enum flag rework

(not to be confused with script flags)

Instead of using ToFlags to include multiple enum values, you can now use the | (pipe) operator like so:
SetPrimitiveObjectProperties *toy _ _ Collidable|Visible


Changes from version 0.14.1 - experimental 2

Fixes

  • Fixed error when trying to get a friendly name of a value
  • Fixed error when some events tried to create invalid variables
  • Fixed TPRoom method erroring when not providing optional arguments

Added

  • FriendlyFire method

Changes from version 0.14.1 - experimental 1

Fixes

  • damage option of DamageInfo method returning text instead of a number
  • Description in text arguments saying that text can be provided without quotes when not
  • Chance method having inverted chance of returning true
  • stop keyword crashing the server if used in specific circumstances
  • RespawnWaveInfo not being compatible with all wave references (@Tosoks67)
  • EXILED being required for SER to load (@Tosoks67)
  • Some enums not being searchable using serhelp command
  • Obsolete enum values wont be listed as available to use

Additions

  • Default value of RemoteAdmin for lock reason argument in LockElevator method
  • More example scripts
  • attempt and on_error statements (@Tosoks67)
  • -- invalidRankMessage argument for CustomCommand flag
  • Overlapping 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