Packet - Networking library

I’m having an issue with sending tables through Packet even though I followed the video


this is the table I’m trying to send, all attributes are number type, stealth attribute is boolean
image

humm I’m not seeing a problem with what you have sent

what’s GameLoopMain line 73

this one " NPCInfoPacket:Fire"
image

Sending it from server to all clients and the server side is where it’s getting the error
I also made a post in your discord’s “help” channel

I’m not experiencing the same problem

I switched from Boolean1 to Boolean8 because I only need true and false and made the numbers into a table
image
New packet:

but it thinks I’m still using boolean1 ?


I now changed the name of the packet and it is now able to send the data to the clients


but it’s giving me this now

How the table is set up
image
it prints the attributes as expected
image

the client is receiving nothing, the table is empty



I changed the type to .Any and now everything works with no errors

1 Like

Is there no way to define separate types for what is received on the server-side and what’s received on the client-side?

There is. Pretty sure this works:

local myPacket = Packet("MyPacket", Packet.NumberU16):Response(Packet.CFrame)

You can essentially create RemoteFunctions, although they are named responses in Packet.