UPDATE
- Fixed problems with transactions not working.
Updated file: lua/ch_mining/server/sql/ch_mining_sql_functions.lua
UPDATED
- Fixed blogs support hook for crafting items.
- Added blogs support hook for receiving mining bonus.
Updated files: lua/ch_mining/server/ch_mining_bonuses.lua - lua/ch_mining/server/ch_mining_crafting.lua and lua/gmodadminsuite/modules/logging/modules/ch_mining_logging.lua
UPDATE
- Fixed an error if jackhammer is equipped on spawning before data is loaded.
- Added configuration to set min and max prices minerals can adjust to.
CH_Mining.Config.MinMineralPricefor minimum price a mineral can drop to.CH_Mining.Config.MaxMineralPricefor maximum price a mineral can reach.- Added config for resetting to base price once a target is hit.
- Config
CH_Mining.Config.ResetMineralPriceTargetto set target which will reset mineral to BasePrice. - This would usually be very low or same as minimum.
- Set to 0 to disable.
Updated files: shared/ch_mining_config.lua and server/ch_mining_prices.lua and lua/weapons/ch_mining_jackhammer/shared.lua
UPDATE
- Fixed mineral prices possibly going negative. It will now jump back to BasePrice config.
Updated file: lua/ch_mining/server/ch_mining_prices.lua
UPDATE
- Added configs to sort the Crafting menu to your liking.
- New config
CH_Mining.Config.SortCraftingBy - New config
CH_Mining.Config.SortCraftingDescending
Updated files: lua/ch_mining/client/vgui/ch_mining_menu_crafting.lua and lua/ch_mining/shared/config/ch_mining_config.lua
UPDATE
- Added primary keys to the database, so they can be edited in-game SQLWorkbench.
- Added can afford logic to the clientside of the skills menu, so it won't visually upgrade if you have no money.
- Added denied/approved sounds when updating skills in menu.
Updated files: client/vgui/ch_mining_menu_skills.lua and server/sql/ch_mining_sql_functions.lua
UPDATE
- Fixed an exploit.
Updated file: lua/ch_mining/server/ch_mining_inventory.lua
UPDATE
- Fixed an issue with leaderboards.
- Fixed
CH_Mining.Config.UpdatePricesTimerconfig not working to update mineral prices.
Updated files: server/ch_mining_prices, server/ch_mining_leaderboards, client/ch_mining_leaderboards
UPDATE
- Optimized how frequently we save a players inventory while they're mining fast.
Updated file: server/ch_mining_inventory.lua
UPDATE
- Fixed a bug where XP would glitch if you earned more XP than 2 levels combined.
- It will now properly gain new levels according to how much XP you earn and carry over the remaining XP from earning levels.
- Only the initial XP earning will be multiplied with rank bonuses. The remaining earned XP will not be multiplied.
Updated file: server/ch_mining_xp.lua
UPDATE
- Added the ability to charge money for upgrading skills.
- Config to enable/disable
CH_Mining.Config.ShouldCostToUpgradeSkills - Config to determine price
CH_Mining.Config.CostToUpgradeSkillPerLevel - The XP hud now longer shows on first join.
- Maybe fixed a nil value error if player initially spawns with pickaxe in hand before database was finished loaded.
UPDATE
- Fixed missing translations.