Skip to content

Releases: Pshy0/pshy_merge

v0.11.1

12 Jan 16:46
Compare
Choose a tag to compare

Changes:

  • Compiler output is now a bit smaller.
  • Fixed --include-sources not putting the sources in the right table.
  • Fixed the compiler not checking module names in their header in some cases.
  • The compiler will no longer minimize some thirdparty files (for compatibility).
  • Removed some compiler deprecation warnings about old removed features.
  • Updated the fasttime game script:
    • Added room and game commands.
    • Added a !rmtime <player> command to delete a player time.
    • Added a !spawnnewplayers <enabled> command to enable or disable spawning of new players when they join the room.
    • When a player leave the room, their time is now deleted.

Full Changelog: v0.11...v0.11.1

v0.11

11 Jan 23:29
Compare
Choose a tag to compare

Changes:

  • New module pshy.utils.ids to allocate ids:
    • Function Allocate*Id(): allocates an id.
    • Function Reserve*Id(new_id): reserves a specified id.
    • Function Free*Id(old_id): frees an id.
    • Available pools are Popup, ColorPicker, TextArea, PhysicObject, Joint, Bonus.
  • The help pages list is now split so it can still display many pages.
  • Fixed pshy.enums.keycodes and pshy.enums.keynames being defined in the wrong scope.
  • Fixed bugs in the anticheat.

Full changelog since last release.

v0.10.20

10 Jan 23:25
Compare
Choose a tag to compare
v0.10.20 Pre-release
Pre-release

Changes:

  • Added module pshy.tools.afks that find afk players:

    • Added command !afks to see the top afk players and for how long they have been afk.
  • Removed the translation module (unused and suboptimal, moved to experimental).

  • Moved functions from pshy.images.list to pshy.images.searchimage and pshy.images.addimage.

  • Added a module variable __MODULE__, being the module table corresponding to the current module.

  • Modules can now disable themselves from being enabled by dependencies either with --direct-modules (revert with --indirect-modules), or __MODULE__.require_direct_enabling = true.

  • Renamed some compiler options to add a dash - between words.

  • Removed --includesource <module> and --includesources.

  • Added --include-sources and --no-include-sources switches that defines weither or not following modules have their sources added to their module table.

  • The command !modules now show how many times a module is required to be enabled.

  • Fixed an incorrect error message when trying to enable/disable a module that does not exist with !enablemodule and !disablemodule.

  • Fixed disabling a module not disabling events.

  • Improved the accuracy of timings measured by pshy.debug.timing.

  • Norm: pshy.debug.timing now use a namespace (shortcut are still available for measure accuracy).

  • Moved and renamed !eventstimingprint and !eventstimingreset from pshy.debug.debugeventstiming into !debugtimingsprint and !debugtimingsreset in pshy.debug.timing

  • Added !debugtimingslog to print debug timings to log instead of chat.

  • Renamed module debugeventstiming to eventstiming.

  • Fixed the emulator not overriding os.time (fixes errors when running make test).

  • Other fixes.

  • Full Changelog: v0.10.19...v0.10.20

v0.10.19

09 Jan 23:51
Compare
Choose a tag to compare
v0.10.19 Pre-release
Pre-release

Changes:

  • Implemented a safer module enabling/disabling algorithm that handles dependencies properly. Use with !enablemodule <module_name> and !disablemodule <modulename>
  • Added an option --disabled-modules to specify modules to not enable by default (not fully functional yet as events are initially enabled anyway). Revert with --enabled-modules. Note that modules are loaded anyway.
  • Added pshy.debug.playerjoinleave module simulating players joining and leaving immediately.
  • Requiring pshy.debug.glocals now automatically enable the locals table.
  • Fixed eventModuleEnabled and eventModuleDisabled not being called. Possibly.
  • Fixed pshy.debug.debugeventstiming not requiring the commands module (will make life easier).
  • Fixed !eventstimingreset printing useless things to #lua.
  • Fixed pshy.debug.debugeventstiming not measuring some events.

v0.10.18

05 Jan 17:20
Compare
Choose a tag to compare

Changes:

  • Updated TFM version to v8.39.
  • Fixed the event timing debug module.

v0.10.17

21 Dec 10:56
Compare
Choose a tag to compare

Changes:

  • Updated TFM version to v8.36.
  • Updated the emulator.
  • Added a !ping [player] command.

v0.10.16

07 Nov 15:20
Compare
Choose a tag to compare

Changes:

  • Updated TFM version to v8.27.
  • Fix: fixed a compilation warning.
  • Added a few maps to the vs script.
  • The private anticheat was updated (fixes and features).

v0.10.15

22 Oct 14:42
Compare
Choose a tag to compare

Changes:

  • Updated TFM version to v8.25.
  • Fix: Maps backgrounds were sometime blinking in black when changed.
  • There is things you cannot fix.

v0.10.14

15 Oct 13:35
Compare
Choose a tag to compare

Changes:

  • Updated TFM version to v8.24.
  • Fix: !getxml was breaking the map's xml with new lines.
  • Fix: !skip and !next were not working if a mapcode was prefixed with @.
  • Fix: TFM sometime fills an xmlMapInfo that should not even exist (fixed with an override).

v0.10.12

14 Sep 13:05
Compare
Choose a tag to compare

Changes:

  • New: Added a script that blocks players from playing based on their title and shaman mode (disabled by default).
  • Fix: The latest version tag is better chosen when generating the script version number.
  • Other minor changes.