Releases: hlmod/Shop-Core
Releases · hlmod/Shop-Core
3.0E8
3.0E7
3.0E6
What's Changed
- fix(db): error 077: arrays cannot be indexed by non-integral type String by @maxime1907 in #149
- Fixed repetitive calling of the message about loading player data and calling the Forward after each item loading out of turn. by @IL0co in #148
- Add OnPlayerItemElapsed by @ssypchenko in #150
New Contributors
- @maxime1907 made their first contribution in #149
- @ssypchenko made their first contribution in #150
Full Changelog: 3.0E5...3.0E6
3.0E5
What's Changed
- Fix compile on sm 1.11 by @IL0co in #125
- Changing descriptions in .inc files by @IL0co in #123
- Add CI/CD by @R1KO in #139
- update authors by @TiBarification in #141
- Defect fix with ShopMenu argument by @IL0co in #140
- added KvCopySubkeysEx for Shop_KvCopySubKeysCustomInfo by @IL0co in #137
- "preview_unavailable" ru translation fix by @TiBarification in #146
- Fix shop on item draw by @IL0co in #142
- Fixes bug with applying disabled items by @TiBarification in #145
- Fix empty category. Issue #77 by @IL0co in #85
Full Changelog: 3.0E4...3.0E5
3.0E5 Release Candidate 2
What's Changed
- "preview_unavailable" ru translation fix by @TiBarification in #146
- Fix shop on item draw by @IL0co in #142
- Fixes bug with applying disabled items by @TiBarification in #145
Full Changelog: 3.0E5-pre...3.0E5-pre.2
3.0E5 Release Candidate 1
What's Changed
- Fix compile on sm 1.11 by @IL0co in #125
- Changing descriptions in .inc files by @IL0co in #123
- Add CI/CD by @R1KO in #139
- update authors by @TiBarification in #141
- Defect fix with ShopMenu argument by @IL0co in #140
- added KvCopySubkeysEx for Shop_KvCopySubKeysCustomInfo by @IL0co in #137
Full Changelog: 3.0E4...3.0E5-pre
3.0E4
What's Changed
- Refactoring by @TiBarification in #119
- Adding Methodmaps. Issue #10 by @IL0co in #87
- Added forward Shop_OnItemRegistered by @IL0co in #121
- Bug. Push invalid Handle on native Shop_KvCopySubKeysItemCustomInfo() by @IL0co in #120
- Fixed two year old memory leak in PlayerManager_GetClientItems. by @IL0co in #122
- Added Reworked Version of Confirm Purchase function, and Confirm Try a Luck function by @oylsister in #118
- Fix sort categories by @JakubKosmaty in #97
- Fixed lack of bytes for the output of Russian characters by @domikuss in #129
New Contributors
- @oylsister made their first contribution in #118
- @domikuss made their first contribution in #129
Full Changelog: 3.0E3...3.0E4
Update 3.0E3
This update is a bunch of fixes and improvements.
New features
- Added native
Shop_UnregisterItem
to unregister any item by its uniqueItemId
#99
/**
* Unregisters item, categories and removes them from the shop and players' inventory by ItemId
*
* @param item_id Item id
*
* @noreturn
*/
native void Shop_UnregisterItem(ItemId item_id);
- Added new forwards related to item selection in menu #83
/**
* Called when an item is being select
*
* @param client Client index an item is being select to
* @param menu_action Menu performing this action
* @param category_id Category id of an item
* @param item_id Item id of an item
*
* @return Plugin_Handled to block an item to select, and show items of category. Plugin_Stop to close menu. Plugin_Continue or Plugin_Changed otherwise
*/
forward Action Shop_OnItemSelect(int client, ShopMenu menu_action, CategoryId category_id, ItemId item_id);
/**
* Called when an item is being select
*
* @param client Client index an item is being select to
* @param menu_action Menu performing this action
* @param category_id Category id of an item
* @param item_id Item id of an item
*
* @noreturn
*/
forward Action Shop_OnItemSelected(int client, ShopMenu menu_action, CategoryId category_id, ItemId item_id);
- Added Portuguese translation #111
Fixes known bugs:
- Fixed shop.inc file #95
- Fixed bug with handling messages in say hook #101
- Fixed call in forward of
Shop_OnAuthorized
#115 - Fixed when native "Shop_GetClientItems" was not found #116
Appreciate for our contributors which made this release happen: @IL0co , @JakubKosmaty , @ZeSpama , @theelsaud
New Contributors
- @theelsaud made their first contribution in #95
- @JakubKosmaty made their first contribution in #101
- @ZeSpama made their first contribution in #111
Full Changelog: 3.0E2...3.0E3
3.0E2 Fixes bug with luck chance
This update have all features from previous updates + fixes bug with luck chance.
3.0E1
More information there.
3.0D5...3.0E1
- Added OnCredits* forwards
- Adding a Post prefix
- Moved forwards and natives that are associated with the player in players.inc
- Ability to override luck_chance on client trying to luck