π οΈFix Interactable Points
This guide explains how to use the FixShellOffsets configuration option to fix interactable points that are incorrectly positioned on the Z-axis (vertical axis) in shell properties.
What is FixShellOffsets?
The FixShellOffsets feature is a migration tool designed to fix interactable points (such as inventory, wardrobe, etc.) that are positioned incorrectly on the Z-axis in shell properties. This issue can occur when upgrading from older versions of nolag_properties to version 2.4.0 or later.
When to Enable FixShellOffsets
Enable this feature if:
You are upgrading from an older version to 2.4.0+ β this is a one-time migration that should be run after updating.
Interactable points are positioned incorrectly β if you notice that interactable points (inventory, wardrobe, etc.) appear higher or lower than they should be in shell properties.
Points are floating or underground β when interactable points are not aligned with the shell's interior floor level.
Configuration
Enable the feature in your config.lua:
FixShellOffsets = true, -- Enable the shell offsets fixImportant: After running the fix command, you can disable this setting again as it's only needed for the one-time migration.
How to Use
Run the Fix Command In-Game
Join your server and run the command in-game (chat or F8 console):
This command will:
Spawn all shell types at the configured Z-level (
Config.ShellZLevel)Calculate the offset difference between shells spawned with and without offset
Automatically send the calculated offsets to the server
Fix all shell properties with incorrect interactable point positions
Note: The command will spawn shells temporarily to calculate offsets. This may cause brief visual effects in-game.
What Gets Fixed
The fix command:
Processes all properties with type
shellUpdates interactable points that have
coordsstored (old format)Converts them to use
offsetformat (new format)Applies the correct shell offset to ensure points are positioned correctly on the Z-axis
Saves the updated property metadata to the database
Troubleshooting
Error: "Shell offset data not found for shell [shellType]"
If you encounter this error, it means the offset calculation failed for a specific shell type. This can happen if:
The shell model cannot be loaded
The shell hash is invalid or missing
To fix this:
Verify the shell exists in your
ShellsDataconfigurationCheck that the shell's hash/model is valid
Ensure the shell model is available in your game files
Run
/getShellOffsetsFixedagain - the command will skip shells that fail to load and continue with others
The command automatically calculates offsets for all available shells and only processes properties with successfully calculated offsets.
Points Still Not Fixed
If points are still incorrectly positioned after running the fix:
Verify that the property type is
shell(notiplormlo).Check that the interactable points have the
type == 'inside'in the configuration.Ensure the shell was successfully calculated during the offset finder process (check server console for errors).
Verify that the points had
coordsstored (old format) - if they already useoffsetformat, they won't be modified.Check server console for any error messages during the fix process.
Related Commands
/getShellOffsetsFixed- In-game command to calculate shell offsets and automatically fix all shell properties (only available whenFixShellOffsetsis enabled)
See Also
Last updated