This repository was archived by the owner on Sep 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,6 +64,12 @@ function util:PackValue(value: any) -- packs a value
6464 end
6565
6666 return " 2/" .. result
67+ elseif typeof (value ) == " number" then
68+ local v = self :PackValue (tostring (value ))
69+
70+ local n = string.sub (v , 3 , string.len (v ))
71+
72+ return " 3/" .. n
6773 else
6874 return value
6975 end
@@ -81,15 +87,18 @@ function util:UnpackValue(value: any) -- unpacks a value
8187 local result = " "
8288
8389 for _ , byte in pairs (string .split (v , " ." )) do
84- print (byte )
85-
8690 local char = string.char (tonumber (byte ))
87-
8891
8992 result ..= char
9093 end
9194
9295 return result
96+ elseif string.sub (value , 1 , 2 ) == " 3/" then
97+ local n = string.sub (value , 3 , string.len (value ))
98+
99+ local v = self :UnpackValue (" 2/" .. n )
100+
101+ return tonumber (v )
93102 else
94103 return value
95104 end
Original file line number Diff line number Diff line change 11[package ]
22name = " command17/rbxnetwork"
3- version = " 1.0.1 "
3+ version = " 1.0.2 "
44registry = " https://github.com/UpliftGames/wally-index"
55autors = [" @baum1000000 (baum, Command17)" ]
66description = " A simple easy-to-use networking library"
You can’t perform that action at this time.
0 commit comments