Skip to content

Releases: ScavengeSurvive/item

1.10.6

21 Nov 07:29
af95058
Compare
Choose a tag to compare

Thanks @mysy00 @kolor4do and @realStandal for your contributions!

1.10.5

02 Jul 09:25
Compare
Choose a tag to compare

Added version constraints to all dependencies.

1.10.4

22 Jun 17:55
Compare
Choose a tag to compare
sampctl package release: 1.10.4

1.10.1

22 Jun 17:55
Compare
Choose a tag to compare
sampctl package release: 1.10.1

1.10.0

08 Jun 11:13
Compare
Choose a tag to compare

This release marks the first stable standalone release of what once was "SIF/Item". This new version includes a lot of breaking changes to return values and arguments.

In particular, all return values are now 0 on success and non-zero on failure, where each positive integer represents a different failure case.

The other major change is to functions that usually return their intended value, such as GetItemObjectID - the old version returned the object ID directly, or -1 if the item didn't exist however this version follows the return value guidelines and returns 1 on failure and 0 on success. The object ID is stored in a pass-by-reference variable. All other functions that returned values in this way now use pass-by-reference instead for better checking.

The final major change is that item identifiers now use Item: as a tag for compile-time correctness checking. The addition of this tag has already resulted in a number of hidden bugs being fixed.