MadStudioRoblox / ProfileService

Universal session-locked savable table API
https://madstudioroblox.github.io/ProfileService/
Apache License 2.0
298 stars 158 forks source link

ProfileService.GetProfileStore() #12

Closed AscendedWise closed 3 years ago

AscendedWise commented 3 years ago

Hello, I was trying to create a scope for my profile storage as my game will have multiple save files, and the same error. ServerScriptService.Core_Scripts.dataManager.profileService:1731: [ProfileService]: profile_store_name must be a string is generated within the console each time. my code is displayed as shown

mainKey = "Test Place: 12"
playerSaveFile = "File: 1"
local GameProfileStore = ProfileService.GetProfileStore(
    {Name = mainKey, Scope = playerSaveFile},
    SETTINGS.ProfileTemplate
)

image

I'm not sure if this is due to the profile service not supporting scope I'm sure I read that it did, or if my code was set up wrong, any feedback on this issue would be greatly appreciated.

VernandoGames commented 3 years ago

I suggest updating your Profile Service to the latest version and see if it works then. If it still doesn't, attach the new error given here as I am unable to trace the error given.

AscendedWise commented 3 years ago

I suggest updating your Profile Service to the latest version and see if it works then. If it still doesn't, attach the new error given here as I am unable to trace the error given.

I see, my mistake it appears I had an older version, of the module. Thank you for your assistance.