Skip to content

Releases: hlmod/Shop-Core

3.0E8

14 Feb 20:35
b0db298
Compare
Choose a tag to compare

What's Changed

  • fixed display of a hidden item in the inventory by @xstagee in #153

New Contributors

  • @xstagee made their first contribution in #153

Full Changelog: 3.0E7...3.0E8

3.0E7

29 Oct 18:12
d714c3b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0E6...3.0E7

3.0E6

13 Aug 15:59
6bc5783
Compare
Choose a tag to compare

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

Full Changelog: 3.0E5...3.0E6

3.0E5

24 Jun 14:53
b54b086
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0E4...3.0E5

3.0E5 Release Candidate 2

07 Jun 07:14
aaba3ba
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 3.0E5-pre...3.0E5-pre.2

3.0E5 Release Candidate 1

30 May 15:39
c4fad6b
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 3.0E4...3.0E5-pre

3.0E4

21 Apr 12:10
c96d215
Compare
Choose a tag to compare

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

Full Changelog: 3.0E3...3.0E4

Update 3.0E3

27 Mar 17:38
cf9218d
Compare
Choose a tag to compare

This update is a bunch of fixes and improvements.

New features

  • Added native Shop_UnregisterItem to unregister any item by its unique ItemId #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

Full Changelog: 3.0E2...3.0E3

3.0E2 Fixes bug with luck chance

12 Jan 17:11
8f6977b
Compare
Choose a tag to compare

This update have all features from previous updates + fixes bug with luck chance.

3.0E1

28 Nov 14:18
0732690
Compare
Choose a tag to compare
3.0E1 Pre-release
Pre-release

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

Additional thanks to @IL0co for contribution

Fixes #76, #80 , #81