Roblox

Scripts and stuff I wrote for Roblox. Documentation is little to none as these are just stuff I took from my game that I thought I could share.

OTHER License

Stars
278

Bot releases are visible (Hide)

Roblox - 1.4.0 Latest Release

Published by Kampfkarren over 3 years ago

[1.4.0]

This release contains a bug where calling :Set() before calling :Get() can yield. This will not be an issue for most consumers, but be aware of it.

  • Added DataStore2.SaveAllAsync.
  • Fix :IncrementAsync throwing an error on combined data stores.
  • Fix :Set on combined data stores having the potential to yield.
  • Fix a crash relating to backups.
  • Fix GetTable not working appropriately when using different default table keys.
  • Fix GetTable not working appropriately when using combined data stores.
  • Fix :IncrementAsync not returning a Promise.
  • Fix OnUpdate being fired twice when using Update to update data.
  • Fix BindToClose memory leak, breaking other BindToClose scripts, and potential error.
Roblox - DataStore2 v1.3.1

Published by Kampfkarren about 5 years ago

This fixes some errors with the new implementations.

  • Fix :IncrementAsync throwing an error on combined data stores.
  • Fix :GetTable sometimes throwing an error when yielding.
Roblox - DataStore2 v1.3.0

Published by Kampfkarren about 5 years ago

We have beautiful docs now! Check them out, and tell me any issues you find

  • Added :GetAsync(), :GetTableAsync, and :IncrementAsync(), which are promise versions of their non-async counterparts.
  • :SaveAsync() now returns a promise.
  • If data can't save when a player leaves, it'll no longer halt Studio.
  • Added a Settings module and DataStore2.PatchGlobalSettings to manipulate settings of DataStore2.
  • Added a setting (SavingMethod) for using standard data stores instead of the berezaa method. It can currently be set to "OrderedBackups" (the default) or "Standard".
Roblox - DataStore2 v1.2.1

Published by Kampfkarren about 5 years ago

This features a minor bug fix.

Roblox - DataStore2 v1.2.0

Published by Kampfkarren about 5 years ago

Roblox - DataStore2 v1.1.7

Published by Kampfkarren about 5 years ago

Roblox - DataStore2 v1.1.6

Published by Kampfkarren about 5 years ago

  • Fixed a bug where getting combined data store default values would be identical.
Roblox - DataStore2 v1.1.5

Published by Kampfkarren about 5 years ago

  • Fixed a reported crashing issue.
Roblox - DataStore2 v1.1.4

Published by Kampfkarren about 5 years ago

Roblox - v1.1.3

Published by Kampfkarren about 5 years ago

  • Refactored code to make further development easier.
  • Fixed a memory leak when players left (Thanks @1waffle1!).
Roblox - DataStore2 v1.1.2

Published by Kampfkarren over 5 years ago

Fixes :SetBackup not working with combined data stores and other issues relating to :Get() failing.

Roblox - DataStore2 v1.1.1

Published by Kampfkarren over 5 years ago

Roblox - DataStore2 v1.1.0

Published by Kampfkarren over 5 years ago

This features a breaking bug fix.

  • Fixed an issue where BeforeInitialGet was being called on combined data stores if the initial value was nil and was then set later on.
Roblox - DataStore2 v1.0.3

Published by Kampfkarren over 5 years ago

  • Fixed an issue with OnUpdate being called unexpectedly on combined data stores
Roblox - DataStore2 v1.0.2

Published by Kampfkarren over 5 years ago

  • Fixes :Save() overriding itself when called at the same time
Roblox - DataStore2 v1.0.1

Published by Kampfkarren over 5 years ago

  • Keys now save incrementally as opposed to needing os.time (Closes #25)
Roblox - DataStore2 v1.0.0

Published by Kampfkarren over 5 years ago

DataStore2 hasn't updated, I'm just going to start using SemVer now.