Releases: Pshy0/pshy_merge
v0.11.1
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
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
.
- Function
- The help pages list is now split so it can still display many pages.
- Fixed
pshy.enums.keycodes
andpshy.enums.keynames
being defined in the wrong scope. - Fixed bugs in the anticheat.
v0.10.20
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.
- Added command
-
Removed the translation module (unused and suboptimal, moved to experimental).
-
Moved functions from
pshy.images.list
topshy.images.searchimage
andpshy.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
frompshy.debug.debugeventstiming
into!debugtimingsprint
and!debugtimingsreset
inpshy.debug.timing
-
Added
!debugtimingslog
to print debug timings to log instead of chat. -
Renamed module
debugeventstiming
toeventstiming
. -
Fixed the emulator not overriding
os.time
(fixes errors when runningmake test
). -
Other fixes.
-
Full Changelog: v0.10.19...v0.10.20
v0.10.19
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
andeventModuleDisabled
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
v0.10.17
v0.10.16
v0.10.15
v0.10.14
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).