Stable1.1.5
UPDATE
- Fixed a problem where loot would not generate in crate after a server cleanup.
You can copy over your configuration file.
Stable1.1.4
UPDATE
- Improved load order for ents and networking.
- Rewrote networking for contents inside the crate in a more optimized way.
- Optimized distance check timer.
Stable1.1.3
Stable1.1.2
UPDATE
- Added a new feature that draws the location and distance to the crate for police officers when it is being robbed.
- You can enable or disable this feature with
CH_SupplyCrate.Config.DrawCrateOnMapRobbery - Fixed error if physics was non-existing when spawning supply crate.
- Replaced
player.GetAllwithplayer.GetCountwhere possible for optimization. - Removed unnecessary loops and replaced with more optimized solutions.
- Localized an overlooked global function.
- Cached some variables for optimization.
- Remove all
table.HasValueand replaced by proper optimized solution. - Removed config table
CH_SupplyCrate.Config.RequiredTeams. Your police/government teams are now all defined inCH_SupplyCrate.Config.GovernmentTeams - Recoded function to check if ranks can rob the crate. Removed loops and
table.HasValuefor optimization.
A lot of optimization and improvements in this update. I recommend updating and do a full reinstall.
Stable1.1.1
UPDATE
- Optimized loops.
- Removed some globals.
- Stopped error spam if the user does not have the content installed.
- Added config
CH_SupplyCrate.Config.DistanceToCrateToPickup - This allows you to set a distance between the supply crate and the stolen money before being able to pick it up.
- Added support for more XP systems.
- Config option
CH_SupplyCrate.Config.EssentialsXPSystemEnabledfor Brick's Essentials and/or DarkRP Essentials by Brickwall. - Config option
CH_SupplyCrate.Config.EXP2SystemEnabledfor Elite XP SYstem (EXP2) By Axspeo. - Config option
CH_SupplyCrate.Config.GlorifiedLevelingXPSystemfor GlorifiedLeveling by GlorifiedPig.
Stable1.1.0
UPDATE
- Fixed an error when moving too far away from the supply crate.
Updated file: lua/crate_robbery/server/supply_crate_robbery.lua
Stable1.0.9
UPDATE
- Optimized code.
- Improved loops.
- Improved networking on the money bag drop entity.
- Removed some unused integers being sent in net messages.
- File structure updates.
- Added Russian translation thanks to MacTavish
- Added Turkish translation thanks to Wolflix
- Added reward notification when killing a robber.
- Fixed rewarding players if they suicides as a robber.
Stable1.0.8
UPDATE
- Fixed incompatibility with https://www.gmodstore.com/market/view/InHrlLQlScOWDXkPW3SopA
Updated files: lua/entities/police_supply_crate/
Stable1.0.7
UPDATE
- Added support for Vronkadis DarkRP Level System
- Config option
CH_SupplyCrate.Config.DarkRPLevelSystemEnabled - Added support for Sublime Levels
- Config option
CH_SupplyCrate.Config.SublimeLevelSystemEnabled - Experience points given on successfully robbing the supply crate.
- Config option
CH_SupplyCrate.Config.XPSuccessfulRobbery - Experience points given for killing a robber.
- Config option
CH_SupplyCrate.Config.XPStoppingRobber
Updated files: lua/crate_robbery/shared/supply_crate_config.lua and lua/crate_robbery/server/supply_crate_robbery.lua
Stable1.0.5
UPDATE
- Added a distance check for the 3d2d on supply crate and money bag.
- Config option
CH_SupplyCrate.Design.DistanceTo3D2D - Added ability to enable/disable loot elements individually.
- Added config
CH_SupplyCrate.Config.EnableMoneyLoot - Added config
CH_SupplyCrate.Config.EnableAmmoLoot - Added config
CH_SupplyCrate.Config.EnableShipmentLoot - Added rank restriction system for who can rob the supply crate.
- Must be enabled with
CH_SupplyCrate.Config.RobberyRankRestrictions - If enabled, it will ignore the default AllowedTeams restrictions
- Add ranks to config table
CH_SupplyCrate.Config.RankRestrictions - Added language system.
- Added English
- Added Danish
- Added config
CH_SupplyCrate.Config.SoundVolumeto set volume of robbery alarm. - Added bLogs support.
- Logs when a player starts a robbery.
- Logs when a player successfully robs the crate (money, shipments & ammo stolen is logged as well).
- Logs when a robbery fails.
- Logs when loot updates. Logs for money, ammo and shipments and shows added + total.
- Removed config
CH_SupplyCrate.Design.CooldownTextas it is now a part of the language file.
Stable1.0.4
UPDATE
- Fixed laptop bug where it would not open.
- Fixed a problem where the map would glitch when looking at the supply crate.