Fix inventory system bug job

I’ve recently discovered a problem with my inventory system wich i don’t know how to fix.
The problem is that UTC-8 limits me from creating more items to be used in the inventory, wich is a HUGE problem for my game.

So i’m looking for someone who can fix this.
I will send a place file with the scripts, we can talk about payment after or before the job (Message me if you want to help)

If you are confused feel free to ask for more information.

Can you be more specific on the issue? Why exactly are you impacted by UTC-8?

2 Likes

My inventory gui works with ID’s. Every item is an ID. (Inventory works with gears).
And i can only create a maximum of 127 ID’s which is apparently caused by UTC-8.

1 Like

Why not use GUIDs? There’s pretty much an infinite number of possible GUIDs and they’re almost guaranteed unique (for all intents and purposes)

Roblox has a built in service for generating these HttpService | Roblox Creator Documentation

local Id = game:GetService('HttpService'):GenerateGUID(false)
-- 965ad346-3a8b-49c4-8272-ebd1f8ee6782

Here’s some information on GUID uniqueness language agnostic - Is a GUID unique 100% of the time? - Stack Overflow

While each generated GUID is not guaranteed to be unique, the total number of unique keys (2128 or 3.4×1038) is so large that the probability of the same number being generated twice is very small. For example, consider the observable universe, which contains about 5×1022 stars; every star could then have 6.8×1015 universally unique GUIDs.

So this is a very solid option if you need unique ids for your inventory. Not entirely sure how you’re exhausting UTC-8 with only 127 IDs though. That sounds to me like you’re doing something weird. Would help to see some code.

1 Like

If you want to i could send you some code in a place file, but if i were to change to guid wouldn’t that delete everyones data of previous ID’s?