ByteNet Max | Upgraded networking library w/ buffer serialisation, strict Luau and RemoteFunction support | v0.1.9

the returned query is a table. so you’d do test.coins to retrieve coins.

They’re asking why the returned value isn’t typed. They probably know that the value can be retrieved with test.coins but they are wondering why test has a type of any rather than {coins = number}.

ahh. its cuz u used .GetCoins twice @LordMerc

packets.queries.GetCoins.GetCoins instead of packets.queries.GetCoins

Ah, valid blunder on my side.

Even fixed, still shows any typed
image

That’s weird, it shows up accurately for me.
Screenshot 2025-02-12 at 2.31.55 pm

Hm, I’m not sure whats going on then. I grabbed it off creator place if that’s the reason.

Yea I’ve been trying the versions but it still shows as any for me, not sure why the typed isn’t working.

That’s very weird. But does it work without types?

It doesn’t.

Typed doesn’t work on server end either,


I think you’re using it wrong somewhere, I can’t help since I don’t know how you’re using it.

MaxRepo.rbxl (77.6 KB)
Here’s a sample repo.

Would you setup a repo place that works? Curious if the marketplace model is just not the correct one.

Screenshot 2025-02-16 at 11.02.59 am
Screenshot 2025-02-16 at 11.03.34 am
It works for me.

Do you have any beta features enabled?

EDIT: Think I figured why, it was the new type solver beta. Needed it on to be able to have this work.

Curious, is there a way to have it auto fill the return portion?

Syntax doesn’t see coins as a valid return, but when assigned a value it goes away. Just want to find a way to have intellisense realize coins should be the return.

That’s a Roblox issue, I don’t really have a solution for it.

1 Like

Ah yes, Mitos.is music. Used to play the game

Is it possible for you to add an option to invoke the client from the server? It seems you’ve only implemented client → server queries, although I sometimes find server → client queries useful as well. For example to get the device type of a player.

I’d suggest using Remote Events for it. Roblox themselves advice against server → client remote functions.

1 Like