LunaCore 0.13.0
Warning: Breaking changes
Changelog
- Moved
Game.EventtoCore.Event - Events have been moved from the Event module, now events are grouped into submodules according to their functionality
- Moved event
OnKeyPressedtoGame.Gamepad.OnKeyPressed - Moved event
OnKeyDowntoGame.Gamepad.OnKeyDown - Moved event
OnKeyReleasedtoGame.Gamepad.OnKeyReleased - Moved event
OnKeyReleasedtoGame.Gamepad.OnKeyReleased - Moved event
OnGameRegisterItemstoGame.Items.OnRegisterItems - Moved event
OnGameRegisterItemsTexturestoGame.Items.OnRegisterItemsTextures - Moved event
OnGameRegisterCreativeItemstoGame.Items.OnRegisterCreativeItems - Added Memory signed variants functions
- Write memory functions for unsigned values now will write the raw data if a negative value is passed instead of rounding it to 0
- Added
Core.Memory.mallocandCore.Memory.freeto allocate raw memory for advanced use - Added
Core.Memory.callfunction that allows to define a C function and call it if its offset is known (check examples) - Added
Core._VERSIONthat tells the current version of the core in a formated stringMAJ.MIN.PAT - Added
Game.LocalPlayer.Position.add,Game.LocalPlayer.Velocity.addfunctions - Fixed
Game.LocalPlayer.Position.get,Game.LocalPlayer.Velocity.getfunctions, now they will return 3 values instead of just one - Globals
GameandCoreshould now be more protected from being overwritten - Added option to the plugin menu to toggle Lua memory usage display information, now memory usage will be hidden by default every time you start the game
Note: Working on the repo wiki
Known bugs
High: May break scripts or crash the game
Mid: Can break scripts logic or have unwanted behavior
Low: Doesn't break scripts logic but can have unwanted behavior
- Mid: Sometimes present.
Game.LocalPlayer.CurrentHungeroffset can change breaking functionality, changing the world can fix it - Low: Always present. Changing a block for an item (or vice versa) bugs the item render in hand
- Mid: Sometimes present.
Game.LocalPlayer.Camera.FOVoffset can change breaking some functionality - Mid: On some consoles the plugin may not detect the buttons ZL and ZR. This does not affect the game, only the scripting system